doctor-admin-components 1.0.13-beta.41 → 1.0.13-beta.42

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.
@@ -18,7 +18,7 @@
18
18
  <div class="content-root">
19
19
  <!-- 提单指令 -->
20
20
  <ContentTitle :contentTitleProp="{
21
- bgButton: '提单指令',
21
+ bgButton: $t('contractDetail.blInfo'),
22
22
  bgTime:contractFileInfo.personalBillFileInfo && timeFormate(contractFileInfo.personalBillFileInfo),
23
23
  }"></ContentTitle>
24
24
  <el-col :span="12" v-if="getLastFileByList(contractFileInfo.latestBillFileInfo)">
@@ -54,16 +54,16 @@
54
54
  'personal_deal_bill'
55
55
  )
56
56
  ":isShowTip="false"
57
- uploadNameStr="提单指令" />
57
+ :uploadNameStr="$t('contractDetail.blInfo')" />
58
58
  </div>
59
59
  </el-col>
60
60
  <el-col :span="12" v-if="contractFileInfo.bliConfirmFlag" class="center-status">
61
61
  <i class="el-icon-success success"></i>
62
- 提单指令已确认
62
+ {{ $t('contractDetail.bl_confirm_true') }}
63
63
  </el-col>
64
64
  <el-col :span="12" v-else class="center-status">
65
65
  <i class="el-icon-time"></i>
66
- 提单指令待确认
66
+ {{ $t('contractDetail.blInfo_unconfirm') }}
67
67
  </el-col>
68
68
  <!-- 销售合同-回签合同 -->
69
69
  <el-col :span="24">
@@ -78,12 +78,12 @@
78
78
  : $t('contractDetail.purchaseContract'),
79
79
  bgTime:contractFileInfo.latestContractFileInfo && timeFormate(contractFileInfo.latestContractFileInfo)
80
80
  }"></ContentTitle>
81
- <span class="bg-history" @click="handleHistory('contract_formal')">查看历史版本</span>
81
+ <span class="bg-history" @click="handleHistory('contract_formal')">{{ $t('contractDetail.view_history') }}</span>
82
82
  </div>
83
83
  </el-col>
84
84
  <el-col :span="12" v-if="contractFileInfo.signContractFileInfo && contractFileInfo.signContractFileInfo.length">
85
85
  <ContentTitle :contentTitleProp="{
86
- bgButton: '回签合同',
86
+ bgButton: $t('contractDetail.signContract'),
87
87
  bgTime:timeFormate(contractFileInfo.signContractFileInfo)
88
88
  }"
89
89
  :successFlag="true"
@@ -96,7 +96,7 @@
96
96
  <file-show :hiddenOperation="channel == 'official-website'" @refresh="handleRefresh" @checked="handleChecked" @uncheck="handleUncheck" :selectFileListProp="selectFileList" :fileInfo="getLastFileByList(contractFileInfo.latestContractFileInfo)" />
97
97
  </div>
98
98
  <div v-else>
99
- 暂无合同
99
+ {{ $t('contractDetail.no_files') }}
100
100
  </div>
101
101
  </el-col>
102
102
  <!-- 回签合同 -->
@@ -106,7 +106,7 @@
106
106
  <el-button style="margin-left: 10px" @click="counterSign" size="mini">撤回回签</el-button>
107
107
  </div> -->
108
108
  <div class="file-list">
109
- <file-show :hiddenOperation="channel == 'official-website'" @refresh="handleRefresh"
109
+ <file-show @refresh="handleRefresh"
110
110
  @checked="handleChecked" @uncheck="handleUncheck" :file-info="item"
111
111
  :selectFileListProp="selectFileList"
112
112
  type="signContract"
@@ -121,7 +121,7 @@
121
121
  'contract',
122
122
  'contract_sign'
123
123
  )
124
- " :isShowTip="false" uploadNameStr="回签合同" />
124
+ " :isShowTip="false" :uploadNameStr="$t('contractDetail.signContract')" />
125
125
  </div>
126
126
  </el-col>
127
127
  </el-col>
@@ -133,17 +133,17 @@
133
133
  <el-col :span="12">
134
134
  <div style="display:flex;align-items:center">
135
135
  <ContentTitle :contentTitleProp="{
136
- bgButton: '定金发票',
136
+ bgButton: $t('contractDetail.depositInvoice'),
137
137
  bgTime:contractFileInfo.proformaInvoiceFileInfo && timeFormate(contractFileInfo.proformaInvoiceFileInfo) || contractFileInfo.personalProformaInvoiceFileInfo && timeFormate(contractFileInfo.personalProformaInvoiceFileInfo)
138
138
  }">
139
139
  </ContentTitle>
140
- <span class="bg-history" v-if="channel !== 'official-website'" @click="skipInvoiceList">发票列表</span>
140
+ <span class="bg-history" v-if="channel !== 'official-website'" @click="skipInvoiceList">{{ $t('contractDetail.invoice_list') }}</span>
141
141
  </div>
142
142
  </el-col>
143
143
 
144
144
  <el-col :span="12" v-if="contractFileInfo.proformaInvoiceWaterBillFileInfo && contractFileInfo.proformaInvoiceWaterBillFileInfo.length">
145
145
  <ContentTitle :contentTitleProp="{
146
- bgButton: '支付凭证',
146
+ bgButton: $t('contractDetail.Payment_voucher'),
147
147
  bgTime: contractFileInfo.proformaInvoiceWaterBillFileInfo && timeFormate(contractFileInfo.proformaInvoiceWaterBillFileInfo)
148
148
  }"
149
149
  :successFlag="true"
@@ -161,7 +161,7 @@
161
161
  <el-col :span="12">
162
162
  <div style="margin-bottom:20px" v-if="contract.contractType == 'purchase'">
163
163
  <el-button type="primary" size="mini" v-if="channel !== 'official-website'" @click.stop="getDepositInvoice">
164
- {{ contract.contractType == "sale" ? "生成定金发票" : "上传定金发票" }}
164
+ {{ contract.contractType == "sale" ? $t('contractDetail.Generate_deposit_invoice') : "上传定金发票" }}
165
165
  </el-button>
166
166
  </div>
167
167
  <!-- 系统生成定金发票 -->
@@ -191,10 +191,10 @@
191
191
  'personal_proforma_invoice'
192
192
  )
193
193
  ":isShowTip="false"
194
- uploadNameStr="定金发票" />
194
+ :uploadNameStr="$t('contractDetail.depositInvoice')" />
195
195
  <div v-if="channel == 'official-website'" class="center-status">
196
196
  <i class="el-icon-time"></i>
197
- <span>定金发票待上传</span>
197
+ <span>{{ $t('contractDetail.Deposit_invoice_to_be_uploaded') }}</span>
198
198
  </div>
199
199
  </div>
200
200
  </el-col>
@@ -229,7 +229,7 @@
229
229
  >
