doctor-admin-components 1.0.14-beta.6 → 1.0.14-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.
Files changed (28) hide show
  1. package/README.md +4 -1
  2. package/package.json +1 -1
  3. package/packages/index.js +14 -4
  4. package/packages/src/api/biz/bizContract.js +36 -9
  5. package/packages/src/api/biz/bizShipment.js +30 -1
  6. package/packages/src/i18n/zh-CN/message.json +1 -1
  7. package/packages/src/index.js +18 -2
  8. package/packages/src/utils/zip.js +29 -11
  9. package/packages/src/views/biz/bizFileInfo/contract.vue +494 -366
  10. package/packages/src/views/biz/bizFileInfo/contractFile/BillOfLadingNoTab.vue +9 -7
  11. package/packages/src/views/biz/bizFileInfo/contractFile/IMGPreviewCheckBox.vue +25 -10
  12. package/packages/src/views/biz/bizFileInfo/contractFile/SectionSlot.vue +11 -3
  13. package/packages/src/views/biz/bizFileInfo/fileShow.vue +11 -5
  14. package/packages/src/views/biz/bizShipment/add.vue +82 -42
  15. package/packages/src/views/biz/contractTracing/billInfo.vue +17 -9
  16. package/packages/src/views/biz/contractTracing/changrLogList.vue +67 -0
  17. package/packages/src/views/biz/contractTracing/companyBanks.vue +19 -8
  18. package/packages/src/views/biz/contractTracing/contractClause.vue +357 -0
  19. package/packages/src/views/biz/contractTracing/contractClauseComponenrts/TextContent.vue +53 -0
  20. package/packages/src/views/biz/contractTracing/contractPdf.vue +9 -171
  21. package/packages/src/views/biz/contractTracing/contractSummary.vue +101 -73
  22. package/packages/src/views/biz/contractTracing/contractTracingDetail.vue +5 -77
  23. package/packages/src/views/biz/contractTracing/editBill.vue +35 -27
  24. package/packages/src/views/biz/contractTracing/info.vue +346 -0
  25. package/packages/src/views/biz/contractTracing/purchaseInvoiceUpload.vue +5 -2
  26. package/packages/src/views/biz/contractTracing/queryDeductionRecords.vue +103 -0
  27. package/packages/src/views/biz/contractTracing/shipmentPurchaseAmount.vue +361 -79
  28. package/packages/src/views/biz/contractTracing/shipmentPurchaseAmountEditDialog.vue +176 -0
@@ -12,7 +12,7 @@
12
12
  v-for="(bankData, i) in bankList"
13
13
  :key="i"
14
14
  class="bank-container"
15
- :class="{ 'bank-container-select': !disableSelect && sellectIndex == i, 'bank-container-unselect': disableSelect || sellectIndex != i }"
15
+ :class="{ 'bank-container-select': sellectIndex == i, 'bank-container-unselect': sellectIndex != i }"
16
16
  @click="clickSelct(i)"
17
17
  >
18
18
  <el-row style="padding-bottom: 20px">
