禁用特殊处理
This commit is contained in:
@@ -56,7 +56,7 @@ export default {
|
||||
this.$store.dispatch('receiveMaterObj', {})
|
||||
},
|
||||
created () {
|
||||
this._authority()
|
||||
// this._authority()
|
||||
},
|
||||
methods: {
|
||||
toPage (e) {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
label="托盘"
|
||||
v-model="val1"
|
||||
:seaShow="false"
|
||||
:disabled="option2[this.active2].region_code === 'SSX01'"
|
||||
:disabled="isSpecial"
|
||||
></search-box>
|
||||
<div class="bottom-filter-tip">
|
||||
<div class="filter-label txtjustify">数量</div>
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user