doctor-admin-components 1.0.14-beta.3 → 1.0.14-beta.31

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.
@@ -12,31 +12,22 @@
12
12
  <div class="app-container-left">
13
13
  <div class="contract-number">
14
14
  <div>{{ $t('contractDetail.Contract_No') }}</div>
15
- <div>{{ contract.contractNo }}</div>
15
+ <div style="word-wrap: break-word;">{{ contract.contractNo }}</div>
16
16
  </div>
17
17
  <div class="contract-number">
18
18
  <div>
19
19
  <span>{{$t('contractDetail.Reference_No')}}</span>
20
20
  <el-button size="mini" type="text" icon="el-icon-edit" @click="clickEditReference"></el-button>
21
21
  </div>
22
- <div>{{ contract.reference || '--' }}</div>
22
+ <div style="word-wrap: break-word;">{{ contract.reference || '--' }}</div>
23
23
  </div>
24
24
  <div class="tab-root">
25
25
  <div :class="['tab', activeName == tabsItem.name ? 'active' : '']" v-for="tabsItem in saleTabsArr" :key="tabsItem.id" @click="changeTabs(tabsItem)">
26
26
  {{ tabsItem.label }}
27
27
  </div>
28
28
  </div>
29
- <div>
30
- <!-- 选择项 -->
31
- <div class="selection-root">
32
- <span>{{ $t('contractDetail.Selected') }} {{ selectFileList.length }} {{ $t('contractDetail.item') }}</span>
33
- <div class="border-button" @click.stop="downLoadAll">{{ $t('contractDetail.Download_All') }}</div>
34
- <div class="border-button" @click.stop="deleteAll">{{ $t('contractDetail.Delete_All') }}</div>
35
- <div class="border-button" @click.stop="cancelAll">{{ $t('contractDetail.Deselect') }}</div>
36
- </div>
37
- </div>
38
29
  </div>
39
- <div class="app-container-right">
30
+ <div class="app-container-right" :style="activeName == 'fourth' ? 'overflow:visible' : 'overflow:auto'">
40
31
  <contract-summary v-if="activeName == 'first'" :channel="channel"></contract-summary>
41
32
  <contract-info v-if="activeName == 'second'" :channel="channel"></contract-info>
42
33
  <!-- 提单指令 -->
@@ -54,7 +45,6 @@
54
45
  :contract="contract"
55
46
  :channel="channel"
56
47
  :buyerFlag="buyerFlag"
57
- :selectFileListProp="selectFileList"
58
48
  ref="contractFileRef"
59
49
  ></contract-file>
60
50
  </div>
@@ -106,7 +96,6 @@ import ContractSummary from './contractSummary.vue'
106
96
  import BillInfo from './billInfo.vue'
107
97
  import ContractFile from '../bizFileInfo/contract.vue'
108
98
  import ContractInfo from './contractInfo.vue'
109
- import { delBizFileInfo } from '../../../api/biz/bizFileInfo'
110
99
 
111
100
  export default {
112
101
  name: 'ContractTracingDetail',
@@ -165,7 +154,6 @@ export default {
165
154
  }
166
155
  ],
167
156
 
168
- selectFileList: [],
169
157
  // 提单指令列表
170
158
  blList: null,
171
159
  activeBillIndex: null
@@ -205,46 +193,7 @@ export default {
205
193
  console.log(e)
206
194
  })
207
195
  },
