| | |
| | | </a-row> |
| | | </a-form> |
| | | </a-spin> |
| | | <a-button type="primary" :style="{ marginBottom: '8px' }" @click="selectTooling()" |
| | | >选择刀具</a-button |
| | | > |
| | | <a-button type="primary" :style="{ marginBottom: '8px' }" @click="selectTooling()"> |
| | | 选择刀具 |
| | | </a-button> |
| | | <a-table |
| | | ref="table" |
| | | bordered |
| | |
| | | this.$message.error('请先选择入库刀具') |
| | | return |
| | | } |
| | | // 校验入库数量是否填写 |
| | | for(let i=0; i<this.dataSource.length; i++) { |
| | | if (!this.dataSource[i].receiveNumber || this.dataSource[i].receiveNumber <= 0) { |
| | | this.$message.error(`必须填写入库数量`) |
| | | return |
| | | } |
| | | } |
| | | const that = this |
| | | // 触发表单验证 |
| | | this.form.validateFields((err, values) => { |