Browse Source

口岸监管服务信息系统(一企一册)-企业台账管理,备案单价不为整数时,备案总价计算不准确

CzRger 8 months ago
parent
commit
042367aed4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      snowy-admin-web/src/views/yqyc/zero/enterprise-ledger/detail.vue

+ 1 - 1
snowy-admin-web/src/views/yqyc/zero/enterprise-ledger/detail.vue

@@ -1265,7 +1265,7 @@ const onChangeRecordQuantity = () => {
 const onChangeRecordPrice = () => {
 	setTimeout(() => {
 		if (proxy.$util.isValue(bodyData.value.recordQuantity) && proxy.$util.isValue(bodyData.value.recordPrice)) {
-			bodyData.value.recordTotalPrice = Number(bodyData.value.recordQuantity) * Number(bodyData.value.recordPrice)
+			bodyData.value.recordTotalPrice = proxy.$util.multiplication(bodyData.value.recordQuantity, bodyData.value.recordPrice)
 		} else {
 			bodyData.value.recordTotalPrice = ''
 		}