doctor-admin-components 1.0.13-beta.9 → 1.0.13-beta.91

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/README.md +28 -9
  2. package/package.json +1 -1
  3. package/packages/index.js +10 -0
  4. package/packages/src/api/biz/bizContract.js +996 -1
  5. package/packages/src/api/biz/bizContractCompany.js +1 -1
  6. package/packages/src/api/biz/bizFileInfo.js +16 -0
  7. package/packages/src/api/biz/bizInvoice.js +1 -1
  8. package/packages/src/api/biz/bizShipment.js +18 -0
  9. package/packages/src/assets/images/click-show-table.png +0 -0
  10. package/packages/src/assets/images/more.png +0 -0
  11. package/packages/src/assets/images/pdf-new.png +0 -0
  12. package/packages/src/components/DictTag/index.vue +12 -2
  13. package/packages/src/components/FileUpload/contract-drag-new.vue +99 -10
  14. package/packages/src/i18n/en/message.json +305 -0
  15. package/packages/src/i18n/index.js +38 -0
  16. package/packages/src/i18n/zh-CN/message.json +305 -0
  17. package/packages/src/index.js +13 -1
  18. package/packages/src/utils/index.js +35 -0
  19. package/packages/src/utils/request.js +120 -146
  20. package/packages/src/views/biz/bizFileInfo/PAYMENT_VOUCHER(/"payment_voucher/", /"/344/273/230/346/254/276/345/207/255/350/257/201.ini" +222 -0
  21. package/packages/src/views/biz/bizFileInfo/contract copy.vue +1711 -0
  22. package/packages/src/views/biz/bizFileInfo/contract.vue +1783 -986
  23. package/packages/src/views/biz/bizFileInfo/contractFile/BillOfLadingNoTab.vue +114 -0
  24. package/packages/src/views/biz/bizFileInfo/contractFile/ContentTitle.vue +102 -0
  25. package/packages/src/views/biz/bizFileInfo/contractFile/IMGPreviewCheckBox.vue +308 -0
  26. package/packages/src/views/biz/bizFileInfo/contractFile/Progress.vue +85 -0
  27. package/packages/src/views/biz/bizFileInfo/contractFile/ProgressDetail.vue +123 -0
  28. package/packages/src/views/biz/bizFileInfo/contractFile/SectionSlot.vue +83 -0
  29. package/packages/src/views/biz/bizFileInfo/contractFile/ShowAndHide.vue +178 -0
  30. package/packages/src/views/biz/bizFileInfo/fileShow copy.vue +321 -0
  31. package/packages/src/views/biz/bizFileInfo/fileShow.vue +143 -47
  32. package/packages/src/views/biz/bizFileInfo/fileShowClaim.vue +1 -1
  33. package/packages/src/views/biz/bizShipment/add.vue +223 -75
  34. package/packages/src/views/biz/bizShipment/referenceAlert.vue +168 -0
  35. package/packages/src/views/biz/contractTracing/addSubCompany.vue +106 -169
  36. package/packages/src/views/biz/contractTracing/billInfo.vue +191 -332
  37. package/packages/src/views/biz/contractTracing/companyBanks.vue +228 -0
  38. package/packages/src/views/biz/contractTracing/contractInfo.vue +1 -1
  39. package/packages/src/views/biz/contractTracing/contractPdf.vue +7 -4
  40. package/packages/src/views/biz/contractTracing/contractSummary.vue +20 -7
  41. package/packages/src/views/biz/contractTracing/contractTracingDetail copy.vue +107 -0
  42. package/packages/src/views/biz/contractTracing/contractTracingDetail.vue +229 -9
  43. package/packages/src/views/biz/contractTracing/editBill.vue +236 -363
  44. package/packages/src/views/biz/contractTracing/purchaseInvoiceUpload.vue +153 -7
  45. package/packages/src/views/biz/contractTracing/shipmentPurchaseAmount.vue +8 -2
  46. package/packages/src/views/biz/contractTracing/subCompanyDialog.vue +202 -176
  47. package/packages/src/views/components/RegionPicker/Distpicker.vue +459 -0
  48. package/packages/src/views/components/RegionPicker/districts.js +4641 -0
  49. package/packages/src/views/test.vue +3 -3
  50. package/packages/src/views/biz/contractTracing/association.vue +0 -189
  51. package/packages/src/views/biz/contractTracing/chargingDialog.vue +0 -84
  52. package/packages/src/views/biz/contractTracing/contract.vue +0 -1276
  53. package/packages/src/views/biz/contractTracing/disputeRecord.vue +0 -311
  54. package/packages/src/views/biz/contractTracing/edit.vue +0 -205
  55. package/packages/src/views/biz/contractTracing/sendDrafEmail.vue +0 -120
  56. package/packages/src/views/biz/contractTracing/shipment.vue +0 -601
@@ -1,311 +0,0 @@
1
- <template>
2
- <div class="app-container">
3
- <!-- 添加或修改合同争议对话框 -->
4
- <el-dialog
5
- :title="title"
6
- :visible.sync="recordOpen"
7
- width="800px"
8
- append-to-body
9
- >
10
- <el-row :gutter="10" class="mb8">
11
- <el-col :span="1.5">
12
- <el-button
13
- type="primary"
14
- plain
15
- icon="el-icon-plus"
16
- size="mini"
17
- @click="handleAdd"
18
- v-hasPermi="['biz:contract:dispute:add']"
19
- >新增</el-button
20
- >
21
- </el-col>
22
- </el-row>
23
-
24
- <el-table
25
- v-loading="loading"
26
- :data="bizContractDisputeList"
27
- @selection-change="handleSelectionChange"
28
- >
29
- <el-table-column label="序号" align="center" type="index" />
30
-
31
- <el-table-column label="争议内容" align="center" prop="dispute">
32
- </el-table-column>
33
-
34
- <el-table-column label="处理状态" align="center" prop="disputeState">
35
- <template slot-scope="{ row }">
36
- {{ row.disputeState ? "已处理" : "待处理" }}
37
- </template>
38
- </el-table-column>
39
- <el-table-column label="图片">
40
- <template slot-scope="{ row }">
41
- <el-image
42
- v-if="row.pictures && row.pictures.length > 0"
43
- style="width: 100px; height: 100px"
44
- :src="
45
- row.pictures && row.pictures.length > 0
46
- ? row.pictures[0].generateUrl
47
- : ''
48
- "
49
- :preview-src-list="
50
- row.pictures && row.pictures.length > 0
51
- ? row.pictures.map((obj) => obj.generateUrl)
52
- : []
53
- "
54
- ></el-image>
55
- </template>
56
- </el-table-column>
57
- <el-table-column
58
- label="操作"
59
- align="center"
60
- class-name="small-padding fixed-width"
61
- >
62
- <template slot-scope="scope">
63
- <el-button
64
- v-if="scope.row.disputeState == false"
65
- size="mini"
66
- type="text"
67
- icon="el-icon-edit"
68
- @click="handleComplete(scope.row)"
69
- >处理完成</el-button
70
- >
71
- <el-button
72
- size="mini"
73
- type="text"
74
- icon="el-icon-edit"
75
- @click="handleUpdate(scope.row)"
76
- >修改</el-button
77
- >
78
- </template>
79
- </el-table-column>
80
- </el-table>
81
-
82
- <pagination
83
- v-show="total > 0"
84
- :total="total"
85
- :page.sync="queryParams.pageNum"
86
- :limit.sync="queryParams.pageSize"
87
- @pagination="getList"
88
- />
89
- </el-dialog>
90
-
91
- <!-- 添加或修改合同争议对话框 -->
92
- <el-dialog :title="title" :visible.sync="open" width="550px" append-to-body>
93
- <el-form ref="form" :model="form" :rules="rules" label-width="100px">
94
- <el-form-item label="争议内容" prop="dispute">
95
- <el-input
96
- v-model="form.dispute"
97
- type="textarea"
98
- placeholder="请输入内容"
99
- />
100
- </el-form-item>
101
- <el-form-item prop="pictures">
102
- <image-upload
103
- v-model="form.pictures"
104
- :limit="50"
105
- :fileSize="10"
106
- :uploadType="'contract_dispute'"
107
- ></image-upload>
108
- </el-form-item>
109
- </el-form>
110
- <div slot="footer" class="dialog-footer">
111
- <el-button type="primary" @click="submitForm">确 定</el-button>
112
- <el-button @click="cancel">取 消</el-button>
113
- </div>
114
- </el-dialog>
115
- </div>
116
- </template>
117
-
118
- <script>
119
- import {
120
- listBizContractDispute,
121
- getBizContractDispute,
122
- delBizContractDispute,
123
- addBizContractDispute,
124
- updateBizContractDispute,
125
- } from "../../../api/biz/bizContractDispute";
126
- import { updateBizContract } from "../../../api/biz/bizContract";
127
- import ImageUpload from "../../../components/ImageUpload/s3.vue";
128
-
129
- export default {
130
- name: "DisputeRecord",
131
- components: {
132
- ImageUpload,
133
- },
134
- data() {
135
- return {
136
- // 遮罩层
137
- loading: true,
138
- // 选中数组
139
- ids: [],
140
- // 非单个禁用
141
- single: true,
142
- // 非多个禁用
143
- multiple: true,
144
- // 显示搜索条件
145
- showSearch: true,
146
- // 总条数
147
- total: 0,
148
- // 合同争议表格数据
149
- bizContractDisputeList: [],
150
- // 弹出层标题
151
- title: "",
152
- // 是否显示弹出层
153
- open: false,
154
- // 查询参数
155
- queryParams: {
156
- pageNum: 1,
157
- pageSize: 10,
158
- contractId: null,
159
- dispute: null,
160
- disputeType: null,
161
- disputeState: null,
162
- },
163
- // 表单参数
164
- form: {},
165
- // 表单校验
166
- rules: {},
167
- //
168
- recordOpen: false,
169
- //
170
- contractId: null,
171
- };
172
- },
173
- created() {},
174
- methods: {
175
- handleShow(contractId) {
176
- this.queryParams.contractId = contractId;
177
- this.contractId = contractId;
178
- this.queryParams.disputeType = "normal";
179
- this.getList();
180
- this.recordOpen = true;
181
- this.title = "争议记录";
182
- },
183
- /** 查询合同争议列表 */
184
- getList() {
185
- this.loading = true;
186
- listBizContractDispute(this.queryParams).then((response) => {
187
- this.bizContractDisputeList = response.rows;
188
- this.total = response.total;
189
- this.loading = false;
190
- });
191
- },
192
- // 取消按钮
193
- cancel() {
194
- this.open = false;
195
- this.reset();
196
- },
197
- // 表单重置
198
- reset() {
199
- this.form = {
200
- contractDisputeId: null,
201
- contractId: null,
202
- dispute: null,
203
- disputeType: null,
204
- disputeState: null,
205
- createTime: null,
206
- updateTime: null,
207
- };
208
- this.resetForm("form");
209
- },
210
- /** 搜索按钮操作 */
211
- handleQuery() {
212
- this.queryParams.pageNum = 1;
213
- this.getList();
214
- },
215
- /** 重置按钮操作 */
216
- resetQuery() {
217
- this.resetForm("queryForm");
218
- this.handleQuery();
219
- },
220
- // 多选框选中数据
221
- handleSelectionChange(selection) {
222
- this.ids = selection.map((item) => item.contractDisputeId);
223
- this.single = selection.length !== 1;
224
- this.multiple = !selection.length;
225
- },
226
- /** 新增按钮操作 */
227
- handleAdd() {
228
- this.reset();
229
- this.open = true;
230
- this.form.contractId = this.contractId;
231
- this.form.disputeType = "normal";
232
- this.title = "添加合同争议";
233
- },
234
- /** 修改按钮操作 */
235
- handleUpdate(row) {
236
- this.reset();
237
- const contractDisputeId = row.contractDisputeId || this.ids;
238
- getBizContractDispute(contractDisputeId).then((response) => {
239
- this.form = response.data;
240
- this.form?.pictures?.forEach((element) => {
241
- element.name = element.fileName;
242
- element.path = element.fileFullPath;
243
- element.url = element.generateUrl;
244
- });
245
- this.open = true;
246
- this.title = "修改合同争议";
247
- });
248
- },
249
- /** 提交按钮 */
250
- submitForm() {
251
- this.$refs["form"].validate((valid) => {
252
- if (valid) {
253
- if (this.form.contractDisputeId != null) {
254
- updateBizContractDispute(this.form).then((response) => {
255
- this.$modal.msgSuccess("修改成功");
256
- this.open = false;
257
- this.getList();
258
- });
259
- } else {
260
- addBizContractDispute(this.form).then((response) => {
261
- this.$modal.msgSuccess("新增成功");
262
- this.open = false;
263
- updateBizContract({
264
- contractId: this.form.contractId,
265
- contractStatus: "pending_processing",
266
- });
267
- this.getList();
268
- });
269
- }
270
- }
271
- });
272
- },
273
- /** 删除按钮操作 */
274
- handleDelete(row) {
275
- const contractDisputeIds = row.contractDisputeId || this.ids;
276
- this.$modal
277
- .confirm(
278
- '是否确认删除合同争议编号为"' + contractDisputeIds + '"的数据项?'
279
- )
280
- .then(function () {
281
- return delBizContractDispute(contractDisputeIds);
282
- })
283
- .then(() => {
284
- this.getList();
285
- this.$modal.msgSuccess("删除成功");
286
- })
287
- .catch(() => {});
288
- },
289
- //处理完成
290
- handleComplete(row) {
291
- this.form.contractDisputeId = row.contractDisputeId;
292
- this.form.disputeState = true;
293
- updateBizContractDispute(this.form).then((response) => {
294
- this.$modal.msgSuccess("修改成功");
295
- this.open = false;
296
- this.getList();
297
- });
298
- },
299
- /** 导出按钮操作 */
300
- handleExport() {
301
- this.download(
302
- "biz/contract/dispute/export",
303
- {
304
- ...this.queryParams,
305
- },
306
- `bizContractDispute_${new Date().getTime()}.xlsx`
307
- );
308
- },
309
- },
310
- };
311
- </script>
@@ -1,205 +0,0 @@
1
- <template>
2
- <div>
3
- <el-row :gutter="5" v-if="this.form.contractType == 'purchase'">
4
- <el-col :span="12">
5
- <el-container style="height: 1200px">
6
- <el-main>
7
- <contract-by-no
8
- :contractNo="form.contractNo"
9
- :portDictList="portDictList"
10
- :countryDictList="countryDictList"
11
- ></contract-by-no>
12
- </el-main>
13
- </el-container>
14
- </el-col>
15
-
16
- <el-col :span="12">
17
- <el-container style="height: 1200px">
18
- <el-main>
19
- <div
20
- v-for="item in form.purchaseContractNos || form.saleContractNos"
21
- :key="item"
22
- >
23
- <contract-by-no
24
- v-if="item"
25
- :contractNo="item"
26
- :portDictList="portDictList"
27
- :countryDictList="countryDictList"
28
- ></contract-by-no>
29
- </div>
30
- </el-main>
31
- </el-container>
32
- </el-col>
33
- </el-row>
34
- <el-row :gutter="5" v-else>
35
- <el-col :span="12">
36
- <el-container style="height: 1200px">
37
- <el-main>
38
- <div
39
- v-for="item in form.purchaseContractNos || form.saleContractNos"
40
- :key="item"
41
- >
42
- <contract-by-no
43
- v-if="item"
44
- :contractNo="item"
45
- :portDictList="portDictList"
46
- :countryDictList="countryDictList"
47
- ></contract-by-no>
48
- </div>
49
- </el-main>
50
- </el-container>
51
- </el-col>
52
-
53
- <el-col :span="12">
54
- <el-container style="height: 1200px">
55
- <el-main>
56
- <contract-by-no
57
- :contractNo="form.contractNo"
58
- :portDictList="portDictList"
59
- :countryDictList="countryDictList"
60
- ></contract-by-no>
61
- </el-main>
62
- </el-container>
63
- </el-col>
64
- </el-row>
65
- </div>
66
- </template>
67
-
68
- <script>
69
- import {
70
- getBizContract,
71
- listBizContract,
72
- associationContract,
73
- getBizContractByNo,
74
- } from "../../../api/biz/bizContract";
75
-
76
- import ContractByNo from "./contract";
77
- import { portDictList, listDictData } from "../../../api/biz/dictData";
78
-
79
- export default {
80
- name: "ContractEdit",
81
- components: { ContractByNo },
82
- data() {
83
- return {
84
- // 遮罩层
85
- loading: true,
86
- // 弹出层标题
87
- title: "",
88
- // 是否显示弹出层
89
- open: false,
90
- // 表单参数
91
- form: {},
92
- //港口数据列表
93
- portDictList: [],
94
- //国家数据李北奥
95
- countryDictList: [],
96
- };
97
- },
98
- created() {
99
- const contractNo = this.$route.params && this.$route.params.contractNo;
100
- this.getBizContractByNo(contractNo);
101
- this.getPortDictList();
102
- this.getCountryDictList();
103
- },
104
- methods: {
105
- //获取国家数据列表
106
- getCountryDictList() {
107
- const dictData = {
108
- dictType: "Country",
109
- pageNum: 1,
110
- pageSize: 999,
111
- orderByColumn: "dictValue",
112
- isAsc: "asc",
113
- };
114
- listDictData(dictData).then((response) => {
115
- this.countryDictList = response.rows;
116
- });
117
- },
118
- //获取港口数据列表
119
- getPortDictList() {
120
- portDictList().then((response) => {
121
- this.portDictList = response.rows;
122
- });
123
- },
124
- getBizContractByNo(contractNo) {
125
- this.reset();
126
- getBizContractByNo(contractNo).then((response) => {
127
- this.form = response.data;
128
- });
129
- },
130
- // 表单重置
131
- reset() {
132
- this.form = {
133
- contractId: null,
134
- transactionId: null,
135
- dealId: null,
136
- askId: null,
137
- askName: null,
138
- contractNo: null,
139
- contractType: null,
140
- quoteType: null,
141
- currency: null,
142
- buyerAccountId: null,
143
- buyCompanyId: null,
144
- buyContractCompanyId: null,
145
- buyCompanyName: null,
146
- buyCompanyNameEn: null,
147
- buyCompanyAddress: null,
148
- supplierAccountId: null,
149
- supplierCompanyId: null,
150
- supplierContractCompanyId: null,
151
- supplierCompanyName: null,
152
- supplierCompanyNameEn: null,
153
- supplierCompanyAddress: null,
154
- totalWeight: null,
155
- serviceFee: null,
156
- serviceFeeSwitch: null,
157
- freightTerms: null,
158
- deposit: null,
159
- depositDays: null,
160
- balance: null,
161
- balanceDays: null,
162
- balancePaymentType: null,
163
- balancePaymentForm: null,
164
- loadingCountry: null,
165
- originCountry: null,
166
- destination: null,
167
- numberOfContainersForTwenty: null,
168
- numberOfContainersForForty: null,
169
- numberOfContainersForTwentyOrForty: null,
170
- toleranceFloat: null,
171
- weightTolerance: null,
172
- latestShipment: null,
173
- livePriceSwitch: null,
174
- livePriceDays: null,
175
- livePriceForm: null,
176
- livePriceUsertype: null,
177
- requiredDocuments: null,
178
- qualityCertificate: null,
179
- qualityCertificateSwitch: null,
180
- claim: null,
181
- claimSwitch: null,
182
- arbitration: null,
183
- arbitrationSwitch: null,
184
- memo: null,
185
- memoSwitch: null,
186
- contractState: null,
187
- invoiceState: null,
188
- remark: null,
189
- imported: null,
190
- submitFlag: null,
191
- createTime: null,
192
- updateTime: null,
193
- completionTime: null,
194
- dealTime: null,
195
- contractStatus: "0",
196
- contractFlag: null,
197
- submitEndTime: null,
198
- saleContractNos: null,
199
- purchaseContractNos: null,
200
- };
201
- this.resetForm("form");
202
- },
203
- },
204
- };
205
- </script>
@@ -1,120 +0,0 @@
1
- <template>
2
- <div class="app-container">
3
- <!-- 合同争议详情对话框 -->
4
- <el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
5
- <el-table
6
- ref="multipleTable"
7
- :data="bizContractDisputeList"
8
- @selection-change="handleSelectionChange"
9
- >
10
- <el-table-column type="selection" width="55" align="center" />
11
- <el-table-column align="center" width="180px">
12
- <template slot-scope="{ row }">
13
- {{
14
- "【" +
15
- (contractType && contractType == "sale"
16
- ? "买家争议"
17
- : "卖家争议") +
18
- "】" +
19
- row.createTime
20
- }}
21
- </template>
22
- </el-table-column>
23
- <el-table-column align="center" prop="dispute" />
24
- </el-table>
25
- <div slot="footer" class="dialog-footer">
26
- <el-button type="primary" @click="submitForm">确 定</el-button>
27
- <el-button @click="cancel">取 消</el-button>
28
- </div>
29
- </el-dialog>
30
- </div>
31
- </template>
32
-
33
- <script>
34
- import {
35
- listBizContractDispute,
36
- getBizContractDispute,
37
- delBizContractDispute,
38
- addBizContractDispute,
39
- updateBizContractDispute,
40
- } from "../../../api/biz/bizContractDispute";
41
-
42
- import { sendDrafEmail } from "../../../api/biz/bizContract";
43
-
44
- export default {
45
- name: "SendDrafEmail",
46
- data() {
47
- return {
48
- // 遮罩层
49
- loading: true,
50
- // 弹出层标题
51
- title: "",
52
- // 是否显示弹出层
53
- open: false,
54
- // 表单参数
55
- form: {},
56
- // 合同争议表格数据
57
- bizContractDisputeList: [],
58
- //合同类型
59
- contractType: "",
60
- // 非单个禁用
61
- single: true,
62
- // 非多个禁用
63
- multiple: true,
64
- //
65
- selectionContractDisPuteList: [],
66
- //
67
- contract: null,
68
- };
69
- },
70
- created() {},
71
- mounted() {},
72
- methods: {
73
- /** 提交按钮 */
74
- submitForm() {
75
- this.contract.contractDisputeList = this.selectionContractDisPuteList;
76
- sendDrafEmail(this.contract).then((response) => {
77
- this.$modal.msgSuccess("发送成功");
78
- this.open = false;
79
- });
80
- },
81
- // 取消按钮
82
- cancel() {
83
- this.open = false;
84
- this.reset();
85
- },
86
- // 多选框选中数据
87
- handleSelectionChange(selection) {
88
- this.selectionContractDisPuteList = selection;
89
- this.ids = selection.map((item) => item.contractDisputeId);
90
- this.single = selection.length !== 1;
91
- this.multiple = !selection.length;
92
- },
93
- // 表单重置
94
- reset() {
95
- this.form = {
96
- contractDisputeId: null,
97
- contractId: null,
98
- dispute: null,
99
- disputeType: null,
100
- disputeState: null,
101
- createTime: null,
102
- updateTime: null,
103
- };
104
- this.resetForm("form");
105
- },
106
- /** 展示按钮操作 */
107
- handleSend(contractDisputeList, contract) {
108
- this.contractType = contract.contractType;
109
- this.contract = contract;
110
- this.title = "请确认发送邮件,并勾选你已经处理完成的争议";
111
- this.bizContractDisputeList = contractDisputeList;
112
- this.selectionContractDisPuteList = contractDisputeList;
113
- this.$nextTick(() => {
114
- this.$refs.multipleTable.toggleAllSelection();
115
- });
116
- this.open = true;
117
- },
118
- },
119
- };
120
- </script>