lx
This commit is contained in:
@@ -219,6 +219,9 @@ export default {
|
|||||||
this.$message.error('请选择货位')
|
this.$message.error('请选择货位')
|
||||||
} else {
|
} else {
|
||||||
for (let i = 0; i < this.tableData.length; i++) {
|
for (let i = 0; i < this.tableData.length; i++) {
|
||||||
|
if (this.tableData[i].innumber === '0') {
|
||||||
|
this.$message.error('请输入正确数量')
|
||||||
|
} else {
|
||||||
if (this.tableData[i].innumber > this.tableData[i].plannumber) {
|
if (this.tableData[i].innumber > this.tableData[i].plannumber) {
|
||||||
this.tableData[i].innumber = this.tableData[i].plannumber
|
this.tableData[i].innumber = this.tableData[i].plannumber
|
||||||
}
|
}
|
||||||
@@ -232,6 +235,7 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
|
|||||||
@@ -310,7 +310,7 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="采购采购" name="second">
|
<el-tab-pane label="采购" name="second">
|
||||||
<el-card v-show="purchaseshow">
|
<el-card v-show="purchaseshow">
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="radio"
|
v-model="radio"
|
||||||
|
|||||||
Reference in New Issue
Block a user