wenwj
2025-04-11 820cb1b5244d536d9ae64f4ab053defe598ef1b4
src/views/basicData/processRoute/index.vue
ÎļþÃû´Ó src/views/aps/processRoute/index.vue ÐÞ¸Ä
@@ -1,6 +1,9 @@
<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="90px">
      <el-row :gutter="20">
        <el-col
        :span="6">
      <el-form-item label="集成日期" style="width: 308px">
        <el-date-picker
          v-model="daterangeIntegrationDay"
@@ -11,6 +14,9 @@
          end-placeholder="结束日期"
        ></el-date-picker>
      </el-form-item>
        </el-col>
        <el-col
        :span="6">
      <el-form-item label="料号" prop="itemNo">
            <el-input
              v-model="queryParams.itemNo"
@@ -19,42 +25,19 @@
              @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">搜索</el-button>
        <el-button icon="Refresh" @click="resetQuery">重置</el-button>
      </el-form-item>
        </el-col>
    </el-row>
    </el-form>
    <el-row :gutter="10" class="mb8">
      <!-- <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="Plus"
          @click="handleAdd"
          v-hasPermi="['aps:processRoute:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="Edit"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['aps:processRoute:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="Delete"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['aps:processRoute:remove']"
        >删除</el-button>
      </el-col> -->
      <el-col :span="1.5">
        <el-button 
          type="info" 
@@ -167,7 +150,7 @@
</template>
<script setup name="ProcessRoute">
import { listProcessRoute, getProcessRoute, delProcessRoute, addProcessRoute, updateProcessRoute,processRouteTempList,confirmProcessRoute } from "@/api/aps/processRoute";
import { listProcessRoute, getProcessRoute, delProcessRoute, addProcessRoute, updateProcessRoute,processRouteTempList,confirmProcessRoute } from "@/api/basicData/processRoute";
import HxlhTable from '@/components/HxlhTable'
import { getToken } from "@/utils/auth";
import { ref } from "vue";
@@ -251,19 +234,31 @@
  {
    title: '未开工数量',
    field: 'notStartWorkCount',
    width: 150,
    width: 90,
    align:"center",
  },
  {
    title: '已完成数量',
    field: 'completedCount',
    width: 150,
    width: 90,
    align:"center",
  },
  {
    title: '废弃数量',
    field: 'discardCount',
    width: 150,
    width: 90,
    align:"center",
  },
  {
    title: '标准工时',
    field: 'standardTime',
    width: 90,
    align:"center",
  },
  {
    title: '工序排序',
    field: 'processOrder',
    width: 90,
    align:"center",
  },
  {
@@ -291,7 +286,7 @@
  {
    title: '工序序号',
    field: 'processNumber',
    width: 100,
    width: 85,
    align:"center",
  },
  {
@@ -315,27 +310,39 @@
  {
    title: '未开工数量',
    field: 'notStartWorkCount',
    width: 150,
    width: 140,
    align:"center",
  },
  {
    title: '已完成数量',
    field: 'completedCount',
    width: 150,
    width: 140,
    align:"center",
  },
  {
    title: '废弃数量',
    field: 'discardCount',
    width: 150,
    width: 140,
    align:"center",
  },
  {
    title: '集成日期',
    field: 'integrationDay',
    width: 160,
    title: '标准工时',
    field: 'standardTime',
    width: 140,
    align:"center",
  }
  },
  {
    title: '工序排序',
    field: 'processOrder',
    width: 140,
    align:"center",
  },
  // {
  //   title: '集成日期',
  //   field: 'integrationDay',
  //   width: 160,
  //   align:"center",
  // }
]);
const data = reactive({
  form: {},