doctor-admin-components 1.0.14-beta.15 → 1.0.14-beta.17

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.14-beta.15",
4
+ "version": "1.0.14-beta.17",
5
5
  "private": false,
6
6
  "main1": "lib/index.umd.min.js",
7
7
  "main": "packages/index.js",
@@ -1064,7 +1064,7 @@
1064
1064
  </div>
1065
1065
  </el-col>
1066
1066
 
1067
- <el-row v-if="channel !== 'official-website'">
1067
+ <div v-if="channel !== 'official-website'">
1068
1068
  <el-col :span="24" style="padding-top: 20px;">
1069
1069
  <span>内部文件夹</span>
1070
1070
  <div class="file-list" v-if="contract.contractType == 'purchase'">
@@ -1106,7 +1106,7 @@
1106
1106
  :isShowTip="false" uploadNameStr="内部文件" />
1107
1107
  </div>
1108
1108
  </el-col>
1109
- </el-row>
1109
+ </div>
1110
1110
 
1111
1111
  </div>
1112
1112
  </template>
@@ -1196,6 +1196,7 @@
1196
1196
  bgTime: claimFileInfoCom && timeFormate(claimFileInfoCom),
1197
1197
  bgcolor: claimProgressInfo.bgcolor
1198
1198
  }"></ContentTitle>
1199
+ <!-- <span class="bg-history" @click="handleHistory(!buyerFlag ? 'claim_credit_note' : 'claim_debit_note', linkId, false)">{{ $t('contractDetail.view_history') }}</span> -->
1199
1200
  </div>
1200
1201
  <el-col :span="24">
1201
1202
  <div class="file-list" v-if="claimFileInfoCom">
@@ -1545,10 +1546,6 @@ export default {
1545
1546
  methods: {
1546
1547
  // 装运模块状态变化,需要同步关联模块
1547
1548
  handleShippingUpdateOpen(isOpen) {
1548
- console.log(this.$refs.SectionReceiving)
1549
- console.log(this.$refs.SectionClaim)
1550
- console.log(this.$refs.SectionCNDN)
1551
-
1552
1549
  this.$refs.SectionReceiving[0]?.setOpen(isOpen)
1553
1550
  this.$refs.SectionClaim[0]?.setOpen(isOpen)
1554
1551
  this.$refs.SectionCNDN?.setOpen(isOpen)
@@ -2356,24 +2353,36 @@ export default {
2356
2353
 
2357
2354
  },
2358
2355
  claimFileInfoCom() {
2359
- if (
2360
- (this.contractFileInfo &&
2361
- this.contractFileInfo.claimCreditNoteFileList &&
2362
- this.contractFileInfo.claimCreditNoteFileList[0]) ||
2363
- (this.contractFileInfo &&
2364
- this.contractFileInfo.claimDebitNoteFileList &&
2365
- this.contractFileInfo.claimDebitNoteFileList[0])
2366
- ) {
2367
- return !this.buyerFlag
2368
- ? this.contractFileInfo &&
2369
- this.contractFileInfo.claimCreditNoteFileList &&
2370
- this.contractFileInfo.claimCreditNoteFileList
2371
- : this.contractFileInfo &&
2372
- this.contractFileInfo.claimDebitNoteFileList &&
2373
- this.contractFileInfo.claimDebitNoteFileList;
2374
- } else {
2375
- false;
2376
- }
2356
+ // if (
2357
+ // (this.contractFileInfo &&
2358
+ // this.contractFileInfo.claimCreditNoteFileList &&
2359
+ // this.contractFileInfo.claimCreditNoteFileList[0]) ||
2360
+ // (this.contractFileInfo &&
2361
+ // this.contractFileInfo.claimDebitNoteFileList &&
2362
+ // this.contractFileInfo.claimDebitNoteFileList[0])
2363
+ // ) {
2364
+ // return !this.buyerFlag
2365
+ // ? this.contractFileInfo &&
2366
+ // this.contractFileInfo.claimCreditNoteFileList &&
2367
+ // this.contractFileInfo.claimCreditNoteFileList
2368
+ // : this.contractFileInfo &&
2369
+ // this.contractFileInfo.claimDebitNoteFileList &&
2370
+ // this.contractFileInfo.claimDebitNoteFileList;
2371
+ // } else {
2372
+ // false;
2373
+ // }
2374
+ if(this.contractFileInfo?.bills) {
2375
+ return this.contractFileInfo.bills.map(item => {
2376
+ item.url = item.billNo + '.pdf'
2377
+ item.fileName = 'DebitNote' + item.billNo + '.pdf'
2378
+ item.downloadUrl = '/bill/download?id=' + item.id
2379
+ return item
2380
+ }).filter(item => {
2381
+ return item.businessType == 1
2382
+ })
2383
+ } else {
2384
+ return false
2385
+ }
2377
2386
  },
2378
2387
  // 采购获取最新的尾款发票
2379
2388
  DNbillsCom() {
@@ -2385,6 +2394,8 @@ export default {
2385
2394
  item.downloadUrl = '/bill/download?id=' + item.id
2386
2395
  return item
2387
2396
  }
2397
+ }).filter(item => {
2398
+ return item.businessType != 1
2388
2399
  })
2389
2400
  } else {
2390
2401
  return false
@@ -2399,6 +2410,8 @@ export default {
2399
2410
  item.downloadUrl = '/bill/download?id=' + item.id
2400
2411
  return item
2401
2412
  }
2413
+ }).filter(item => {
2414
+ return item.businessType != 1
2402
2415
  })
