Explorar el Código

【修改】金额、数量、单价条件number修饰符

howie hace 2 años
padre
commit
b11c86f8d4

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

@@ -214,7 +214,7 @@
                 <el-input
 
                   class="inpt"
-                  v-model="scope.row.contractQty"
+                  v-model.number="scope.row.contractQty"
                   size="mini"
                   clearable
                 ></el-input>
@@ -232,7 +232,7 @@
                 <el-input
 
                   class="inpt"
-                  v-model="scope.row.contractPrice"
+                  v-model.number="scope.row.contractPrice"
                   size="mini"
                   clearable
                 ></el-input>
@@ -271,7 +271,7 @@
                 <el-input
 
                   class="inpt"
-                  v-model="scope.row.dataQty"
+                  v-model.number="scope.row.dataQty"
                   size="mini"
                   clearable
                 ></el-input>

+ 3 - 3
src/views/deposit_home/components/refund_list-detail.vue

@@ -542,7 +542,7 @@
                 <el-input
                 :readonly="title == '详情'"
                   class="inpt"
-                  v-model="scope.row.contractQty"
+                  v-model.number="scope.row.contractQty"
                   size="mini"
                   clearable
                 ></el-input>
@@ -560,7 +560,7 @@
                 <el-input
                 :readonly="title == '详情'"
                   class="inpt"
-                  v-model="scope.row.contractPrice"
+                  v-model.number="scope.row.contractPrice"
                   size="mini"
                   clearable
                 ></el-input>
@@ -600,7 +600,7 @@
                 <el-input
                 :readonly="title == '详情'"
                   class="inpt"
-                  v-model="scope.row.dataQty"
+                  v-model.number="scope.row.dataQty"
                   size="mini"
                   clearable
                 ></el-input>