chengxiangling
2025-05-16 af1c9e588f1de0240390648f9bb56aa486870aff
src/views/mainPlan/plateProcessStat/index.vue
@@ -6,14 +6,12 @@
      ref="queryRef"
      :inline="true"
      v-show="showSearch"
      :label-width="locale === 'zh' ? '60px' : '150px'"
      label-position="left"
    >
      <el-row :gutter="20">
        <el-col :span="12">
          <el-form-item :label="$t('plan.query.workOrderNo')" prop="num">
        <el-col :span="6">
          <el-form-item :style="{ width: '100%'  }" :label="$t('plan.query.workOrderNo')" prop="num">
            <el-input
              :style="{ width: locale === 'zh' ? '200px' : '250px' }"
              v-model="queryParams.workOrderNo"
              :placeholder="`${$t('common.common.placeholder')}${$t(
                'plan.query.workOrderNo'
@@ -23,7 +21,7 @@
            />
          </el-form-item>
        </el-col>
        <el-col :span="12" style="text-align: right">
        <!-- <el-col :span="16" style="text-align: right">
          <el-form-item class="column-with-margin">
            <el-button type="primary" icon="Search" @click="handleQuery">{{
              $t("common.common.query")
@@ -32,7 +30,7 @@
              $t("common.common.reset")
            }}</el-button>
          </el-form-item>
        </el-col>
        </el-col> -->
      </el-row>
    </el-form>
    <el-row :gutter="10" class="mb8">
@@ -60,7 +58,8 @@
      <right-toolbar
        v-model:showSearch="showSearch"
        @queryTable="getList"
        @queryTable="handleQuery"
        @resetTable="resetQuery"
      ></right-toolbar>
    </el-row>
@@ -165,55 +164,61 @@
      {
        title: t("plan.table.workOrderNo"),
        field: "workOrderNo",
        width: 150,
        width: "180"
      },
      {
        title: t("plan.table.processName"),
        field: "processName",
        width: "auto",
      },
      {
        title: t("plan.table.processNumber"),
        field: "routeProcessNumberTxt",
        width: 100,
        width: "auto",
      },
      {
        title: t("plan.table.currentProcessNumber"),
        field: "currentProcessNumberTxt",
        width: 100,
        width: "auto",
      },
      {
        title: t("plan.table.productionQuantity"),
        field: "productionQuantity",
        width: 80,
        width: "auto",
      },
      {
        title: t("plan.table.standardTime"),
        field: "standardTime",
        width: 80,
        width: 100,
      },
      {
        title: t("plan.table.totalWorkingHoursOfProcess"),
        field: "processTotalTime",
        width: 80,
        width: 100,
      },
      {
        title: t("plan.table.planStartDay"),
        field: "processPlanStartDaytxt",
        width: 200,
        width: 160,
        type: "html",
      },
      {
        title: t("plan.table.planEndDayDate"),
        field: "processPlanEndDaytxt",
        width: 200,
        width: 160,
        type: "html",
      },
      {
        title: t("plan.table.OrderCompletionDate"),
        field: "orderPlanEndDay",
        width: 200,
        width: 160,
        format: "YYYY-MM-DD HH:mm:ss",
      },
      {
        title: t("plan.table.abnormalState"),
        field: "exceptionStatus",
        width: "auto",
      }
    ];
  },
  { immediate: true, deep: true }
@@ -239,6 +244,7 @@
        .padStart(3, "0");
    });
    aps_plate_process_statList.value = listValue;
    console.log(aps_plate_process_statList.value,"aps_plate_process_statList.value")
    total.value = response.total;
    loading.value = false;
  });
@@ -383,7 +389,7 @@
//   }
//   return null;
// };
getList();
// getList();
</script>
<style lang="scss" scoped>
.column-with-margin {