Forráskód Böngészése

多批单改-第一版

wangxin 1 éve
szülő
commit
b2d2c0d16f

+ 10 - 0
src/api/business/technologicalAmend.js

@@ -31,6 +31,16 @@ export function addAmend(lotId,data) {
   })
 }
 
+/** 多批单改 */
+export function addMultiAmend(data) {
+  return request({
+    url: baseUrl + '/business/amend/addMultiAmend',
+    method: 'post',
+    data: data
+  })
+}
+
+
 export function lotParticulars(lotCode) { 
   return request({
     url: baseUrl + '/business/amend/lotParticulars/'+lotCode,

+ 219 - 98
src/views/business/lot/index.vue

@@ -68,6 +68,15 @@
           ></el-option>
         </el-select>
       </el-form-item>
+      <el-form-item label="工序:">
+        <el-select-v2
+          v-model="processAlias"
+          :options="processList"
+          placeholder="请选择工序"
+          style="width: 140px"
+          @change="handleProcessChange"
+        />
+      </el-form-item>
       <el-form-item>
         <el-button type="info" icon="Search" @click="handleQuerydaywork"
           >搜索</el-button
@@ -81,11 +90,22 @@
           :disabled="selections.length == 0 || selections.length > 1"
           >添加废品回用</el-button
         >
-        <el-button :disabled="selections.length !== 1" type="primary" @click="showInBatch">分批</el-button>
-        <el-button type="primary" @click="handleQuerydaywork"
+        <el-button
+          :disabled="selections.length !== 1"
+          type="primary"
+          @click="showInBatch"
+          >分批</el-button
+        >
+        <el-button
+          type="primary"
+          :disabled="once"
+          @click="handleOnceSingleChange"
           >单批单改</el-button
         >
-        <el-button type="primary" @click="handleQuerydaywork"
+        <el-button
+          type="primary"
+          :disabled="multi"
+          @click="handleMultiSingleChange"
           >多批单改</el-button
         >
       </div>
@@ -94,97 +114,117 @@
     <!-- 列表区 -->
     <div class="el-table-container">
       <div class="el-table-inner-container">
-      <el-table
-        ref="dayworkTable"
-        v-loading="loading"
-        row-key="id"
-        @selection-change="handleSelectionChange"
-        height="100%"
-        :data="lotList"
-      >
-        <el-table-column type="selection" width="40" align="center" />
-        <el-table-column
-          label="客户简称"
-          prop="companyAlias"
-          width="120"
-          align="center"
-        />
-        <el-table-column
-          label="生产计划单号"
-          width="100"
-          prop="productionPlanNo"
-          align="center"
-        />
-        <el-table-column
-          label="序号"
-          width="60"
-          prop="lineNumber"
-          align="center"
-        />
-        <el-table-column
-          label="批次号"
-          prop="lotCode"
-          width="130"
-          align="center"
-        />
-        <el-table-column
-          label="产品描述"
-          prop="productDescription"
-          align="center"
-        />
-        <el-table-column
-          label="图纸版本"
-          width="80"
-          prop="technologyVersion"
-          align="center"
-        />
-        <el-table-column
-          label="投产量"
-          width="100"
-          prop="productionQuantity"
-          align="center"
-        />
-        <el-table-column
-          label="下达日期"
-          prop="createTime"
-          width="100"
-          align="center"
-        >
-          <template #default="scope">
-            <span>{{
-              proxy.moment(scope.row.createTime).format("YYYY-MM-DD")
-            }}</span>
-          </template>
-        </el-table-column>
-        <el-table-column
-          label="当前工段"
-          width="100"
-          prop="deptName"
-          align="center"
-        />
-        <el-table-column
-          label="当前工序"
-          width="120"
-          prop="processAlias"
-          align="center"
-        />
-        <el-table-column
-          label="废品回用"
-          width="70"
-          prop="isWasteRecycling"
-          align="center"
+        <el-table
+          ref="dayworkTable"
+          v-loading="loading"
+          row-key="id"
+          @selection-change="handleSelectionChange"
+          height="100%"
+          :data="lotList"
         >
-          <template #default="scope">
-            <dict-tag :options="yes_no" :value="scope.row.isWasteRecycling" />
-          </template>
-        </el-table-column>
-        <el-table-column label="批废" width="70" prop="isWaste" align="center">
-          <template #default="scope">
-            <dict-tag :options="yes_no" :value="scope.row.isWaste" />
-          </template>
-        </el-table-column>
-        <el-table-column label="母批号" prop="fromCode" align="center" />
-      </el-table>
+          <el-table-column type="selection" width="40" align="center" />
+          <el-table-column
+            label="客户简称"
+            prop="companyAlias"
+            width="120"
+            align="center"
+          />
+          <el-table-column
+            label="生产计划单号"
+            width="100"
+            prop="productionPlanNo"
+            align="center"
+          />
+          <el-table-column
+            label="序号"
+            width="60"
+            prop="lineNumber"
+            align="center"
+          />
+
+          <el-table-column label="批次号" prop="lotCode" align="center">
+            <template #default="scope">
+              <el-button
+                link
+                type="primary"
+                @click="handleColumnClick(scope.row)"
+                ><span>{{ scope.row.lotCode }}</span></el-button
+              >
+            </template>
+          </el-table-column>
+          <el-table-column
+            label="产品描述"
+            prop="productDescription"
+            align="center"
+          />
+          <el-table-column
+            label="图纸版本"
+            width="80"
+            prop="technologyVersion"
+            align="center"
+          />
+          <el-table-column
+            label="投产量"
+            width="100"
+            prop="productionQuantity"
+            align="center"
+          />
+          <el-table-column
+            label="下达日期"
+            prop="createTime"
+            width="100"
+            align="center"
+          >
+            <template #default="scope">
+              <span>{{
+                proxy.moment(scope.row.createTime).format("YYYY-MM-DD")
+              }}</span>
+            </template>
+          </el-table-column>
+          <el-table-column
+            label="当前工段"
+            width="100"
+            prop="deptName"
+            align="center"
+          />
+          <el-table-column
+            label="当前工序"
+            width="120"
+            prop="processAlias"
+            align="center"
+          />
+          <el-table-column
+            label="废品回用"
+            width="70"
+            prop="isWasteRecycling"
+            align="center"
+          >
+            <template #default="scope">
+              <dict-tag :options="yes_no" :value="scope.row.isWasteRecycling" />
+            </template>
+          </el-table-column>
+          <el-table-column
+            label="批废"
+            width="70"
+            prop="isWaste"
+            align="center"
+          >
+            <template #default="scope">
+              <dict-tag :options="yes_no" :value="scope.row.isWaste" />
+            </template>
+          </el-table-column>
+          <el-table-column
+            label="单批单改"
+            width="70"
+            prop="isAmend"
+            align="center"
+          >
+            <template #default="scope">
+              <dict-tag :options="yes_no" :value="scope.row.isAmend" />
+            </template>
+          </el-table-column>
+          <el-table-column label="母批号" prop="fromCode" align="center" />
+        </el-table>
       </div>
     </div>
     <!-- 分页 -->
@@ -199,26 +239,35 @@
       ref="wasteRecyclingDialogRef"
     ></waste-recycling-dialog>
     <InBatchesDialog ref="inBatchesDialogRef"></InBatchesDialog>
+    <once-change ref="onceChangeRef" @handleSaveSuccess="getLot()" />
+    <multi-change ref="multiChangeRef" @handleSaveSuccess="getLot()" />
   </div>
 </template>
 <script setup name="ProductionPlan">
 import { getDeptList } from "@/api/system/dept.js";
 import { getLotList } from "@/api/business/lot.js";
 import wasteRecyclingDialog from "./DialogWasteRecycling.vue";
-import InBatchesDialog from '@/views/business/lot/InBatchesDialog.vue'
+import router from "@/router";
+import multiChange from "@/views/business/reviseBath/multiSingleChangeDialog.vue";
+import onceChange from "@/views/business/reviseBath/onceSingleChangeDialog.vue";
+import InBatchesDialog from "@/views/business/lot/InBatchesDialog.vue";
 import { ref } from "vue";
 const route = useRoute();
 const { proxy } = getCurrentInstance();
 /** 字典数组区 */
 const { yes_no } = proxy.useDict("yes_no");
 /** 表单抽屉 页变量 */
-const currentProductionPlan = ref({});
-const inBatchesDialogRef = ref(null)
+const inBatchesDialogRef = ref(null);
 const loading = ref(false);
+const lotInfo = ref([]);
+const once = ref(true); //单批单改按钮是否可点击
+const multi = ref(true); //多批单改按钮是否可点击
 const lotList = ref([]);
 const total = ref(0);
+const processAlias = ref(null);
 const visible = ref(false);
 const selections = ref([]);
+const processList = ref([]);
 const deptList = ref([]);
 /** 查询对象 */
 const queryParams = ref({
@@ -254,6 +303,47 @@ function getDept() {
   getLot();
   visible.value = true;
 }
+
+/** 多批单改操作 */
+function handleMultiSingleChange() {
+  console.log("selections", selections.value);
+  //判断是否同一计划单且当前工序相同的数据
+  let isConsistent =
+    selections.value.every(
+      (item) => item.productionPlanNo === selections.value[0].productionPlanNo
+    ) &&
+    selections.value.every(
+      (item) => item.processAlias === selections.value[0].processAlias
+    );
+
+  if (!isConsistent) {
+    proxy.$modal.msgError("请选择相同计划单且当前工序相同的数据");
+    return;
+  }
+
+  //判断是否未修改过的批次
+  isConsistent =
+    selections.value.every((item) => item.isAmend == 0) &&
+    selections.value.every((item) => item.isWaste == 0) &&
+    selections.value.every((item) => item.isWasteRecycling == 0);
+
+  if (!isConsistent) {
+    proxy.$modal.msgError("多批单改只能修改未修改过的批次");
+    return;
+  }
+  proxy.$refs.multiChangeRef.open(selections);
+}
+
+/** 打开批次详情页 */
+function handleColumnClick(row) {
+  router.push({ path: "/reviseBath/lotFormParticulars/" + row.lotCode });
+}
+
+/** 单批单改按钮操作 */
+function handleOnceSingleChange() {
+  proxy.$refs.onceChangeRef.open(selections.value[0].lotCode);
+}
+
 /**获取生产计划列表 */
 function getLot() {
   loading.value = true;
@@ -261,10 +351,39 @@ function getLot() {
     if (res.code == 200) {
       lotList.value = res.rows;
       total.value = res.total;
+      lotInfo.value = res.rows;
+      res.rows.forEach((item) => {
+        // 如果 processList 中不存在当前 processAlias,则添加到 processList 中
+        if (
+          !processList.value.find(
+            (process) => process.label === item.processAlias
+          )
+        ) {
+          // 计算当前 processAlias 的唯一递增值
+          const count = processList.value.length;
+          processList.value.push({
+            label: item.processAlias,
+            value: count,
+          });
+        }
+      });
+      console.log(processList.value);
       loading.value = false;
     }
   });
 }
+
+/**工序切换 */
+function handleProcessChange() {
+  console.log(processList.value[processAlias.value].label);
+
+  // 使用 some 方法检查是否存在于 processList 中
+  lotList.value = lotInfo.value.filter((item) => {
+    // 检查当前对象的 processAlias 是否等于目标值
+    return item.processAlias == processList.value[processAlias.value].label;
+  });
+}
+
 /**搜索 */
 function handleQuerydaywork() {
   getLot();
@@ -294,6 +413,8 @@ function reset() {
 }
 function handleSelectionChange(selection) {
   selections.value = selection;
+  once.value = selections.value.length == 1 ? false : true;
+  multi.value = selections.value.length > 1 ? false : true;
 }
 
 /** 取消按钮 */
@@ -302,8 +423,8 @@ const handleCancel = () => {
 };
 
 const showInBatch = () => {
-  inBatchesDialogRef.value.open(selections.value[0])
-}
+  inBatchesDialogRef.value.open(selections.value[0]);
+};
 
 onMounted(() => {
   getDept();

+ 12 - 14
src/views/business/reviseBath/index.vue

@@ -26,7 +26,7 @@
     <!-- 列表区 -->
     <div class="el-table-container">
       <div class="el-table-inner-container">
-        <el-table v-loading="loading" :data="productionPlanList" height="100%" >
+        <el-table v-loading="loading" :data="productionPlanList" height="100%">
           <el-table-column
             type="index"
             label="行号"
@@ -45,14 +45,15 @@
             width="110"
             align="center"
           >
-          <template #default="scope">
+            <template #default="scope">
               <el-button
                 link
                 type="primary"
                 @click="handleColumnClick(scope.row)"
                 ><span>{{ scope.row.productionPlanNo }}</span></el-button
               >
-            </template></el-table-column>
+            </template></el-table-column
+          >
           <el-table-column
             label="序号"
             width="60"
@@ -172,7 +173,6 @@
 
 <script setup name="lotInfo">
 import { getP2Plan } from "@/api/business/p2.js";
-import { listProductionPlanDetail } from "@/api/business/productionPlanDetail.js";
 import producedLot from "./producedLotForm.vue";
 import { ref } from "vue";
 import router from "@/router";
@@ -213,18 +213,17 @@ function getList() {
 /** 打开计划查询页 */
 function handleColumnClick(row) {
   // router.push({ path: "/Production/lot/" + row.productionPlanNo });
-  router.push({ 
-  name: 'lotInfo', 
-  params: { 
-    productionPlanNo: row.productionPlanNo,
-    lineNumber: row.lineNumber
-  } 
-});
+  router.push({
+    name: "lotInfo",
+    params: {
+      productionPlanNo: row.productionPlanNo,
+      lineNumber: row.lineNumber,
+    },
+  });
 }
 /** 查看按钮操作 */
 function handleView(row) {
-  proxy.$refs.producedLotFormRef.open(row)
-  
+  proxy.$refs.producedLotFormRef.open(row);
 }
 
 /** 搜索按钮操作 */
@@ -233,7 +232,6 @@ function handleQuery() {
   getList();
 }
 
-
 /**
  * 同步P2生产计划
  */

+ 33 - 10
src/views/business/reviseBath/lotFormParticulars.vue

@@ -13,21 +13,18 @@
           <span>{{ lot.lotCode }}</span>
         </el-form-item>
         <el-form-item>
-          <el-tag
-            v-if="lot.daywork.status == 1"
-            class="spacing"
-            type="success"
-            >{{ "进行中" }}</el-tag
-          >
-          <el-tag
+          <el-tag class="spacing" :type="status(lot)">{{
+            statusText(lot)
+          }}</el-tag>
+          <!-- <el-tag
             v-if="lot.daywork.status == 2"
             class="spacing"
             type="primary"
             >{{ "已完成" }}</el-tag
-          >
-          <el-tag v-if="lot.daywork.status == 0" class="spacing" type="info">{{
+          > -->
+          <!-- <el-tag v-if="lot.daywork.status == 0" class="spacing" type="info">{{
             "未开始"
-          }}</el-tag>
+          }}</el-tag> -->
           <el-tag v-if="lot.isWaste == 1" class="spacing" type="danger">{{
             "报废"
           }}</el-tag>
@@ -334,6 +331,12 @@ const visible = ref(false);
 const processList = ref([]); //工序列表
 const route = useRoute();
 
+const statusMap = {
+  0: { type: "info", text: "未开始" },
+  1: { type: "primary", text: "进行中" },
+  2: { type: "success", text: "已完成" },
+};
+
 const lot = ref({
   productionPlanDetail: {
     companyAlias: "",
@@ -348,6 +351,7 @@ function handleOnceSingleChange() {
   proxy.$refs.onceChangeRef.open(lot.value.lotCode);
 }
 
+/** 工序状态 */
 function getStatusText(status) {
   switch (status) {
     case "0":
@@ -361,6 +365,25 @@ function getStatusText(status) {
   }
 }
 
+/** 批次状态文本 */
+function statusText(lot) {
+  console.log("statusMap", statusMap[0]);
+  if (!lot.daywork) {
+    return "未开始";
+  }
+
+  return statusMap[lot.daywork.status].text;
+}
+
+/** 批次状态样式 */
+function status(lot) {
+  console.log("statusMap", statusMap[0]);
+  if (!lot.daywork) {
+    return statusMap[0].type;
+  }
+  return statusMap[lot.daywork.status].type;
+}
+
 /** 初始化数据 */
 function init(data) {
   const lotCode = (route.params && route.params.lotCode) || data;

+ 286 - 0
src/views/business/reviseBath/multiSingleChangeDialog.vue

@@ -0,0 +1,286 @@
+<template>
+  <el-dialog
+    title="单批单改"
+    v-model="visible"
+    width="680px"
+    append-to-body
+    draggable
+    @close="cancel"
+  >
+    <el-form class="list-search-container" :inline="true">
+      <el-form-item>
+        <el-button
+          type="primary"
+          icon="Plus"
+          :disabled="click"
+          @click="handleAdd"
+          >在此工序前添加新工序</el-button
+        >
+        <el-button
+          type="danger"
+          @click="handleDel"
+          :disabled="click"
+          icon="delete"
+          >删除</el-button
+        >
+      </el-form-item>
+    </el-form>
+    <div class="el-table-inner-container">
+      <el-table
+        style="height: 600px"
+        v-loading="loading"
+        @selection-change="handleSelectionChange"
+        :data="processList"
+      >
+        <el-table-column
+          type="selection"
+          :selectable="checkSelectable"
+          width="50"
+          align="center"
+        />
+        <el-table-column
+          type="index"
+          label="序号"
+          width="50"
+          align="center"
+        ></el-table-column>
+        <el-table-column label="工序名称" prop="processAlias" align="center" />
+
+        <el-table-column
+          label="工序编号"
+          prop="processStepNumber"
+          width="200"
+          align="center"
+        />
+      </el-table>
+    </div>
+    <template #footer>
+      <div class="dialog-footer">
+        <el-button type="primary" @click="submitForm">确 定</el-button>
+        <el-button @click="cancel">取 消</el-button>
+      </div>
+    </template>
+  </el-dialog>
+
+  <el-dialog
+    title="选择工序"
+    v-model="addProcess"
+    width="800px"
+    append-to-body
+    draggable
+    @close="processClose"
+  >
+    <div class="page-container column-container">
+      <el-form style="padding: 16px" :inline="true">
+        <el-form-item label="工序名称:">
+          <el-input
+            placeholder="请输入工序名称或简称"
+            @keydown.enter.prevent
+            @keyup.enter="handleQuery"
+            clearable
+            v-model="queryParams.keyword"
+            style="width: 200px"
+          />
+          <el-button
+            style="margin-left: 20px"
+            type="primary"
+            @click="handleSelect"
+            >搜索</el-button
+          >
+        </el-form-item>
+      </el-form>
+      <div class="el-table-inner-container">
+        <el-table height="95%" :data="addProcessList">
+          <el-table-column
+            label="工序编号"
+            prop="processCode"
+            align="center"
+          ></el-table-column>
+
+          <el-table-column
+            label="工序名称"
+            prop="processAlias"
+            align="center"
+          ></el-table-column>
+
+          <el-table-column label="操作" width="80" align="center">
+            <template #default="scope">
+              <el-button
+                link
+                size="small"
+                type="primary"
+                icon="check"
+                @click="handleProcess(scope.row)"
+                >选择</el-button
+              >
+            </template>
+          </el-table-column>
+        </el-table>
+      </div>
+
+      <pagination
+        v-show="total > 0"
+        :total="total"
+        v-model:page="queryParams.pageNum"
+        v-model:limit="queryParams.pageSize"
+        @pagination="handleSelect"
+      />
+    </div>
+  </el-dialog>
+</template>
+<script setup>
+import { getDayworkItemProcess } from "@/api/business/daywork.js";
+import {
+  getProcessList,
+  addMultiAmend,
+} from "@/api/business/technologicalAmend.js";
+import { ref } from "vue";
+
+/** 变量 */
+const visible = ref(false);
+const loading = ref(false);
+const haveModified = ref(false); //是否已经修改
+const addProcess = ref(false); //新增工序弹窗
+const total = ref(0);
+const emit = defineEmits(["handleSaveSuccess"]);
+const ids = ref([]); //多选框选中数据
+const click = ref(true); //按钮不可点
+const addProcessList = ref([]); //新增选择工序列表
+const processList = ref([]); //工序列表
+const lot = ref({}); //批次信息
+const lotList = ref([]); //修改批次信息
+const dayworkItem = ref({}); //报工信息
+
+const { proxy } = getCurrentInstance();
+
+/** 查询对象 */
+const queryParams = ref({
+  keyword: "",
+  pageNum: 1,
+  pageSize: 10,
+});
+
+/***********************  方法区  ****************************/
+/** 打开弹窗 */
+function open(date) {
+  lotList.value = date.value;
+  visible.value = true;
+  loading.value = true;
+  getDayworkItemProcess(lotList.value[0].lotCode).then((res) => {
+    lot.value = res.data.lot;
+    dayworkItem.value = res.data.dayworkItem;
+    processList.value = res.data.processDetails;
+    loading.value = false;
+  });
+}
+
+/** 新增工序弹窗搜索按钮操作 */
+function handleSelect() {
+  getProcessList(queryParams.value).then((res) => {
+    addProcessList.value = res.rows;
+    total.value = res.total;
+  });
+}
+
+/** 多选框选中数据 */
+function handleSelectionChange(selection) {
+  ids.value = selection.map((item) => item.id);
+  click.value = ids.value.length == 1 ? false : true;
+}
+
+/** 删除按钮操作 */
+function handleDel() {
+  if (haveModified.value) {
+    proxy.$modal.msgError("只能修改一次工序数据");
+    return;
+  }
+
+  //查询选中工序位置
+  let id = ids.value[0];
+  let index = processList.value.findIndex((item) => item.id === id);
+
+  proxy.$modal.confirm("是否确认删除该条数据?").then(() => {
+    processList.value.splice(index, 1);
+    haveModified.value = true;
+  });
+}
+
+/** 新增工序确认按钮 操作*/
+function handleProcess(row) {
+  //查询选中工序位置
+  let id = ids.value[0];
+  let indexNum = processList.value.findIndex((item) => item.id === id);
+
+  //获取新增工序上一条排序
+  let num = processList.value[indexNum - 1].processStepNumber; //
+
+  //复制选中数据
+  let process = { ...processList.value[indexNum] };
+
+  //修改新增数据
+  process.processAlias = row.processAlias;
+  process.processCode = row.processCode;
+  process.processId = row.id;
+
+  //插入数据
+  processList.value.splice(indexNum, 0, process);
+
+  //修改排序数据
+  processList.value.forEach((item, index) => {
+    if (index >= indexNum) {
+      num = Number(num) + 1;
+      item.processStepNumber = Number(num);
+    }
+  });
+  haveModified.value = true;
+  processClose();
+}
+
+/** 是否可选 */
+function checkSelectable(row) {
+  if (dayworkItem.value) {
+    return row.processStepNumber > dayworkItem.value.processStepNumber;
+  } else {
+    return true;
+  }
+}
+
+/** 添加新工序按钮操作 */
+function handleAdd() {
+  if (haveModified.value) {
+    proxy.$modal.msgError("只能修改一次工序数据");
+    return;
+  }
+
+  addProcess.value = true;
+}
+
+/** 关闭新增工序弹窗 */
+function processClose() {
+  addProcess.value = false;
+}
+
+/** 关闭弹窗 */
+function cancel() {
+  visible.value = false;
+  addProcess.value = false;
+  haveModified.value = false;
+}
+/** 确定按钮 */
+function submitForm() {
+  const data = { lotList: lotList.value, processList: processList.value };
+  addMultiAmend(data).then((res) => {
+    if (res.code == 200) {
+      proxy.$modal.msgSuccess("修改成功");
+      emit("handleSaveSuccess");
+      cancel();
+    } else {
+      proxy.$modal.msgError(res.msg);
+    }
+  });
+}
+/** 暴露给父组件的方法 */
+defineExpose({
+  open,
+});
+</script>

+ 6 - 9
src/views/business/reviseBath/producedLotForm.vue

@@ -53,11 +53,6 @@
             style="width: 140px"
           />
         </el-form-item>
-        <el-form-item>
-          <el-button type="info" icon="Search" @click="handleQuerydaywork"
-            >搜索</el-button
-          >
-        </el-form-item>
         <el-form-item label="工序:">
           <el-select-v2
             v-model="processAlias"
@@ -67,6 +62,11 @@
             @change="handleProcessChange"
           />
         </el-form-item>
+        <el-form-item>
+          <el-button type="info" icon="Search" @click="handleQuerydaywork"
+            >搜索</el-button
+          >
+        </el-form-item>
       </el-form>
       <!-- 列表区 -->
       <div class="el-table-container">
@@ -103,10 +103,6 @@
                 @click="handleColumnClick(scope.row)"
                 ><span>{{ scope.row.lotCode }}</span></el-button
               >
-
-              <!-- // <a href="#" class="hyperlink" (row)">
-
-              // </a> -->
             </template>
           </el-table-column>
           <el-table-column
@@ -262,6 +258,7 @@ function handleProcessChange() {
     return item.processAlias == processList.value[processAlias.value].label;
   });
 }
+
 /**搜索 */
 function handleQuerydaywork() {
   getProducedLotList();