208
- /**
209
- * @description: 取消全部选择
210
- * @return {*}
211
- */
212
- cancelAll() {
213
- this.$refs.contractFileRef.cancelAllSelectFileList()
214
- },
215
-
216
- /**
217
- * @description: 全部下载
218
- * @return {*}
219
- */
220
- downLoadAll() {
221
- if (this.selectFileList.length == 0) {
222
- return this.$message.warning(this.$t('contractDetail.please_select_file'))
223
- }
224
- this.$refs.contractFileRef.downloadZip()
225
- },
226
- deleteAll() {
227
- console.log('==delBizFileInfo==', this.selectFileList)
228
- if (this.selectFileList.length == 0) {
229
- return this.$message.warning(this.$t('contractDetail.please_select_file'))
230
- }
231
-
232
- this.$confirm('是否删除选中文件', '提示', {
233
- confirmButtonText: '确定',
234
- cancelButtonText: '取消',
235
- type: 'warning'
236
- })
237
- .then(() => {
238
- const ids = this.selectFileList.map((item) => item.fileId)
239
- delBizFileInfo(ids).then(() => {
240
- this.$message.success('删除成功')
241
- this.$refs.contractFileRef.handleRefresh()
242
- })
243
- })
244
- .catch(() => {
245
- this.$message.info('已取消删除')
246
- })
247
- },
196
+
248
197
  /**
249
198
  * @description: 切换tab
250
199
  * @param {*} tab
@@ -329,29 +278,8 @@ export default {
329
278
  height: 100%;
330
279
  overflow: auto;
331
280
  }
281
+
332
282
  }
333
283
  }
334
284
 
335
- .selection-root {
336
- margin-top: 26px;
337
- display: flex;
338
- flex-direction: column;
339
- justify-content: center;
340
- align-items: center;
341
- margin-bottom: 20px;
342
- }
343
-
344
- .border-button {
345
- margin-top: 10px;
346
- padding: 0 10px;
347
- width: max-content;
348
- height: 21px;
349
- text-align: center;
350
- line-height: 17px;
351
- background: #ffffff;
352
- border-radius: 11px;
353
- font-size: 12px;
354
- border: 2px solid #d1d3d4;
355
- cursor: pointer;
356
- }
357
285
  </style>
@@ -157,22 +157,22 @@
157
157
  <el-collapse-item name="3">
158
158
  <template slot="title">
159
159
  <el-row style="width: 75%">
160
- <el-form-item class="mt20" :label="$t('contract.secondNotifier') + ':'">{{ 'TTYY INTERNATIONAL LIMITED' }}</el-form-item>
160
+ <el-form-item class="mt20" :label="$t('contract.secondNotifier') + ':'">{{ secondNotifyInfoInfo ? secondNotifyInfoInfo.companyName : "" }}</el-form-item>
161
161
  </el-row>
162
162
  </template>
163
163
  <el-form-item :label="$t('contract.taxId') + ':'">
164
- {{ '73855725-000-23-0' }}
164
+ {{ secondNotifyInfoInfo ? secondNotifyInfoInfo.taxNumber : "" }}
165
165
  </el-form-item>
166
166
  <el-form-item :label="$t('contract.notifierAddress') + ':'">
167
- {{ 'FLAT/RM 07, 12/F, CHEVALIER COMMERCIAL CENTRE, 8 WANG HOI ROAD, KOWLOON BAY' }}
167
+ {{ secondNotifyInfoInfo ? secondNotifyInfoInfo.address : "" }}
168
168
  </el-form-item>
169
169
  <el-form-item :label="$t('contract.contact') + ':'">
170
- {{ 'Ms. Zhou' }}
170
+ {{ secondNotifyInfoInfo ? secondNotifyInfoInfo.contactPerson : "" }}
171
171
  </el-form-item>
172
172
  <el-form-item :label="$t('contract.phoneNumber') + ':'">
173
- {{ '00-852 53816912' }}
173
+ {{ secondNotifyInfoInfo ? secondNotifyInfoInfo.phoneNumber : "" }}
174
174
  </el-form-item>
175
- <el-form-item :label="$t('contract.email') + ':'">{{ 'info@tyzltech.com' }}</el-form-item>
175
+ <el-form-item :label="$t('contract.email') + ':'">{{ secondNotifyInfoInfo ? secondNotifyInfoInfo.email : "" }}</el-form-item>
176
176
  </el-collapse-item>
177
177
  </el-collapse>
178
178
 
@@ -288,7 +288,7 @@ import { listBizContractCompany } from '../../../api/biz/bizContractCompany'
288
288
  import SubCompanyDialog from './subCompanyDialog.vue'
289
289
  import BillGoods from './billGoods.vue'
290
290
  import { listCompanyBillGoods } from '../../../api/biz/bizCompanyBillGoods'
291
- import { getBizContract, changeBizStatus } from '../../../api/biz/bizContract'
291
+ import { getBizContract, changeBizStatus, getSecondNotifyInfo } from '../../../api/biz/bizContract'
292
292
  import FileUpload from '../../../components/FileUpload/s3.vue'
293
293
 
294
294
  export default {
@@ -336,7 +336,8 @@ export default {
336
336
  notifierCompanyId: [{ required: true, trigger: 'blur', message: this.$t('bill.tip4') }],
337
337
  goodsName: [{ required: true, trigger: 'blur' }]
338
338
  },
339
- contract: null
339
+ contract: null,
340
+ secondNotifyInfoInfo: null
340
341
  }
341
342
  },
342
343
  watch: {
@@ -367,7 +368,9 @@ export default {
367
368
  }
368
369
  }
369
370
  },
370
- created() {},
371
+ created() {
372
+ this.getSecondNotifyInfo();
373
+ },
371
374
  methods: {
372
375
  async handleEdit(contractId, dealId) {
373
376
  const loading = this.openLoading()
@@ -597,7 +600,12 @@ export default {
597
600
  }
598
601
  }
599
602
  })
600
- }
603
+ },
604
+ getSecondNotifyInfo() {
605
+ getSecondNotifyInfo().then((res) => {
606
+ this.secondNotifyInfoInfo = res.data;
607
+ })
608
+ },
601
609
  }
602
610
  }
603
611
  </script>
@@ -0,0 +1,103 @@
1
+ <!--
2
+ * @Author: zhangpengwei@1338418459736990.onaliyun.com zhangpengwei@1338418459736990.onaliyun.com
3
+ * @Date: 2024-08-20 10:37:30
4
+ * @LastEditors: zhangpengwei@1338418459736990.onaliyun.com zhangpengwei@1338418459736990.onaliyun.com
5
+ * @LastEditTime: 2024-08-23 13:49:18
6
+ * @FilePath: /doctor-admin-components 公共组件/packages/src/views/biz/contractTracing/queryDeductionRecords.vue
7
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
+ -->
9
+ <template>
10
+ <el-dialog
11
+ title="定金扣减记录"
12
+ :visible.sync="dialogVisible"
13
+ width="1200px"
14
+ :modal="false"
15
+ >
16
+ <el-table
17
+ :data="tableList"
18
+ :cell-style="{'text-align': 'center'}"
19
+ :header-cell-style="{'text-align': 'center'}"
20
+ >
21
+ <el-table-column
22
+ prop="billOfLadingNo"
23
+ label="提单号"
24
+ width="180">
25
+ </el-table-column>
26
+ <el-table-column
27
+ prop="containerNumber"
28
+ label="柜数"
29
+ width="180">
30
+ </el-table-column>
31
+ <el-table-column
32
+ prop="purchaseDepositTotalAmount"
33
+ label="定金总额">
34
+ <template slot-scope="{ row }">
35
+ {{ row.purchaseDepositTotalAmount ? "$" + $formatNumber(row.purchaseDepositTotalAmount, 2) : '0' }}
36
+ </template>
37
+ </el-table-column>
38
+ <el-table-column
39
+ prop="purchaseDepositBalance"
40
+ label="上次剩余定金">
41
+ <template slot-scope="{ row }">
42
+ {{ row.purchaseDepositBalance ? "$" + $formatNumber(row.purchaseDepositBalance,2) : '0' }}
43
+ </template>
44
+ </el-table-column>
45
+ <el-table-column
46
+ prop="purchaseDepositAmount"
47
+ label="扣减定金">
48
+ <template slot-scope="{ row }">
49
+ <span class="edit-style" v-if="row.purchaseDepositAmount" @click.stop="jumpFileManage(row)">{{ row.purchaseDepositAmount ? "$" + $formatNumber(row.purchaseDepositAmount, 2) : '0' }}</span>
50
+ <span v-else>0</span>
51
+ </template>
52
+ </el-table-column>
53
+ <el-table-column
54
+ prop="purchaseDepositRemainAmount"
55
+ label="定金余额">
56
+ <template slot-scope="{ row }">
57
+ {{ row.purchaseDepositRemainAmount ? "$" + $formatNumber(row.purchaseDepositRemainAmount, 2) : '0' }}
58
+ </template>
59
+ </el-table-column>
60
+ </el-table>
61
+ </el-dialog>
62
+ </template>
63
+
64
+ <script>
65
+ import { deductionRecords } from '../../../api/biz/bizShipment'
66
+
67
+ export default {
68
+ name: 'DoctorAdminComponentsQueryDeductionRecords',
69
+
70
+ data() {
71
+ return {
72
+ tableList:[],
73
+ dialogVisible: false
74
+ };
75
+ },
76
+
77
+ mounted() {
78
+
79
+ },
80
+
81
+ methods: {
82
+ handlerOpen(shipmentId) {
83
+ this.dialogVisible = true
84
+ deductionRecords({shipmentId}).then((res) => {
85
+ this.tableList = res.rows
86
+ })
87
+ },
88
+ jumpFileManage(row) {
89
+ window.open(`/contract/tracing/detail/${row.purchaseContractId}?activeName=fourth&deductionRecordsShipmentId=${row.shipmentId}`)
90
+ }
91
+
92
+
93
+ },
94
+ };
95
+ </script>
96
+
97
+ <style lang="scss" scoped>
98
+ .edit-style {
99
+ cursor: pointer;
100
+ color: #409eff;
101
+ }
102
+
103
+ </style>