修改9.06bug

This commit is contained in:
ljx
2025-09-06 18:18:31 +08:00
parent dd594676ac
commit 52342e6623
6 changed files with 31 additions and 14 deletions

View File

@ -29,7 +29,13 @@
<el-table-column prop="plannedBiddingTime" align="center">
<template #header> <span style="color: red">*</span>计划招标时间 </template>
<template #default="scope">
<el-date-picker v-model="scope.row.plannedBiddingTime" type="date" value-format="YYYY-MM-DD" placeholder="选择时间" />
<el-date-picker
v-model="scope.row.plannedBiddingTime"
type="date"
value-format="YYYY-MM-DD"
placeholder="选择时间"
:disabled="scope.row.status == 0"
/>
</template>
</el-table-column>
<el-table-column prop="price" label="操作" align="center">
@ -143,9 +149,11 @@
(scope.row.selectNum ? Number(scope.row.selectNum) : 0) ==
0
? ''
: (scope.row.quantity ? Number(scope.row.quantity) : 0) -
(scope.row.selectNum ? Number(scope.row.selectNum) : 0) -
(scope.row.useQuantity ? Number(scope.row.useQuantity) : 0)
: (
(scope.row.quantity ? Number(scope.row.quantity) : 0) -
(scope.row.selectNum ? Number(scope.row.selectNum) : 0) -
(scope.row.useQuantity ? Number(scope.row.useQuantity) : 0)
).toFixed(2)
}}
</template>
</el-table-column>