guoyujia 11 月之前
父节点
当前提交
3e094efdb2

+ 70 - 0
src/api/business/dayworkItemReject.js

@@ -0,0 +1,70 @@
+import request from '@/utils/request'
+const baseUrl = import.meta.env.VITE_APP_PRODUCTION_API
+
+// 查询报工废品记录列表
+export function listReject(query) {
+  return request({
+    url:  baseUrl +'/business/reject/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询报工废品报表列表
+export function rejectReport(query) {
+  return request({
+    url:  baseUrl +'/business/reject/rejectReport',
+    method: 'get',
+    params: query
+  })
+}
+// 查询报工废品报表列表
+export function rejectReportList(query) {
+  return request({
+    url:  baseUrl +'/business/reject/rejectReportList',
+    method: 'get',
+    params: query
+  })
+}
+// 查询报工废品报表列表
+export function rejectRecords(query) {
+  return request({
+    url:  baseUrl +'/business/reject/rejectRecords',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询报工废品记录详细
+export function getReject(id) {
+  return request({
+    url: baseUrl + '/business/reject/' + id,
+    method: 'get'
+  })
+}
+
+// 新增报工废品记录
+export function addReject(data) {
+  return request({
+    url: baseUrl + '/business/reject',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改报工废品记录
+export function updateReject(data) {
+  return request({
+    url: baseUrl + '/business/reject',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除报工废品记录
+export function delReject(id) {
+  return request({
+    url:  baseUrl +'/business/reject/' + id,
+    method: 'delete'
+  })
+}

+ 45 - 0
src/api/business/processInspecion.js

@@ -0,0 +1,45 @@
+import request from '@/utils/request'
+const baseUrl = import.meta.env.VITE_APP_PRODUCTION_API
+
+// 查询序检主表列表
+export function listInspecion(query) {
+  return request({
+    url: baseUrl +'/business/inspecion/listInfo',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询序检主表详细
+export function getInspecion(id) {
+  return request({
+    url:  baseUrl +'/business/inspecion/' + id,
+    method: 'get'
+  })
+}
+
+// 新增序检主表
+export function addInspecion(data) {
+  return request({
+    url: '/business/inspecion',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改序检主表
+export function updateInspecion(data) {
+  return request({
+    url: '/business/inspecion',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除序检主表
+export function delInspecion(id) {
+  return request({
+    url: '/business/inspecion/' + id,
+    method: 'delete'
+  })
+}

+ 243 - 0
src/views/business/processInspection/form.vue

@@ -0,0 +1,243 @@
+<template>
+  <el-drawer
+    title="序检详情"
+    :with-header="false"
+    v-model="visible"
+    direction="rtl"
+    size="100%"
+  >
+    <div class="form-container column-container">
+      <div class="form-btns-container">
+        <span class="title-label">
+          <el-icon><Document /></el-icon>
+          <span>序检详情</span>
+        </span>
+        <el-button-group>
+          <el-button type="success" icon="Refresh" @click="refreshForm">
+            刷新
+          </el-button>
+        </el-button-group>
+
+        <div class="close-btn" @click="cancel">
+          <i class="fa fa-times" aria-hidden="true" />
+          <!-- <span>关闭</span> -->
+        </div>
+      </div>
+      <div class="form-container">
+      <div style="padding: 16px 16px 0 16px;">
+      <el-row :gutter="20" style="margin-top: 15px;padding-bottom: 10px; ">
+        <el-col :span="5">
+          <span class="leftInfo">批次号</span>
+          <span class="rightInfo">{{ processInspectionDetail.lotCode }}</span>
+        </el-col>
+        <el-col :span="9">
+          <span class="middleInfo">产品描述</span>
+          <span class="rightInfo">{{ processInspectionDetail.productDescription }}</span>
+        </el-col>
+        <el-col :span="6">
+          <span class="middleInfo">图号</span>
+          <span class="rightInfo">{{ processInspectionDetail.drawingNumber }}</span>
+        </el-col>
+        <el-col :span="4">
+          <span class="middleInfo">工艺版本</span>
+          <span class="rightInfo">{{ processInspectionDetail.technologyVersion }}</span>
+        </el-col>
+      </el-row>
+      <el-row :gutter="20" style="margin-top: 15px; padding-bottom: 10px;border-bottom: 1px solid #999;">
+        <el-col :span="5" >
+          <span class="leftInfo">检测人员</span>
+          <span class="rightInfo" >{{ processInspectionDetail.nickName }}</span>
+        
+        </el-col>
+        <el-col :span="9">
+          <span class="middleInfo">检测日期</span>
+          <span class="rightInfo">{{ processInspectionDetail.createTime }}</span>
+        </el-col>
+        <el-col :span="6">
+          <span class="middleInfo">检测工序</span>
+          <span class="rightInfo">{{ processInspectionDetail.processAlias }}</span>
+        </el-col>
+        <el-col :span="4">
+          <span class="middleInfo">检测状态</span>
+          <span class="rightInfo">{{ processInspectionDetail.status ==0?'待确认':processInspectionDetail.status == 1?'合格':'不合格' }}</span>
+        </el-col>
+      </el-row>
+      <el-row :gutter="20" style="margin-top: 15px;margin-bottom: 15px; ">
+        <el-col :span="5">
+          <span style=" font-size: 17px; width: 120px;font-weight: bold;">不合格信息</span>
+        </el-col>
+        </el-row>
+      </div>
+      </div>
+      <div class="el-table-container">
+        <div class="el-table-inner-container">
+          <el-table
+            v-loading="loading"
+            :data="processInspectionDetail.rejectList"
+            size="small"
+            border
+            height=95%
+          >
+            <el-table-column
+              label="行号"
+              type="index"
+              align="center"
+              width="48"
+            />
+            <el-table-column
+              label="检查标准"
+              align="center"
+              prop="checkStandard"
+            />
+            <el-table-column
+              label="检查结果"
+              align="center"
+              prop="checkResult"
+            />
+            <el-table-column
+              label="废品数量"
+              align="center"
+              prop="rejectNum"
+              width="96"
+            />
+          </el-table>
+        </div>
+      </div>
+      <div class="form-container">
+      <el-row :gutter="20" style="margin: 15px 0 0 6px;margin-bottom: 15px;">
+        <el-col :span="5">
+          <span style=" font-size: 17px; width: 120px;font-weight: bold;">咨询信息</span>
+        </el-col>
+      </el-row>
+      </div>
+      <div class="el-table-container">
+        <div class="el-table-inner-container">
+          <el-table
+            v-loading="loading"
+            :data="processInspectionDetail.consultList"
+            size="small"
+            border
+            height=95%
+          >
+            <el-table-column
+              label="行号"
+              type="index"
+              align="center"
+              width="48"
+            />
+            <el-table-column
+              label="咨询内容"
+              align="center"
+              prop="content"
+            />
+            <el-table-column
+              label="回复状态"
+              align="center"
+              prop="checkResult"
+              width="70"
+            >
+          <template #default = "scope">
+          <span>{{ scope.row.status ==0?'未回复':detailInfo.status == 1?'合格':'不合格' }} </span>
+          </template>
+        </el-table-column>
+          </el-table>
+        </div>
+      </div>
+    </div>
+  </el-drawer>
+</template>
+
+<script setup>
+import { getInspecion } from "@/api/business/processInspecion";
+import SpliterPlus from "@/components/SpliterPlus";
+import { ref } from "vue";
+const { proxy } = getCurrentInstance();
+/** 表单抽屉 页变量 */
+const loading = ref(false);
+const processInspectionDetail = ref({});
+const detail = ref({});
+const visible = ref(false);
+
+/****************************  方法区  ****************************/
+/** 打开抽屉 */
+const open = (row) => {
+  visible.value = true;
+  detail.value = row;
+  getProcessInspection(row);
+};
+
+/** 取消按钮 */
+const cancel = () => {
+  visible.value = false;
+};
+
+function getProcessInspection(row) {
+  loading.value = true;
+  getInspecion(row.id).then((res) => {
+    if (res.code == 200) {
+      processInspectionDetail.value = res.data;
+      loading.value = false;
+    }
+  });
+}
+function refreshForm() {
+  getProcessInspection(detail.value);
+}
+/** 暴露给父组件的方法 */
+defineExpose({
+  open,
+});
+</script>
+<style scoped>
+.form-container .details-container {
+  display: flex;
+  flex-direction: column;
+  position: relative;
+  flex-grow: 1;
+  overflow: hidden;
+}
+.form-container .details-container .details-head {
+  padding: 2px 8px;
+  height: 28px;
+  background-color: #e3e9f0;
+  box-sizing: border-box;
+}
+
+.form-container .details-container .details-head > div.title {
+  padding-top: 4px;
+  font-size: 16px;
+  margin-right: 16px;
+}
+.form-container .details-container .details-body {
+  position: relative;
+  flex-grow: 1;
+}
+.form-container .details-container .details-body > div {
+  position: absolute;
+  top: 0;
+  right: 0;
+  bottom: 0;
+  left: 0;
+}
+.form-container .details-container .details-body .el-table th.is-group,
+.form-container .details-container .details-body .el-table th.is-center,
+.form-container .details-container .details-body .el-table th.is-leaf {
+  padding: 4px 0;
+  border-color: #ebeef5;
+  color: #333;
+}
+.leftInfo {
+  font-size: 16px;
+  width: 120px;
+  display: inline-block;
+}
+.middleInfo {
+  font-size: 16px;
+  width: 120px;
+  display: inline-block;
+}
+.rightInfo {
+  font-size: 16px;
+  padding-left: 20px;
+}
+</style>

+ 174 - 0
src/views/business/processInspection/index.vue

@@ -0,0 +1,174 @@
+<template>
+    <div class="page-container row-container">
+        <!-- 左侧区域 -->
+        <section class="list-part-container" style="flex: 3">
+            <!-- 搜索区 -->
+            <el-form class="list-search-container" :model="queryParams" ref="queryRef" :inline="true"
+                style="margin-right: 0px">
+                <el-form-item class="section-title" label="工段:">
+                    <el-select-v2 v-model="queryParams.deptId" :options="deptList" placeholder="请选择工段"
+                        style="width: 130px" @change="handleDeptChange" />
+                </el-form-item>
+                <el-form-item label="批次号:">
+                    <el-input placeholder="请输入批次号" v-model.trim="queryParams.lotCode" @keydown.enter.prevent clearable
+                        style="width: 140px" />
+                </el-form-item>
+                <el-form-item label="产品描述:">
+                    <el-input placeholder="请输入产品描述" v-model.trim="queryParams.productDescription" @keydown.enter.prevent
+                        clearable style="width: 130px" />
+                </el-form-item>
+                <el-form-item label="工序:">
+                    <el-input placeholder="请输入工序" v-model.trim="queryParams.processAlias" @keydown.enter.prevent
+                        clearable style="width: 130px" />
+                </el-form-item>
+                <el-form-item label="状态:">
+					<el-select v-model="queryParams.status" clearable placeholder="请选择状态" style="width: 130px">
+						<el-option v-for="dict in process_inspection_status" :key="dict.value" :label="dict.label" :value="dict.value"></el-option>
+					</el-select>
+				</el-form-item>
+                <el-form-item label="检测日期:">
+                    <el-date-picker v-model="queryParams.startTime" type="date" value-format="YYYY-MM-DD"
+                        :editable="false" clearable placeholder="请选择" style="width: 136px" @change="handleTimeChange" />
+                    <span>~</span>
+                    <el-date-picker v-model="queryParams.endTime" type="date" value-format="YYYY-MM-DD"
+                        :editable="false" clearable placeholder="请选择" style="width: 136px"  @change="handleTimeChange" />
+                </el-form-item>
+                <el-form-item style="margin-left: 0">
+                    <el-button type="info" icon="Search" @click="handleQuery">搜索
+                    </el-button>
+                </el-form-item>
+            </el-form>
+            <div class="el-table-container">
+                <div class="el-table-inner-container">
+                    <el-table ref="processInspectionTable" :data="inspectionList" v-loading="inspectionLoading" 
+                        highlight-current-row height="100%">
+                        <el-table-column label="批次号" prop="lotCode" width="160" align="center" />
+                        <el-table-column label="产品描述" prop="productDescription" align="center" width="220"/>
+                        <el-table-column label="图号" prop="drawingNumber" align="center" />
+                        <el-table-column label="工艺版本" prop="technologyVersion" align="center"  />
+                        <el-table-column label="检测人员" prop="nickName" align="center"  />
+                        <el-table-column label="检测工段" prop="deptName" width="160" align="center" />
+                        <el-table-column label="检测工序" prop="processAlias" width="160" align="center" />
+                        <el-table-column label="检测日期" prop="createTime" width="160" align="center" />
+                        <el-table-column label="备注" prop="remark" width="160" align="center" />
+                        <el-table-column label="检测状态" align="center" prop="status">
+							<template #default="scope">
+								<dict-tag :options="process_inspection_status" :value="scope.row.status" />
+							</template>
+						</el-table-column>
+                        <el-table-column label="操作" width="200" fixed="right" align="center">
+                            <template #default="scope">
+                            <el-button link type="primary" icon="View"
+                                @click="handleView(scope.row)">查看</el-button>
+                            </template>
+                        </el-table-column>
+                    </el-table>
+                </div>
+            </div>
+            <!-- 分页 -->
+            <pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum"
+                v-model:limit="queryParams.pageSize" @pagination="getProcessInspectionList" />
+        </section>
+        <process-inspection-form ref="processInspectionRef" />
+    </div>
+</template>
+
+<script setup name="processInspection">
+import {
+    listInspecion
+} from "@/api/business/processInspecion.js";
+import { getDeptList } from "@/api/business/planDetailSubDetail.js";
+import processInspectionForm from "./form.vue"
+import { ref } from "vue";
+const { proxy } = getCurrentInstance();
+/** 字典数组区 */
+const { process_inspection_status } = proxy.useDict('process_inspection_status')
+
+/** 序检 */
+const processInspectionTable = ref(null);
+const inspectionList = ref([]);
+const inspectionLoading = ref(false);
+const loading = ref(false);
+const isDispatch = ref(false);
+const total = ref(0);
+/**工段 */
+const deptList = ref([]);
+const queryParams = ref({
+    pageNum: 1,
+    pageSize: 10,
+    lotCode: null,
+    productDescription: null,
+    deptId:null,
+    processAlias:null
+});
+
+/***********************  工段相关事件  ****************************/
+function getList() {
+    getNowDate();
+    loading.value = true;
+    getDeptList().then((response) => {
+        deptList.value = response.data.rows;
+        isDispatch.value = response.data.others.isDispatch;
+        loading.value = false;
+        if (isDispatch.value) {
+            deptList.value.unshift({ label: "全部", value: "0" });
+        } 
+        let index = deptList.value.findIndex(item =>{
+              return  item.label == '外协'
+        })
+        if(index>-1) {
+            deptList.value.splice(index,1) 
+        }
+        queryParams.value.deptId = deptList.value[0].value;
+        getProcessInspectionList();
+    });
+}
+function getNowDate() {
+    queryParams.value.startTime = proxy.moment().format("YYYY-MM-DD")
+    queryParams.value.endTime = proxy.moment().format("YYYY-MM-DD")
+}
+function handleTimeChange() {
+    getProcessInspectionList();
+}
+//查看序检明细
+function handleView(row) {
+    proxy.$refs.processInspectionRef.open(row)
+}
+
+//切换工段
+function handleDeptChange() {
+    getProcessInspectionList();
+}
+
+
+/***********************  废品报表信息相关事件  ****************************/
+
+/** 废品详情列表 */
+function getProcessInspectionList() {
+    if (queryParams.value.startTime != null) {
+        queryParams.value.startTime = proxy.moment(queryParams.value.startTime).format('YYYY-MM-DD 00:00:00')
+    }
+    if (queryParams.value.endTime != null) {
+        queryParams.value.endTime = proxy.moment(queryParams.value.endTime).format('YYYY-MM-DD 23:59:59')
+    }
+    inspectionLoading.value = true;
+    listInspecion(queryParams.value).then((res) => {
+        inspectionList.value = res.rows;
+        total.value = res.total;
+        inspectionLoading.value = false;
+    });
+}
+/** 搜索按钮操作 */
+function handleQuery() {
+    getProcessInspectionList();
+}
+
+onMounted(() => {
+    getList();
+});
+</script>
+<style scoped>
+.el-form--inline .el-form-item {
+    margin-right: 20px;
+}
+</style>

+ 44 - 0
src/views/business/rejectReport/DialogRejectRecords.vue

@@ -0,0 +1,44 @@
+<template>
+	<el-dialog title="废品详情" v-model="visible" width="800px" height="400px" @close="close" append-to-body draggable  style="font-size: 14px;">
+		<el-table ref="dialogTable" :data="recordsList" size="small" v-loading="loading" border height="500px" header-row-class-name="list-header-row" row-class-name="list-row" >
+			<el-table-column label="工序" align="center" prop="processAlias" />
+			<el-table-column label="废品原因" align="center" prop="reason" />
+			<el-table-column label="废品数量" align="center" prop="rejectNum" />
+			<el-table-column label="提交人" align="center" prop="nickName" />
+			<el-table-column label="提交时间" align="center" prop="createTime" />
+		</el-table>
+	</el-dialog>
+</template>
+<script setup>
+import { rejectRecords } from "@/api/business/dayworkItemReject";
+/** 历史记录变量 */
+const recordsList = ref([])
+const visible = ref(false)
+const loading = ref(false)
+
+/**
+ * 对话框打开 事件
+ */
+function open(data) {
+	visible.value = true
+	rejectRecords(data).then(res =>{
+		recordsList.value = res.rows
+	})
+	console.log(data)
+}
+
+/**
+ * 对话框关闭 事件
+ */
+function close() {
+	visible.value = false
+}
+
+defineExpose({
+	open
+})
+</script>
+<style scoped>
+.el-table--small {
+    font-size: 14px;
+}</style>

+ 181 - 0
src/views/business/rejectReport/index.vue

@@ -0,0 +1,181 @@
+<template>
+    <div class="page-container row-container">
+        <!-- 左侧区域 -->
+        <section class="list-part-container" style="flex: 3">
+            <!-- 搜索区 -->
+            <el-form class="list-search-container" :model="queryParams" ref="queryRef" :inline="true"
+                style="margin-right: 0px">
+                <el-form-item class="section-title" label="工段:">
+                    <el-select-v2 v-model="queryParams.deptId" :options="deptList" placeholder="请选择工段"
+                        style="width: 130px" @change="handleDeptChange" />
+                </el-form-item>
+                <el-form-item label="批次号:">
+                    <el-input placeholder="请输入批次号" v-model.trim="queryParams.lotCode" @keydown.enter.prevent clearable
+                        style="width: 140px" />
+                </el-form-item>
+                <el-form-item label="产品描述:">
+                    <el-input placeholder="请输入产品描述" v-model.trim="queryParams.productDescription" @keydown.enter.prevent
+                        clearable style="width: 130px" />
+                </el-form-item>
+   
+                <el-form-item label="废品提交时间:">
+                    <el-date-picker v-model="queryParams.startTime" type="date" value-format="YYYY-MM-DD"
+                        :editable="false" clearable placeholder="请选择" style="width: 136px" @change="handleTimeChange" />
+                    <span>~</span>
+                    <el-date-picker v-model="queryParams.endTime" type="date" value-format="YYYY-MM-DD"
+                        :editable="false" clearable placeholder="请选择" style="width: 136px"  @change="handleTimeChange" />
+                </el-form-item>
+                <el-form-item style="margin-left: 0">
+                    <el-button type="info" icon="Search" @click="handleQuery">搜索
+                    </el-button>
+                    <el-button type="success" icon="Download" @click="handleExport">导出</el-button>
+                </el-form-item>
+            </el-form>
+            <div class="el-table-container">
+                <div class="el-table-inner-container">
+                    <el-table ref="rejectTable" :data="rejectList" v-loading="rejectLoading" show-summary  :summary-method="getTotalRejct"
+                        highlight-current-row height="100%">
+                        <el-table-column label="批次号" prop="lotCode" width="160" align="center" />
+                        <el-table-column label="产品描述" prop="productDescription" align="center" />
+                        <el-table-column label="工艺版本" prop="technologyVersion" align="center"  />
+                        <el-table-column label="废品数" prop="totalRejectNum" width="150" align="center" >
+                            <template #default="scope">
+                                <span
+                                    v-if="scope.row.totalRejectNum > 0"
+                                    style="color: blue; cursor: pointer;"
+                                    @click="handleCheckRejectReason(scope.row)"
+                                    >
+                                    {{ scope.row.totalRejectNum }}
+                                    </span>  
+                            </template>
+                        </el-table-column>
+                        <el-table-column label="工段" prop="deptName" width="160" align="center" />
+                        <el-table-column label="废品提交时间" prop="createTime" width="160" align="center" />
+                    </el-table>
+                </div>
+            </div>
+            <!-- 分页 -->
+            <pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum"
+                v-model:limit="queryParams.pageSize" @pagination="getDayworkItemReject" />
+        </section>
+        <reject-dialog ref="rejectRecordsDialog" />
+    </div>
+</template>
+
+<script setup name="rejectReport">
+import {
+    rejectReport,rejectReportList
+} from "@/api/business/dayworkItemReject.js";
+import { getDeptList } from "@/api/business/planDetailSubDetail.js";
+import rejectDialog from "./DialogRejectRecords"
+import { ref } from "vue";
+const { proxy } = getCurrentInstance();
+
+/** 废品 */
+const rejectTable = ref(null);
+const rejectList = ref([]);
+const rejectLoading = ref(false);
+const loading = ref(false);
+const isDispatch = ref(false);
+const rejectTotal = ref(0)
+const total = ref(0);
+/**工段 */
+const deptList = ref([]);
+const queryParams = ref({
+    pageNum: 1,
+    pageSize: 10,
+    lotCode: null,
+    productDescription: null,
+    deptId:null
+});
+
+/***********************  工段相关事件  ****************************/
+function getList() {
+    getNowDate();
+    loading.value = true;
+    getDeptList().then((response) => {
+        deptList.value = response.data.rows;
+        isDispatch.value = response.data.others.isDispatch;
+        loading.value = false;
+        if (isDispatch.value) {
+            deptList.value.unshift({ label: "全部", value: "0" });
+        } 
+        queryParams.value.deptId = deptList.value[0].value;
+        getDayworkItemReject();
+    });
+}
+function getNowDate() {
+    queryParams.value.startTime = proxy.moment().format("YYYY-MM-DD")
+    queryParams.value.endTime = proxy.moment().format("YYYY-MM-DD")
+}
+function handleTimeChange() {
+    getDayworkItemReject();
+}
+
+//切换工段
+function handleDeptChange() {
+    getDayworkItemReject();
+}
+
+
+/***********************  废品报表信息相关事件  ****************************/
+
+/** 废品详情列表 */
+function getDayworkItemReject() {
+    if (queryParams.value.startTime != null) {
+        queryParams.value.startTime = proxy.moment(queryParams.value.startTime).format('YYYY-MM-DD 00:00:00')
+    }
+    if (queryParams.value.endTime != null) {
+        queryParams.value.endTime = proxy.moment(queryParams.value.endTime).format('YYYY-MM-DD 23:59:59')
+    }
+    rejectLoading.value = true;
+    rejectReport(queryParams.value).then((res) => {
+        rejectList.value = res.rows;
+        total.value = res.total;
+        rejectLoading.value = false;
+    });
+    getRejectTotal()
+}
+/** 导出按钮操作 */
+function handleExport() {
+    proxy.download('/ezhizao-dms-production/business/reject/download', {
+        ...queryParams.value
+    }, `废品报表${new Date().getTime()}.xlsx`)
+}
+/** 搜索按钮操作 */
+function handleQuery() {
+    getDayworkItemReject();
+}
+//获得所有页的废品总数
+function getRejectTotal() {
+    rejectReportList(queryParams.value).then(res => {
+        rejectTotal.value = res.data
+    })
+    console.log(rejectTotal.value)
+}
+//查看废品原因
+function handleCheckRejectReason(row) {
+    if (queryParams.value.startTime != null) {
+       row.startTime = proxy.moment(queryParams.value.startTime).format('YYYY-MM-DD 00:00:00')
+    }
+    if (queryParams.value.endTime != null) {
+        row.endTime = proxy.moment(queryParams.value.endTime).format('YYYY-MM-DD 23:59:59')
+    }
+    proxy.$refs.rejectRecordsDialog.open(row);
+}
+//计算废品总数
+function getTotalRejct() {
+    let sum = []
+    sum[3] = '废品总数:'+rejectTotal.value
+    return sum
+}
+
+onMounted(() => {
+    getList();
+});
+</script>
+<style scoped>
+.el-form--inline .el-form-item {
+    margin-right: 20px;
+}
+</style>