数量盘点入库-优化
This commit is contained in:
parent
97b772d3dd
commit
2412194ab7
|
|
@ -693,9 +693,9 @@ export default {
|
||||||
resetCodeForm() {
|
resetCodeForm() {
|
||||||
this.codeForm = {
|
this.codeForm = {
|
||||||
checkMan: undefined,
|
checkMan: undefined,
|
||||||
putInType: undefined,
|
putInType: null,
|
||||||
remarks: undefined,
|
remarks: undefined,
|
||||||
typeId: undefined,
|
typeId: null,
|
||||||
num: undefined,
|
num: undefined,
|
||||||
codePrefix: undefined,
|
codePrefix: undefined,
|
||||||
codeSuffixStart: undefined,
|
codeSuffixStart: undefined,
|
||||||
|
|
@ -792,6 +792,7 @@ export default {
|
||||||
this.reset();
|
this.reset();
|
||||||
this.codeOpen = true;
|
this.codeOpen = true;
|
||||||
this.title = "数量盘点入库";
|
this.title = "数量盘点入库";
|
||||||
|
this.$refs['codeForm'].clearValidate()
|
||||||
},
|
},
|
||||||
/** 新增编号盘点按钮操作 */
|
/** 新增编号盘点按钮操作 */
|
||||||
handleCodeAdd() {
|
handleCodeAdd() {
|
||||||
|
|
@ -799,6 +800,7 @@ export default {
|
||||||
this.reset();
|
this.reset();
|
||||||
this.codeOpen = true;
|
this.codeOpen = true;
|
||||||
this.title = "编码盘点入库";
|
this.title = "编码盘点入库";
|
||||||
|
this.$refs['codeForm'].clearValidate()
|
||||||
},
|
},
|
||||||
// 多选框选中数据
|
// 多选框选中数据
|
||||||
handleSelectionChange(selection) {
|
handleSelectionChange(selection) {
|
||||||
|
|
@ -836,12 +838,11 @@ export default {
|
||||||
// 发送请求
|
// 发送请求
|
||||||
inputByCode(SavePutInfoDto).then(response => {
|
inputByCode(SavePutInfoDto).then(response => {
|
||||||
this.$message.success('入库成功')
|
this.$message.success('入库成功')
|
||||||
this.codeOpen = false
|
|
||||||
this.getList()
|
|
||||||
this.resetCodeForm()
|
this.resetCodeForm()
|
||||||
this.reset()
|
|
||||||
this.numTableList = []
|
this.numTableList = []
|
||||||
this.deviceType = {}
|
this.codeOpen = false
|
||||||
|
this.reset()
|
||||||
|
this.getList()
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
// 提交数据
|
// 提交数据
|
||||||
|
|
@ -864,12 +865,11 @@ export default {
|
||||||
// 发送请求
|
// 发送请求
|
||||||
inputByCode(SavePutInfoDto).then(response => {
|
inputByCode(SavePutInfoDto).then(response => {
|
||||||
this.$message.success('入库成功')
|
this.$message.success('入库成功')
|
||||||
this.codeOpen = false
|
|
||||||
this.getList()
|
|
||||||
this.resetCodeForm()
|
this.resetCodeForm()
|
||||||
this.reset()
|
|
||||||
this.codeTableList = []
|
this.codeTableList = []
|
||||||
this.deviceType = {}
|
this.codeOpen = false
|
||||||
|
this.reset()
|
||||||
|
this.getList()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue