doctor-admin-components 1.0.13-beta.4 → 1.0.13-beta.40

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 (44) hide show
  1. package/README.md +18 -7
  2. package/package.json +1 -1
  3. package/packages/index.js +4 -0
  4. package/packages/src/api/biz/bizContract.js +963 -1
  5. package/packages/src/api/biz/bizContractCompany.js +1 -1
  6. package/packages/src/assets/images/click-show-table.png +0 -0
  7. package/packages/src/assets/images/more.png +0 -0
  8. package/packages/src/assets/images/pdf-new.png +0 -0
  9. package/packages/src/components/FileUpload/contract-drag-new.vue +89 -8
  10. package/packages/src/i18n/en/message.json +259 -0
  11. package/packages/src/i18n/index.js +38 -0
  12. package/packages/src/i18n/zh-CN/message.json +259 -0
  13. package/packages/src/utils/index.js +35 -0
  14. package/packages/src/utils/request.js +120 -146
  15. 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
  16. package/packages/src/views/biz/bizFileInfo/contract copy.vue +1711 -0
  17. package/packages/src/views/biz/bizFileInfo/contract.vue +1591 -967
  18. package/packages/src/views/biz/bizFileInfo/contractFile/BillOfLadingNoTab.vue +114 -0
  19. package/packages/src/views/biz/bizFileInfo/contractFile/ContentTitle.vue +102 -0
  20. package/packages/src/views/biz/bizFileInfo/contractFile/IMGPreviewCheckBox.vue +280 -0
  21. package/packages/src/views/biz/bizFileInfo/contractFile/Progress.vue +84 -0
  22. package/packages/src/views/biz/bizFileInfo/contractFile/ProgressDetail.vue +122 -0
  23. package/packages/src/views/biz/bizFileInfo/contractFile/SectionSlot.vue +83 -0
  24. package/packages/src/views/biz/bizFileInfo/fileShow copy.vue +321 -0
  25. package/packages/src/views/biz/bizFileInfo/fileShow.vue +178 -130
  26. package/packages/src/views/biz/bizFileInfo/fileShowClaim.vue +1 -1
  27. package/packages/src/views/biz/bizShipment/add.vue +111 -66
  28. package/packages/src/views/biz/contractTracing/addSubCompany.vue +106 -169
  29. package/packages/src/views/biz/contractTracing/billInfo.vue +150 -315
  30. package/packages/src/views/biz/contractTracing/contractPdf.vue +31 -20
  31. package/packages/src/views/biz/contractTracing/contractSummary.vue +286 -629
  32. package/packages/src/views/biz/contractTracing/contractTracingDetail copy.vue +107 -0
  33. package/packages/src/views/biz/contractTracing/contractTracingDetail.vue +202 -8
  34. package/packages/src/views/biz/contractTracing/editBill.vue +219 -359
  35. package/packages/src/views/biz/contractTracing/purchaseInvoiceUpload.vue +91 -3
  36. package/packages/src/views/biz/contractTracing/shipmentPurchaseAmount.vue +8 -2
  37. package/packages/src/views/biz/contractTracing/subCompanyDialog.vue +196 -176
  38. package/packages/src/views/biz/contractTracing/association.vue +0 -189
  39. package/packages/src/views/biz/contractTracing/chargingDialog.vue +0 -84
  40. package/packages/src/views/biz/contractTracing/contract.vue +0 -1276
  41. package/packages/src/views/biz/contractTracing/disputeRecord.vue +0 -311
  42. package/packages/src/views/biz/contractTracing/edit.vue +0 -205
  43. package/packages/src/views/biz/contractTracing/sendDrafEmail.vue +0 -120
  44. package/packages/src/views/biz/contractTracing/shipment.vue +0 -601
