黄梓星 1 rok temu
rodzic
commit
23e3097d69

+ 2 - 1
src/components/PopDialog/fourClass.vue

@@ -88,10 +88,11 @@ export default {
     },
   },
   methods: {
-    init() {
+    init(id) {
       this.visible = true;
       this.$nextTick(() => {
         this.refreshList();
+        //  this.$refs.tree.setCurrentKey(id)
       });
     },
     // 获取数据列表

+ 1 - 1
src/views/material/requisition/add.vue

@@ -1454,7 +1454,7 @@ export default {
     // 四级分类显示列表
     chooseFourClass() {
       this.$refs.fourTag.blur()
-      this.$refs.fourClass.init()
+      this.$refs.fourClass.init(this.basicForm.classifyId)
     },
     // 选择计量单位
     acceptUnit(selections) {

+ 2 - 2
src/views/purchase/DemandSummary/index.vue

@@ -141,14 +141,14 @@
                 </el-form-item>
               </el-col>
               <el-col :span="1.5">
-                <el-form-item label="末级供应仓库">
+                <el-form-item label="供应仓库">
                   <el-select clearable size="mini" v-model="queryParams.lastWarehouse" @focus="chooseRefer('WAREHOUSE_PARAM', true, '末级供应仓库')" style="width: 200px">
                     <el-option v-for="item in lastWarehouseOptions" :key="item.id" :label="item.name" :value="item.id" />
                   </el-select>
                 </el-form-item>
               </el-col>
               <el-col :span="1.5">
-                <el-form-item label="末级供应库位">
+                <el-form-item label="供应库位">
                   <el-select clearable size="mini" v-model="queryParams.lastAllocation" @focus="chooseRefer('ALLOCATION_PARAM', true, '末级供应库位', queryParams.lastWarehouse)" style="width: 200px">
                     <el-option v-for="item in lastAllocationOptions" :key="item.id" :label="item.name" :value="item.id" />
                   </el-select>

+ 1 - 1
src/views/purchase/PurchaseDemandList/add.vue

@@ -1155,7 +1155,7 @@ export default {
       console.log('eee:', source)
       // 首先对源头进行解析
       let rows = source.split("\r\n"); // 拆成一个数组
-      rows.pop()
+      // rows.pop()
       console.log('复制的数组',rows);
       console.log('列表的数组',this.basicForm.puDemandItemList)
       rows.forEach(item => {