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

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,8 +439,8 @@
438
439
  </el-col>
439
440
  <!-- 装箱单 -->
440
441
  <ContentTitle :contentTitleProp="{
441
- bgButton: '装箱单',
442
- bgTime: contract.contractType == 'purchase' ? shipmentFileInfo.purchasePersonalPackingList && timeFormate(shipmentFileInfo.purchasePersonalPackingList) : shipmentFileInfo.salePersonalPackingList && timeFormate(shipmentFileInfo.salePersonalPackingList),
442
+ bgButton: $t('contractDetail.packingList'),
443
+ bgTime: contract.contractType == 'purchase' ? shipmentFileInfo.purchasePersonalPackingList && timeFormate(shipmentFileInfo.purchasePersonalPackingList) : shipmentFileInfo.packingList && timeFormate(shipmentFileInfo.packingList),
443
444
  bgcolor: shipProgressInfo.bgcolor
444
445
  }"></ContentTitle>
445
446
  <el-row v-if="contract.contractType == 'purchase'">
@@ -464,7 +465,7 @@
464
465
  ">{{ identify }}
465
466
  </span>
466
467
  </div>
467
- <ShowAndHide :dataInfoArr="shipmentFileInfo.purchasePersonalPackingList" heightStr="50px" :HideAmount="4">
468
+ <ShowAndHide :dataInfoArr="shipmentFileInfo.purchasePersonalPackingList" heightStr="50px" :HideAmount="2">
468
469
  <template>
469
470
  <el-col :span="24">
470
471
  <div class="file-list">
@@ -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="2">
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>
@@ -759,7 +760,7 @@
759
760
  </el-col>
760
761
  <el-col :span="24">
761
762
  <el-col :span="24">
762
- <div>
763
+ <div style="margin-bottom:-20px">
763
764
  {{ getShipmentPurchaseAmount(shipmentFileInfo,shipmentIndex) }}
764
765
  <span
765
766
  v-if="channel !== 'official-website' &&
@@ -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,15 +936,14 @@
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
942
943
  }"></ContentTitle>
943
-
944
- <div v-if="!contractFileInfo.balanceInvoiceFullyPaidFlag">
944
+ <div v-if="!shipmentFileInfo.balanceInvoiceFullyPaidFlag">
945
945
  <i class="el-icon-time"></i>
946
- <span style="color:#f00">尾款待付</span>
946
+ <span style="color:#f00">{{ $t('contractDetail.Final_payment_unpaid') }}</span>
947
947
  </div>
948
948
 
949
949
  <div class="file-list">
@@ -960,7 +960,7 @@
960
960
  <div v-if="!shipmentFileInfo.waterBill || shipmentFileInfo.waterBill.length == 0" class="center-status-block" style="align-items: flex-start">
961
961
  <div>
962
962
  <i class="el-icon-time"></i>
963
- 支付凭证待提供
963
+ {{ $t('contractDetail.deposit_unreceipt') }}
964
964
  </div>
965
965
  </div>
966
966
  </el-col>
@@ -974,7 +974,7 @@
974
974
 
975
975
  <el-col :span="24">
976
976
  <ContentTitle :contentTitleProp="{
977
- bgButton: '其他文件',
977
+ bgButton: $t('contractDetail.otherFile'),
978
978
  bgTime: contract.contractType == 'sale' ? shipmentFileInfo.saleShipmentOther && timeFormate(shipmentFileInfo.saleShipmentOther) : shipmentFileInfo.purchaseShipmentOther && timeFormate(shipmentFileInfo.purchaseShipmentOther),
979
979
  bgcolor: shipProgressInfo.bgcolor
980
980
  }"></ContentTitle>
@@ -982,7 +982,6 @@
982
982
  <el-col :span="24" v-if="contract.contractType == 'sale'">
983
983
  <div class="file-list">
984
984
  <file-show @refresh="handleRefresh" @checked="handleChecked" @uncheck="handleUncheck" :selectFileListProp="selectFileList" :file-info="item"
985
- :hiddenOperation="channel == 'official-website'"
986
985
  v-for="(item, i) in shipmentFileInfo.saleShipmentOther" :key="i" />
