gongchunyi
3 天以前 c7eacb6595669c8de3465513b88590955e473900
fix: 进行中状态的生产订单的工艺路线禁止增删改
已修改2个文件
8 ■■■■■ 文件已修改
src/views/productionManagement/processRoute/processRouteItem/index.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productionManagement/productionOrder/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productionManagement/processRoute/processRouteItem/index.vue
@@ -177,7 +177,7 @@
      <div class="section-header">
        <div class="section-title">BOM</div>
        <div class="section-actions"
             v-if="pageType === 'order'">
             v-if="pageType === 'order' && !routeInfo.status">
          <el-button type="primary"
                     @click="toggleBomEdit">
            {{ bomDataValue.isEdit ? '取消' : '编辑' }}
@@ -383,7 +383,7 @@
    <ProcessParamListDialog v-model="showParamListDialog"
                            :title="`${currentProcess ? getProcessName(currentProcess.processId) : ''} - 参数列表`"
                            :route-id="routeId"
                            :editable="editable"
                            :editable="editable && !routeInfo.status"
                            :order-id="orderId"
                            :process="currentProcess"
                            :page-type="pageType"
@@ -548,7 +548,7 @@
      dictLabel: route.query.dictLabel || "",
      bomId: route.query.bomId || null,
      description: route.query.description || "",
      status: route.query.status === "true" ? true : false,
      status: route.query.status != 1,
    };
    if (pageType.value === "order") {
      queryList2(route.query.orderId)
@@ -1026,6 +1026,7 @@
  // 初始化拖拽排序
  const initSortable = () => {
    if (routeInfo.value.status) return;
    destroySortable();
    if (viewMode.value === "table") {
src/views/productionManagement/productionOrder/index.vue
@@ -814,6 +814,7 @@
          orderId: row.id,
          type: "order",
          editable: true,
          status: row.status || false,
        },
      });
    } catch (e) {