更新
This commit is contained in:
@@ -603,6 +603,8 @@ export default {
|
||||
StandardAndOutsourcing: '',
|
||||
PartNum: '',
|
||||
DetailedNum: '',
|
||||
stockNum: '',
|
||||
MaterialNumber: '',
|
||||
PurchaseOrder: '',
|
||||
PartType: '基本件',
|
||||
tableData: [],
|
||||
@@ -1033,12 +1035,14 @@ export default {
|
||||
}
|
||||
this.dialogFormVisible4 = true
|
||||
this.StandardAndOutsourcing = row.标准件和外购件流水号
|
||||
this.MaterialNumber = row.物料流水号
|
||||
this.PartNum = row.零件数量
|
||||
this.stockNum = row.安全库存量
|
||||
},
|
||||
submitEdit2(formName) { // 提交使用库存数量
|
||||
this.$refs[formName].validate((valid) => {
|
||||
if (valid) {
|
||||
editStock(this.RequisitionList, this.form4.数量, this.PartNum).then(response => {
|
||||
editStock(this.StandardAndOutsourcing, this.form4.数量, this.PartNum, this.MaterialNumber, this.stockNum).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.$message.success('编辑成功')
|
||||
this.dialogFormVisible4 = false
|
||||
|
||||
Reference in New Issue
Block a user