ysy 1 yıl önce
ebeveyn
işleme
8b36d4f0e9

+ 5 - 3
src/views/materialPlan/components/plan-edit-dialog.vue

@@ -61,7 +61,7 @@
             type="primary"
             icon="el-icon-plus"
             class="ele-btn-icon"
-            @click="showAdd"
+            @click="saleAdd"
           >
             添加销售订单
           </el-button>
@@ -71,7 +71,7 @@
             type="primary"
             icon="el-icon-plus"
             class="ele-btn-icon"
-            @click=""
+            @click="produceAdd"
           >
             添加生产计划
           </el-button>
@@ -644,12 +644,14 @@
         this.$refs.table.reload();
       },
 
-      showAdd() {
+      saleAdd() {
         this.tableData = this.$refs.table.getData();
 
         this.$refs.saleOrderRef.open(this.tableData);
       },
 
+      produceAdd() {},
+
       chooseOrder(list) {
         let salesOrderIds = [];
         list.map((m) => {

+ 0 - 0
src/views/materialPlan/components/producePlan.vue