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
|
@@ -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
|
|
362
|
+
this.form.proFormInvoiceList[index].accountId = data?.accountId
|
|
363
363
|
} else {
|
|
364
|
-
this.form.fixedInvoiceList[index].accountId = data
|
|
364
|
+
this.form.fixedInvoiceList[index].accountId = data?.accountId
|
|
365
365
|
}
|
|
366
366
|
},
|
|
367
367
|
//上传并生成
|