230
230
  {{
231
231
  channel !== "official-website"
232
- ? "定金已收"
232
+ ? $t('contractDetail.Deposit_received')
233
233
  : $t("contractDetail.Deposit_Paid")
234
234
  }}
235
235
  </div>
@@ -238,7 +238,7 @@
238
238
  <span style="color: red">
239
239
  {{
240
240
  channel !== "official-website"
241
- ? "定金待付"
241
+ ? $t('contractDetail.deposit_unpaid')
242
242
  : $t("contractDetail.Deposit_Unpaid")
243
243
  }}
244
244
  </span>
@@ -255,19 +255,20 @@
255
255
  style="width:max-content"
256
256
  >
257
257
  <i class="el-icon-success success"></i>
258
- 定金已付</div>
258
+ {{ $t('contractDetail.Deposit_Paid') }}</div>
259
259
  <div v-else style="width:max-content">
260
260
  <i class="el-icon-time"></i>
261
- <span style="color: red">定金待付</span>
261
+ <span style="color: red">{{ $t('contractDetail.deposit_unpaid') }}</span>
262
262
  </div>
263
263
  </el-col>
264
264
  </el-row>
265
265
  <div v-if="!contractFileInfo.proformaInvoiceWaterBillFileInfo || contractFileInfo.proformaInvoiceWaterBillFileInfo.length == 0">
266
266
  <!-- <i class="el-icon-time"></i> -->
267
- 支付凭证待提供
267
+ {{ $t('contractDetail.deposit_unreceipt') }}
268
268
  </div>
269
269
  <div v-else style="color:#000">
270
270
  <file-show @refresh="handleRefresh"
271
+ :hiddenOperation="channel == 'official-website'"
271
272
  @checked="handleChecked" @uncheck="handleUncheck" :selectFileListProp="selectFileList" :file-info="item"
272
273
  v-for="(item, i) in contractFileInfo.proformaInvoiceWaterBillFileInfo" :key="i" />
273
274
  </div>
@@ -280,7 +281,7 @@
280
281
  </el-col>
281
282
  <el-col :span="24">
282
283
  <ContentTitle :contentTitleProp="{
283
- bgButton: '其他文件',
284
+ bgButton: $t('contractDetail.otherFile'),
284
285
  bgTime: contract.contractType == 'sale' ? contractFileInfo.saleContractOtherFile && timeFormate(contractFileInfo.saleContractOtherFile) : contractFileInfo.purchaseContractOtherFile && timeFormate(contractFileInfo.purchaseContractOtherFile)
285
286
  }"></ContentTitle>
286
287
  </el-col>
@@ -296,7 +297,7 @@
296
297
  'contract',
297
298
  'sale_contract_other_file'
298
299
  )
299
- " :isShowTip="false" uploadNameStr="其他文件" />
300
+ " :isShowTip="false" :uploadNameStr="$t('contractDetail.otherFile')" />
300
301
  </div>
301
302
  <!-- 销售-采购文件 -->
302
303
  <div class="file-list" v-else>
@@ -311,7 +312,7 @@
311
312
  )
312
313
  "
313
314
  :isShowTip="false"
314
- uploadNameStr="其他文件"
315
+ :uploadNameStr="$t('contractDetail.otherFile')"
315
316
  />
316
317
  </div>
317
318
  </el-col>
@@ -341,19 +342,19 @@
341
342
  v-if="
342
343
  channel !== 'official-website' && contract.contractType == 'purchase'
343
344
  "
344
- >生成装运</div>
345
+ >{{ $t("contractDetail.Generate_shipment") }}</div>
345
346
  </div>
346
347
  </template>
347
348
  <template v-slot:content>
348
349
  <div class="ship-empty" style="background-color:#fff">
349
350
  <div>
350
- <b>装箱单</b>将会在卖家装运后更新
351
+ <b>{{ $t('contractDetail.packingList') }}</b>{{ $t('contractDetail.update_after_shipping') }}
351
352
  </div>
352
353
  <div>
353
- <b>装运照片</b>将会在卖家装运后更新
354
+ <b>{{ $t('contractDetail.packingPhoto') }}</b>{{ $t('contractDetail.update_after_shipping') }}
354
355
  </div>
355
356
  <div>
356
- <b>草稿提单</b>将会在卖家装运后更新
357
+ <b>{{ $t('contractDetail.draftBillOfLading') }}</b>{{ $t('contractDetail.update_after_shipping') }}
357
358
  </div>
358
359
  </div>
359
360
  </template>
@@ -374,7 +375,7 @@
374
375
  v-if="
375
376
  channel !== 'official-website' && contract.contractType == 'purchase'
376
377
  "
377
- >增加装运</div>
378
+ >{{ $t('contractDetail.add_shipment') }}</div>
378
379
  </div>
379
380
  </template>
380
381
  <template v-slot:content>
@@ -399,12 +400,12 @@
399
400
  )
400
401
  "
401
402
  class="preview-download"
402
- >识别汇总</div>
403
- <div class="preview-download" @click="editShipment(shipmentItemData)">编辑船运</div>
403
+ >{{ $t('contractDetail.identification_summary') }}</div>
404
+ <div class="preview-download" @click="editShipment(shipmentItemData)">{{ $t('contractDetail.edit_shipment') }}</div>
404
405
  </div>
405
406
  <!-- 订舱资料 -->
406
407
  <ContentTitle :contentTitleProp="{
407
- bgButton: '订舱资料',
408
+ bgButton: $t('contractDetail.bookingConfirmation'),
408
409
  bgTime: shipmentFileInfo.bookingConfirmation && timeFormate(shipmentFileInfo.bookingConfirmation),
409
410
  bgcolor: shipProgressInfo.bgcolor
410
411
 
@@ -416,7 +417,7 @@
416
417
  <div class="file-list">
417
418
  <el-col v-if=" contract.contractType == 'sale' && (!shipmentFileInfo.bookingConfirmation || shipmentFileInfo.bookingConfirmation && shipmentFileInfo.bookingConfirmation.length == 0)" :span="12" class="center-status">
418
419
  <i class="el-icon-time"></i>
419
- 订舱资料待更新
420
+ {{ $t('contractDetail.Booking_information_to_be_updated') }}
420
421
  </el-col>
421
422
  <file-show @refresh="handleRefresh" @checked="handleChecked" :hiddenOperation="channel == 'official-website'" @uncheck="handleUncheck" :selectFileListProp="selectFileList" :file-info="item"
422
423
  v-for="(item, i) in shipmentFileInfo.bookingConfirmation" :key="i" />
@@ -430,7 +431,7 @@
430
431
  'shipment',
431
432
  'shipment_booking_confirmation'
432
433
  )
433
- " :isShowTip="false" uploadNameStr="订舱资料" />
434
+ " :isShowTip="false" :uploadNameStr="$t('contractDetail.bookingConfirmation')" />
434
435
  </div>
435
436
  </el-col>
