doctor-admin-components 1.0.14-beta.4 → 1.0.14-beta.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/package.json +1 -1
- package/packages/index.js +7 -4
- package/packages/src/api/biz/bizContract.js +18 -8
- package/packages/src/api/biz/bizShipment.js +30 -1
- package/packages/src/i18n/zh-CN/message.json +1 -1
- package/packages/src/index.js +9 -2
- package/packages/src/utils/zip.js +29 -11
- package/packages/src/views/biz/bizFileInfo/contract.vue +494 -366
- package/packages/src/views/biz/bizFileInfo/contractFile/BillOfLadingNoTab.vue +9 -7
- package/packages/src/views/biz/bizFileInfo/contractFile/IMGPreviewCheckBox.vue +29 -11
- package/packages/src/views/biz/bizFileInfo/contractFile/SectionSlot.vue +11 -3
- package/packages/src/views/biz/bizFileInfo/fileShow.vue +16 -6
- package/packages/src/views/biz/bizShipment/add.vue +82 -42
- package/packages/src/views/biz/contractTracing/billInfo.vue +15 -7
- package/packages/src/views/biz/contractTracing/changrLogList.vue +67 -0
- package/packages/src/views/biz/contractTracing/companyBanks.vue +15 -5
- package/packages/src/views/biz/contractTracing/contractPdf.vue +2 -7
- package/packages/src/views/biz/contractTracing/contractSummary.vue +101 -73
- package/packages/src/views/biz/contractTracing/contractTracingDetail.vue +5 -77
- package/packages/src/views/biz/contractTracing/editBill.vue +18 -10
- package/packages/src/views/biz/contractTracing/queryDeductionRecords.vue +103 -0
- package/packages/src/views/biz/contractTracing/shipmentPurchaseAmount.vue +359 -79
- package/packages/src/views/biz/contractTracing/shipmentPurchaseAmountEditDialog.vue +176 -0
|
@@ -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') + ':'">{{
|
|
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
|
-
{{
|
|
164
|
+
{{ secondNotifyInfoInfo ? secondNotifyInfoInfo.taxNumber : "" }}
|
|
165
165
|
</el-form-item>
|
|
166
166
|
<el-form-item :label="$t('contract.notifierAddress') + ':'">
|
|
167
|
-
{{
|
|
167
|
+
{{ secondNotifyInfoInfo ? secondNotifyInfoInfo.address : "" }}
|
|
168
168
|
</el-form-item>
|
|
169
169
|
<el-form-item :label="$t('contract.contact') + ':'">
|
|
170
|
-
{{
|
|
170
|
+
{{ secondNotifyInfoInfo ? secondNotifyInfoInfo.contactPerson : "" }}
|
|
171
171
|
</el-form-item>
|
|
172
172
|
<el-form-item :label="$t('contract.phoneNumber') + ':'">
|
|
173
|
-
{{
|
|
173
|
+
{{ secondNotifyInfoInfo ? secondNotifyInfoInfo.phoneNumber : "" }}
|
|
174
174
|
</el-form-item>
|
|
175
|
-
<el-form-item :label="$t('contract.email') + ':'">{{
|
|
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>
|