imeik-bizui 0.3.3 → 0.3.4

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.
@@ -53,6 +53,12 @@ export default {
53
53
  default() {
54
54
  return []
55
55
  }
56
+ },
57
+ ruleInfo: {
58
+ type: Object,
59
+ default() {
60
+ return {}
61
+ }
56
62
  }
57
63
  },
58
64
  data() {
@@ -116,7 +122,9 @@ export default {
116
122
  customerName: this.selectName || '',
117
123
  page: 1,
118
124
  limit: 10,
119
- belongCompany: this.formProps.belongCompany
125
+ belongCompany: this.formProps.belongCompany,
126
+ rcoiCode: this.ruleInfo.rcoiCode,
127
+ rcoiNumber: this.ruleInfo.rcoiNumber
120
128
  }
121
129
  this.loading = true
122
130
  getCustomerList(params)
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div>
3
- <CustomerSelect v-show="showSelect" ref="CustomerSelect" v-model="myValue" :show-list="showList" :selected-text="value && value.customerName" class="w-full" @change="onSelectChanged"></CustomerSelect>
3
+ <CustomerSelect v-show="showSelect" ref="CustomerSelect" v-model="myValue" :show-list="showList" :selected-text="value && value.customerName" class="w-full" :ruleInfo="ruleInfo" @change="onSelectChanged"></CustomerSelect>
4
4
  <div v-if="!showSelect" class="customerDetails">
5
5
  <CustomShow :custom-data="selectedItem" :detail-show="true" :show-list="showList"></CustomShow>
6
6
  <div v-if="!isView" class="button">
@@ -59,6 +59,9 @@ export default {
59
59
  } else {
60
60
  return this.attrs.customShowList.flat()
61
61
  }
62
+ },
63
+ ruleInfo() {
64
+ return { rcoiCode: this.attrs.rcoiCode, rcoiNumber: this.attrs.rcoiNumber }
62
65
  }
63
66
  },
64
67
  watch: {