436
437
  <el-col :span="24">
@@ -438,7 +439,7 @@
438
439
  </el-col>
439
440
  <!-- 装箱单 -->
440
441
  <ContentTitle :contentTitleProp="{
441
- bgButton: '装箱单',
442
+ bgButton: $t('contractDetail.packingList'),
442
443
  bgTime: contract.contractType == 'purchase' ? shipmentFileInfo.purchasePersonalPackingList && timeFormate(shipmentFileInfo.purchasePersonalPackingList) : shipmentFileInfo.salePersonalPackingList && timeFormate(shipmentFileInfo.salePersonalPackingList),
443
444
  bgcolor: shipProgressInfo.bgcolor
444
445
  }"></ContentTitle>
@@ -485,7 +486,7 @@
485
486
  'purchase_personal_shipment_packing_list'
486
487
  )"
487
488
  :isShowTip="false"
488
- uploadNameStr="装箱单"
489
+ :uploadNameStr="$t('contractDetail.packingList')"
489
490
  />
490
491
  </div>
491
492
  </el-col>
@@ -495,17 +496,17 @@
495
496
  </el-row>
496
497
  <el-row v-if="contract.contractType == 'sale'">
497
498
  <div>
498
- <ShowAndHide :dataInfoArr="shipmentFileInfo.salePersonalPackingList" heightStr="50px" :HideAmount="4">
499
+ <ShowAndHide :dataInfoArr="shipmentFileInfo.packingList || []" heightStr="50px" :HideAmount="4">
499
500
  <el-col :span="24">
500
501
  <div class="file-list">
501
- <el-col :span="12" v-if="!shipmentFileInfo.salePersonalPackingList || shipmentFileInfo.salePersonalPackingList.length == 0" class="center-status">
502
+ <el-col :span="12" v-if="!shipmentFileInfo.packingList || shipmentFileInfo.packingList.length == 0" class="center-status">
502
503
  <i class="el-icon-time"></i>
503
- 装箱单待更新
504
+ {{ $t('contractDetail.Packing_list_to_be_updated') }}
504
505
  </el-col>
505
506
  <file-show :hiddenOperation="channel == 'official-website'" @refresh="handleRefresh"
506
507
  @checked="handleChecked" @uncheck="handleUncheck" :selectFileListProp="selectFileList" :file-info="item" v-for="(
507
508
  item, i
508
- ) in shipmentFileInfo.salePersonalPackingList" :key="i" />
509
+ ) in shipmentFileInfo.packingList || []" :key="i" />
509
510
  <!-- sale 只做展示 -->
510
511
  <!-- <contract-file-drag-upload v-if="channel !== 'official-website'" @upload="
511
512
  handleUpload(
@@ -534,18 +535,18 @@
534
535
  <el-col :span="24">
535
536
  <div class="content-root-row">
536
537
  <ContentTitle :contentTitleProp="{
537
- bgButton: '装箱照片' + containerFile.containerNo,
538
+ bgButton: $t('contractDetail.packingPhoto') + containerFile.containerNo,
538
539
  bgTime: containerFile.packingPhoto && timeFormate(containerFile.packingPhoto),
539
540
  bgcolor: shipProgressInfo.bgcolor
540
541
  }"></ContentTitle>
541
542
  <div v-if="containerFile && containerFile.packingPhoto.length" style="display:flex">
542
543
  <!-- <div style="display:flex"> -->
543
544
  <div class="border-button" @click.stop="allSelectContainerPackingPhoto(containerFile.containerId)">
544
- 全选照片 </div>
545
- <div class="border-button" @click.stop="cancelContainerPackingPhoto(containerFile.containerId)">取消全选
545
+ {{ $t('contractDetail.select_all') }} </div>
546
+ <div class="border-button" @click.stop="cancelContainerPackingPhoto(containerFile.containerId)">{{ $t('contractDetail.Deselect') }}
546
547
  </div>
547
548
  <div class="border-button border-button-share"
548
- @click.stop="shareContainerUrl(containerFile.containerId)">分享</div>
549
+ @click.stop="shareContainerUrl(containerFile.containerId)">{{ $t('contractDetail.share') }}</div>
549
550
  </div>
550
551
  </div>
551
552
  </el-col>
@@ -582,7 +583,7 @@
582
583
  </el-col>
583
584
  <el-col :span="24" style="display:flex;align-items:center">
584
585
  <ContentTitle :contentTitleProp="{
585
- bgButton: '草稿提单',
586
+ bgButton: $t('contractDetail.draftBillOfLading'),
586
587
  bgTime: shipmentFileInfo.draftBillOfLading && timeFormate(shipmentFileInfo.draftBillOfLading),
587
588
  bgcolor: shipProgressInfo.bgcolor
588
589
  }"></ContentTitle>
@@ -623,29 +624,29 @@
623
624
  'draft_bill_of_lading'
624
625
  )
625
626
  " :isShowTip="false"
626
- uploadNameStr="草稿提单"
627
+ :uploadNameStr="$t('contractDetail.draftBillOfLading')"
627
628
  />
628
629
  </div>
629
630
  </el-col>
630
631
  <el-col :span="12" class="center-status" v-if="channel != 'official-website'">
631
632
  <div v-if="shipmentItemData.confirmDraftBlFlag">
632
- <i class="el-icon-success success"></i> 提单信息已确认
633
+ <i class="el-icon-success success"></i> {{ $t('contractDetail.BL_info_confirmed') }}
633
634
  </div>
634
- <div v-else-if="contract.contractType == 'sale' && shipmentFileInfo.draftBillOfLading.length" class="confirm-draft-bl" @click.stop="shipmentConfirmDraftBlFun">确认提单草稿</div>
635
- <el-col :span="12" v-else class="center-status">
635
+ <div v-else-if="contract.contractType == 'sale' && shipmentFileInfo.draftBillOfLading.length" class="confirm-draft-bl" @click.stop="shipmentConfirmDraftBlFun">{{ $t('contractDetail.bl_draft_confirm') }}</div>
636
+ <el-col :span="24" v-else class="center-status">
636
637
  <i class="el-icon-time"></i>
637
- 草稿提单信息待确认
638
+ {{ $t('contractDetail.Draft_bill_to_be_confirmed') }}
638
639
  </el-col>
639
640
 
640
641
  </el-col>
641
642
  <el-col :span="24">
642
643
  <el-col :span="12" v-if="(shipmentFileInfo.draftBillOfLading == null || shipmentFileInfo.draftBillOfLading && shipmentFileInfo.draftBillOfLading.length == 0) && channel == 'official-website'" class="center-status">
643
644
  <i class="el-icon-time"></i>
644
- 提单草稿待更新
645
+ {{ $t('contractDetail.Draft_bill_of_lading_to_be_updated') }}
645
646
  </el-col>
646
647
  <el-col :span="12" v-if="!shipmentItemData.confirmDraftBlFlag && channel == 'official-website'" class="center-status">
