From 65f86f41dedbbbb7030e2f37ce3e001bbca4923a Mon Sep 17 00:00:00 2001
From: chengxiangling <291105840@qq.com>
Date: 星期四, 15 五月 2025 13:03:25 +0800
Subject: [PATCH] 查询日历带适用工厂

---
 src/views/mainPlan/plateProcessStat/index.vue |  101 +++++++++++++++++++++++++++-----------------------
 1 files changed, 54 insertions(+), 47 deletions(-)

diff --git a/src/views/mainPlan/plateProcessStat/index.vue b/src/views/mainPlan/plateProcessStat/index.vue
index d2a01b7..b6c5737 100644
--- a/src/views/mainPlan/plateProcessStat/index.vue
+++ b/src/views/mainPlan/plateProcessStat/index.vue
@@ -1,41 +1,38 @@
 <template>
   <div class="app-container">
-    <el-row :gutter="10" class="mb8">
-      <!-- <el-col> -->
-      <el-form
-        :model="queryParams"
-        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-input
-            style="width: 370px"
-            v-model="queryParams.workOrderNo"
-            :placeholder="$t('plan.placeholder.planWorkOderNO')"
-            clearable
-            @keyup.enter="handleQuery"
-          />
-        </el-form-item>
-        <!-- </el-col>
-            <el-col  :span="12"  style="text-align: right;"> -->
-        <el-form-item>
-          <el-button type="primary" icon="Search" @click="handleQuery">{{
-            $t("common.common.query")
-          }}</el-button>
-          <el-button icon="Refresh" @click="resetQuery">{{
-            $t("common.common.reset")
-          }}</el-button>
-        </el-form-item>
-        <!-- </el-col>
-          </el-row> -->
-      </el-form>
-      <!-- </el-col> -->
-    </el-row>
+    <!-- <el-col> -->
+    <el-form
+      :model="queryParams"
+      ref="queryRef"
+      :inline="true"
+      v-show="showSearch"
+      label-position="left"
+    >
+      <el-row :gutter="20">
+        <el-col :span="8">
+          <el-form-item :style="{ width: '100%'  }" :label="$t('plan.query.workOrderNo')" prop="num">
+            <el-input
+              v-model="queryParams.workOrderNo"
+              :placeholder="`${$t('common.common.placeholder')}${$t(
+                'plan.query.workOrderNo'
+              )}`"
+              clearable
+              @keyup.enter="handleQuery"
+            />
+          </el-form-item>
+        </el-col>
+        <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")
+            }}</el-button>
+            <el-button icon="Refresh" @click="resetQuery">{{
+              $t("common.common.reset")
+            }}</el-button>
+          </el-form-item>
+        </el-col>
+      </el-row>
+    </el-form>
     <el-row :gutter="10" class="mb8">
       <el-col :span="1.5">
         <el-button
@@ -166,55 +163,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"),
+        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 }
@@ -240,6 +243,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;
   });
@@ -384,9 +388,12 @@
 //   }
 //   return null;
 // };
-getList();
+// getList();
 </script>
 <style lang="scss" scoped>
+.column-with-margin {
+  margin-right: 0px;
+}
 ::v-deep(.mytable-style.vxe-table .vxe-body--row.row-green) {
   background-color: #187;
   color: #fff;

--
Gitblit v1.9.3