Quellcode durchsuchen

【修改】退押审批、申请退押 合同金额

howie vor 2 Jahren
Ursprung
Commit
e416fe035c

+ 7 - 16
src/views/deposit_home/components/deposit-apply-surrender.vue

@@ -210,11 +210,9 @@
               show-overflow-tooltip
             >
               <template slot-scope="scope">
-                <template v-if="details.examineStatus !== 'SAVE'">
-                  {{ scope.row.contractQty }}
-                </template>
+
                 <el-input
-                  v-else
+
                   class="inpt"
                   v-model="scope.row.contractQty"
                   size="mini"
@@ -230,11 +228,9 @@
               show-overflow-tooltip
             >
               <template slot-scope="scope">
-                <template v-if="details.examineStatus !== 'SAVE'">
-                  {{ scope.row.contractPrice }}
-                </template>
+
                 <el-input
-                  v-else
+
                   class="inpt"
                   v-model="scope.row.contractPrice"
                   size="mini"
@@ -250,10 +246,8 @@
               show-overflow-tooltip
             >
               <template slot-scope="scope">
-                <template v-if="details.examineStatus !== 'WAIT'">
-                  {{ comTotal(scope.row.contractQty,scope.row.contractPrice) }}
-                </template>
-                <div v-else>
+
+                <div >
                   {{comTotal(scope.row.contractQty,scope.row.contractPrice)}}
                 </div>
 
@@ -274,11 +268,8 @@
             show-overflow-tooltip
           >
             <template slot-scope="scope">
-              <template v-if="details.examineStatus !== 'SAVE'">
-                  {{ scope.row.dataQty }}
-                </template>
                 <el-input
-                  v-else
+
                   class="inpt"
                   v-model="scope.row.dataQty"
                   size="mini"

+ 8 - 16
src/views/deposit_home/components/refund_list-detail.vue

@@ -538,11 +538,9 @@
               show-overflow-tooltip
             >
               <template slot-scope="scope">
-                <template v-if="detailList.examineStatus !== 'SAVE'">
-                  {{ scope.row.contractQty }}
-                </template>
+
                 <el-input
-                  v-else
+                :readonly="title == '详情'"
                   class="inpt"
                   v-model="scope.row.contractQty"
                   size="mini"
@@ -558,11 +556,9 @@
               show-overflow-tooltip
             >
               <template slot-scope="scope">
-                <template v-if="detailList.examineStatus !== 'SAVE'">
-                  {{ scope.row.contractPrice }}
-                </template>
+
                 <el-input
-                  v-else
+                :readonly="title == '详情'"
                   class="inpt"
                   v-model="scope.row.contractPrice"
                   size="mini"
@@ -578,10 +574,8 @@
               show-overflow-tooltip
             >
               <template slot-scope="scope">
-                <template v-if="detailList.examineStatus !== 'SAVE'">
-                  {{ comTotal(scope.row.contractQty,scope.row.contractPrice) }}
-                </template>
-                <div v-else>
+
+                <div >
                   {{comTotal(scope.row.contractQty,scope.row.contractPrice)}}
                 </div>
                 <!-- <el-input
@@ -602,11 +596,9 @@
               show-overflow-tooltip
             >
             <template slot-scope="scope">
-                <template v-if="detailList.examineStatus !== 'SAVE'">
-                  {{ scope.row.dataQty }}
-                </template>
+
                 <el-input
-                  v-else
+                :readonly="title == '详情'"
                   class="inpt"
                   v-model="scope.row.dataQty"
                   size="mini"