647
648
  <i class="el-icon-time"></i>
648
- 草稿提单信息待确认
649
+ {{ $t('contractDetail.Draft_bill_to_be_confirmed') }}
649
650
  </el-col>
650
651
  </el-col>
651
652
  </el-col>
@@ -655,7 +656,7 @@
655
656
  </el-col>
656
657
  <el-col :span="24">
657
658
  <ContentTitle :contentTitleProp="{
658
- bgButton: '正式提单Copy',
659
+ bgButton: $t('contractDetail.Copy_of_formal_bill_of_lading'),
659
660
  bgTime: shipmentFileInfo.originalBillOfLadingCopy && timeFormate(shipmentFileInfo.originalBillOfLadingCopy),
660
661
  bgcolor: shipProgressInfo.bgcolor
661
662
  }"></ContentTitle>
@@ -675,12 +676,12 @@
675
676
  'original_bill_of_lading_copy'
676
677
  )
677
678
  " :isShowTip="false"
678
- uploadNameStr="正式提单Copy"
679
+ :uploadNameStr="$t('contractDetail.Copy_of_formal_bill_of_lading')"
679
680
  />
680
681
  </div>
681
682
  <el-col :span="12" v-if="(shipmentFileInfo.originalBillOfLadingCopy == null || shipmentFileInfo.originalBillOfLadingCopy && shipmentFileInfo.originalBillOfLadingCopy.length == 0) && channel == 'official-website'" class="center-status">
682
683
  <i class="el-icon-time"></i>
683
- 正式提单Copy待更新
684
+ {{ $t('contractDetail.Formal_bill_of_lading_copy_to_be_updated') }}
684
685
  </el-col>
685
686
  </el-col>
686
687
  <!-- 临时尾款发票 -->
@@ -689,7 +690,7 @@
689
690
  </el-col>
690
691
  <el-col :span="24" v-if="contract.quoteType != 'FIXED'">
691
692
  <ContentTitle :contentTitleProp="{
692
- bgButton: '临时尾款发票',
693
+ bgButton: $t('contractDetail.saleTemporaryFinallyInvoice'),
693
694
  bgTime: shipmentFileInfo.salePersonalTemporaryFinallyInvoice && timeFormate(shipmentFileInfo.salePersonalTemporaryFinallyInvoice),
694
695
  bgcolor: shipProgressInfo.bgcolor
695
696
  }"></ContentTitle>
@@ -705,7 +706,7 @@
705
706
  </div>
706
707
  <el-col :span="12" v-if="channel == 'official-website' && shipmentFileInfo.salePersonalTemporaryFinallyInvoice && shipmentFileInfo.salePersonalTemporaryFinallyInvoice.length == 0" class="center-status">
707
708
  <i class="el-icon-time"></i>
708
- 临时尾款发票待更新
709
+ {{ $t('contractDetail.Temporary_final_payment_invoice_to_be_updated') }}
709
710
  </el-col>
710
711
  <div>
711
712
  <div class="file-list" v-if="contract.contractType == 'sale'">
@@ -734,7 +735,7 @@
734
735
  'shipment',
735
736
  'sale_personal_temporary_finally_invoice'
736
737
  )
737
- ":isShowTip="false" uploadNameStr="临时尾款发票" />
738
+ ":isShowTip="false" :uploadNameStr="$t('contractDetail.saleTemporaryFinallyInvoice')" />
738
739
  </div>
739
740
  <div class="file-list" v-else>
740
741
  <file-show :hiddenOperation="channel == 'official-website'" @refresh="handleRefresh"
@@ -749,7 +750,7 @@
749
750
  'shipment',
750
751
  'purchase_temporary_finally_invoice'
751
752
  )
752
- ":isShowTip="false" uploadNameStr="临时尾款发票" />
753
+ ":isShowTip="false" :uploadNameStr="$t('contractDetail.saleTemporaryFinallyInvoice')" />
753
754
  </div>
754
755
  </div>
755
756
  </el-col>
@@ -777,14 +778,14 @@
777
778
  title=""
778
779
  width="380"
779
780
  trigger="hover"
780
- content="系统根据【重量x单价-扣除定金】自动计算出参考尾款,可以据此核对发票。点击蓝色字体可以查看系统的数据来源明细,修改系统自动计算的扣减定金。">
781
+ :content="$t('contractDetail.final_payment_warning')">
781
782
  <i class="el-icon-question" slot="reference" style="color:#c2c4c5;"/>
782
783
  </el-popover>
783
784
  </div>
784
785
  <el-col :span="12">
785
786
  <div style="display:flex;align-items:center">
786
787
  <ContentTitle :contentTitleProp="{
787
- bgButton: '尾款发票',
788
+ bgButton: $t('contractDetail.finallyInvoice'),
788
789
  bgTime: contract.contractType == 'sale' ? shipmentFileInfo.saleFinallyInvoice && timeFormate(shipmentFileInfo.saleFinallyInvoice) : shipmentFileInfo.purchaseFinallyInvoice && timeFormate(shipmentFileInfo.purchaseFinallyInvoice),
789
790
  bgcolor: shipProgressInfo.bgcolor
790
791
  }"></ContentTitle>
@@ -862,7 +863,7 @@
862
863
  )
863
864
  "
864
865
  :isShowTip="false"
865
- uploadNameStr="尾款发票"
866
+ :uploadNameStr="$t('contractDetail.finallyInvoice')"
866
867
  />
867
868
  </div>
868
869
  </div>
@@ -896,7 +897,7 @@
896
897
  shipmentFileInfo.shipmentId
897
898
  )
898
899
  "
899
- >上传采购尾款发票</el-button>
900
+ >{{ $t('contractDetail.uploadPurchaseInvoice') }}</el-button>
900
901
  </div>
901
902
  </div>
902
903
  </div>
@@ -925,7 +926,7 @@
925
926
  <div>
926
927
  <div v-if="!shipmentItemData.balanceInvoiceFullyPaidFlag">
927
928
  <i class="el-icon-time"></i>
928
- <span style="color:#f00">尾款待付</span>
929
+ <span style="color:#f00">{{ $t('contractDetail.Final_payment_unpaid') }}</span>
929
930
  </div>
930
931
  <div v-if="!shipmentFileInfo.waterBill || shipmentFileInfo.waterBill && shipmentFileInfo.waterBill.length == 0">支付凭证待提供</div>
931
932
  </div>
@@ -935,7 +936,7 @@
935
936
  <el-col :span="12">
936
937
  <!-- 支付凭证 -->
937
938
  <ContentTitle :contentTitleProp="{
938
- bgButton: '尾款支付凭证',
939
+ bgButton: $t('contractDetail.Final_payment_voucher'),
939
940
  bgTime: shipmentFileInfo.waterBill && timeFormate(shipmentFileInfo.waterBill),
940
941
  bgcolor: getGoodsProgressInfo.bgcolor,
