From 8d2a081dfded669c58273764907914f365c1c306 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 21 七月 2026 10:00:20 +0800
Subject: [PATCH] 1.不合格处理:新增问题类型字段;2.班次:新增删除排班操作;3.检验任务:新增撤销委托订单操作
---
src/views/business/materialOrderComponents/materialOrder/downFileDialog.vue | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/views/business/materialOrderComponents/materialOrder/downFileDialog.vue b/src/views/business/materialOrderComponents/materialOrder/downFileDialog.vue
index 6ff5627..c2cfb6a 100644
--- a/src/views/business/materialOrderComponents/materialOrder/downFileDialog.vue
+++ b/src/views/business/materialOrderComponents/materialOrder/downFileDialog.vue
@@ -20,12 +20,10 @@
</template>
<script>
-import ValueTable from "@/components/Table/value-table.vue";
-
export default {
name: "downFileDialog",
// import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢�
- components: {ValueTable},
+ components: {},
props: {
downFileDialogVisible: {
type: Boolean,
@@ -46,6 +44,10 @@
methods: {
// 杩涘巶妫�楠屾姤鍛婁笅杞�
downLoad0 () {
+ if(this.downLoadInfo.enterRatifyStatus !== 1){
+ this.$message.error("鎶ュ憡鏈鎵规垨瀹℃壒鏈�氳繃锛屾棤娉曚笅杞�")
+ return
+ }
let url = this.downLoadInfo.enterUrlS ? this.downLoadInfo.enterUrlS : this.downLoadInfo.enterUrl
if(url){
url = url.split('.')[0]+'.pdf'
@@ -58,6 +60,10 @@
},
// 瀛e害妫�楠屾姤鍛婁笅杞�
downLoad1 () {
+ if(this.downLoadInfo.quarterRatifyStatus !== 1){
+ this.$message.error("鎶ュ憡鏈鎵规垨瀹℃壒鏈�氳繃锛屾棤娉曚笅杞�")
+ return
+ }
let url = this.downLoadInfo.quarterUrlS ? this.downLoadInfo.quarterUrlS : this.downLoadInfo.quarterUrl
if(url){
url = url.split('.')[0]+'.pdf'
--
Gitblit v1.9.3