备料重量单价验证
This commit is contained in:
@@ -188,11 +188,17 @@ export default {
|
|||||||
},
|
},
|
||||||
// 自家备料出库
|
// 自家备料出库
|
||||||
handleChange1(row) {
|
handleChange1(row) {
|
||||||
change(row.工艺计划流水号, row.重量, row.单价).then(() => {
|
if (row.重量 === '' || row.重量 === null) {
|
||||||
handlechange(row.工序流水号, '0000')
|
this.$message.error('请输入重量')
|
||||||
}).then(response => {
|
} else if (row.单价 === '' || row.单价 === null) {
|
||||||
this.searchTable()
|
this.$message.error('请输入单价')
|
||||||
})
|
} else {
|
||||||
|
change(row.工艺计划流水号, row.重量, row.单价).then(() => {
|
||||||
|
handlechange(row.工序流水号, '0000')
|
||||||
|
}).then(response => {
|
||||||
|
this.searchTable()
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
handleSelectionChange(val) {
|
handleSelectionChange(val) {
|
||||||
this.arrest = val
|
this.arrest = val
|
||||||
|
|||||||
Reference in New Issue
Block a user