@@ -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" style="display:flex;"><p>Remark:</p><p style="white-space: pre-wrap;">{{ bankData.remark }}</p></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" type="textarea" rows="4" 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,13 +163,15 @@ 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() {
161
- if (!this.disableSelect && this.accountId) {
171
+ if (this.accountId) {
162
172
  this.sellectIndex = this.bankList.findIndex((item) => item.accountId == this.accountId)
163
- if (this.sellectIndex == -1) {
173
+ console.log('---sellectIndex:', this.sellectIndex)
174
+ if (this.sellectIndex == -1 && !this.disableSelect) {
164
175
  console.log('pre accountId invalide')
165
176
  this.$emit('selectBank', null)
166
177
  }
@@ -194,7 +205,7 @@ export default {
194
205
  },
195
206
  clickConfirm() {
196
207
  let e = this.form
197
- if (!(e.swiftCode || e.bankName || e.bankAddress || e.beneficiaryAccount || e.beneficiary || e.beneficiaryAddress)) {
208
+ if (!(e.swiftCode || e.bankName || e.bankAddress || e.beneficiaryAccount || e.beneficiary || e.beneficiaryAddress || e.remark)) {
198
209
  this.$modal.msgError('请输入内容')
199
210
  return
200
211
  }
@@ -0,0 +1,357 @@
1
+ <template>
2
+ <div>
3
+ <h3 style="text-align: center">Additional Agreement</h3>
4
+ <div style="text-align: right;padding-right: 20px" v-if="editable">
5
+ <el-button type="text" @click="disable = !disable">{{ disable ? 'Edit' : 'View' }}</el-button>
6
+ </div>
7
+ <div v-if="form">
8
+ <div v-if="form.contractType == 'sale'">
9
+ <h3>ARTICLE 1 – DEFINITIONS</h3>
10
+ <div>
11
+ <text-content :form="form" :disable="disable" keys="definitions"></text-content>
12
+ </div>
13
+ <h3>ARTICLE 2 – Annexure of Inquiry Page Content</h3>
14
+ <div>
15
+ <text-content :form="form" :disable="disable" keys="annexure"></text-content>
16
+ </div>
17
+ <h3>ARTICLE 3 – ACCEPTANCE</h3>
18
+ <div>
19
+ <text-content :form="form" :disable="disable" keys="acceptance"></text-content>
20
+ </div>
21
+ <h3>ARTICLE 4 – INCONSISTENT COMMODITY NAMES</h3>
22
+ <div>
23
+ <text-content :form="form" :disable="disable" keys="inconsistent"></text-content>
24
+ </div>
25
+ <h3>ARTICLE 5 – QUALITY, CUSTOMS REJECTION</h3>
26
+ <div>
27
+ <text-content :form="form" :disable="disable" keys="quality"></text-content>
28
+ </div>
29
+ <h3>ARTICLE 6 – CLAIM</h3>
30
+ <div>
31
+ <text-content :form="form" :disable="disable" keys="claim"></text-content>
32
+ </div>
33
+ <h3>ARTICLE 7 – LOADING REQUIREMENT</h3>
34
+ <div>
35
+ <text-content :form="form" :disable="disable" keys="loadingRequirement"></text-content>
36
+ </div>
37
+ <h3>ARTICLE 8 – PAYMENT</h3>
38
+ <div>
39
+ <div>
40
+ <!-- 比例 -->
41
+ <div v-if="form && form.depositType == '1'">
42
+ The Buyer shall pay a deposit of {{ form.deposit}}% of the total Contract Price to TTYY within {{ form.depositDays }} days {{ depositPaymentFormKey(form.depositPaymentForm)}}.
43
+ </div>
44
+ <!-- 固定金额 -->
45
+ <div v-else>
46
+ The Buyer shall pay a deposit of {{`$${form.advanceDepositAmount}`}}
47
+ TTYY within {{ form.depositDays }} days {{ depositPaymentFormKey(form.depositPaymentForm) }}.
48
+ </div>
49
+ The remaining {{ form.depositAmount != null ? `` : `${form.balance}%` }} balance of the total Contract Price
50
+ shall be paid by the Buyer to TTYY via Telegraphic Transfer ({{ form.balanceDays }}) days no later than
51
+ {{ form.balancePaymentType }} days {{ balancePaymentFormKey(form.balancePaymentForm) }}.
52
+ </div>
53
+ The Buyer shall ensure that all payments are made free and clear of any deductions, charges, fees, or
54
+ withholdings imposed by any governmental or regulatory authority. If any such deductions or withholdings are
55
+ required by law, the Buyer shall increase the amount payable to TTYY so that, after any such deductions or
56
+ withholdings, TTYY receives an amount equal to the Contract Price.
57
+ <br />
58
+ If the Buyer fails to make any payment within the stipulated time frames, TTYY shall be entitled to charge
59
+ interest on the overdue amount at a rate of 0.05% per day from the due date until the date of actual payment.
60
+ </div>
61
+ <h3>ARTICLE 9 – FLOATING PRICE</h3>
62
+ <div v-if="form.quoteType && form.quoteType != 'FIXED'">
63
+ Price Period: The {{ form.livePriceUsertype }} has the pricing authority option from container loaded date until
64
+ {{ form.livePriceDays }} days {{ form.livePriceForm }} it arrives at the port.
65
+ <br />
66
+ FOR PRICING the Buyer and TTYY can communicate through email, Wechat group, WhatsApp group, phone call or the
67
+ pricing function button of the APP.
68
+ <br />
69
+ The pricing will be determined based on the local working hours of either the Seller or the Buyer who provides
70
+ the price option.
71
+ <br />
72
+ If the Buyer is unable to fix the price within the agreed Price Fixing Period, the Buyer may request an
73
+ extension. The request for extension must be submitted in writing to TTYY before the expiration of the initial
74
+ Price Fixing Period.
75
+ <br />
76
+ The Buyer acknowledges and agrees that an extension of the Price Fixing Period shall be subject to supplier’s
77
+ allowance.
78
+ <br />
79
+ The Buyer shall make a prompt payment (within two working days) to the Seller, amounting to 110% of the
80
+ provisional pricing formula based on the LME/CME reference price on the day and at the time the Buyer declared
81
+ the exercise of the Extension Option.
82
+ <br />
83
+ TTYY’s supplier reserves the right to approve or deny any request for an extension of the Price Fixing Period
84
+ in its sole discretion. The granting of an extension does not constitute a waiver of TTYY's rights under this
85
+ Contract.
86
+ <br />
87
+ If the Buyer fails to fix the price within the Price Fixing Period, including any extended period granted by
88
+ TTYY, TTYY shall have the right to determine the contract price based on the Market Closing Price of the Price
89
+ Fixing Deadline.
90
+ <br />
91
+ Any extension of the Price Fixing Period shall be the final extension, and no further extensions shall be
92
+ granted unless otherwise agreed upon in writing by the parties.
93
+ </div>
94
+ <h3>ARTICLE 10 – MARGIN CALL</h3>
95
+ <div>
96
+ <text-content :form="form" :disable="disable" keys="saleMarginCall"></text-content>
97
+ </div>
98
+ <h3>ARTICLE 11 – PRICE ADJUSTMENT</h3>
99
+ <div>
100
+ <text-content :form="form" :disable="disable" keys="priceAdjustment"></text-content>
101
+ </div>
102
+ <h3>ARTICLE 12 - PACKING, DELIVERY, SHIPPING & RISK OF LOSS</h3>
103
+ <div>
104
+ The delivery terms shall be set forth on the first page of the Contract. The Contract includes standard
105
+ commercial packaging for the goods. When special or export packaging is required or requested, the cost of the
106
+ special packaging will be separately invoiced.
107
+ <br /><br />
108
+ If the Buyer pays the deposit late (if the delay is within {{ form.latestShipment }} days of the original
109
+ contract deposit, the contract will be extended; if the delay exceeds {{ form.latestShipment }} days, the
110
+ delivery time cannot be guaranteed), the goods will be shipped within {{ form.latestShipment }} days from the
111
+ date of deposit payment.
112
+ <br /><br />
113
+ To be arranged by the Seller within {{ form.latestShipment }} days from the date of signature of this Agreement.
114
+ (For sake of clarity, within the above deadline, the Seller shall be obliged to arrange for the loading of the
115
+ Material in the containers, not for the loading onboard the vessel (which will be reflected in the Shipped on
116
+ Board date of BL). Seller has no control over shipping delays caused by the carrier and can therefore be
117
+ responsible only for the date by which the material is loaded in the container, not for the date of loading
118
+ onboard the vessel or for the sailing date. If container sailing is delayed due to delays by the shipping
119
+ lines, by customs, and/or by causes of force majeure, if by the expiry of the above deadline, the Material has
120
+ not yet been loaded into the respective containers, In the event that the Buyer does not exercise its
121
+ cancellation notice to the seller 3 days’ before deadline as per above, this Agreement shall be automatically
122
+ extended for additional 45 days. In any case, the Buyer shall not be entitled to cancel this Agreement once
123
+ the Material is loaded into the containers and notice thereof has been given by the Seller to the Buyer.
124
+ </div>
125
+ <h3>ARTICLE 13 - AS IS; NO WARRANTY</h3>
126
+ <div>
127
+ <text-content :form="form" :disable="disable" keys="saleNoWarranty"></text-content>
128
+ </div>
129
+ <h3>ARTICLE 14 - TAXES, DUTIES, FEES</h3>
130
+ <div>
131
+ <text-content :form="form" :disable="disable" keys="taxes"></text-content>
132
+ </div>
133
+ <h3>ARTICLE 15 - LICENSES/PERMITS</h3>
134
+ <div>
135
+ <text-content :form="form" :disable="disable" keys="licenses"></text-content>
136
+ </div>
137
+ <h3>ARTICLE 16 - COMPLIANCE WITH LAWS AND STATUTORY REGULATIONS</h3>
138
+ <div>
139
+ <text-content :form="form" :disable="disable" keys="complianceWithLaws"></text-content>
140
+ </div>
141
+ <h3>ARTICLE 17 - CANCELLATION AND TERMINATION</h3>
142
+ <div>
143
+ <text-content :form="form" :disable="disable" keys="cancellation"></text-content>
144
+ </div>
145
+ <h3>ARTICLE 18 - LIMITATION OF LIABILITY</h3>
146
+ <div>
147
+ <text-content :form="form" :disable="disable" keys="limitation"></text-content>
148
+ </div>
149
+ <h3>ARTICLE 19 – DISPUTES</h3>
150
+ <div>
151
+ <text-content :form="form" :disable="disable" keys="disputes"></text-content>
152
+ </div>
153
+ <h3>ARTICLE 20 - LAW GOVERNING CONTRACT</h3>
154
+ <div>
155
+ <text-content :form="form" :disable="disable" keys="lawGoverning"></text-content>
156
+ </div>
157
+ <h3>ARTICLE 21 – SEVERABILITY</h3>
158
+ <div>
159
+ <text-content :form="form" :disable="disable" keys="severability"></text-content>
160
+ </div>
161
+ <h3>ARTICLE 22 – ASSIGNMENT</h3>
162
+ <div>
163
+ <text-content :form="form" :disable="disable" keys="assignment"></text-content>
164
+ </div>
165
+ <h3>ARTICLE 23 – WAIVER</h3>
166
+ <div>
167
+ <text-content :form="form" :disable="disable" keys="waiver"></text-content>
168
+ </div>
169
+ <h3>ARTICLE 24 – NONDISCLOSURE</h3>
170
+ <div>
171
+ <text-content :form="form" :disable="disable" keys="saleNoNdisclosure"></text-content>
172
+ </div>
173
+ <h3>ARTICLE 25 - EXCUSABLE DELAYS</h3>
174
+ <div>
175
+ <text-content :form="form" :disable="disable" keys="excusable"></text-content>
176
+ </div>
177
+ <h3>ARTICLE 26 – LANGUAGE</h3>
178
+ <div>
179
+ <text-content :form="form" :disable="disable" keys="language"></text-content>
180
+ </div>
181
+ <h3>ARTICLE 27 – MISCELLANEOUS</h3>
182
+ <div>
183
+ <text-content :form="form" :disable="disable" keys="miscellaneous"></text-content>
184
+ </div>
185
+ </div>
186
+ <div v-else>
187
+ <h3>ARTICLE 1 – DEFINITIONS</h3>
188
+ <div>
189
+ <text-content :form="form" :disable="disable" keys="definitions"></text-content>
190
+ </div>
191
+ <h3>ARTICLE 2 – Annexure of Inquiry Page Content</h3>
192
+ <div>
193
+ <text-content :form="form" :disable="disable" keys="annexure"></text-content>
194
+ </div>
195
+ <h3>ARTICLE 3 – ACCEPTANCE</h3>
196
+ <div>
197
+ <text-content :form="form" :disable="disable" keys="acceptance"></text-content>
198
+ </div>
199
+ <h3>ARTICLE 4 – INCONSISTENT COMMODITY NAMES</h3>
200
+ <div>
201
+ <text-content :form="form" :disable="disable" keys="inconsistent"></text-content>
202
+ </div>
203
+ <h3>ARTICLE 5 – QUALITY, CUSTOMS REJECTION</h3>
204
+ <div>
205
+ <text-content :form="form" :disable="disable" keys="quality"></text-content>
206
+ </div>
207
+ <h3>ARTICLE 6 – CLAIM</h3>
208
+ <div>
209
+ <text-content :form="form" :disable="disable" keys="claim"></text-content>
210
+ </div>
211
+ <h3>ARTICLE 7 – LOADING REQUIREMENT</h3>
212
+ <div>
213
+ <text-content :form="form" :disable="disable" keys="loadingRequirement"></text-content>
214
+ </div>
215
+ <h3>ARTICLE 8 – PAYMENT</h3>
216
+ <div>
217
+ <!-- 比例 -->
218
+ <div v-if="form && form.depositType == '1'">
219
+ TTYY's downstream customers shall pay a deposit of {{ form.deposit}}% of the total Contract Price to the Seller within {{ form.depositDays }} days {{ depositPaymentFormKey(form.depositPaymentForm)}}.
220
+ </div>
221
+ <!-- 固定金额 -->
222
+ <div v-else>
223
+ TTYY's downstream customers shall pay a deposit of {{`$${form.advanceDepositAmount}`}}
224
+ TTYY within {{ form.depositDays }} days {{ depositPaymentFormKey(form.depositPaymentForm) }}.
225
+ </div>
226
+ </div>
227
+ The remaining {{ form.depositAmount != null ? `` : `${form.balance}%` }} balance of the total Contract Price shall
228
+ be paid to the Seller via Telegraphic Transfer ({{ form.balancePaymentType }}) no later than {{ form.balanceDays }}
229
+ days {{ balancePaymentFormKey(form.balancePaymentForm) }}.
230
+ <h3>AARTICLE 9 – FLOATING PRICE</h3>
231
+ <div v-if="form.quoteType && form.quoteType != 'FIXED'">
232
+ Price Period: The {{ form.livePriceUsertype }} has the pricing option from container loaded date until
233
+ {{ form.livePriceDays }} days {{ form.livePriceForm }} it arrives at the port.
234
+ <br />
235
+ FOR PRICING the Seller and TTYY can communicate through email, Wechat group, WhatsApp group,Make a phone call
236
+ or the pricing function button of the APP.
237
+ <br />
238
+ The pricing will be determined based on the local working hours of either the Seller or the Buyer who provides
239
+ the price option.
240
+ <br />
241
+ If one party is unable to fix the price within the agreed Price Fixing Period, it is permitted to apply for an
242
+ extension pricing period application.The other party have the right to evaluate and offer extension pricing
243
+ period or not.
244
+ </div>
245
+ <h3>ARTICLE 10 – PRICE ADJUSTMENT</h3>
246
+ <div>
247
+ <text-content :form="form" :disable="disable" keys="priceAdjustment"></text-content>
248
+ </div>
249
+ <h3>ARTICLE 11 – PACKING, DELIVERY, SHIPPING & RISK OF LOSS</h3>
250
+ <div>
251
+ <text-content :form="form" :disable="disable" keys="purchasePacking"></text-content>
252
+ </div>
253
+ <h3>ARTICLE 12 - SHIPMENT PERIOD</h3>
254
+ <div>
255
+ <text-content :form="form" :disable="disable" keys="purchaseShipmentPeriod"></text-content>
256
+ </div>
257
+ <h3>ARTICLE 13 - TAXES, DUTIES, FEES</h3>
258
+ <div>
259
+ <text-content :form="form" :disable="disable" keys="taxes"></text-content>
260
+ </div>
261
+ <h3>ARTICLE 14 - LICENSES/PERMITS</h3>
262
+ <div>
263
+ <text-content :form="form" :disable="disable" keys="licenses"></text-content>
264
+ </div>
265
+ <h3>ARTICLE 15 - COMPLIANCE WITH LAWS AND STATUTORY REGULATIONS</h3>
266
+ <div>
267
+ <text-content :form="form" :disable="disable" keys="complianceWithLaws"></text-content>
268
+ </div>
269
+ <h3>AARTICLE 16 - CANCELLATION AND TERMINATION</h3>
270
+ <div>
271
+ <text-content :form="form" :disable="disable" keys="cancellation"></text-content>
272
+ </div>
273
+ <h3>ARTICLE 17 - LIMITATION OF LIABILITY</h3>
274
+ <div>
275
+ <text-content :form="form" :disable="disable" keys="limitation"></text-content>
276
+ </div>
277
+ <h3>ARTICLE 18 – DISPUTES</h3>
278
+ <div>
279
+ <text-content :form="form" :disable="disable" keys="disputes"></text-content>
280
+ </div>
281
+ <h3>ARTICLE 19 - LAW GOVERNING CONTRACT</h3>
282
+ <div>
283
+ <text-content :form="form" :disable="disable" keys="lawGoverning"></text-content>
284
+ </div>
285
+ <h3>ARTICLE 20 – SEVERABILITY</h3>
286
+ <div>
287
+ <text-content :form="form" :disable="disable" keys="severability"></text-content>
288
+ </div>
289
+ <h3>ARTICLE 21 – ASSIGNMENT</h3>
290
+ <div>
291
+ <text-content :form="form" :disable="disable" keys="assignment"></text-content>
292
+ </div>
293
+ <h3>ARTICLE 22 – WAIVER</h3>
294
+ <div>
295
+ <text-content :form="form" :disable="disable" keys="waiver"></text-content>
296
+ </div>
297
+ <h3>ARTICLE 23 - EXCUSABLE DELAYS</h3>
298
+ <div>
299
+ <text-content :form="form" :disable="disable" keys="excusable"></text-content>
300
+ </div>
301
+ <h3>ARTICLE 24 – INSURANCE</h3>
302
+ <div>
303
+ <text-content :form="form" :disable="disable" keys="purchaseInsurance"></text-content>
304
+ </div>
305
+ <h3>ARTICLE 25 – LANGUAGE</h3>
306
+ <div>
307
+ <text-content :form="form" :disable="disable" keys="language"></text-content>
308
+ </div>
309
+ <h3>ARTICLE 26 – MISCELLANEOUS</h3>
310
+ <div>
311
+ <text-content :form="form" :disable="disable" keys="miscellaneous"></text-content>
312
+ </div>
313
+ </div>
314
+ </div>
315
+ </div>
316
+ </template>
317
+ <script>
318
+ import TextContent from './contractClauseComponenrts/TextContent'
319
+ export default {
320
+ name: 'ContractClause',
321
+ dicts: ['deposit_payment_form', 'balance_payment_form'],
322
+ props: {
323
+ form: {
324
+ type: Object,
325
+ default: null
326
+ },
327
+ editable: {
328
+ type: Boolean,
329
+ default: false
330
+ }
331
+ },
332
+ components: {
333
+ TextContent
334
+ },
335
+ data() {
336
+ return {
337
+ disable: true
338
+ }
339
+ },
340
+ created() {
341
+ },
342
+ methods: {
343
+ disableEdit() {
344
+ this.disable = true
345
+ },
346
+ depositPaymentFormKey(value) {
347
+ let label = this.dict.type.deposit_payment_form.find(item => item.value == value)?.raw?.dictLabelEn
348
+ return label || ''
349
+ },
350
+ balancePaymentFormKey(value) {
351
+ let label = this.dict.type.balance_payment_form.find(item => item.value == value)?.raw?.dictLabelEn
352
+ return label || ''
353
+ }
354
+ }
355
+ }
356
+ </script>
357
+ <style lang="scss" scoped></style>
@@ -0,0 +1,53 @@
1
+ <template>
2
+ <div>
3
+ <div class="text-content-text" v-if="disable">{{ form['contractClause'][keys] }}</div>
4
+ <el-input v-else type="textarea" v-model="form['contractClause'][keys]" :autosize="{ minRows: 3}"></el-input>
5
+ </div>
6
+ </template>
7
+
8
+ <script>
9
+ export default {
10
+ name: 'TextContent',
11
+ props: {
12
+ form: {
13
+ type: Object,
14
+ default: () => {}
15
+ },
16
+ disable: {
17
+ type: Boolean,
18
+ default: true
19
+ },
20
+ keys: {
21
+ type: String,
22
+ default: ''
23
+ }
24
+ },
25
+
26
+ data() {
27
+ return {
28
+
29
+ };
30
+ },
31
+
32
+ mounted() {
33
+
34
+ },
35
+
36
+ methods: {
37
+
38
+ },
39
+ };
40
+ </script>
41
+
42
+ <style lang="scss" scoped>
43
+ .text-content-text {
44
+ white-space: pre-wrap;
45
+ word-break:break-word;
46
+ }
47
+
48
+ .contract-textarea {
49
+ width: 100%;
50
+ height: max-content;
51
+ }
52
+
53
+ </style>