doctor-admin-components 1.0.13-beta.60 → 1.0.13-beta.61

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "doctor-admin-components",
3
3
  "version1": "1.0.11",
4
- "version": "1.0.13-beta.60",
4
+ "version": "1.0.13-beta.61",
5
5
  "private": false,
6
6
  "main1": "lib/index.umd.min.js",
7
7
  "main": "packages/index.js",
@@ -160,6 +160,10 @@ export default {
160
160
  handleCaclSelectIndex() {
161
161
  if (!this.disableSelect && this.accountId) {
162
162
  this.sellectIndex = this.bankList.findIndex((item) => item.accountId == this.accountId)
163
+ if (this.sellectIndex == -1) {
164
+ console.log('pre accountId invalide')
165
+ this.$emit('selectBank', null)
166
+ }
163
167
  }
164
168
  },
165
169
  getBankList() {
@@ -359,9 +359,9 @@ export default {
359
359
  console.log('proFormInvoiceList', this.form.proFormInvoiceList);
360
360
  console.log('fixedInvoiceList', this.form.fixedInvoiceList);
361
361
  if (fixed == 'ProForma') {
362
- this.form.proFormInvoiceList[index].accountId = data.accountId
362
+ this.form.proFormInvoiceList[index].accountId = data?.accountId
363
363
  } else {
364
- this.form.fixedInvoiceList[index].accountId = data.accountId
364
+ this.form.fixedInvoiceList[index].accountId = data?.accountId
365
365
  }
366
366
  },
367
367
  //上传并生成