离线领用bug
This commit is contained in:
@@ -226,7 +226,8 @@ export default {
|
||||
total2: 0,
|
||||
materialName: '', // 物料名称
|
||||
materialSpec: '', // 物料规格
|
||||
materialModel: '' // 物料型号
|
||||
materialModel: '', // 物料型号
|
||||
离线合同明细流水号: ''
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -339,6 +340,7 @@ export default {
|
||||
this.locateNumber = row.货位流水号
|
||||
this.materialNumber = row.物料流水号
|
||||
this.partnumber = row.货位存量
|
||||
this.离线合同明细流水号 = row.离线合同明细流水号
|
||||
},
|
||||
// 重置表单
|
||||
callOff() {
|
||||
@@ -364,7 +366,7 @@ export default {
|
||||
} else {
|
||||
this.$refs['form'].validate((valid) => {
|
||||
if (valid) {
|
||||
outlinePartOut(this.form.PeopleValue, this.form.DirectNumber, this.locateNumber, this.form.DirectNote, this.form.ProjectValue, this.form.MachineValue, this.form.GroupNumValue, this.materialNumber, this.PeopleNumber).then(response => {
|
||||
outlinePartOut(this.form.PeopleValue, this.form.DirectNumber, this.locateNumber, this.form.DirectNote, this.form.ProjectValue, this.form.MachineValue, this.form.GroupNumValue, this.materialNumber, this.PeopleNumber, this.离线合同明细流水号).then(response => {
|
||||
if (response.data[0].result === '1') {
|
||||
this.$message.success('零件出库成功')
|
||||
this.dialogFormVisible = false
|
||||
|
||||
Reference in New Issue
Block a user