Ver Fonte

修复bug

ZaiZai há 1 semana atrás
pai
commit
0875a20e44

+ 1 - 1
public/version.json

@@ -1,3 +1,3 @@
 {
-  "value": "20241111091829"
+  "value": "20241111092831"
 }

+ 3 - 1
src/views/project/debit/contract/components/unit/row-data.vue

@@ -4,7 +4,7 @@
         :loading="addNodeLoading" @save="modalSave" @close="closeDialog"
     >
         <hc-body scrollbar :contents="!isTable">
-            <el-form ref="formRef" label-position="left" label-width="auto" :model="formModel" :rules="formRules">
+            <el-form ref="formRef" label-position="top" :model="formModel" :rules="formRules">
                 <el-row :gutter="20">
                     <el-col :span="6">
                         <el-form-item label="工程名称:">
@@ -341,6 +341,7 @@ const tableColumn = ref([
 
 //计算数据
 const changeBuildPictureTotal = (row) => {
+    if (row.citeStatus === 1) return
     //如果为空
     let buildPictureTotal = row.buildPictureTotal
     const isMeter = isNumberReg(buildPictureTotal)
@@ -361,6 +362,7 @@ const changeBuildPictureTotal = (row) => {
         // residueNum 分解剩余量, changeTotal 变更后合同数量
         // residueNum = changeTotal - poseNum
         row.residueNum = (BigNumber(row.changeTotal).minus(row.poseNum)).toString()
+        console.log('residueNum:', row.residueNum)
 
         // buildPictureMoney 施工图金额
         // buildPictureMoney = buildPictureTotal * currentPrice(单价)