diff --git a/src/pages/xinrui/storage/outstorage/CheckOutStore.vue b/src/pages/xinrui/storage/outstorage/CheckOutStore.vue index 4237192..f817af1 100644 --- a/src/pages/xinrui/storage/outstorage/CheckOutStore.vue +++ b/src/pages/xinrui/storage/outstorage/CheckOutStore.vue @@ -169,11 +169,11 @@ export default { }, returnStore () { this.disabled2 = true - if (this.val1 && this.val2) { - this._backstore() - } else { + if (!(this.val1 && this.val2)) { this.disabled2 = false + return } + this._backstore() } } } diff --git a/src/pages/xinrui/storage/outstorage/OtherOutStore.vue b/src/pages/xinrui/storage/outstorage/OtherOutStore.vue index b3c2702..288e39b 100644 --- a/src/pages/xinrui/storage/outstorage/OtherOutStore.vue +++ b/src/pages/xinrui/storage/outstorage/OtherOutStore.vue @@ -169,11 +169,11 @@ export default { }, returnStore () { this.disabled2 = true - if (this.val1 && this.val2) { - this._backstore() - } else { + if (!(this.val1 && this.val2)) { this.disabled2 = false + return } + this._backstore() } } } diff --git a/src/pages/xinrui/storage/outstorage/PeifenOutStore.vue b/src/pages/xinrui/storage/outstorage/PeifenOutStore.vue index 094af1a..b18b152 100644 --- a/src/pages/xinrui/storage/outstorage/PeifenOutStore.vue +++ b/src/pages/xinrui/storage/outstorage/PeifenOutStore.vue @@ -188,16 +188,20 @@ export default { } }, outSure () { - if (this.val3 && this.val4) { - this.disabled1 = true - this._pfoutConfirmoutstore() + this.disabled1 = true + if (!(this.val3 && this.val4)) { + this.disabled1 = false + return } + this._pfoutConfirmoutstore() }, returnStore () { - if (this.val1 && this.val2) { - this.disabled2 = true - this._pfoutBackstore() + this.disabled2 = true + if (!(this.val1 && this.val2)) { + this.disabled2 = false + return } + this._pfoutBackstore() } } } diff --git a/src/pages/xinrui/storage/outstorage/ReturnMaterOutStore.vue b/src/pages/xinrui/storage/outstorage/ReturnMaterOutStore.vue index 14591a3..c8d40f4 100644 --- a/src/pages/xinrui/storage/outstorage/ReturnMaterOutStore.vue +++ b/src/pages/xinrui/storage/outstorage/ReturnMaterOutStore.vue @@ -169,11 +169,11 @@ export default { }, returnStore () { this.disabled2 = true - if (this.val1 && this.val2) { - this._backstore() - } else { + if (!(this.val1 && this.val2)) { this.disabled2 = false + return } + this._backstore() } } } diff --git a/src/pages/xinrui/storage/outstorage/SaleOutStore.vue b/src/pages/xinrui/storage/outstorage/SaleOutStore.vue index 1a8c3e1..ba6009e 100644 --- a/src/pages/xinrui/storage/outstorage/SaleOutStore.vue +++ b/src/pages/xinrui/storage/outstorage/SaleOutStore.vue @@ -169,11 +169,11 @@ export default { }, returnStore () { this.disabled2 = true - if (this.val1 && this.val2) { - this._backstore() - } else { + if (!(this.val1 && this.val2)) { this.disabled2 = false + return } + this._backstore() } } }