From 79f93cbf5289080328e42d9a881bf10f0862a431 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 16 一月 2026 13:38:04 +0800
Subject: [PATCH] fix: 开票台账分批编辑金额可超过合同金额
---
src/views/procurementManagement/procurementLedger/index.vue | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index 36ff34b..321038a 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -494,6 +494,7 @@
v-model="productForm.taxInclusiveUnitPrice"
:precision="2"
:step="0.1"
+ :min="0"
clearable
style="width: 100%"
@change="mathNum"
@@ -504,6 +505,7 @@
<el-form-item label="鏁伴噺锛�" prop="quantity">
<el-input-number
:step="0.1"
+ :min="0"
clearable
:precision="2"
style="width: 100%"
@@ -521,6 +523,7 @@
v-model="productForm.taxInclusiveTotalPrice"
:precision="2"
:step="0.1"
+ :min="0"
clearable
style="width: 100%"
@change="reverseMathNum('taxInclusiveTotalPrice')"
@@ -532,12 +535,16 @@
label="涓嶅惈绋庢�讳环(鍏�)锛�"
prop="taxExclusiveTotalPrice"
>
- <el-input
+ <el-input-number
v-model="productForm.taxExclusiveTotalPrice"
+ :precision="2"
+ :min="0"
+ style="width: 100%"
@change="reverseMathNum('taxExclusiveTotalPrice')"
/>
</el-form-item>
</el-col>
+
</el-row>
<el-row :gutter="30">
<el-col :span="12">
@@ -558,10 +565,12 @@
v-model="productForm.warnNum"
:precision="2"
:step="0.1"
+ :min="0"
clearable
style="width: 100%"
/>
</el-form-item>
+
</el-col>
</el-row>
</el-form>
@@ -651,11 +660,13 @@
v-model="scanAddForm.contractAmount"
:precision="2"
:step="0.1"
+ :min="0"
clearable
style="width: 100%"
placeholder="璇疯緭鍏�"
/>
</el-form-item>
+
</el-col>
</el-row>
<el-row :gutter="20">
--
Gitblit v1.9.3