提交
This commit is contained in:
1 parent
731bbf878a
commit
f4bbe3e06e
56 files changed
+13599
-11335
No files matched your search
@@ -2847,15 +2847,6 @@
|
||||
|
||||
if (parsed.contractAmount != null) {
|
||||
filledLabels.push('合同金额')
|
||||
const sampleTotal = formData.samples.reduce(
|
||||
(sum, s) => sum + (Number(s.price) || 0),
|
||||
0
|
||||
)
|
||||
if (sampleTotal > 0 && Math.abs(sampleTotal - Number(parsed.contractAmount)) > 0.01) {
|
||||
warnings.push(
|
||||
`样本优惠价合计 ${sampleTotal} 与合同金额 ${parsed.contractAmount} 不一致,请核对样本价格`
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
if (parsed.transportModeText && !parsed.transportType) {
|
||||
|
||||
Reference in new issue
Block a user