diff --git a/src/common/directory.js b/src/common/directory.js
index e922c360..2ad8acfb 100644
--- a/src/common/directory.js
+++ b/src/common/directory.js
@@ -22,6 +22,7 @@ let countStageList = [];
let locationAreaTypeList = [];
let businessList = [];
let countScopeTypeList = [];
+let priorityList = []
@@ -64,6 +65,7 @@ export function clearCacheData() {
locationAreaTypeList = []
businessList = []
countScopeTypeList = []
+ priorityList = []
}
//获取字典信息
@@ -79,7 +81,6 @@ export function getDirectoryInfo(type) {
}
}
}
-
return result
}
@@ -614,5 +615,22 @@ export function getPackUnitName(value) {
return resultInfo
}
-
+//获取优先级
+export function getPriorityName(value) {
+ console.log(344,value)
+ var resultInfo = "";
+ if (priorityList.length == 0) {
+ priorityList = getDirectoryInfo("priority")
+ }
+ console.log(455,priorityList)
+ if (priorityList.length > 0) {
+ for (let item of priorityList) {
+ if (item.value == value) {
+ resultInfo = item.label
+ break;
+ }
+ }
+ }
+ return resultInfo
+}
locationAreaTypeList
\ No newline at end of file
diff --git a/src/common/style/new_style.css b/src/common/style/new_style.css
index dacc8147..d04e9a6b 100644
--- a/src/common/style/new_style.css
+++ b/src/common/style/new_style.css
@@ -2138,6 +2138,12 @@ button::after {
padding: 5px;
}
+.card_level {
+ color: #0689da;
+ padding: 5px;
+ font-size: 30rpx;
+}
+
.card_supportCode {
color: #DA8910;
padding: 5px;
diff --git a/src/mycomponents/balance/level.vue b/src/mycomponents/balance/level.vue
new file mode 100644
index 00000000..57c2a22e
--- /dev/null
+++ b/src/mycomponents/balance/level.vue
@@ -0,0 +1,37 @@
+
+
+ {{title}}
+ {{getPriorityName1()}}
+
+
+
+
+
+
diff --git a/src/mycomponents/job/jobComMainDetailCard.vue b/src/mycomponents/job/jobComMainDetailCard.vue
index b37077f0..3fe53d6a 100644
--- a/src/mycomponents/job/jobComMainDetailCard.vue
+++ b/src/mycomponents/job/jobComMainDetailCard.vue
@@ -9,8 +9,13 @@
-
-
+
+
+
+
+
+
+
@@ -27,8 +32,8 @@
import location from '@/mycomponents/balance/location.vue'
import toLocation from '@/mycomponents/balance/toLocation.vue'
import batch from '@/mycomponents/balance/batch.vue'
- import jobComMainCard from '@/mycomponents/job/jobComMainCard.vue'
import itemCompareQty from '@/mycomponents/item/itemCompareQty.vue'
+ import level from '@/mycomponents/balance/level.vue'
export default {
components: {
@@ -36,8 +41,8 @@
location,
toLocation,
batch,
- jobComMainCard,
itemCompareQty,
+ level
},
data() {
return {};
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index dba09b64..ce10f123 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -359,7 +359,7 @@
"inventory_status", "container_type", "pack_unit", "unplanned_receipt_reason",
"unplanned_issue_reason", "scrap_reason", "inspect_failed_reason",
"request_status", "inspect_type", "next_action", "sample_method", "transfer_mode",
- "count_stage", "inspect_result", "area_type","count_scope_type"
+ "count_stage", "inspect_result", "area_type","count_scope_type","priority"
]
}
getDictionaryItem(params).then(res => {