987
986
  <contract-file-drag-upload @upload="
988
987
  handleUpload(
@@ -991,7 +990,7 @@
991
990
  'shipment',
992
991
  'sale_shipment_other'
993
992
  )
994
- " :isShowTip="false" uploadNameStr="其他文件" />
993
+ " :isShowTip="false" :uploadNameStr="$t('contractDetail.otherFile')" />
995
994
  </div>
996
995
  </el-col>
997
996
  <el-col :span="24" v-else>
@@ -1009,7 +1008,7 @@
1009
1008
  'purchase_shipment_other'
1010
1009
  )"
1011
1010
  :isShowTip="false"
1012
- uploadNameStr="其他文件" />
1011
+ :uploadNameStr="$t('contractDetail.otherFile')" />
1013
1012
  </div>
1014
1013
  </el-col>
1015
1014
  </div>
@@ -1102,13 +1101,14 @@
1102
1101
  </el-row> -->
1103
1102
  <!-- 提货凭证 -->
1104
1103
  <ContentTitle :contentTitleProp="{
1105
- bgButton: '提货凭证',
1104
+ bgButton: $t('contractDetail.tip7'),
1106
1105
  bgTime: shipmentFileInfo.deliveryReceipt && timeFormate(shipmentFileInfo.deliveryReceipt),
1107
1106
  bgcolor: getGoodsProgressInfo.bgcolor
1108
1107
  }"></ContentTitle>
1109
1108
  <el-col :span="24">
1110
1109
  <div class="file-list">
1111
1110
  <file-show @refresh="handleRefresh" @checked="handleChecked" @uncheck="handleUncheck"
1111
+ :hiddenOperation="channel == 'official-website'"
1112
1112
  :selectFileListProp="selectFileList"
1113
1113
  :file-info="item" v-for="(item, i) in shipmentFileInfo.deliveryReceipt" :key="i" />
1114
1114
  <!-- v-if="shipmentItemData.shipmentPercentage > 0" -->
@@ -1123,12 +1123,12 @@
1123
1123
  'shipment_delivery_receipt'
1124
1124
  )
1125
1125
  " :isShowTip="false"
1126
- uploadNameStr="提货凭证"
1126
+ :uploadNameStr="$t('contractDetail.tip7')"
1127
1127
  />
1128
1128
  </div>
1129
1129
  <div v-if="!shipmentFileInfo.deliveryReceipt || shipmentFileInfo.deliveryReceipt.length == 0 && channel == 'official-website'" class="center-status">
1130
1130
  <i class="el-icon-time"></i>
1131
- 暂无文件
1131
+ {{$t('contractDetail.no_files')}}
1132
1132
  </div>
1133
1133
  </el-col>
1134
1134
  </div>
@@ -1170,6 +1170,7 @@
1170
1170
  <div class="file-list" v-if="claimFileInfoCom">
1171
1171
  <file-show @refresh="handleRefresh" @checked="handleChecked" @uncheck="handleUncheck"
1172
1172
  :selectFileListProp="selectFileList"
1173
+ :hiddenOperation="channel == 'official-website'"
1173
1174
  :file-info="item" v-for="(item, i) in claimFileInfoCom" :key="i" />
1174
1175
  <!-- <contract-file-drag-upload
1175
1176
  @upload="
@@ -1185,7 +1186,7 @@
1185
1186
  </div>
1186
1187
  <div v-else class="center-status">
1187
1188
  <i class="el-icon-time"></i>
1188
- 暂无文件
1189
+ {{ $t('contractDetail.no_files') }}
1189
1190
  </div>
1190
1191
  </el-col>
1191
1192
  </div>
@@ -1203,8 +1204,8 @@
1203
1204
  :getShipmentPurchaseFun="getShipmentPurchase"
1204
1205
  ></purchase-invoice-upload>
1205
1206
  <!-- 多个买家弹窗 -->
1206
- <el-dialog title="请先选择收货买家" :visible.sync="dialogVisible" width="30%">
1207
- <div>请在下方选择一个您需要发货的买家</div>
1207
+ <el-dialog :title="$t('contractDetail.Please_select_the_receiving_buyer_first')" :visible.sync="dialogVisible" width="30%">
1208
+ <div>{{ $t('contractDetail.Please_select_a_buyer_below_who_you_need_to_ship_to') }}</div>
1208
1209
  <div>
