ly 1 سال پیش
والد
کامیت
a61a6fb8b1
2فایلهای تغییر یافته به همراه17 افزوده شده و 15 حذف شده
  1. 8 7
      src/views/business/financial/collection/form.vue
  2. 9 8
      src/views/business/financial/contract/form.vue

+ 8 - 7
src/views/business/financial/collection/form.vue

@@ -248,6 +248,14 @@
                       <span>{{ rowNum(scope.row.amount) }}</span>
                     </template>
                   </el-table-column>
+                  <el-table-column label="待收款金额" width="150" align="center">
+                    <template #default="scope">
+                      {{
+                      rowNum((Number(scope.row.amount) || 0) - (Number(scope.row.arrived) || 0))
+                      }}
+
+                    </template>
+                  </el-table-column>
                   <el-table-column label="已收款金额" prop="arrived" width="150" align="right" header-align="center">
                     <template #default="scope">
                       <span>{{ rowNum(scope.row.arrived) }}</span>
@@ -271,14 +279,7 @@
                         }}</template>
                     </template>
                   </el-table-column>
-                  <el-table-column label="待收款金额" width="150" align="center">
-                    <template #default="scope">
-                      {{
-                      rowNum((Number(scope.row.amount) || 0) - (Number(scope.row.arrived) || 0))
-                      }}
 
-                    </template>
-                  </el-table-column>
 
                   <el-table-column label="备注" prop="remark" width="250" align="center">
                     <template #default="scope">

+ 9 - 8
src/views/business/financial/contract/form.vue

@@ -213,6 +213,14 @@
                       <span>{{ rowNum(scope.row.amount) }}</span>
                     </template>
                   </el-table-column>
+                  <el-table-column label="待收款金额"  width="150" align="center">
+                    <template #default="scope">
+                      {{
+                        rowNum((Number(scope.row.amount) || 0) - (Number(scope.row.arrived) || 0))
+                      }}
+                      
+                    </template>
+                  </el-table-column>
                   <el-table-column label="已收款金额" prop="arrived" width="150" align="center">
                     <template #default="scope">
                       <span>{{ rowNum(scope.row.arrived) }}</span>
@@ -234,14 +242,7 @@
                       <template v-else>{{ scope.row.arriveAmount }}</template>
                     </template>
                   </el-table-column>
-                  <el-table-column label="待收款金额"  width="150" align="center">
-                    <template #default="scope">
-                      {{
-                        rowNum((Number(scope.row.amount) || 0) - (Number(scope.row.arrived) || 0))
-                      }}
-                      
-                    </template>
-                  </el-table-column>
+        
 
                   <el-table-column label="备注" prop="remark" width="250" align="center">
                     <template #default="scope">