imeik-bizui 1.8.7 → 1.8.9

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.
@@ -516,6 +516,10 @@ export default {
516
516
  if (shenfenList_new.length === 1 && row.shenfenList_new[0].value === '') {
517
517
  this.handleChangeIdentity('', row)
518
518
  }
519
+ if (shenfenList_new.length === 1) {
520
+ this.$set(row, 'identity', row.shenfenList_new[0].value)
521
+ this.handleChangeIdentity(row.shenfenList_new[0].value, row)
522
+ }
519
523
  }
520
524
  this.checkStandardAmountsIsBeyond(row)
521
525
  },
@@ -121,7 +121,8 @@
121
121
  <!-- <p class="address-info">地址来源:{{ formatData(row.materialReceivingAddressSource, 'materialReceivingAddressSource') }}</p> -->
122
122
  <!-- <p v-if="row.materialReceivingAddressType" class="address-info">收货类型:{{ formatData(row.materialReceivingAddressType, 'materialReceivingAddressType') }}</p> -->
123
123
  <p class="address-info">收货人:{{ row.materialReceivingContact }} {{ formatPhone(row.materialReceivingContactNumber) }}</p>
124
- <p class="address-info">收货地址:{{ `${row.materialReceivingProvince || ''}${row.materialReceivingCity || ''}${row.materialReceivingArea || ''}${row.materialReceivingAddress || ''}` }}</p>
124
+ <p v-if="hiddenAddress" class="address-info">收货地址:{{ '-' }}</p>
125
+ <p v-if="!hiddenAddress" class="address-info">收货地址:{{ `${row.materialReceivingProvince || ''}${row.materialReceivingCity || ''}${row.materialReceivingArea || ''}${row.materialReceivingAddress || ''}` }}</p>
125
126
  <p v-if="!isView" class="address" @click="changeAddressInfo(row, $index)">修改收货地址</p>
126
127
  </template>
127
128
  <template slot="operate" slot-scope="{ row, $index }">
@@ -330,6 +331,10 @@ export default {
330
331
  // 能否在审批时候填写库房
331
332
  hasApprovalInputWarehouse() {
332
333
  return this.formPropControl && this.formPropControl?.includes('warehouse')
334
+ },
335
+ // 是否隐藏默认收货地址
336
+ hiddenAddress() {
337
+ return ['B02', 'B03'].includes(this.formProps.formBaseNo)
333
338
  }
334
339
  },
335
340
  watch: {