|
@@ -279,6 +279,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
//返回按钮
|
|
//返回按钮
|
|
returnWarehouse() {
|
|
returnWarehouse() {
|
|
|
|
+ this.deptBudgetList.goodsName = ""
|
|
this.$router.push({ path: 'warehouseManagementList' })
|
|
this.$router.push({ path: 'warehouseManagementList' })
|
|
},
|
|
},
|
|
//提交按钮
|
|
//提交按钮
|
|
@@ -319,6 +320,7 @@ export default {
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
this.$message.success('提交成功')
|
|
this.$message.success('提交成功')
|
|
|
|
+ this.deptBudgetList.goodsName = ""
|
|
this.$router.push({ path: 'warehouseManagementList' })
|
|
this.$router.push({ path: 'warehouseManagementList' })
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
@@ -363,14 +365,11 @@ export default {
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
changeioss(e) {
|
|
changeioss(e) {
|
|
-
|
|
|
|
if(!this.deptBudgetList.baseId){
|
|
if(!this.deptBudgetList.baseId){
|
|
this.deptBudgetList.baseId = this.$route.query.baseId
|
|
this.deptBudgetList.baseId = this.$route.query.baseId
|
|
this.deptBudgetList.positionId = this.deptBudgetList1.positionId
|
|
this.deptBudgetList.positionId = this.deptBudgetList1.positionId
|
|
this.deptBudgetList.binNumber = this.deptBudgetList1.binNumber
|
|
this.deptBudgetList.binNumber = this.deptBudgetList1.binNumber
|
|
}
|
|
}
|
|
- console.log(this.deptBudgetList)
|
|
|
|
- console.log(this.deptBudgetList.positionId)
|
|
|
|
for (var i = 0; i < this.goodnameList.length; i++) {
|
|
for (var i = 0; i < this.goodnameList.length; i++) {
|
|
if (this.goodnameList[i].goodsName == e) {
|
|
if (this.goodnameList[i].goodsName == e) {
|
|
this.deptBudgetList.goodsNameKey = this.goodnameList[i].goodsNameKey
|
|
this.deptBudgetList.goodsNameKey = this.goodnameList[i].goodsNameKey
|
|
@@ -386,6 +385,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
loaddata() {
|
|
loaddata() {
|
|
|
|
+
|
|
// 货名
|
|
// 货名
|
|
goodsname({ positionId: this.$route.query.positionId })
|
|
goodsname({ positionId: this.$route.query.positionId })
|
|
.toPromise()
|
|
.toPromise()
|
|
@@ -413,13 +413,12 @@ export default {
|
|
// })
|
|
// })
|
|
// },
|
|
// },
|
|
|
|
|
|
- // deletecontract(){},
|
|
|
|
//删除
|
|
//删除
|
|
- approve() {},
|
|
|
|
- listQuery() {},
|
|
|
|
- total() {},
|
|
|
|
- clearfiltQuery() {},
|
|
|
|
- selectCrtDuty() {},
|
|
|
|
|
|
+ // approve() {},
|
|
|
|
+ // listQuery() {},
|
|
|
|
+ // total() {},
|
|
|
|
+ // clearfiltQuery() {},
|
|
|
|
+ // selectCrtDuty() {},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|