|
@@ -150,7 +150,7 @@
|
|
|
<script setup>
|
|
|
import { nextTick, ref, watch } from 'vue'
|
|
|
|
|
|
-import { isNumberReg } from '~uti/tools'
|
|
|
+import { isNumberReg, keepdecimal } from '~uti/tools'
|
|
|
import HcBillBaseModal from './addBillBaseModal.vue'
|
|
|
import qualityRleation from './qualityRleation.vue'
|
|
|
import { arrDelKey, arrToId, arrToKey, deepClone, getArrValue, getObjValue, getRandom, isArrIndex, isNullES } from 'js-fast-way'
|
|
@@ -535,8 +535,8 @@ const compareRowUnpayRatio = (row, type)=>{
|
|
|
}
|
|
|
}
|
|
|
const unPayRatioBlur = (row)=>{
|
|
|
+ row.payRatio = keepdecimal(row.payRatio)
|
|
|
nextTick(()=>{
|
|
|
- console.log(row, 'rowzhifubili')
|
|
|
let payRatio = new BigNumber(row.payRatio )//本期支付比例
|
|
|
let changeTotal = new BigNumber(row.changeTotal )//变更后数量
|
|
|
// 本期计量数量=本期支付比例*变更后数量
|