فهرست منبع

冲抵金额计算

duy 2 سال پیش
والد
کامیت
866afa034e
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/views/expense/finReimburse/record.vue
  2. 1 1
      src/views/home/task/task-details.vue

+ 1 - 1
src/views/expense/finReimburse/record.vue

@@ -285,7 +285,7 @@ const changeDeductLoan = (val)=>{
  if (val) {
     loanListData.value.forEach((ele)=>{
         if (ele.id === val) {
-            detailsData.value.frMoneyActual = totalFrMoney.value - Number(ele.loanOutstandingBalance) > 0 ? totalFrMoney.value - Number(ele.loanOutstandingBalance) : null
+            detailsData.value.frMoneyActual = totalFrMoney.value - Number(ele.loanMoney) > 0 ? totalFrMoney.value - Number(ele.loanMoney) : null
         }
     })
  } else {

+ 1 - 1
src/views/home/task/task-details.vue

@@ -84,7 +84,7 @@
                     </el-select> -->
                 <HcListItem v-if="otherInfo?.isDeductLoan === 1" title="借款项" :content="otherInfo?.deductLoanInfo" />
            
-                <HcListItem v-if="otherInfo?.isDeductLoan === 1" title="归属冲抵后的实际报销金额:" :content="otherInfo?.frMoneyActual" />
+                <HcListItem v-if="otherInfo?.isDeductLoan === 1" title="归属冲抵后的实际报销金额:" :content="otherInfo?.loanOutstandingBalance" />
                 <!-- <HcListItem title="备注信息:" content="备注数据"/> -->
             </div>
             <!-- 出差审批 -->