imeik-bizui 1.2.0 → 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.
@@ -65,7 +65,7 @@ export default {
65
65
  formItems() {
66
66
  return [
67
67
  {
68
- type: 'ImSelect',
68
+ type: 'FieldSelect',
69
69
  prop: 'applyType',
70
70
  span: 12,
71
71
  label: '申请类型',
@@ -73,7 +73,8 @@ export default {
73
73
  attrs: {
74
74
  options: [],
75
75
  style: {
76
- width: '100%'
76
+ width: '100%',
77
+ tips: ''
77
78
  },
78
79
  isView: this.isView
79
80
  },
@@ -229,6 +230,15 @@ export default {
229
230
  if (this.$bizui && this.$bizui.bus) {
230
231
  this.$bizui.bus.$emit('formApplyTypeChange')
231
232
  }
233
+ if (this.formConfig.props.applyType === '1896397579051683842') {
234
+ this.formConfig.formItems[0].attrs.tips = '提示:如果涉及到通过物资系统继续领取物料,请选择”转市场物资库“类型'
235
+ this.formConfig.formItems[1].attrs.style = 'height: 56px;'
236
+ this.formConfig.formItems[2].attrs.style = 'height: 56px;'
237
+ } else {
238
+ this.formConfig.formItems[0].attrs.tips = ''
239
+ delete this.formConfig.formItems[1].attrs.style
240
+ delete this.formConfig.formItems[2].attrs.style
241
+ }
232
242
  this.changeShowItems()
233
243
  this.setTypeDataOnChange()
234
244
  },
@@ -12,7 +12,8 @@
12
12
  @change="onSelectChanged"
13
13
  ></CustomerSelect>
14
14
  <div v-if="!showSelect" class="customerDetails">
15
- <CustomShow :custom-data="selectedItem" :detail-show="true" :show-list="showList"></CustomShow>
15
+ <CustomShow v-if="selectedItem && selectedItem.accountUid" :custom-data="selectedItem" :detail-show="true" :show-list="showList"></CustomShow>
16
+ <div v-else>-</div>
16
17
  <div v-if="!isView" class="button">
17
18
  <el-button type="text" @click="clearInfo">
18
19
  <img src="https://udstatic.imeik.com/pcUploads/1738999803093/delete%402x.png" class="delect-img" @click="clearInfo" />
@@ -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) {
@@ -25,6 +25,7 @@
25
25
  </slot>
26
26
  </el-option>
27
27
  </el-select>
28
+ <p v-if="attrs.tips && !attrs.isView" class="tips">{{ attrs.tips }}</p>
28
29
  </span>
29
30
  </template>
30
31
 
@@ -138,4 +139,9 @@ export default {
138
139
  background: #e9f2ff !important;
139
140
  margin-bottom: 1px;
140
141
  }
142
+ .tips {
143
+ color: #ccc;
144
+ font-size: 12px;
145
+ height: 14px;
146
+ }
141
147
  </style>