941
942
  successFlag: true
@@ -943,7 +944,7 @@
943
944
 
944
945
  <div v-if="!contractFileInfo.balanceInvoiceFullyPaidFlag">
945
946
  <i class="el-icon-time"></i>
946
- <span style="color:#f00">尾款待付</span>
947
+ <span style="color:#f00">{{ $t('contractDetail.Final_payment_unpaid') }}</span>
947
948
  </div>
948
949
 
949
950
  <div class="file-list">
@@ -960,7 +961,7 @@
960
961
  <div v-if="!shipmentFileInfo.waterBill || shipmentFileInfo.waterBill.length == 0" class="center-status-block" style="align-items: flex-start">
961
962
  <div>
962
963
  <i class="el-icon-time"></i>
963
- 支付凭证待提供
964
+ {{ $t('contractDetail.deposit_unreceipt') }}
964
965
  </div>
965
966
  </div>
966
967
  </el-col>
@@ -974,7 +975,7 @@
974
975
 
975
976
  <el-col :span="24">
976
977
  <ContentTitle :contentTitleProp="{
977
- bgButton: '其他文件',
978
+ bgButton: $t('contractDetail.otherFile'),
978
979
  bgTime: contract.contractType == 'sale' ? shipmentFileInfo.saleShipmentOther && timeFormate(shipmentFileInfo.saleShipmentOther) : shipmentFileInfo.purchaseShipmentOther && timeFormate(shipmentFileInfo.purchaseShipmentOther),
979
980
  bgcolor: shipProgressInfo.bgcolor
980
981
  }"></ContentTitle>
@@ -982,7 +983,6 @@
982
983
  <el-col :span="24" v-if="contract.contractType == 'sale'">
983
984
  <div class="file-list">
984
985
  <file-show @refresh="handleRefresh" @checked="handleChecked" @uncheck="handleUncheck" :selectFileListProp="selectFileList" :file-info="item"
985
- :hiddenOperation="channel == 'official-website'"
986
986
  v-for="(item, i) in shipmentFileInfo.saleShipmentOther" :key="i" />
987
987
  <contract-file-drag-upload @upload="
988
988
  handleUpload(
@@ -991,7 +991,7 @@
991
991
  'shipment',
992
992
  'sale_shipment_other'
993
993
  )
994
- " :isShowTip="false" uploadNameStr="其他文件" />
994
+ " :isShowTip="false" :uploadNameStr="$t('contractDetail.otherFile')" />
995
995
  </div>
996
996
  </el-col>
997
997
  <el-col :span="24" v-else>
@@ -1009,7 +1009,7 @@
1009
1009
  'purchase_shipment_other'
1010
1010
  )"
1011
1011
  :isShowTip="false"
1012
- uploadNameStr="其他文件" />
1012
+ :uploadNameStr="$t('contractDetail.otherFile')" />
1013
1013
  </div>
1014
1014
  </el-col>
1015
1015
  </div>
@@ -1102,13 +1102,14 @@
1102
1102
  </el-row> -->
1103
1103
  <!-- 提货凭证 -->
1104
1104
  <ContentTitle :contentTitleProp="{
1105
- bgButton: '提货凭证',
1105
+ bgButton: $t('contractDetail.tip7'),
1106
1106
  bgTime: shipmentFileInfo.deliveryReceipt && timeFormate(shipmentFileInfo.deliveryReceipt),
1107
1107
  bgcolor: getGoodsProgressInfo.bgcolor
1108
1108
  }"></ContentTitle>
1109
1109
  <el-col :span="24">
1110
1110
  <div class="file-list">
1111
1111
  <file-show @refresh="handleRefresh" @checked="handleChecked" @uncheck="handleUncheck"
1112
+ :hiddenOperation="channel == 'official-website'"
1112
1113
  :selectFileListProp="selectFileList"
1113
1114
  :file-info="item" v-for="(item, i) in shipmentFileInfo.deliveryReceipt" :key="i" />
1114
1115
  <!-- v-if="shipmentItemData.shipmentPercentage > 0" -->
@@ -1123,12 +1124,12 @@
1123
1124
  'shipment_delivery_receipt'
1124
1125
  )
1125
1126
  " :isShowTip="false"
1126
- uploadNameStr="提货凭证"
1127
+ :uploadNameStr="$t('contractDetail.tip7')"
1127
1128
  />
1128
1129
  </div>
1129
1130
  <div v-if="!shipmentFileInfo.deliveryReceipt || shipmentFileInfo.deliveryReceipt.length == 0 && channel == 'official-website'" class="center-status">
1130
1131
  <i class="el-icon-time"></i>
1131
- 暂无文件
1132
+ {{$t('contractDetail.no_files')}}
1132
1133
  </div>
1133
1134
  </el-col>
1134
1135
  </div>
@@ -1170,6 +1171,7 @@
1170
1171
  <div class="file-list" v-if="claimFileInfoCom">
1171
1172
  <file-show @refresh="handleRefresh" @checked="handleChecked" @uncheck="handleUncheck"
1172
1173
  :selectFileListProp="selectFileList"
1174
+ :hiddenOperation="channel == 'official-website'"
1173
1175
  :file-info="item" v-for="(item, i) in claimFileInfoCom" :key="i" />
1174
1176
  <!-- <contract-file-drag-upload
1175
1177
  @upload="
@@ -1185,7 +1187,7 @@
1185
1187
  </div>
1186
1188
  <div v-else class="center-status">
1187
1189
  <i class="el-icon-time"></i>
1188
- 暂无文件
1190
+ {{ $t('contractDetail.no_files') }}
1189
1191
  </div>
1190
1192
  </el-col>
1191
1193
  </div>
@@ -1203,8 +1205,8 @@
1203
1205
  :getShipmentPurchaseFun="getShipmentPurchase"
1204
1206
  ></purchase-invoice-upload>
1205
1207
  <!-- 多个买家弹窗 -->
1206
- <el-dialog title="请先选择收货买家" :visible.sync="dialogVisible" width="30%">
1207
- <div>请在下方选择一个您需要发货的买家</div>
1208
+ <el-dialog :title="$t('contractDetail.Please_select_the_receiving_buyer_first')" :visible.sync="dialogVisible" width="30%">
1209
+ <div>{{ $t('contractDetail.Please_select_a_buyer_below_who_you_need_to_ship_to') }}</div>
1208
1210
  <div>
1209
1211
  <el-radio-group v-model="selectRadio">
1210
1212
  <el-radio :label="key" v-for="(purchaseBuyerListItem, key) in purchaseBuyerList" :key="key">
@@ -1217,8 +1219,8 @@
1217
1219
  </div>
1218
1220
 
1219
1221
  <span slot="footer" class="dialog-footer">
