From a68d8260e9c4a1e8709a1f5ba69430ccb95f70da Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 21 一月 2026 10:59:48 +0800
Subject: [PATCH] 浪潮对接单点登录:能耗管理系统3
---
src/views/qualityManagement/finalInspection/index.vue | 55 ++++++++++++++++++++++++++-----------------------------
1 files changed, 26 insertions(+), 29 deletions(-)
diff --git a/src/views/qualityManagement/finalInspection/index.vue b/src/views/qualityManagement/finalInspection/index.vue
index 3f2595f..2e95624 100644
--- a/src/views/qualityManagement/finalInspection/index.vue
+++ b/src/views/qualityManagement/finalInspection/index.vue
@@ -79,12 +79,9 @@
const data = reactive({
searchForm: {
productName: "",
- entryDate: [
- dayjs().format("YYYY-MM-DD"),
- dayjs().add(1, "day").format("YYYY-MM-DD"),
- ], // 褰曞叆鏃ユ湡
- entryDateStart: dayjs().format("YYYY-MM-DD"),
- entryDateEnd: dayjs().add(1, "day").format("YYYY-MM-DD"),
+ entryDate: undefined, // 褰曞叆鏃ユ湡
+ entryDateStart: undefined,
+ entryDateEnd: undefined,
},
rules: {
checkName: [{required: true, message: "璇烽�夋嫨", trigger: "change"}],
@@ -137,17 +134,17 @@
}
},
},
- {
- label: "鎻愪氦鐘舵��",
- prop: "inspectState",
- formatData: (params) => {
- if (params) {
- return "宸叉彁浜�";
- } else {
- return "鏈彁浜�";
- }
- },
- },
+ // {
+ // label: "鎻愪氦鐘舵��",
+ // prop: "inspectState",
+ // formatData: (params) => {
+ // if (params) {
+ // return "宸叉彁浜�";
+ // } else {
+ // return "鏈彁浜�";
+ // }
+ // },
+ // },
{
dataType: "action",
label: "鎿嶄綔",
@@ -172,16 +169,16 @@
openFilesFormDia(row);
},
},
- {
- name: "鎻愪氦",
- type: "text",
- clickFun: (row) => {
- submit(row.id);
- },
- disabled: (row) => {
- return row.inspectState == 1;
- }
- },
+ // {
+ // name: "鎻愪氦",
+ // type: "text",
+ // clickFun: (row) => {
+ // submit(row.id);
+ // },
+ // disabled: (row) => {
+ // return row.inspectState == 1;
+ // }
+ // },
{
name: "鍒嗛厤妫�楠屽憳",
type: "text",
@@ -362,13 +359,13 @@
type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
})
const downloadUrl = window.URL.createObjectURL(blob)
-
+
const link = document.createElement('a')
link.href = downloadUrl
link.download = '鍘熸潗鏂欐楠屾姤鍛�.docx'
document.body.appendChild(link)
link.click()
-
+
document.body.removeChild(link)
window.URL.revokeObjectURL(downloadUrl)
})
--
Gitblit v1.9.3