From 0210e3dcaf41da702bf5ae2111a2bba976bfde37 Mon Sep 17 00:00:00 2001
From: zhouxueli <2841188632@qq.com>
Date: Mon, 17 Feb 2025 15:24:54 +0800
Subject: [PATCH] =?UTF-8?q?story#=EF=BC=8C=E8=A1=A5=E5=85=85=E7=BB=93?=
=?UTF-8?q?=E7=AE=97=E5=8D=95=E9=A1=B5=E9=9D=A2=EF=BC=8C=E6=8F=90=E4=BA=A4?=
=?UTF-8?q?=E6=8C=89=E9=92=AE=E6=98=BE=E7=A4=BA=E6=B7=BB=E5=8A=A0=E9=80=BB?=
=?UTF-8?q?=E8=BE=91=E5=88=A4=E6=96=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/index/supplySettlement.vue | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/views/index/supplySettlement.vue b/src/views/index/supplySettlement.vue
index 922dc293..7683767a 100644
--- a/src/views/index/supplySettlement.vue
+++ b/src/views/index/supplySettlement.vue
@@ -58,7 +58,7 @@
-
@@ -86,7 +86,9 @@ export default {
waitAmount:'',
dilemmaFee:'',
customerAmount:'',
- taskFlowId:''
+ taskFlowId:'',
+ auditStatus:'',
+ finishTime:'',
}
}
},
@@ -97,6 +99,14 @@ export default {
this.orderCode = urlParams.get('orderCode')
await this.getDetail()
},
+ computed:{
+ taskCostShow() {
+ return this.form.auditStatus && !([3, 4, 6].includes(this.form.auditStatus))
+ },
+ finishLt7(){
+ return !this.form.finishTime || (this.form.finishTime && new Date().getTime() - new Date(this.form.finishTime).getTime() <= 7 * 24 * 60 * 60 * 1000)
+ },
+ },
methods:{
handleInput(event) {
const newValue = parseInt(event.target.value, 10);
@@ -118,7 +128,6 @@ export default {
})
leftCopy(this.form,{...res.data});
this.supplierSettlementType= res.data.supplierSettlementType?.code
- // this.form.taskFlowId =1
},
async updatSettlement(){
let result =await updateOrderSettlement({