update: 定价逻辑更新

This commit is contained in:
admin 2024-05-06 17:08:49 +08:00
parent 22180697ec
commit 800dc310a7
1 changed files with 3 additions and 0 deletions

View File

@ -520,6 +520,9 @@ watch(
预估总价 结算单价*结算重量 预估总价 结算单价*结算重量
实际收入实际结算金额-运费-杂费 实际收入实际结算金额-运费-杂费
*/ */
if (model1.order.scaleStatus === 0) {
return
}
model1.order.netWeight = parseFloat(((parseFloat(grossWeightNew as any) || 0) - (parseFloat(tareNew as any) || 0)).toFixed(2)); model1.order.netWeight = parseFloat(((parseFloat(grossWeightNew as any) || 0) - (parseFloat(tareNew as any) || 0)).toFixed(2));
if (model1.order.buttonType === 0) { if (model1.order.buttonType === 0) {
if (model1.order.subtractNum) { if (model1.order.subtractNum) {