imeik-bizui 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -105,11 +105,11 @@
105
105
  <div v-if="row.materialBatch && isView && !hasApprovalInputBatch" class="materialName">{{ row.materialBatch || '-' }}</div>
106
106
  </template>
107
107
  <template slot="warehouse" slot-scope="{ row }">
108
- <div v-if="hasApprovalInputWarehouse">
108
+ <div v-if="hasApprovalInputWarehouse && !row.fixedWarehouseFlag">
109
109
  <el-select v-model="row.warehouseNumber" placeholder="请选择" :class="{ 'is-error': !row.warehouseNumber || row.valid === false }" @change="(val) => handleChangeWarehouse(val, row)">
110
110
  <el-option v-for="item in warehouseList || []" :key="item.warehouseNumber" style="width: 100%" :label="item.warehouseName" :value="item.warehouseNumber"> </el-option>
111
111
  </el-select>
112
- <p v-show="!row.warehouseNumber && row.valid === false" class="error-message">请输入超母方案说明</p>
112
+ <p v-show="!row.warehouseNumber && row.valid === false" class="error-message">请选择库房</p>
113
113
  </div>
114
114
  <div v-else class="materialSubName autoheight">{{ row.warehouseName || '-' }}</div>
115
115
  </template>
@@ -499,7 +499,6 @@ export default {
499
499
  if (material) {
500
500
  // 更新对应的 motherSchemeList
501
501
  this.$set(material, 'motherSchemeList', item.planInfoList)
502
- this.checkQuantity(material)
503
502
  this.handleChangeScheme(material.materialAssociatedMotherSchemeCode, material)
504
503
  }
505
504
  }
@@ -604,6 +603,7 @@ export default {
604
603
  row.materialAssociatedMotherSchemeName = item.materialAssociatedMotherSchemeName
605
604
  }
606
605
  })
606
+ this.checkQuantity(row)
607
607
  },
608
608
  formatPhone(val) {
609
609
  if (val) {