| | |
| | | add(record) { |
| | | this.visible = true |
| | | this.$nextTick(() => { |
| | | this.getSelects() |
| | | // this.getSelects() |
| | | }) |
| | | // const materialTypeOption = this.$options |
| | | // this.materialTypeData = materialTypeOption.filters['dictData']('material_type') |
| | |
| | | let SubstituteGoodList = [] |
| | | if (this.$refs.addFormWmsSubstituteGoodRef && this.$refs.addFormWmsSubstituteGoodRef.list.length > 0) { |
| | | SubstituteGoodList = this.$refs.addFormWmsSubstituteGoodRef.list |
| | | SubstituteGoodList.forEach(item => { |
| | | item.materialName = this.form.getFieldValue('materialName') |
| | | item.materialCode = this.form.getFieldValue('materialCode') |
| | | }) |
| | | } |
| | | console.log(6666666666666 + '替代品') |
| | | |
| | |
| | | let BaseCustomerList = []; |
| | | if (this.$refs.addFormBaseCustomer && this.$refs.addFormBaseCustomer.list.length > 0) { |
| | | BaseCustomerList = this.$refs.addFormBaseCustomer.list |
| | | |
| | | } |
| | | console.log(6666666666666 + '客户档案集合') |
| | | |