@@ -1,189 +0,0 @@
1
- <template>
2
- <div class="app-container">
3
- <!-- 合同详情对话框 -->
4
- <el-dialog :title="title" :visible.sync="open" width="550px" append-to-body>
5
- <el-form ref="form" :model="form" label-width="100px">
6
- <el-form-item label="合同编号" v-if="form.contractType == 'purchase'">
7
- <el-select
8
- v-model="form.saleContractNos"
9
- placeholder=""
10
- multiple
11
- filterable
12
- remote
13
- :remote-method="selectContract"
14
- >
15
- <el-option
16
- v-for="item in this.saleContractList"
17
- :key="item.contractId"
18
- :label="item.contractNo"
19
- :value="item.contractNo"
20
- />
21
- </el-select>
22
- </el-form-item>
23
-
24
- <el-form-item label="合同编号" v-if="form.contractType == 'sale'">
25
- <el-select
26
- v-model="form.purchaseContractNos"
27
- placeholder=""
28
- multiple
29
- filterable
30
- remote
31
- :remote-method="selectContract"
32
- >
33
- <el-option
34
- v-for="item in this.purchaseContractList"
35
- :key="item.contractId"
36
- :label="item.contractNo"
37
- :value="item.contractNo"
38
- />
39
- </el-select>
40
- </el-form-item>
41
- </el-form>
42
- <div slot="footer" class="dialog-footer">
43
- <el-button type="primary" @click="submitForm">确 定</el-button>
44
- <el-button @click="cancel">取 消</el-button>
45
- </div>
46
- </el-dialog>
47
- </div>
48
- </template>
49
-
50
- <script>
51
- import {
52
- getBizContract,
53
- listBizContract,
54
- associationContract,
55
- } from "../../../api/biz/bizContract";
56
-
57
- export default {
58
- name: "AssociationContract",
59
- data() {
60
- return {
61
- // 遮罩层
62
- loading: true,
63
- // 弹出层标题
64
- title: "",
65
- // 是否显示弹出层
66
- open: false,
67
- // 表单参数
68
- form: {},
69
- //销售合同选项表
70
- saleContractList: [],
71
- //采购合同选项表
72
- purchaseContractList: [],
73
- };
74
- },
75
- created() {},
76
- methods: {
77
- selectContract(query) {
78
- if (this.form.contractType == "sale") {
79
- listBizContract({ contractType: "purchase", contractNo: query }).then(
80
- (res) => {
81
- this.purchaseContractList = res.rows;
82
- }
83
- );
84
- } else {
85
- listBizContract({ contractType: "sale", contractNo: query }).then(
86
- (res) => {
87
- this.saleContractList = res.rows;
88
- }
89
- );
90
- }
91
- },
92
- /** 提交按钮 */
93
- submitForm() {
94
- associationContract(this.form).then((response) => {
95
- this.$modal.msgSuccess("关联成功");
96
- this.open = false;
97
- this.$emit("refresh");
98
- });
99
- },
100
- // 取消按钮
101
- cancel() {
102
- this.open = false;
103
- this.reset();
104
- },
105
- // 表单重置
106
- reset() {
107
- this.form = {
108
- contractId: null,
109
- transactionId: null,
110
- dealId: null,
111
- askId: null,
112
- askName: null,
113
- contractNo: null,
114
- contractType: null,
115
- quoteType: null,
116
- currency: null,
117
- buyerAccountId: null,
118
- buyCompanyId: null,
119
- buyContractCompanyId: null,
120
- buyCompanyName: null,
121
- buyCompanyNameEn: null,
122
- buyCompanyAddress: null,
123
- supplierAccountId: null,
124
- supplierCompanyId: null,
125
- supplierContractCompanyId: null,
126
- supplierCompanyName: null,
127
- supplierCompanyNameEn: null,
128
- supplierCompanyAddress: null,
129
- totalWeight: null,
130
- serviceFee: null,
131
- serviceFeeSwitch: null,
132
- freightTerms: null,
133
- deposit: null,
134
- depositDays: null,
135
- balance: null,
136
- balanceDays: null,
137
- balancePaymentType: null,
138
- balancePaymentForm: null,
139
- loadingCountry: null,
140
- originCountry: null,
141
- destination: null,
142
- numberOfContainersForTwenty: null,
143
- numberOfContainersForForty: null,
144
- numberOfContainersForTwentyOrForty: null,
145
- toleranceFloat: null,
146
- weightTolerance: null,
147
- latestShipment: null,
148
- livePriceSwitch: null,
149
- livePriceDays: null,
150
- livePriceForm: null,
151
- livePriceUsertype: null,
152
- requiredDocuments: null,
153
- qualityCertificate: null,
154
- qualityCertificateSwitch: null,
155
- claim: null,
156
- claimSwitch: null,
157
- arbitration: null,
158
- arbitrationSwitch: null,
159
- memo: null,
160
- memoSwitch: null,
161
- contractState: null,
162
- invoiceState: null,
163
- remark: null,
164
- imported: null,
165
- submitFlag: null,
166
- createTime: null,
167
- updateTime: null,
168
- completionTime: null,
169
- dealTime: null,
170
- contractStatus: "0",
171
- contractFlag: null,
172
- submitEndTime: null,
173
- saleContractNos: null,
174
- purchaseContractNos: null,
175
- };
176
- this.resetForm("form");
177
- },
178
- /** 展示按钮操作 */
179
- handleAssociation(row) {
180
- this.reset();
181
- getBizContract(row.contractId).then((res) => {
182
- this.form = res.data;
183
- this.open = true;
184
- this.title = "关联合同";
185
- });
186
- },
187
- },
188
- };
189
- </script>
@@ -1,84 +0,0 @@
1
- <!--
2
- * @Author: zhangpengwei 15038779532@163.com
3
- * @Date: 2023-07-31 17:40:56
4
- * @LastEditors: zhangpengwei 15038779532@163.com
5
- * @LastEditTime: 2023-07-31 18:01:49
6
- * @FilePath: /doctor-admin-components/packages/src/views/biz/contractTracing/chargingDialog.vue
7
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
- -->
9
- <template>
10
- <div class="app-container">
11
- <!-- 合同争议详情对话框 -->
12
- <el-dialog :title="title" :visible.sync="open" width="600px" append-to-body>
13
- <file-upload
14
- v-model="form.deliveryReceiptFileList"
15
- :fileType="[]"
16
- ></file-upload>
17
- <div slot="footer" class="dialog-footer">
18
- <el-button type="primary" @click="submitForm">确 定</el-button>
19
- <el-button @click="cancel">取 消</el-button>
20
- </div>
21
- </el-dialog>
22
- </div>
23
- </template>
24
-
25
- <script>
26
- import { chargedShipment } from "../../../api/biz/bizShipment";
27
- import FileUpload from "../../../components/FileUpload/uploadInvoice.vue";
28
-
29
- export default {
30
- name: "ChargingDialog",
31
- components: { FileUpload },
32
- data() {
33
- return {
34
- // 遮罩层
35
- loading: true,
36
- // 弹出层标题
37
- title: "",
38
- // 是否显示弹出层
39
- open: false,
40
- // 表单参数
41
- form: {},
42
- // 非单个禁用
43
- single: true,
44
- // 非多个禁用
45
- multiple: true,
46
- //
47
- contract: null,
48
- };
49
- },
50
- created() {},
51
- mounted() {},
52
- methods: {
53
- /** 提交按钮 */
54
- submitForm() {
55
- chargedShipment(this.form).then((response) => {
56
- this.$modal.msgSuccess("电放成功");
57
- this.$emit("refresh");
58
- this.open = false;
59
- });
60
- },
61
- // 取消按钮
62
- cancel() {
63
- this.open = false;
64
- this.reset();
65
- },
66
- // 表单重置
67
- reset() {
68
- this.form = {
69
- shipmentId: null,
70
- deliveryReceiptFileList: [],
71
- };
72
- this.resetForm("form");
73
- },
74
- /** 展示按钮操作 */
75
- handleShow(shipmentId) {
76
- this.reset();
77
- this.form.shipmentId = shipmentId;
78
- this.title = "请上传电放凭证确认卖家已电放";
79
- this.open = true;
80
- },
81
- },
82
- };
83
- </script>
84
-