| | |
| | | <template> |
| | | <a-modal |
| | | title="编辑容器关系" |
| | | :width="900" |
| | | :visible="visible" |
| | | :confirmLoading="confirmLoading" |
| | | @ok="handleSubmit" |
| | | <a-modal title="编辑容器关系" :width="900" :visible="visible" :confirmLoading="confirmLoading" @ok="handleSubmit" |
| | | @cancel="handleCancel"> |
| | | <a-spin :spinning="confirmLoading"> |
| | | <a-form :form="form"> |
| | |
| | | <!-- <a-input placeholder="请输入容器类型ID" v-decorator="['containerTypeId', {rules: [{required: true, message: '请输入容器类型ID!'}]}]" /> --> |
| | | |
| | | <a-select style="width: 100%" placeholder="请选择容器类型名称" v-decorator="['containerTypeId']"> |
| | | <a-select-option v-for="(item, index) in selectTypeData" :key="index" |
| | | :value="item.typeCode">{{ item.typeName }}</a-select-option> |
| | | <a-select-option v-for="(item, index) in selectTypeData" :key="index" :value="item.typeCode">{{ item.typeName |
| | | }}</a-select-option> |
| | | </a-select> |
| | | |
| | | </a-form-item> |
| | |
| | | <!-- <a-input placeholder="请输入物料类型ID" v-decorator="['materialTypeId', {rules: [{required: true, message: '请输入物料类型ID!'}]}]" /> --> |
| | | |
| | | <a-select style="width: 100%" placeholder="请选择物料类型名称" v-decorator="['materialTypeId']"> |
| | | <a-select-option v-for="(item, index) in selectTypeData2" :key="index" |
| | | :value="item.materialTypeCode">{{ item.materialTypeName }}</a-select-option> |
| | | <a-select-option v-for="(item, index) in selectTypeData2" :key="index" :value="item.materialTypeCode">{{ |
| | | item.materialTypeName }}</a-select-option> |
| | | </a-select> |
| | | |
| | | </a-form-item> |
| | |
| | | record: {}, |
| | | visible: false, |
| | | confirmLoading: false, |
| | | form: this.$form.createForm(this) |
| | | form: this.$form.createForm(this), |
| | | selectTypeData2:[] |
| | | } |
| | | }, |
| | | created() { |