1220
- <el-button @click="dialogVisible = false">取 消</el-button>
1221
- <el-button type="primary" @click="addShipment">确 定</el-button>
1222
+ <el-button @click="dialogVisible = false">{{ $t('contractDetail.cancel') }}</el-button>
1223
+ <el-button type="primary" @click="addShipment">{{ $t('contractDetail.confirm') }}</el-button>
1222
1224
  </span>
1223
1225
  </el-dialog>
1224
1226
  <shipment-add ref="shipmentGen" @refresh="handleRefresh" />
@@ -1305,7 +1307,7 @@ export default {
1305
1307
  },
1306
1308
  channel: {
1307
1309
  type: String,
1308
- default: 'official-website11',
1310
+ default: 'official-website123',
1309
1311
  },
1310
1312
  buyerFlag: {
1311
1313
  type: Boolean,
@@ -1325,34 +1327,34 @@ export default {
1325
1327
  goodsBillNo: 0,
1326
1328
  claimBillNo: 0,
1327
1329
  contractProgressInfo: {
1328
- text: '合同',
1330
+ text: this.$t('contractDetail.contract'),
1329
1331
  rate: 0,
1330
1332
  img: 'https://s3.cdn.doctorscrap.com/dev/user/image_9/805524d45f964ad0b3f51437d3b5750e.png',
1331
1333
  bgcolor: '#FBB040',
1332
1334
  textArr:[]
1333
1335
  },
1334
1336
  shipProgressInfo: {
1335
- text: '装运',
1337
+ text: this.$t('contractDetail.shipment'),
1336
1338
  rate: 0,
1337
1339
  img: 'https://s3.cdn.doctorscrap.com/dev/user/image_9/8517dbf0444542d5bf100279231c9597.png',
1338
1340
  bgcolor: '#54B8FF',
1339
- textArr:['等待卖家装运']
1341
+ textArr:[this.$t('contractDetail.Waiting_for_the_seller_to_ship')]
1340
1342
  },
1341
1343
  getGoodsProgressInfo: {
1342
- text: '收货',
1344
+ text: this.$t('contractDetail.receiving'),
1343
1345
  rate: 0,
1344
1346
  img: 'https://s3.cdn.doctorscrap.com/dev/user/image_9/a43ef25e953747efa9b88d3d9bbe674f.png',
1345
1347
  bgcolor: '#7CCF48',
1346
1348
  textArr:[]
1347
1349
  },
1348
1350
  claimProgressInfo: {
1349
- text: '索赔',
1351
+ text: this.$t('contractDetail.claim'),
1350
1352
  rate: 0,
1351
1353
  img: 'https://s3.cdn.doctorscrap.com/dev/user/image_9/b427331405604eeb8ec368130f00c5e6.png',
1352
1354
  bgcolor: '#adadad',
1353
1355
  textArr:[]
1354
1356
  },
1355
- identify: '识别',
1357
+ identify: this.$t('contractDetail.identify'),
1356
1358
  selectRadio: 0,
1357
1359
  purchaseBuyerList: [],
1358
1360
  // purchaseBuyerList1: [
@@ -1433,7 +1435,7 @@ export default {
1433
1435
  },
1434
1436
  created() {
1435
1437
  this.loadingInstance = Loading.service({
1436
- text: '请稍候',
1438
+ text: this.$t('contractDetail.loading'),
1437
1439
  spinner: 'el-icon-loading',
1438
1440
  background: 'rgba(0, 0, 0, 0.7)',
1439
1441
  });
@@ -1483,9 +1485,8 @@ export default {
1483
1485
  getPurchaseAmount(shipmentFileInfo.shipmentId).then((res) => {
1484
1486
  this.purchaseBalanceMoney = (res.data.totalPurchaseAmount - res.data.purchaseDepositAmount).toFixed(2)
1485
1487
  this.shipmentPurchaseAmountMessage =
1486
- '参考采购尾款$' + this.purchaseBalanceMoney
1488
+ `${this.$t('contractDetail.reference_invince')}$` + this.purchaseBalanceMoney
1487
1489
  ;
1488
- console.log('==/biz/shipment/getPurchaseAmount/===', this.shipmentPurchaseAmountMessage);
1489
1490
  return this.shipmentPurchaseAmountMessage;
1490
1491
  });
1491
1492
  }
@@ -1503,7 +1504,7 @@ export default {
1503
1504
  'final_invoice'
1504
1505
  );
1505
1506
  } else {
1506
- return this.$message.warning('暂无文件');
1507
+ return this.$message.warning(this.$t('contractDetail.no_files'));
1507
1508
  }
1508
1509
  } else {
1509
1510
  // 临时 purchaseTemporaryFinallyInvoice
@@ -1533,7 +1534,7 @@ export default {
1533
1534
  }
1534
1535
 
1535
1536
  if (!url) {
1536
- return this.$message.error('暂无文件');
1537
+ return this.$message.error(this.$t('contractDetail.no_files'));
1537
1538
  }
1538
1539
 
1539
1540
  if (type == 'draft_bill') {
@@ -1602,7 +1603,7 @@ export default {
1602
1603
  }]
1603
1604
  }).then((res) => {
1604
1605
  if (res.code === 200) {
1605
- this.$modal.msgSuccess('添加成功');
1606
+ this.$modal.msgSuccess(this.$t('contractDetail.add_success'));
1606
1607
  this.handleRefresh();
1607
1608
  }
1608
1609
  });
@@ -1653,7 +1654,7 @@ export default {
1653
1654
 
1654
1655
  // 将 <textarea> 元素删除
1655
1656
  document.body.removeChild(textArea);
1656
- this.$modal.msgSuccess('已复制到剪切板');
1657
+ this.$modal.msgSuccess(this.$t('contractDetail.has_copy'));
1657
1658
  },
1658
1659
  //撤回回签
1659
1660
  counterSign() {
@@ -1664,7 +1665,7 @@ export default {
1664
1665
  // this.contract.beforeContractStatus || this.contract.contractStatus,
1665
1666
  }).then((res) => {
1666
1667
  if(res.code == 200) {
1667
- this.$modal.msgSuccess('撤回回签成功');
1668
+ this.$modal.msgSuccess(this.$t('contractDetail.withdraw_sign_success'));
1668
1669
  this.handleRefresh();
1669
1670
  }
1670
1671
  });
@@ -1676,7 +1677,7 @@ export default {
1676
1677
  shipmentId: this.shipmentItemData.shipmentId,
1677
1678
  }).then((res) => {
1678
1679
  if(res.code == 200) {
1679
- this.$modal.msgSuccess('确认提单草稿成功');
1680
+ this.$modal.msgSuccess(this.$t('contractDetail.draftBillOfLading_confirm_success'));
1680
1681
  this.handleRefresh();
1681
1682
  }
1682
1683
  });
