| | |
| | | |
| | | <a-form-item label="物料类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-select style="width: 100%" placeholder="请选择物料类型" v-decorator="['materialType']"> |
| | | <a-select-option v-for="(item, index) in materialTypeData" :key="index" :value="item.materialTypeCode">{{ |
| | | <a-select-option v-for="(item, index) in materialTypeData" :key="index" :value="item.id">{{ |
| | | item.materialTypeName }}</a-select-option> |
| | | </a-select> |
| | | </a-form-item> |
| | |
| | | <a-form-item label="ABC分类" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback> |
| | | <!-- <a-input-number placeholder="请输入ABC分类" style="width: 100%" v-decorator="['aBCClass']" /> --> |
| | | |
| | | <a-select style="width: 100%" placeholder="请选择ABC分类" v-decorator="['aBCClass']"> |
| | | <a-select style="width: 100%" placeholder="请选择ABC分类" v-decorator="['abcClass']"> |
| | | <a-select-option v-for="(item, index) in materialTypeData2" :key="index" :value="Number(item.code)">{{ |
| | | item.name }}</a-select-option> |
| | | </a-select> |
| | |
| | | <!-- <a-input placeholder="请输入库存单位" v-decorator="['materialUnit']" /> --> |
| | | |
| | | <a-select style="width: 100%" placeholder="请选择库存单位" v-decorator="['materialUnit']"> |
| | | <a-select-option v-for="(item, index) in selectTypeData1" :key="index" :value="item.unitCode">{{ |
| | | <a-select-option v-for="(item, index) in selectTypeData1" :key="index" :value="item.unitName">{{ |
| | | item.unitName }}</a-select-option> |
| | | </a-select> |
| | | |
| | |
| | | <!-- <a-input placeholder="请输入采购单位" v-decorator="['pOUnit']" /> --> |
| | | |
| | | <a-select style="width: 100%" placeholder="请选择采购单位" v-decorator="['pOUnit']"> |
| | | <a-select-option v-for="(item, index) in selectTypeData2" :key="index" :value="item.unitCode">{{ |
| | | <a-select-option v-for="(item, index) in selectTypeData2" :key="index" :value="item.unitName">{{ |
| | | item.unitName }}</a-select-option> |
| | | </a-select> |
| | | |
| | |
| | | <a-form-item label="描述" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback> |
| | | <a-input placeholder="请输入描述" v-decorator="['materialDesc']" /> |
| | | </a-form-item> |
| | | <a-form-item v-show="false"><a-input v-decorator="['id']" /></a-form-item> |
| | | </a-form> |
| | | </a-tab-pane> |
| | | <a-tab-pane key="2" tab="控制属性" force-render> |
| | |
| | | // values.stationNameParameter = values.stationNameParameterArr.join(',') |
| | | // } |
| | | |
| | | |
| | | console.log("物料信息9999999999999999") |
| | | console.log(values); |
| | | |
| | | console.log(6666666666666 + '控制属性') |
| | | var ControlRuleld = this.$refs.WmsControlRuleRef.form.getFieldValue('id') || '' |
| | | |
| | |
| | | |
| | | // console.log(6666666666666 + '包装关系') |
| | | // console.log(this.$refs.addFormContainerPackagingRef.list) |
| | | |
| | | var a1 = [] |
| | | BaseCustomerList.forEach((item)=>{ |
| | | a1.push(item.id) |
| | | }) |
| | | var param = { |
| | | MaterialInput: values, |
| | | ControlRuleld: ControlRuleld, //控制属性 |
| | | SubstituteGoodList: SubstituteGoodList, //替代品 |
| | | BaseCustomerList: BaseCustomerList, //往来关系集合 |
| | | BaseCustomerList: a1, //往来关系集合 |
| | | // ContainerPackagingList: this.$refs.addFormContainerPackagingRef.list //包装关系 |
| | | } |
| | | this.confirmLoading = true |