于杰
2025-11-04 10fd64745fc15ac081a9c72fbb56837c6918cfe0
解决临时物料厚度膜系消失问题
2个文件已修改
23 ■■■■■ 已修改文件
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/GlassInventory.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/OptimizeCompute.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/GlassInventory.vue
@@ -231,6 +231,12 @@
              formattedItem[key] = item[key];
            }
          }
          if (!formattedItem.thickness) {
            formattedItem.thickness = thickness.value;
          }
          if (!formattedItem.model) {
            formattedItem.model = model.value;
          }
          return formattedItem;
        });
        if(edgeTrimming!=null){
north-glass-erp/northglass-erp/src/views/pp/glassOptimize/page/OptimizeCompute.vue
@@ -274,8 +274,16 @@
          <vxe-input class="input" v-model="props.quantity" disabled ></vxe-input>
          <span>优化时长(秒):</span>
          <span class="time-display">{{ formattedTime }}</span>
          <el-button id="start" type="primary" style="margin-left: 20px" @click="startTimer">开始优化</el-button>
<!--          <el-button class="buttons" type="primary" @click="pauseTimer">暂停</el-button>-->
          <el-button
              id="start"
              type="primary"
              style="margin-left: 20px"
              @click="startTimer"
              :disabled="isRunning"
              :class="{ 'disabled-button': isRunning }"
          >
            开始优化
          </el-button>
          <el-button id="complete" class="buttons" type="primary" style="display: none" @click="resetTimer">完成</el-button>
        </div>
        <br>
@@ -355,5 +363,10 @@
  height: 80%;
}
.disabled-button {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}
</style>