This commit is contained in:
liushuai
2019-10-29 15:54:18 +08:00
parent 68e2b8e750
commit ad31970800
17 changed files with 1626 additions and 784 deletions

View File

@@ -238,7 +238,8 @@ export default {
materialName: '', // 物料名称
materialSpec: '', // 物料规格
materialModel: '', // 物料型号
离线合同明细流水号: ''
离线合同明细流水号: '',
组件零件基本件流水号: ''
}
},
computed: {
@@ -350,6 +351,7 @@ export default {
this.materialNumber = row.物料流水号
this.partnumber = row.货位存量
this.离线合同明细流水号 = row.离线合同明细流水号
this.组件零件基本件流水号 = row.组件零件基本件流水号
},
// 重置表单
callOff() {
@@ -375,7 +377,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, this.离线合同明细流水号).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.离线合同明细流水号, this.组件零件基本件流水号).then(response => {
if (response.data[0].result === '1') {
this.$message.success('零件出库成功')
this.dialogFormVisible = false