bug
liuying
2024-04-25 ae4e29f352975c2197521cf3c0b7179868d8cb84
iWare_RawMaterialWarehouse_Web/src/views/main/WmsBase/WmsContainer/addForm.vue
@@ -14,7 +14,7 @@
        <a-form-item label="类型" :labelCol="labelCol" :wrapperCol="wrapperCol" has-feedback>
          <!-- <a-input placeholder="请输入类型" 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">{{
            <a-select-option v-for="(item, index) in selectTypeData" :key="index" :value="item.id">{{
              item.typeName }}</a-select-option>
          </a-select>
@@ -98,15 +98,10 @@
    }
  },
  methods: {
    moment,
    // 初始化方法
    add(record) {
      this.visible = true;
      WmsContainerTypePage().then((d) => {
  created() {
    WmsContainerTypePage().then((d) => {
        this.selectTypeData = d.data.rows || []
      }).catch(() => {
      })
      WmsContainerPackagingPage().then((d) => {
@@ -114,8 +109,13 @@
      }).catch(() => {
      })
  },
  methods: {
    moment,
    // 初始化方法
    add(record) {
      this.visible = true;
      this.$nextTick(() => {
      });
    },
    /**