代码修改
This commit is contained in:
@@ -144,6 +144,7 @@ export default {
|
||||
})
|
||||
},
|
||||
finish() {
|
||||
debugger
|
||||
if (this.$refs.table.selection.length === 0) {
|
||||
this.notify('请选中一条记录!', 'info')
|
||||
return
|
||||
@@ -151,7 +152,7 @@ export default {
|
||||
// 判断是否有完工<加工,弹出提示
|
||||
for (const i in this.$refs.table.selection) {
|
||||
console.log(this.$refs.table.selection[i])
|
||||
if (this.$refs.table.selection[i].finishproduce_qty < this.$refs.table.selection[i].produce_qty) {
|
||||
if (this.$refs.table.selection[i].finishproduce_qty <= this.$refs.table.selection[i].produce_qty) {
|
||||
this.$confirm('完工数量小于加工数量,是否继续?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
|
||||
Reference in New Issue
Block a user