| | |
| | | <template> |
| | | <a-modal |
| | | title="新增物料信息" |
| | | :width="900" |
| | | :visible="visible" |
| | | :confirmLoading="confirmLoading" |
| | | @ok="handleSubmit" |
| | | @cancel="handleCancel" |
| | | > |
| | | <a-modal title="新增物料信息" :width="900" :visible="visible" :confirmLoading="confirmLoading" @ok="handleSubmit" |
| | | @cancel="handleCancel"> |
| | | <a-spin :spinning="confirmLoading"> |
| | | <!-- tab @change="callback"--> |
| | | <a-tabs default-active-key="1" > |
| | |
| | | }) |
| | | values.stationNameParameter = values.stationNameParameterArr.join(',') |
| | | } |
| | | WmsMaterialAdd(values) |
| | | console.log(6666666666666) |
| | | console.log() |
| | | console.log(6666666666666 + '控制属性') |
| | | console.log(this.$refs.WmsControlRule.selectedRows) |
| | | var ControlRuleld = this.$refs.WmsControlRule.selectedRows[0].id; |
| | | |
| | | console.log(6666666666666 + '替代品') |
| | | console.log(this.$refs.addFormWmsSubstituteGood.list) |
| | | |
| | | console.log(6666666666666 + '客户档案集合') |
| | | console.log(this.$refs.addFormBaseCustomer.list) |
| | | |
| | | var param = { |
| | | value1: values, |
| | | ControlRuleld: ControlRuleld, //控制属性 |
| | | BaseCustomerList: this.$refs.addFormBaseCustomer.list, //客户档案集合 |
| | | SubstituteGoodLis: this.$refs.addFormWmsSubstituteGood.list, //替代品 |
| | | value5: {}, |
| | | value6: {}, |
| | | } |
| | | WmsMaterialAdd(param) |
| | | .then(res => { |
| | | if (res.success) { |
| | | this.$message.success('新增成功') |