浏览代码

【新增】合同数量、金额

howie 2 年之前
父节点
当前提交
5ca45d27e1
共有 2 个文件被更改,包括 62 次插入1 次删除
  1. 39 0
      src/views/deposit_home/components/refund_list-detail.vue
  2. 23 1
      src/views/deposit_home/refund_list.vue

+ 39 - 0
src/views/deposit_home/components/refund_list-detail.vue

@@ -529,6 +529,26 @@
             </el-table-column>
             <el-table-column
               align="right"
+              label="合同数量"
+              prop="contractQty"
+              min-width="160"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                <template v-if="detailList.examineStatus !== 'WAIT'">
+                  {{ scope.row.contractQty }}
+                </template>
+                <el-input
+                  v-else
+                  class="inpt"
+                  v-model="scope.row.contractQty"
+                  size="mini"
+                  clearable
+                ></el-input>
+              </template>
+            </el-table-column>
+            <el-table-column
+              align="right"
               label="合同价格"
               prop="contractPrice"
               min-width="160"
@@ -546,6 +566,25 @@
                   clearable
                 ></el-input>
               </template>
+            </el-table-column>       <el-table-column
+              align="right"
+              label="合同金额"
+              prop="contractAmount"
+              min-width="160"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                <template v-if="detailList.examineStatus !== 'WAIT'">
+                  {{ scope.row.contractAmount }}
+                </template>
+                <el-input
+                  v-else
+                  class="inpt"
+                  v-model="scope.row.contractAmount"
+                  size="mini"
+                  clearable
+                ></el-input>
+              </template>
             </el-table-column>
             <el-table-column
               align="right"

+ 23 - 1
src/views/deposit_home/refund_list.vue

@@ -641,6 +641,18 @@
               min-width="160"
               show-overflow-tooltip
             />
+
+            <el-table-column
+              align="right"
+              label="合同数量"
+              prop="contractQty"
+              min-width="160"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                {{ scope.row.contractQty | numToFixed }}
+              </template>
+            </el-table-column>
             <el-table-column
               align="right"
               label="合同价格"
@@ -652,7 +664,17 @@
                 {{ scope.row.contractPrice | numToFixed }}
               </template>
             </el-table-column>
-
+            <el-table-column
+              align="right"
+              label="合同金额"
+              prop="contractAmount"
+              min-width="160"
+              show-overflow-tooltip
+            >
+              <template slot-scope="scope">
+                {{ scope.row.contractAmount | numToFixed }}
+              </template>
+            </el-table-column>
             <el-table-column
               align="right"
               label="发货数量"