From d9ed066b5d0841ce221aca2fc98897e5066adac6 Mon Sep 17 00:00:00 2001 From: jiangweiguo <1578967617@qq.com> Date: Fri, 22 Nov 2024 15:00:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=962?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ApprovalProcess/index.vue | 135 ++++----- src/components/MyGetPlanListCard/index.vue | 4 +- src/components/MyPayListCard/index.vue | 204 ++++++++++---- src/components/MyPayPlanListCard/index.vue | 5 +- .../MyProtocolFrameworkCard/index.vue | 9 +- src/components/MySupplierAdListCard/index.vue | 2 +- src/views/contract/customerCompany/index.vue | 2 +- .../contract/myCustom/components/UserList.vue | 138 ++++++---- .../myCustomerCompany/components/UserList.vue | 4 +- .../contract/myCustomerCompany/index.vue | 2 +- .../myGetPlan/components/UserList.vue | 16 +- src/views/contract/myGetPlan/index.vue | 2 +- .../myMateriel/components/UserList.vue | 4 +- src/views/contract/myMateriel/index.vue | 2 +- .../myPay/components/HeaderFilter.vue | 258 ++++++++++++++---- .../contract/myPay/components/ImgList.vue | 148 ++++++---- .../contract/myPay/components/UserList.vue | 169 +++++++----- .../myPayPlan/components/UserList.vue | 7 +- src/views/contract/myPayPlan/index.vue | 2 +- .../components/UserList.vue | 10 +- .../contract/myProtocolFramework/index.vue | 2 +- .../myQuotationSheet/components/UserList.vue | 11 +- src/views/contract/myQuotationSheet/index.vue | 2 +- .../components/UserList.vue | 4 +- .../myQuotationSheetBidding/index.vue | 2 +- .../mySupplier/components/HeaderFilter.vue | 185 ++++++++++--- .../mySupplierAd/components/UserList.vue | 4 +- src/views/contract/mySupplierAd/index.vue | 2 +- .../mySupplierMsg/components/UserList.vue | 4 +- src/views/contract/mySupplierMsg/index.vue | 2 +- src/views/contract/payPlan/index.vue | 21 +- .../contract/protocolFramework/index.vue | 20 +- src/views/contract/supplierMsg/index.vue | 14 +- 33 files changed, 938 insertions(+), 458 deletions(-) diff --git a/src/components/ApprovalProcess/index.vue b/src/components/ApprovalProcess/index.vue index 0fc9153..049ab7e 100644 --- a/src/components/ApprovalProcess/index.vue +++ b/src/components/ApprovalProcess/index.vue @@ -5,9 +5,9 @@
发起人信息:
-
{{startObj.startUser.nickname}}
-
{{startObj.startUser.deptName}}
-
{{ parseTime(startObj.createTime)}}
+
{{ startObj.startUser.nickname }}
+
{{ startObj.startUser.deptName }}
+
{{ parseTime(startObj.createTime) }}
@@ -15,14 +15,20 @@
- {{handleFilterStatus(step.result)}} + {{ + handleFilterStatus(step.result) + }}
{{ step.assigneeUser?.nickname }}
-
审批时间: {{ parseTime(step.endTime) || '-' }}
-
部门:{{ step.assigneeUser?.deptName }}
-
审批意见:{{ step.reason }}
+
+ 审批时间: {{ parseTime(step.endTime) || '-' }} +
+
+ 部门:{{ step.assigneeUser?.deptName }} +
+
审批意见:{{ step.reason }}
@@ -33,8 +39,8 @@ - \ No newline at end of file + diff --git a/src/components/MyGetPlanListCard/index.vue b/src/components/MyGetPlanListCard/index.vue index ed19ed4..86ba6ec 100644 --- a/src/components/MyGetPlanListCard/index.vue +++ b/src/components/MyGetPlanListCard/index.vue @@ -32,10 +32,10 @@
- 合同编号:{{ itemData.contractNumber }} + 编号:{{ itemData.contractNumber }}
- 合同名称: {{ itemData.contractName }} + 名称: {{ itemData.contractName }}
客户名称: {{ itemData.customerCompanyName }} diff --git a/src/components/MyPayListCard/index.vue b/src/components/MyPayListCard/index.vue index bafc2d7..0337505 100644 --- a/src/components/MyPayListCard/index.vue +++ b/src/components/MyPayListCard/index.vue @@ -7,33 +7,58 @@
{{}}
-->
-
-
{{handleFilterStatus(DICT_TYPE.BS_EXPENSE_APPLY_STATUS,itemData.status).label}}
+
+
+ {{ + handleFilterStatus( + DICT_TYPE.BS_EXPENSE_APPLY_STATUS, + itemData.status + ).label + }} +
-
- 合同编号: {{itemData.contractNumber}} +
+ 合同编号: {{ itemData.contractNumber }}
-
- 合同名称:{{itemData.contractName}} +
+ 合同名称:{{ itemData.contractName }}
-
- 分期说明:{{itemData.periodName}} +
+ 分期说明:{{ itemData.periodName }}
-
- 供应商名称:{{itemData.supplierName}} +
+ 供应商名称:{{ itemData.supplierName }}
-
- 合同总金额:{{itemData.contractSum}} +
+ 合同总金额:{{ itemData.contractSum }}
-
- 付款金额:{{itemData.actualAmount}} +
+ 付款金额:{{ itemData.actualAmount }}
-
- 付款状态: {{itemData.payMentStatus == 1 ? '已付款' : '未付款'}} +
+ 付款状态: {{ itemData.payMentStatus == 1 ? '已付款' : '未付款' }}
-
- 付款确认时间: {{itemData.paymentAffirmTime ? dayjs(itemData.paymentAffirmTime).format('YY/MM/DD HH:ss') : ''}} +
+ 付款确认时间: + {{ + itemData.paymentAffirmTime + ? dayjs(itemData.paymentAffirmTime).format('YY/MM/DD HH:ss') + : '' + }}
@@ -42,36 +67,118 @@ --> - 查看 - 修改 - 删除 - 付款确认 + 查看 + 修改 + 删除 + 付款确认 - 取消确认 - {{ itemData.payMentStatus == 1 && itemData.status == 2 ? '查看凭证' : itemData.files.length ? '修改凭证' : '上传凭证'}} + 取消确认 + + {{ + itemData.payMentStatus == 1 && itemData.status == 2 + ? '查看凭证' + : itemData.files.length + ? '修改凭证' + : '上传凭证' + }}
- +
- \ No newline at end of file + diff --git a/src/components/MyPayPlanListCard/index.vue b/src/components/MyPayPlanListCard/index.vue index 8a32a5e..efd0258 100644 --- a/src/components/MyPayPlanListCard/index.vue +++ b/src/components/MyPayPlanListCard/index.vue @@ -21,7 +21,10 @@
预计付款时间: - {{ dayjs(itemData.planTime || '').format('YYYY/MM/DD') }} + {{ + itemData.planTime && + dayjs(itemData.planTime).format('YYYY/MM/DD') + }}
diff --git a/src/components/MyProtocolFrameworkCard/index.vue b/src/components/MyProtocolFrameworkCard/index.vue index 0e806ed..081aeec 100644 --- a/src/components/MyProtocolFrameworkCard/index.vue +++ b/src/components/MyProtocolFrameworkCard/index.vue @@ -28,11 +28,16 @@
签订日期: - {{ dayjs(itemData.startTime || '').format('YYYY/MM/DD') }} + {{ + itemData.startTime && + dayjs(itemData.startTime).format('YYYY/MM/DD') + }}
截止日期: - {{ dayjs(itemData.endTime || '').format('YYYY/MM/DD') }} + {{ + itemData.endTime && dayjs(itemData.endTime).format('YYYY/MM/DD') + }}
diff --git a/src/components/MySupplierAdListCard/index.vue b/src/components/MySupplierAdListCard/index.vue index 357013d..88db5d2 100644 --- a/src/components/MySupplierAdListCard/index.vue +++ b/src/components/MySupplierAdListCard/index.vue @@ -47,7 +47,7 @@
投标截止时间: {{ - itemData.createTime && + itemData.cutoffTimeDate && dayjs(itemData.cutoffTimeDate).format('YY/MM/DD') }}
diff --git a/src/views/contract/customerCompany/index.vue b/src/views/contract/customerCompany/index.vue index 8027b54..4edc3d5 100644 --- a/src/views/contract/customerCompany/index.vue +++ b/src/views/contract/customerCompany/index.vue @@ -122,7 +122,7 @@ import dayjs from 'dayjs' import { getCustomerCompany } from '@/api/bs/myCustomerCompany' export default { - name: 'contract-supplierMsg', + name: 'contract-customerCompany', components: { UploadFile: () => import('@/components/UploadFile'), RePick: () => import('@/components/ReComponents/RePick'), diff --git a/src/views/contract/myCustom/components/UserList.vue b/src/views/contract/myCustom/components/UserList.vue index 82ee7ef..62dbd87 100644 --- a/src/views/contract/myCustom/components/UserList.vue +++ b/src/views/contract/myCustom/components/UserList.vue @@ -1,27 +1,47 @@ @@ -217,7 +227,8 @@ export default { name: 'contract-protocolFramework', components: { RePick: () => import('@/components/ReComponents/RePick'), - BottomBtn: () => import('@/components/BottomBtn') + BottomBtn: () => import('@/components/BottomBtn'), + ApprovalProcess: () => import('@/components/ApprovalProcess') }, data() { return { @@ -227,7 +238,8 @@ export default { // 遮罩层 loading: true, // 表单参数 - form: {} + form: {}, + accessId: null } }, computed: { @@ -260,7 +272,9 @@ export default { }) } }, - + handleSetAccessId(id) { + this.accessId = id + }, handleBtConfirm() { console.log(111) } diff --git a/src/views/contract/supplierMsg/index.vue b/src/views/contract/supplierMsg/index.vue index e18fa3c..ff0544f 100644 --- a/src/views/contract/supplierMsg/index.vue +++ b/src/views/contract/supplierMsg/index.vue @@ -249,12 +249,12 @@ export default { } }, created() { - this.$loading(true) + this.handleInitForm() + /* this.$loading(true) this.handleInitList().then(() => { this.$loading(false) this.handleInitForm() - }) - console.log(this.getDictDatas(this.DICT_TYPE.BS_ENTERPRISEL_TYPE), 'pppp') + }) */ }, methods: { handleInitForm() { @@ -293,22 +293,22 @@ export default { }, handleInitList() { return new Promise((resolve) => { - listData({ + /* listData({ pageNo: 1, pageSize: 50, dictType: 'material_type' }).then((res) => { this.gysTypeList = res.data.list || [] resolve() - }) - listData({ + }) */ + /* listData({ pageNo: 1, pageSize: 50, dictType: 'gys_level' }).then((res) => { this.gysLevelList = res.data.list || [] resolve() - }) + }) */ }) }, handleBtConfirm() {