Explorar o código

临时计划修改的时候不能新增产品

695593266@qq.com hai 5 meses
pai
achega
d616cfbd5b

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

@@ -890,7 +890,6 @@
     methods: {
       async open(type, row) {
         this.type = type;
-        this.type = type;
 
         this.formData.demandType = '1';
 

+ 1 - 1
src/views/productionPlan/components/factoryAdd/index.vue

@@ -427,7 +427,7 @@
               >
             </template>
           </ele-pro-table>
-          <div class="add-product" @click="addEquipment">
+          <div class="add-product" @click="addEquipment" v-if="!form.id">
             <i class="el-icon-circle-plus-outline"></i>
           </div>
         </el-row>