diff --git a/src/pages/login/Home.vue b/src/pages/login/Home.vue
index 08f33e5..a384b6f 100644
--- a/src/pages/login/Home.vue
+++ b/src/pages/login/Home.vue
@@ -56,7 +56,7 @@ export default {
this.$store.dispatch('receiveMaterObj', {})
},
created () {
- this._authority()
+ // this._authority()
},
methods: {
toPage (e) {
diff --git a/src/pages/proj/SendEmptyPallet.vue b/src/pages/proj/SendEmptyPallet.vue
index b2e58ad..5b975ed 100644
--- a/src/pages/proj/SendEmptyPallet.vue
+++ b/src/pages/proj/SendEmptyPallet.vue
@@ -31,7 +31,7 @@
label="托盘"
v-model="val1"
:seaShow="false"
- :disabled="option2[this.active2].region_code === 'SSX01'"
+ :disabled="isSpecial"
>
数量
@@ -64,6 +64,7 @@ export default {
return {
val1: '',
val2: '',
+ isSpecial: false,
option2: [],
active2: '',
open2: false,
@@ -86,9 +87,6 @@ export default {
this.$set(el, 'value', el.region_id)
this.$set(el, 'label', el.region_name)
})
- if (this.option2[this.active2].region_code === 'SSX01') {
- this.val1 = ''
- }
} else {
this.Dialog(res.desc)
}
@@ -130,6 +128,12 @@ export default {
dropdownMenu2 (i) {
this.active2 = i + ''
this.open2 = false
+ if (this.option2[this.active2].region_code === 'SSX01') {
+ this.val1 = ''
+ this.isSpecial = true
+ } else {
+ this.isSpecial = false
+ }
this.option3 = this.option2[this.active2].pointArr
this.option3.map(el => {
this.$set(el, 'value', el.point_id)