1209
1210
  <el-radio-group v-model="selectRadio">
1210
1211
  <el-radio :label="key" v-for="(purchaseBuyerListItem, key) in purchaseBuyerList" :key="key">
@@ -1217,8 +1218,8 @@
1217
1218
  </div>
1218
1219
 
1219
1220
  <span slot="footer" class="dialog-footer">
1220
- <el-button @click="dialogVisible = false">取 消</el-button>
1221
- <el-button type="primary" @click="addShipment">确 定</el-button>
1221
+ <el-button @click="dialogVisible = false">{{ $t('contractDetail.cancel') }}</el-button>
1222
+ <el-button type="primary" @click="addShipment">{{ $t('contractDetail.confirm') }}</el-button>
1222
1223
  </span>
1223
1224
  </el-dialog>
1224
1225
  <shipment-add ref="shipmentGen" @refresh="handleRefresh" />
@@ -1305,7 +1306,7 @@ export default {
1305
1306
  },
1306
1307
  channel: {
1307
1308
  type: String,
1308
- default: 'official-website11',
1309
+ default: 'official-website123',
1309
1310
  },
1310
1311
  buyerFlag: {
1311
1312
  type: Boolean,
@@ -1325,34 +1326,34 @@ export default {
1325
1326
  goodsBillNo: 0,
1326
1327
  claimBillNo: 0,
1327
1328
  contractProgressInfo: {
1328
- text: '合同',
1329
+ text: this.$t('contractDetail.contract'),
1329
1330
  rate: 0,
1330
1331
  img: 'https://s3.cdn.doctorscrap.com/dev/user/image_9/805524d45f964ad0b3f51437d3b5750e.png',
1331
1332
  bgcolor: '#FBB040',
1332
1333
  textArr:[]
1333
1334
  },
1334
1335
  shipProgressInfo: {
1335
- text: '装运',
1336
+ text: this.$t('contractDetail.shipment'),
1336
1337
  rate: 0,
1337
1338
  img: 'https://s3.cdn.doctorscrap.com/dev/user/image_9/8517dbf0444542d5bf100279231c9597.png',
1338
1339
  bgcolor: '#54B8FF',
1339
- textArr:['等待卖家装运']
1340
+ textArr:[this.$t('contractDetail.Waiting_for_the_seller_to_ship')]
1340
1341
  },
1341
1342
  getGoodsProgressInfo: {
1342
- text: '收货',
1343
+ text: this.$t('contractDetail.receiving'),
1343
1344
  rate: 0,
1344
1345
  img: 'https://s3.cdn.doctorscrap.com/dev/user/image_9/a43ef25e953747efa9b88d3d9bbe674f.png',
1345
1346
  bgcolor: '#7CCF48',
1346
1347
  textArr:[]
1347
1348
  },
1348
1349
  claimProgressInfo: {
1349
- text: '索赔',
1350
+ text: this.$t('contractDetail.claim'),
1350
1351
  rate: 0,
1351
1352
  img: 'https://s3.cdn.doctorscrap.com/dev/user/image_9/b427331405604eeb8ec368130f00c5e6.png',
1352
1353
  bgcolor: '#adadad',
1353
1354
  textArr:[]
1354
1355
  },
1355
- identify: '识别',
1356
+ identify: this.$t('contractDetail.identify'),
1356
1357
  selectRadio: 0,
1357
1358
  purchaseBuyerList: [],
1358
1359
  // purchaseBuyerList1: [
@@ -1433,7 +1434,7 @@ export default {
1433
1434
  },
1434
1435
  created() {
1435
1436
  this.loadingInstance = Loading.service({
1436
- text: '请稍候',
1437
+ text: this.$t('contractDetail.loading'),
1437
1438
  spinner: 'el-icon-loading',
1438
1439
  background: 'rgba(0, 0, 0, 0.7)',
1439
1440
  });
@@ -1483,9 +1484,8 @@ export default {
1483
1484
  getPurchaseAmount(shipmentFileInfo.shipmentId).then((res) => {
1484
1485
  this.purchaseBalanceMoney = (res.data.totalPurchaseAmount - res.data.purchaseDepositAmount).toFixed(2)
1485
1486
  this.shipmentPurchaseAmountMessage =
1486
- '参考采购尾款$' + this.purchaseBalanceMoney
1487
+ `${this.$t('contractDetail.reference_invince')}$` + this.purchaseBalanceMoney
1487
1488
  ;
1488
- console.log('==/biz/shipment/getPurchaseAmount/===', this.shipmentPurchaseAmountMessage);
1489
1489
  return this.shipmentPurchaseAmountMessage;
1490
1490
  });
1491
1491
  }
@@ -1503,7 +1503,7 @@ export default {
1503
1503
  'final_invoice'
1504
1504
  );
1505
1505
  } else {
1506
- return this.$message.warning('暂无文件');
1506
+ return this.$message.warning(this.$t('contractDetail.no_files'));
1507
1507
  }
1508
1508
  } else {
1509
1509
  // 临时 purchaseTemporaryFinallyInvoice
@@ -1533,7 +1533,7 @@ export default {
1533
1533
  }
1534
1534
 
1535
1535
  if (!url) {
1536
- return this.$message.error('暂无文件');
1536
+ return this.$message.error(this.$t('contractDetail.no_files'));
1537
1537
  }
1538
1538
 
1539
1539
  if (type == 'draft_bill') {
@@ -1602,7 +1602,7 @@ export default {
1602
1602
  }]
1603
1603
  }).then((res) => {
1604
1604
  if (res.code === 200) {
1605
- this.$modal.msgSuccess('添加成功');
1605
+ this.$modal.msgSuccess(this.$t('contractDetail.add_success'));
1606
1606
  this.handleRefresh();
1607
1607
  }
1608
1608
  });
