This commit is contained in:
2025-09-04 18:42:45 +08:00
parent 23b6551829
commit 0f439c9220
17 changed files with 1468 additions and 452 deletions

View File

@ -195,7 +195,9 @@
(scope.row.useQuantity ? Number(scope.row.useQuantity) : 0) -
(scope.row.selectNum ? Number(scope.row.selectNum) : 0) ==
0
? ''
? activeTab == 2
? 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)
@ -613,17 +615,21 @@ const changeBiddingTime = (value: any, row: any) => {
};
//修改合同金额
const changeContractPrice = (value: any, row: any) => {
updateTenderPlan({
...row
}).then((res) => {
if (res.code == 200) {
ElMessage({
message: '修改成功',
type: 'success'
});
getList();
}
});
if (value <= Number(row.price)) {
updateTenderPlan({
...row
}).then((res) => {
if (res.code == 200) {
ElMessage({
message: '修改成功',
type: 'success'
});
getList();
}
});
} else {
ElMessage.error('合同金额不能大于限价金额');
}
};
//上传投标文件