瀏覽代碼

按钮删除和增加

黄梓星 2 年之前
父節點
當前提交
1155ddf423

+ 1 - 0
src/components/Refers/refers.vue

@@ -80,6 +80,7 @@ export default {
       this.visible = true;
       console.log("🚀 ~ file: refers.vue:79 ~ init ~ init(val):", val)
       this.reciveForm = val
+      this.searchForm.search = ''
       this.$nextTick(() => {
         this.dataListAllSelections = JSON.parse(JSON.stringify(this.selectData));
         this.resetSearch();

+ 1 - 2
src/views/purchase/MaterialClassDivision/index.vue

@@ -211,14 +211,13 @@
               导出<i class="el-icon-arrow-down el-icon--right"></i>
             </el-button>
             <el-dropdown-menu slot="dropdown">
-              <el-dropdown-item command="Excel导出">Excel导出</el-dropdown-item>
+              <el-dropdown-item command="Excel导出">Excel导出</el-dropdown-item>
               <el-dropdown-item command="导出明细">导出明细</el-dropdown-item>
             </el-dropdown-menu>
           </el-dropdown>
 
           <el-button type="primary" size="small">同步分配</el-button>
           <el-button type="primary" size="small">删除</el-button>
-          <el-button type="primary" size="small">打印</el-button>
         </div>
         <el-table 
           :data="tableList" 

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

@@ -604,7 +604,8 @@ export default {
       referCondition: {
         type: 'ORG_PARAM',
         isPage: true,
-        title: '选择组织'
+        title: '选择组织',
+        pkOrg: '',
       },
       referConditionMx: {
         type: 'DEPT_PARAM',
@@ -860,6 +861,8 @@ export default {
       this.referCondition.type = type
       this.referCondition.isPage = isPage
       this.referCondition.title = title
+      // 选择货位时要传入组织id
+      this.referCondition.pkOrg = this.basicForm.org
       this.$refs.refer.init(this.referCondition)
     },
     selectionsToInput(selection) {

+ 0 - 1
src/views/purchase/deliveryAddress/index.vue

@@ -179,7 +179,6 @@
           <el-button type="primary" size="small">停用</el-button>
           <el-button type="primary" size="small">同步NC</el-button>
           <el-button type="primary" size="small">删除</el-button>
-          <el-button type="primary" size="small">打印</el-button>
         </div>
         <el-table 
           :data="tableList" 

+ 8 - 0
src/views/purchase/transferOrder/add.vue

@@ -245,6 +245,9 @@
 
       <el-tabs style="margin-top: 10px;" type="border-card">
         <el-tab-pane label="物料信息">
+          <div class="btn_grooup">
+            <el-button type="primary" size="small" @click="addLine">增行</el-button>
+          </div>
           <el-table
           :data="materialInfo" 
           fit
@@ -617,6 +620,11 @@ export default {
         }
       })
     },
+    addLine() {},
+    delLine(index) {
+      // console.log('删除行:', index)
+      // this.basicForm.puDemandItemList.splice(index, 1)
+    },
   }
 }
 </script>