zhanghl
2025-04-17 372cf9142e377edb013bf90c4a2e028f2bf1c6c3
钣金统计表-工序号补0
已修改1个文件
10 ■■■■ 文件已修改
src/views/mainPlan/plateProcessStat/index.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/mainPlan/plateProcessStat/index.vue
@@ -131,7 +131,7 @@
// 表格配置
const columns = ref([
  { type: 'seq', title: '序号', width: 60 },
/*  { type: 'seq', title: '序号', width: 60 },*/
  {
    title: '工单号',
    field: 'workOrderNo',
@@ -144,12 +144,12 @@
  },
  {
    title: '工序号',
    field: 'routeProcessNumber',
    field: 'routeProcessNumberTxt',
    width: 150,
  },
  {
    title: '当前工序号',
    field: 'currentProcessNumber',
    field: 'currentProcessNumberTxt',
    width: 150,
  },
  {
@@ -197,6 +197,10 @@
    listValue.forEach(listItem => {
      listItem[`processPlanStartDaytxt`]= listItem.warning? `<font color="red">${listItem.processPlanStartDay}</font>`  :listItem.processPlanStartDay;
      listItem[`processPlanEndDaytxt`]= listItem.warning? `<font color="red">${listItem.processPlanEndDay}</font>`  :listItem.processPlanEndDay;
      listItem[`routeProcessNumberTxt`]= listItem.routeProcessNumber.toString().padStart(3, '0');
      listItem[`currentProcessNumberTxt`]= listItem.currentProcessNumber.toString().padStart(3, '0');
    });
    aps_plate_process_statList.value =listValue
    debugger;