@@ -1653,7 +1653,7 @@ export default {
1653
1653
 
1654
1654
  // 将 <textarea> 元素删除
1655
1655
  document.body.removeChild(textArea);
1656
- this.$modal.msgSuccess('已复制到剪切板');
1656
+ this.$modal.msgSuccess(this.$t('contractDetail.has_copy'));
1657
1657
  },
1658
1658
  //撤回回签
1659
1659
  counterSign() {
@@ -1664,7 +1664,7 @@ export default {
1664
1664
  // this.contract.beforeContractStatus || this.contract.contractStatus,
1665
1665
  }).then((res) => {
1666
1666
  if(res.code == 200) {
1667
- this.$modal.msgSuccess('撤回回签成功');
1667
+ this.$modal.msgSuccess(this.$t('contractDetail.withdraw_sign_success'));
1668
1668
  this.handleRefresh();
1669
1669
  }
1670
1670
  });
@@ -1676,7 +1676,7 @@ export default {
1676
1676
  shipmentId: this.shipmentItemData.shipmentId,
1677
1677
  }).then((res) => {
1678
1678
  if(res.code == 200) {
1679
- this.$modal.msgSuccess('确认提单草稿成功');
1679
+ this.$modal.msgSuccess(this.$t('contractDetail.draftBillOfLading_confirm_success'));
1680
1680
  this.handleRefresh();
1681
1681
  }
1682
1682
  });
