浏览代码

修复bug

ZaiZai 1 周之前
父节点
当前提交
0875a20e44
共有 2 个文件被更改,包括 4 次插入2 次删除
  1. 1 1
      public/version.json
  2. 3 1
      src/views/project/debit/contract/components/unit/row-data.vue

+ 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(单价)