@@ -1698,11 +1699,11 @@ export default {
1698
1699
  res.rows[0].amount == res.rows[0].remainingAmount
1699
1700
  ) {
1700
1701
  this.$confirm(
1701
- '是否确认直接生成装运?请注意,此合同的定金发票尚未生成或已生成但未收款,请先确认相关情况。',
1702
- '提示',
1702
+ this.$t('contractDetail.ship_create_tips'),
1703
+ this.$t('contractDetail.tip'),
1703
1704
  {
1704
- confirmButtonText: '确定',
1705
- cancelButtonText: '取消',
1705
+ confirmButtonText: this.$t('contractDetail.confirm'),
1706
+ cancelButtonText: this.$t('contractDetail.cancel'),
1706
1707
  type: 'warning',
1707
1708
  }
1708
1709
  )
@@ -1791,7 +1792,7 @@ export default {
1791
1792
  //发送草稿合同标记
1792
1793
  if(!this.contractFileInfo.sendDraftContractFlag) {
1793
1794
  // 草稿合同待发出(英文:Draft contract to be sent out)
1794
- textArr.push('草稿合同待发出')
1795
+ textArr.push(this.$t('contractDetail.draftContract_unsend'))
1795
1796
  }
1796
1797
 
1797
1798
  // 点击合同确认标记
@@ -1800,7 +1801,7 @@ export default {
1800
1801
  // textArr.push('正式合同已发出')
1801
1802
  } else {
1802
1803
  // 正式合同待发出(英文:Formal contract to be sent out)
1803
- textArr.push('正式合同待发出')
1804
+ textArr.push(this.$t('contractDetail.contract_send_false'))
1804
1805
  }
1805
1806
 
1806
1807
  // BLI确认标记
@@ -1809,7 +1810,7 @@ export default {
1809
1810
  // textArr.push('提单指令已确认')
1810
1811
  } else {
1811
1812
  // 提单指令待买家确认(英文: BL Instruction to be confirmed
1812
- textArr.push('提单指令待买家确认')
1813
+ textArr.push(this.$t('contractDetail.bl_confirm_false'))
1813
1814
  }
1814
1815
 
1815
1816
  // 合同回签标记
@@ -1818,7 +1819,7 @@ export default {
1818
1819
  // textArr.push('回签合同已上传')
1819
1820
  } else {
1820
1821
  // 回签合同待上传(英文:Formal contract to be signed back
1821
- textArr.push('回签合同待上传')
1822
+ textArr.push(this.$t('contractDetail.contract_signback_false'))
1822
1823
  }
1823
1824
 
1824
1825
  if(this.contract.deposit != null && this.contract.deposit > 0) {
@@ -1828,7 +1829,7 @@ export default {
1828
1829
  // textArr.push('定金已支付')
1829
1830
  } else {
1830
1831
  // 定金待支付(英文:Deposit to be paid)
1831
- textArr.push('定金待支付')
1832
+ textArr.push(this.$t('contractDetail.depositPaid_false'))
1832
1833
  }
1833
1834
  }
1834
1835
  }
@@ -1838,7 +1839,7 @@ export default {
1838
1839
  //发送草稿合同标记
1839
1840
  if(!this.contractFileInfo.sendDraftContractFlag) {
1840
1841
  // 草稿合同待发出(英文:Draft contract to be sent out)
1841
- textArr.push('草稿合同待发出')
1842
+ textArr.push(this.$t('contractDetail.draftContract_unsend'))
1842
1843
  }
1843
1844
 
1844
1845
  // 点击合同确认标记
@@ -1847,7 +1848,7 @@ export default {
1847
1848
  // textArr.push('正式合同已发出')
1848
1849
  } else {
1849
1850
  // 正式合同待发出(英文:Formal contract to be sent out)
1850
- textArr.push('正式合同待发出')
1851
+ textArr.push(this.$t('contractDetail.contract_send_false'))
1851
1852
  }
1852
1853
 
1853
1854
  // BLI确认标记
@@ -1856,7 +1857,7 @@ export default {
1856
1857
  // textArr.push('提单指令已确认')
1857
1858
  } else {
1858
1859
  // 提单指令待买家确认(英文: BL Instruction to be confirmed
1859
- textArr.push('提单指令待买家确认')
1860
+ textArr.push(this.$t('contractDetail.bl_confirm_false'))
1860
1861
  }
1861
1862
 
1862
1863
  // 合同回签标记
@@ -1865,19 +1866,19 @@ export default {
1865
1866
  // textArr.push('回签合同已上传')
1866
1867
  } else {
1867
1868
  // 回签合同待上传(英文:Formal contract to be signed back
1868
- textArr.push('回签合同待上传')
1869
+ textArr.push(this.$t('contractDetail.contract_signback_false'))
1869
1870
  }
1870
1871
 
1871
1872
  if(this.contract.deposit != null && this.contract.deposit > 0) {
1872
1873
  if(!this.contractFileInfo.existDepositInvoiceFlag) {
1873
1874
  // 定金发票待提供(英文:Deposit Invoice to be uploaded)
1874
- textArr.push('定金发票待提供')
1875
+ textArr.push(this.$t('contractDetail.Deposit_invoice_to_be_provided'))
1875
1876
  }
1876
1877
 
1877
1878
  // 定金支付标记
1878
1879
  if(!this.contractFileInfo.depositInvoicePayFlag) {
1879
1880
  // 定金待支付(英文:Deposit to be paid)
1880
- textArr.push('定金待支付')
1881
+ textArr.push(this.$t('contractDetail.depositPaid_false'))
1881
1882
  }
1882
1883
  }
1883
1884
  }
@@ -1903,13 +1904,13 @@ export default {
1903
1904
  // shipTextArr.push('装箱单已上传')
1904
1905
  } else {
1905
1906
  // 装箱单待上传(英文:Shipping docs-Packing list to be updated)
1906
- shipTextArr.push('装箱单待上传')
1907
+ shipTextArr.push(this.$t('contractDetail.packinglist_false'))
1907
1908
  }
1908
1909
 
1909
1910
  // 是否已支付尾款
1910
1911
  if(!shipmentItem.balanceInvoiceFullyPaidFlag && this.contract.contractType == 'sale') {
1911
1912
  // 尾款发票待上传(英文:Balance Invoice to be updated)
1912
- shipTextArr.push('尾款发票待上传')
1913
+ shipTextArr.push(this.$t('contractDetail.balance_invoice_false'))
1913
1914
  }
1914
1915
 
1915
1916
  // 上传装箱照片
@@ -1918,7 +1919,7 @@ export default {
1918
1919
  // shipTextArr.push('装箱照片已上传')
1919
1920
  } else {
1920
1921
  // 装箱照片待上传(英文:Shipping docs-Shipping photos to be updated)
1921
- shipTextArr.push('装箱照片待上传')
1922
+ shipTextArr.push(this.$t('contractDetail.container_photos_false'))
1922
1923
  }
1923
1924
 
1924
1925
 
@@ -1928,13 +1929,13 @@ export default {
1928
1929
  // shipTextArr.push('草稿提单已上传')
1929
1930
  } else {
1930
1931
  // 草稿提单待上传(英文:Shipping docs-Draft BL to be updated)
1931
- shipTextArr.push('草稿提单待上传')
1932
+ shipTextArr.push(this.$t('contractDetail.draftBl_false'))
1932
1933
  }
1933
1934
 
1934
1935
  // 是否确认草稿提单
1935
1936
  if(!shipmentItem.confirmDraftBlFlag) {
1936
1937
  // 草稿提单待买家确认(英文:Draft BL to be confirmed )
1937
- shipTextArr.push('草稿提单待买家确认')
1938
+ shipTextArr.push(this.$t('contractDetail.draftBl_buyer_confirm_false'))
1938
1939
  } else {
1939
1940
  // 草稿提单已确认(英文:Draft BL confirmed)
1940
1941
  // shipTextArr.push('草稿提单已确认')
@@ -1949,10 +1950,10 @@ export default {
1949
1950
  } else {
1950
1951
  if(shipmentItem.balanceInvoicePartiallyPaidFlag) {
1951
1952
  // 尾款已部分支付(英文:Final Payment partially paid)
1952
- shipTextArr.push('尾款已部分支付')
1953
+ shipTextArr.push(this.$t('contractDetail.balancePartPaid_true'))
1953
1954
  } else {
1954
1955
  // 尾款待买家支付(英文:Balance Invoice to be paid)
1955
- shipTextArr.push('尾款待买家支付')
1956
+ shipTextArr.push(this.$t('contractDetail.balancePartPaid_false'))
1956
1957
  }
1957
1958
  }
1958
1959
 
@@ -1967,7 +1968,7 @@ export default {
1967
1968
  // goodsTextArr.push('提货凭证已提供')
1968
1969
  } else {
1969
1970
  // 提货凭证待提供(英文:Release /Telxed BL to be done)
1970
- goodsTextArr.push('提货凭证待提供')
1971
+ goodsTextArr.push(this.$t('contractDetail.releasedTelex_false'))
1971
1972
  }
1972
1973
 
1973
1974
  this.getGoodsProgressInfo.textArr = goodsTextArr
@@ -1976,22 +1977,22 @@ export default {
1976
1977
  let claimTextArr = []
1977
1978
  if(this.contractFileInfo.claimCreateFlag && !this.contractFileInfo.claimProcessFlag && !this.contractFileInfo.claimCloseFlag) {
1978
1979
  // 索赔中(英文:Claiming)
1979
- claimTextArr.push('索赔中')
1980
+ claimTextArr.push(this.$t('contractDetail.claiming'))
1980
1981
  }
1981
1982
 
1982
1983
  if(this.contractFileInfo.claimCreateFlag && this.contractFileInfo.claimProcessFlag && !this.contractFileInfo.claimCloseFlag) {
1983
1984
  // 文件已更新(英文:Claiming-CN/DN issued
1984
- claimTextArr.push('文件已更新')
1985
+ claimTextArr.push(this.$t('contractDetail.claiming_update'))
1985
1986
  }
1986
1987
 
1987
1988
  if(this.contractFileInfo.claimCreateFlag && this.contractFileInfo.claimProcessFlag && this.contractFileInfo.claimCloseFlag) {
1988
1989
  // 索赔已关闭(英文:Claim closed)
1989
- claimTextArr.push('索赔已关闭')
1990
+ claimTextArr.push(this.$t('contractDetail.claiming_closed'))
1990
1991
  }
1991
1992
 
1992
1993
  this.claimProgressInfo.textArr = claimTextArr
1993
1994
  } else {
1994
- shipTextArr.push('等待卖家装运')
1995
+ shipTextArr.push(this.$t('contractDetail.Waiting_for_the_seller_to_ship'))
1995
1996
  this.claimProgressInfo.textArr = shipTextArr
1996
1997
  }
1997
1998
 
@@ -2054,7 +2055,7 @@ export default {
2054
2055
  },
2055
2056
  handleUpload(e, linkId, linkType, fileType) {
2056
2057
  let loadingInstance = Loading.service({
2057
- text: '请稍候',
2058
+ text: this.$t('contractDetail.loading'),
2058
2059
  spinner: 'el-icon-loading',
2059
2060
  background: 'rgba(0, 0, 0, 0.7)',
2060
2061
  });
@@ -2070,7 +2071,7 @@ export default {
2070
2071
  //如果是回签合同 保留原合同状态
2071
2072
  if (fileType == 'contract_sign') {
2072
2073
  let loading = Loading.service({
2073
- text: '请稍候',
2074
+ text: this.$t('contractDetail.loading'),
2074
2075
  spinner: 'el-icon-loading',
2075
2076
  background: 'rgba(0, 0, 0, 0.7)',
2076
2077
  });
@@ -2084,23 +2085,25 @@ export default {
2084
2085
  contractSignTime: new Date(),
2085
2086
  }).then((res) => {
2086
2087
  loading.close();
2087
- this.$modal.msgSuccess('回签成功');
2088
+ this.$modal.msgSuccess(this.$t('contractDetail.signContract_success'));
2089
+ this.getContractFileInfo(this.contractId);
2088
2090
  });
2089
2091
  });
2092
+ } else if (fileType == 'shipment_delivery_receipt') {
2093
+ //如果是上传电放
2094
+ let loading1 = Loading.service({
2095
+ text: this.$t('contractDetail.loading'),
2096
+ spinner: 'el-icon-loading',
2097
+ background: 'rgba(0, 0, 0, 0.7)',
2098
+ });
2099
+ chargedShipment({ shipmentId: linkId }).then((response) => {
2100
+ loading1.close();
2101
+ this.$modal.msgSuccess(this.$t('contractDetail.release_success'));
2102
+ this.getContractFileInfo(this.contractId);
2103
+ });
2104
+ } {
2105
+ this.getContractFileInfo(this.contractId);
2090
2106
  }
2091
- //如果是上传电放
2092
- if (fileType == 'shipment_delivery_receipt') {
2093
- let loading1 = Loading.service({
2094
- text: '请稍候',
2095
- spinner: 'el-icon-loading',
2096
- background: 'rgba(0, 0, 0, 0.7)',
2097
- });
2098
- chargedShipment({ shipmentId: linkId }).then((response) => {
2099
- loading1.close();
2100
- this.$modal.msgSuccess('电放成功');
2101
- });
2102
- }
2103
- this.getContractFileInfo(this.contractId);
2104
2107
  });
2105
2108
  },
2106
2109
 
@@ -2338,7 +2341,7 @@ export default {
2338
2341
  }
2339
2342
  </style>
2340
2343
  <style lang="scss">
2341
- .el-tooltip__popper {
2342
- max-width: 300px !important; /* 设置你希望的最大宽度 */
2343
- }
2344
+ // .el-tooltip__popper {
2345
+ // max-width: 300px !important; /* 设置你希望的最大宽度 */
2346
+ // }
2344
2347
  </style>