@@ -1698,11 +1698,11 @@ export default {
1698
1698
  res.rows[0].amount == res.rows[0].remainingAmount
1699
1699
  ) {
1700
1700
  this.$confirm(
1701
- '是否确认直接生成装运?请注意,此合同的定金发票尚未生成或已生成但未收款,请先确认相关情况。',
1702
- '提示',
1701
+ this.$t('contractDetail.ship_create_tips'),
1702
+ this.$t('contractDetail.tip'),
1703
1703
  {
1704
- confirmButtonText: '确定',
1705
- cancelButtonText: '取消',
1704
+ confirmButtonText: this.$t('contractDetail.confirm'),
1705
+ cancelButtonText: this.$t('contractDetail.cancel'),
1706
1706
  type: 'warning',
1707
1707
  }
1708
1708
  )
@@ -1791,7 +1791,7 @@ export default {
1791
1791
  //发送草稿合同标记
1792
1792
  if(!this.contractFileInfo.sendDraftContractFlag) {
1793
1793
  // 草稿合同待发出(英文:Draft contract to be sent out)
1794
- textArr.push('草稿合同待发出')
1794
+ textArr.push(this.$t('contractDetail.draftContract_unsend'))
1795
1795
  }
1796
1796
 
1797
1797
  // 点击合同确认标记
@@ -1800,7 +1800,7 @@ export default {
1800
1800
  // textArr.push('正式合同已发出')
1801
1801
  } else {
1802
1802
  // 正式合同待发出(英文:Formal contract to be sent out)
1803
- textArr.push('正式合同待发出')
1803
+ textArr.push(this.$t('contractDetail.contract_send_false'))
1804
1804
  }
1805
1805
 
1806
1806
  // BLI确认标记
@@ -1809,7 +1809,7 @@ export default {
1809
1809
  // textArr.push('提单指令已确认')
1810
1810
  } else {
1811
1811
  // 提单指令待买家确认(英文: BL Instruction to be confirmed
1812
- textArr.push('提单指令待买家确认')
1812
+ textArr.push(this.$t('contractDetail.bl_confirm_false'))
1813
1813
  }
1814
1814
 
1815
1815
  // 合同回签标记
@@ -1818,7 +1818,7 @@ export default {
1818
1818
  // textArr.push('回签合同已上传')
1819
1819
  } else {
1820
1820
  // 回签合同待上传(英文:Formal contract to be signed back
1821
- textArr.push('回签合同待上传')
1821
+ textArr.push(this.$t('contractDetail.contract_signback_false'))
1822
1822
  }
1823
1823
 
1824
1824
  if(this.contract.deposit != null && this.contract.deposit > 0) {
@@ -1828,7 +1828,7 @@ export default {
1828
1828
  // textArr.push('定金已支付')
1829
1829
  } else {
1830
1830
  // 定金待支付(英文:Deposit to be paid)
1831
- textArr.push('定金待支付')
1831
+ textArr.push(this.$t('contractDetail.depositPaid_false'))
1832
1832
  }
1833
1833
  }
1834
1834
  }
@@ -1838,7 +1838,7 @@ export default {
1838
1838
  //发送草稿合同标记
1839
1839
  if(!this.contractFileInfo.sendDraftContractFlag) {
1840
1840
  // 草稿合同待发出(英文:Draft contract to be sent out)
1841
- textArr.push('草稿合同待发出')
1841
+ textArr.push(this.$t('contractDetail.draftContract_unsend'))
1842
1842
  }
1843
1843
 
1844
1844
  // 点击合同确认标记
@@ -1847,7 +1847,7 @@ export default {
1847
1847
  // textArr.push('正式合同已发出')
1848
1848
  } else {
1849
1849
  // 正式合同待发出(英文:Formal contract to be sent out)
1850
- textArr.push('正式合同待发出')
1850
+ textArr.push(this.$t('contractDetail.contract_send_false'))
1851
1851
  }
1852
1852
 
1853
1853
  // BLI确认标记
@@ -1856,7 +1856,7 @@ export default {
1856
1856
  // textArr.push('提单指令已确认')
1857
1857
  } else {
1858
1858
  // 提单指令待买家确认(英文: BL Instruction to be confirmed
1859
- textArr.push('提单指令待买家确认')
1859
+ textArr.push(this.$t('contractDetail.bl_confirm_false'))
1860
1860
  }
1861
1861
 
1862
1862
  // 合同回签标记
@@ -1865,19 +1865,19 @@ export default {
1865
1865
  // textArr.push('回签合同已上传')
1866
1866
  } else {
1867
1867
  // 回签合同待上传(英文:Formal contract to be signed back
1868
- textArr.push('回签合同待上传')
1868
+ textArr.push(this.$t('contractDetail.contract_signback_false'))
1869
1869
  }
1870
1870
 
1871
1871
  if(this.contract.deposit != null && this.contract.deposit > 0) {
1872
1872
  if(!this.contractFileInfo.existDepositInvoiceFlag) {
1873
1873
  // 定金发票待提供(英文:Deposit Invoice to be uploaded)
1874
- textArr.push('定金发票待提供')
1874
+ textArr.push(this.$t('contractDetail.Deposit_invoice_to_be_provided'))
1875
1875
  }
1876
1876
 
1877
1877
  // 定金支付标记
1878
1878
  if(!this.contractFileInfo.depositInvoicePayFlag) {
1879
1879
  // 定金待支付(英文:Deposit to be paid)
1880
- textArr.push('定金待支付')
1880
+ textArr.push(this.$t('contractDetail.depositPaid_false'))
1881
1881
  }
1882
1882
  }
1883
1883
  }
@@ -1903,13 +1903,13 @@ export default {
1903
1903
  // shipTextArr.push('装箱单已上传')
1904
1904
  } else {
1905
1905
  // 装箱单待上传(英文:Shipping docs-Packing list to be updated)
1906
- shipTextArr.push('装箱单待上传')
1906
+ shipTextArr.push(this.$t('contractDetail.packinglist_false'))
1907
1907
  }
1908
1908
 
1909
1909
  // 是否已支付尾款
1910
1910
  if(!shipmentItem.balanceInvoiceFullyPaidFlag && this.contract.contractType == 'sale') {
1911
1911
  // 尾款发票待上传(英文:Balance Invoice to be updated)
1912
- shipTextArr.push('尾款发票待上传')
1912
+ shipTextArr.push(this.$t('contractDetail.balance_invoice_false'))
1913
1913
  }
1914
1914
 
1915
1915
  // 上传装箱照片
@@ -1918,7 +1918,7 @@ export default {
1918
1918
  // shipTextArr.push('装箱照片已上传')
1919
1919
  } else {
1920
1920
  // 装箱照片待上传(英文:Shipping docs-Shipping photos to be updated)
1921
- shipTextArr.push('装箱照片待上传')
1921
+ shipTextArr.push(this.$t('contractDetail.container_photos_false'))
1922
1922
  }
1923
1923
 
1924
1924
 
@@ -1928,13 +1928,13 @@ export default {
1928
1928
  // shipTextArr.push('草稿提单已上传')
1929
1929
  } else {
1930
1930
  // 草稿提单待上传(英文:Shipping docs-Draft BL to be updated)
1931
- shipTextArr.push('草稿提单待上传')
1931
+ shipTextArr.push(this.$t('contractDetail.draftBl_false'))
1932
1932
  }
1933
1933
 
1934
1934
  // 是否确认草稿提单
1935
1935
  if(!shipmentItem.confirmDraftBlFlag) {
1936
1936
  // 草稿提单待买家确认(英文:Draft BL to be confirmed )
1937
- shipTextArr.push('草稿提单待买家确认')
1937
+ shipTextArr.push(this.$t('contractDetail.draftBl_buyer_confirm_false'))
1938
1938
  } else {
1939
1939
  // 草稿提单已确认(英文:Draft BL confirmed)
1940
1940
  // shipTextArr.push('草稿提单已确认')
@@ -1949,10 +1949,10 @@ export default {
1949
1949
  } else {
1950
1950
  if(shipmentItem.balanceInvoicePartiallyPaidFlag) {
1951
1951
  // 尾款已部分支付(英文:Final Payment partially paid)
1952
- shipTextArr.push('尾款已部分支付')
1952
+ shipTextArr.push(this.$t('contractDetail.balancePartPaid_true'))
1953
1953
  } else {
1954
1954
  // 尾款待买家支付(英文:Balance Invoice to be paid)
1955
- shipTextArr.push('尾款待买家支付')
1955
+ shipTextArr.push(this.$t('contractDetail.balancePartPaid_false'))
1956
1956
  }
1957
1957
  }
1958
1958
 
@@ -1967,7 +1967,7 @@ export default {
1967
1967
  // goodsTextArr.push('提货凭证已提供')
1968
1968
  } else {
1969
1969
  // 提货凭证待提供(英文:Release /Telxed BL to be done)
1970
- goodsTextArr.push('提货凭证待提供')
1970
+ goodsTextArr.push(this.$t('contractDetail.releasedTelex_false'))
1971
1971
  }
1972
1972
 
1973
1973
  this.getGoodsProgressInfo.textArr = goodsTextArr
@@ -1976,22 +1976,22 @@ export default {
1976
1976
  let claimTextArr = []
1977
1977
  if(this.contractFileInfo.claimCreateFlag && !this.contractFileInfo.claimProcessFlag && !this.contractFileInfo.claimCloseFlag) {
1978
1978
  // 索赔中(英文:Claiming)
1979
- claimTextArr.push('索赔中')
1979
+ claimTextArr.push(this.$t('contractDetail.claiming'))
1980
1980
  }
1981
1981
 
1982
1982
  if(this.contractFileInfo.claimCreateFlag && this.contractFileInfo.claimProcessFlag && !this.contractFileInfo.claimCloseFlag) {
1983
1983
  // 文件已更新(英文:Claiming-CN/DN issued
1984
- claimTextArr.push('文件已更新')
1984
+ claimTextArr.push(this.$t('contractDetail.claiming_update'))
1985
1985
  }
1986
1986
 
1987
1987
  if(this.contractFileInfo.claimCreateFlag && this.contractFileInfo.claimProcessFlag && this.contractFileInfo.claimCloseFlag) {
1988
1988
  // 索赔已关闭(英文:Claim closed)
1989
- claimTextArr.push('索赔已关闭')
1989
+ claimTextArr.push(this.$t('contractDetail.claiming_closed'))
1990
1990
  }
1991
1991
 
1992
1992
  this.claimProgressInfo.textArr = claimTextArr
1993
1993
  } else {
1994
- shipTextArr.push('等待卖家装运')
1994
+ shipTextArr.push(this.$t('contractDetail.Waiting_for_the_seller_to_ship'))
1995
1995
  this.claimProgressInfo.textArr = shipTextArr
1996
1996
  }
1997
1997
 
@@ -2054,7 +2054,7 @@ export default {
2054
2054
  },
2055
2055
  handleUpload(e, linkId, linkType, fileType) {
2056
2056
  let loadingInstance = Loading.service({
2057
- text: '请稍候',
2057
+ text: this.$t('contractDetail.loading'),
2058
2058
  spinner: 'el-icon-loading',
2059
2059
  background: 'rgba(0, 0, 0, 0.7)',
2060
2060
  });
@@ -2070,7 +2070,7 @@ export default {
2070
2070
  //如果是回签合同 保留原合同状态
2071
2071
  if (fileType == 'contract_sign') {
2072
2072
  let loading = Loading.service({
2073
- text: '请稍候',
2073
+ text: this.$t('contractDetail.loading'),
2074
2074
  spinner: 'el-icon-loading',
2075
2075
  background: 'rgba(0, 0, 0, 0.7)',
2076
2076
  });
@@ -2084,23 +2084,25 @@ export default {
2084
2084
  contractSignTime: new Date(),
2085
2085
  }).then((res) => {
2086
2086
  loading.close();
2087
- this.$modal.msgSuccess('回签成功');
2087
+ this.$modal.msgSuccess(this.$t('contractDetail.signContract_success'));
2088
+ this.getContractFileInfo(this.contractId);
2088
2089
  });
2089
2090
  });
2091
+ } else if (fileType == 'shipment_delivery_receipt') {
2092
+ //如果是上传电放
2093
+ let loading1 = Loading.service({
2094
+ text: this.$t('contractDetail.loading'),
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(this.$t('contractDetail.release_success'));
2101
+ this.getContractFileInfo(this.contractId);
2102
+ });
2103
+ } {
2104
+ this.getContractFileInfo(this.contractId);
2090
2105
  }
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
2106
  });
2105
2107
  },
2106
2108
 
@@ -2338,7 +2340,7 @@ export default {
2338
2340
  }
2339
2341
  </style>
2340
2342
  <style lang="scss">
2341
- .el-tooltip__popper {
2342
- max-width: 300px !important; /* 设置你希望的最大宽度 */
2343
- }
2343
+ // .el-tooltip__popper {
2344
+ // max-width: 300px !important; /* 设置你希望的最大宽度 */
2345
+ // }
2344
2346
  </style>