|
|
@ -800,6 +800,8 @@ export default {
|
|
|
|
this.$modal.msgError(response.msg)
|
|
|
|
this.$modal.msgError(response.msg)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
this.getList()
|
|
|
|
|
|
|
|
this.splitOpen = false
|
|
|
|
this.$modal.msgSuccess('提交成功')
|
|
|
|
this.$modal.msgSuccess('提交成功')
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
@ -817,9 +819,6 @@ export default {
|
|
|
|
batchCode: '',
|
|
|
|
batchCode: '',
|
|
|
|
batchQuantity: ''
|
|
|
|
batchQuantity: ''
|
|
|
|
}]
|
|
|
|
}]
|
|
|
|
|
|
|
|
|
|
|
|
this.getList()
|
|
|
|
|
|
|
|
this.splitOpen = false
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 判空、空串
|
|
|
|
// 判空、空串
|
|
|
|
checkNull(entity) {
|
|
|
|
checkNull(entity) {
|
|
|
@ -879,6 +878,10 @@ export default {
|
|
|
|
handleUpdate(row) {
|
|
|
|
handleUpdate(row) {
|
|
|
|
console.log("点击了拆分按钮")
|
|
|
|
console.log("点击了拆分按钮")
|
|
|
|
// 清除缓存
|
|
|
|
// 清除缓存
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//重置表单
|
|
|
|
|
|
|
|
this.resetBatch()
|
|
|
|
|
|
|
|
|
|
|
|
this.productData = [];
|
|
|
|
this.productData = [];
|
|
|
|
this.splitForm = {
|
|
|
|
this.splitForm = {
|
|
|
|
id: null,
|
|
|
|
id: null,
|
|
|
@ -1023,6 +1026,10 @@ export default {
|
|
|
|
// TODO 清楚缓存
|
|
|
|
// TODO 清楚缓存
|
|
|
|
// 设置白坯
|
|
|
|
// 设置白坯
|
|
|
|
this.form.prodType = 'white'
|
|
|
|
this.form.prodType = 'white'
|
|
|
|
|
|
|
|
// 初始化设置计划生产日期
|
|
|
|
|
|
|
|
this.form.planProDate = moment(new Date()).format('YYYY-MM-DD')
|
|
|
|
|
|
|
|
// 初始化设置计划完成日期
|
|
|
|
|
|
|
|
this.form.planComplete = moment(new Date()).format('YYYY-MM-DD')
|
|
|
|
// 打开新增弹窗
|
|
|
|
// 打开新增弹窗
|
|
|
|
this.dialogVisible = true;
|
|
|
|
this.dialogVisible = true;
|
|
|
|
},
|
|
|
|
},
|
|
|
|