bug
liuying
2024-04-25 cdacaa3a770e30582d57b9c4aef379b7da65c8c7
iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsContainerPackaging/editForm.vue
@@ -6,8 +6,8 @@
        <a-form-item label="容器类型名称" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
          <!-- <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 style="width: 100%" placeholder="请选择容器类型名称"  v-decorator="['containerTypeId', {rules: [{required: true, message: '请输入容器类型名称!'}]}]">
            <a-select-option v-for="(item, index) in selectTypeData" :key="index" :value="item.id">{{ item.typeName
            }}</a-select-option>
          </a-select>
@@ -16,10 +16,8 @@
          <a-input placeholder="请输入容器类型名称" v-decorator="['containerTypeName', {rules: [{required: true, message: '请输入容器类型名称!'}]}]" />
        </a-form-item> -->
        <a-form-item label="物料类型名称" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
          <!-- <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">{{
          <a-select style="width: 100%" placeholder="请选择物料类型名称" v-decorator="['materialTypeId', {rules: [{required: true, message: '请输入物料类型名称!'}]}]">
            <a-select-option v-for="(item, index) in selectTypeData2" :key="index" :value="item.id">{{
              item.materialTypeName }}</a-select-option>
          </a-select>