王震
2024-01-17 e5423f35d43042de23cb296429ee9c6be3813afe
	modified:   src/views/plan/manufacturingorder/productorder-form.vue
已修改1个文件
16 ■■■■ 文件已修改
src/views/plan/manufacturingorder/productorder-form.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/plan/manufacturingorder/productorder-form.vue
@@ -336,17 +336,14 @@
                            fallbackClass="fallbackStyle"
                            ghostClass="item_ghost"
                            @end="dragEnd"
                            :default-sort="{ prop: 'operationOrder' }"
                            @choose="operationRowClick"
                          >
                            <div
                              :class="{ dragItem: true, active: x.active }"
                              v-for="(x, i) in operations"
                              :key="i"
                            >
                              <!-- <div class="dragBody">
                                <div class="info">{{ x.operationNo }}</div>
                                <div class="info">{{ x.operationName }}</div>
                                <div class="info">{{ x.partName }}</div>
                              </div> -->
                              <el-row>
                                <el-col :span="2" class="frame">{{ i+1 }}
                                </el-col>
@@ -370,10 +367,6 @@
                        </el-card>
                      </el-col>
                    </el-row>
                  
                  
                  
@@ -1427,9 +1420,7 @@
              operationOrder:el.operationOrder,
            }
        })
      console.log(data,"id");
        changeOrder(data).then((res) =>{
            console.log(res,"回调");
        }).catch(error => {
                    console.error(error)
                });
@@ -1771,7 +1762,8 @@
      this.dataForm.bomId = null
    },
    // 点击工艺工序行触发校验工艺是否修改,若修改则不可操作,需先保存,若未修改,则可查询出对应的参数集
    operationRowClick(row) {
    operationRowClick(event) {
          const row = this.operations[event.oldIndex]
      if (this.dataForm.id != null && this.dataForm.id !== 0) {
        this.routingOperationId = row.technologyRoutingOperationId
        this.moRoutingOperationId = row.id