From a4add192450f06f9e4748e6513234510f431b21e Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 16 十一月 2023 10:56:21 +0800
Subject: [PATCH] modified: src/views/basic/log/index.vue modified: src/views/plan/manufacturingorder/index.vue modified: src/views/plan/masterproductionschedule/index.vue modified: src/views/plan/mpsrequirements/index.vue modified: src/views/plan/operationtask/index.vue modified: src/views/plan/outsourcingorder/index.vue modified: src/views/quality/report/index.vue
---
src/views/plan/masterproductionschedule/index.vue | 8 ++++----
src/views/plan/manufacturingorder/index.vue | 2 ++
src/views/basic/log/index.vue | 1 +
src/views/plan/mpsrequirements/index.vue | 1 +
src/views/plan/operationtask/index.vue | 1 +
src/views/plan/outsourcingorder/index.vue | 8 ++++----
src/views/quality/report/index.vue | 3 ++-
7 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/src/views/basic/log/index.vue b/src/views/basic/log/index.vue
index 9bca672..11505e4 100644
--- a/src/views/basic/log/index.vue
+++ b/src/views/basic/log/index.vue
@@ -35,6 +35,7 @@
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item
+ :key="item"
:command="item.command"
v-for="item in documentTagArr"
:disabled="item.disabled"
diff --git a/src/views/plan/manufacturingorder/index.vue b/src/views/plan/manufacturingorder/index.vue
index 8242121..2f08f2a 100644
--- a/src/views/plan/manufacturingorder/index.vue
+++ b/src/views/plan/manufacturingorder/index.vue
@@ -22,6 +22,7 @@
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item
+ :key="item"
:command="item.command"
v-for="item in taskTypeArr"
:disabled="canCreateTask"
@@ -40,6 +41,7 @@
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item
+ :key="item"
:command="item.command"
v-for="item in stateTagArr"
:disabled="item.disabled"
diff --git a/src/views/plan/masterproductionschedule/index.vue b/src/views/plan/masterproductionschedule/index.vue
index e46dfa5..e32674e 100644
--- a/src/views/plan/masterproductionschedule/index.vue
+++ b/src/views/plan/masterproductionschedule/index.vue
@@ -9,7 +9,7 @@
杞﹂棿璁㈠崟<i class="el-icon-arrow-down el-icon--right"></i>
</el-button>
<el-dropdown-menu slot="dropdown">
- <el-dropdown-item :command="item.command" v-for="item in orderTypeArr" :disabled="item.disabled">{{
+ <el-dropdown-item :key="item" :command="item.command" v-for="item in orderTypeArr" :disabled="item.disabled">{{
item.label }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
@@ -20,7 +20,7 @@
鐘舵�佹敼鍙�<i class="el-icon-arrow-down el-icon--right"></i>
</el-button>
<el-dropdown-menu slot="dropdown">
- <el-dropdown-item :command="item.command" v-for="item in stateTagArr" :disabled="item.disabled">{{
+ <el-dropdown-item :key="item" :command="item.command" v-for="item in stateTagArr" :disabled="item.disabled">{{
item.label }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
@@ -31,7 +31,7 @@
宸ヨ壓鏂囦欢<i class="el-icon-arrow-down el-icon--right"></i>
</el-button>
<el-dropdown-menu slot="dropdown">
- <el-dropdown-item :command="item.command" v-for="item in documentTagArr" :disabled="item.disabled">
+ <el-dropdown-item :key="item" :command="item.command" v-for="item in documentTagArr" :disabled="item.disabled">
{{ item.label }}
</el-dropdown-item>
</el-dropdown-menu>
@@ -43,7 +43,7 @@
瀹℃牳鐘舵�佹敼鍙�<i class="el-icon-arrow-down el-icon--right"></i>
</el-button>
<el-dropdown-menu slot="dropdown">
- <el-dropdown-item :command="item.command" v-for="item in commitStateTagArr" :disabled="item.disabled">{{item.label }}</el-dropdown-item>
+ <el-dropdown-item :key="item" :command="item.command" v-for="item in commitStateTagArr" :disabled="item.disabled">{{item.label }}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<el-button v-if="permissions.masterproductionschedule_submit_oa" @click="commitOa()" type="primary"
diff --git a/src/views/plan/mpsrequirements/index.vue b/src/views/plan/mpsrequirements/index.vue
index ccac8f3..4e847e8 100644
--- a/src/views/plan/mpsrequirements/index.vue
+++ b/src/views/plan/mpsrequirements/index.vue
@@ -18,6 +18,7 @@
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item
+ :key="item"
:command="item.command"
v-for="item in stateTagArr"
:disabled="item.disabled"
diff --git a/src/views/plan/operationtask/index.vue b/src/views/plan/operationtask/index.vue
index 9f48251..15f019c 100644
--- a/src/views/plan/operationtask/index.vue
+++ b/src/views/plan/operationtask/index.vue
@@ -21,6 +21,7 @@
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item
+ :key="item"
:command="item.command"
v-for="item in stateTagArr"
:disabled="item.disabled"
diff --git a/src/views/plan/outsourcingorder/index.vue b/src/views/plan/outsourcingorder/index.vue
index e710c6d..2a82f99 100644
--- a/src/views/plan/outsourcingorder/index.vue
+++ b/src/views/plan/outsourcingorder/index.vue
@@ -21,9 +21,9 @@
<template v-for="item in stateTagArr">
<el-dropdown-item
:command="item.command"
- :disabled="item.disabled"
- >{{ item.eventName }}</el-dropdown-item
- >
+ :disabled="item.disabled">
+ {{ item.eventName }}
+ </el-dropdown-item>
</template>
</el-dropdown-menu>
</el-dropdown>
@@ -33,7 +33,7 @@
</el-button>
<el-dropdown-menu slot="dropdown">
<template v-for="item in oaStateTagArr">
- <el-dropdown-item :command="item.command" v-if="item.isShow"
+ <el-dropdown-item :key="item" :command="item.command" v-if="item.isShow"
>{{ item.eventName }}
</el-dropdown-item>
</template>
diff --git a/src/views/quality/report/index.vue b/src/views/quality/report/index.vue
index 3001a9f..dabf2a4 100644
--- a/src/views/quality/report/index.vue
+++ b/src/views/quality/report/index.vue
@@ -81,10 +81,11 @@
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item
+ :key="item"
:command="item.ref"
v-for="item in toolbarIsQualified"
:disabled="item.disabled"
- v-if="item.isShow"
+ v-show="item.isShow"
>{{ item.text }}
</el-dropdown-item>
</el-dropdown-menu>
--
Gitblit v1.9.3