2403
2416
  } else {
2404
2417
  return false
@@ -2448,7 +2461,7 @@ export default {
2448
2461
  min-width: 45px;
2449
2462
  padding: 0 10px;
2450
2463
  width: max-content;
2451
- height: 21px;
2464
+ min-height: 21px;
2452
2465
  text-align: center;
2453
2466
  line-height: 17px;
2454
2467
  background: #FFFFFF;
@@ -34,15 +34,18 @@
34
34
  <el-col :span="24">
35
35
  <div class="bank-item">Beneficiary Address:{{ bankData.beneficiaryAddress }}</div>
36
36
  </el-col>
37
+ <el-col :span="24">
38
+ <div class="bank-item">Remark:{{ bankData.remark }}</div>
39
+ </el-col>
37
40
  </el-row>
38
41
  </div>
39
42
  <!-- 添加入口 -->
40
43
  <div v-if="!bankList || bankList.length == 0" style="padding-left: 30px; padding-top: 10px">
41
44
  <span>未添加收款账户信息,</span>
42
- <el-button type="text" size="mini" @click="clickAdd">去添加</el-button>
45
+ <el-button type="text" size="mini" v-hasPermi="['biz:company:payment:account:add']" @click="clickAdd">去添加</el-button>
43
46
  </div>
44
47
  <div v-else-if="bankList && bankList.length < 3" style="padding-left: 30px; padding-top: 10px">
45
- <el-button type="text" size="mini" @click="clickAdd">去添加</el-button>
48
+ <el-button type="text" size="mini" @click="clickAdd" v-hasPermi="['biz:company:payment:account:add']">去添加</el-button>
46
49
  <span>收款账户信息</span>
47
50
  </div>
48
51
  <!-- 添加收款账户弹框 -->
@@ -79,6 +82,11 @@
79
82
  <el-input maxlength="500" v-model="form.beneficiaryAddress" placeholder="请输入内容" />
80
83
  </el-form-item>
81
84
  </el-col>
85
+ <el-col :span="18">
86
+ <el-form-item label="Remark" label-width="150px">
87
+ <el-input maxlength="500" v-model="form.remark" placeholder="请输入内容" />
88
+ </el-form-item>
89
+ </el-col>
82
90
  </el-row>
83
91
  </el-form>
84
92
  <div slot="footer" class="dialog-footer">
@@ -137,7 +145,8 @@ export default {
137
145
  bankAddress: null,
138
146
  beneficiaryAccount: null,
139
147
  beneficiary: null,
140
- beneficiaryAddress: null
148
+ beneficiaryAddress: null,
149
+ remark: null,
141
150
  },
142
151
  rules: {}
143
152
  }
@@ -154,7 +163,8 @@ export default {
154
163
  bankAddress: null,
155
164
  beneficiaryAccount: null,
156
165
  beneficiary: null,
157
- beneficiaryAddress: null
166
+ beneficiaryAddress: null,
167
+ remark: null,
158
168
  }
159
169
  },
160
170
  handleCaclSelectIndex() {
@@ -194,7 +204,7 @@ export default {
194
204
  },
195
205
  clickConfirm() {
196
206
  let e = this.form
197
- if (!(e.swiftCode || e.bankName || e.bankAddress || e.beneficiaryAccount || e.beneficiary || e.beneficiaryAddress)) {
207
+ if (!(e.swiftCode || e.bankName || e.bankAddress || e.beneficiaryAccount || e.beneficiary || e.beneficiaryAddress || e.remark)) {
198
208
  this.$modal.msgError('请输入内容')
199
209
  return
200
210
  }
@@ -109,12 +109,7 @@
109
109
  <el-descriptions-item label="Service Fee">{{ contract.serviceFee }}</el-descriptions-item>
110
110
  <el-descriptions-item label="Freight Terms">{{ contract.freightTerms }}</el-descriptions-item>
111
111
  <el-descriptions-item label="Payment Terms">
112
- <div v-if="(contract.balanceDays || contract.balanceDays == 0) && contract.balance && contract.balancePaymentType && contract.balancePaymentForm">
113
- <span v-if="contract.deposit"> Deposit ratio {{ contract.deposit }}% {{ contract.depositDays }} days {{ contract.depositPaymentForm }} and </span>
114
- {{ contract.balance }}% balance {{ contract.balancePaymentType }} paid {{ contract.balanceDays }} days {{ contract.balancePaymentForm }}
115
- {{ contract.otherPaymentTerm }}
116
- </div>
117
- <div v-else>{{ contract.otherPaymentTerm }}</div>
112
+ {{ contract.paymentTermFullText }}
118
113
  </el-descriptions-item>
119
114
  <el-descriptions-item label="Price Fixing Option">
120
115
  <div v-if="contract.livePriceSwitch">