Browse Source

修改小数点

Qukatie 5 months ago
parent
commit
96bed51545
1 changed files with 8 additions and 2 deletions
  1. 8 2
      src/views/Warehousing/inStock/AddOrUpdate.vue

+ 8 - 2
src/views/Warehousing/inStock/AddOrUpdate.vue

@@ -990,7 +990,7 @@
             </el-col>
             <el-col :span="6">
               <el-form-item label="箱量" prop="fCntqty">
-                <el-input v-model="importList.fCntqty" style="width: 100%" placeholder="箱量" />
+                <el-input v-model="importList.fCntqty" style="width: 100%" placeholder="箱量" v-input-limit="0"/>
               </el-form-item>
             </el-col>
             <el-col :span="6">
@@ -6849,7 +6849,13 @@ export default {
     },
     //从表库位弹窗下拉树状事件
     getAlltree(tree) {
-      this.importList.fWarehouseInformation = tree.fWarehouseInformation
+      console.log(tree)
+      this.fWarehouseidOptions.forEach(e=>{
+        if(e.fId==tree){
+          this.importList.fWarehouseInformation = e.fWarehouseInformation
+        }
+      })
+    
     },
     submitForm() {
       let checkData = {