diff --git a/src/pages/modules/clean/man-pour.vue b/src/pages/modules/clean/man-pour.vue index c549e69..5e3b4ba 100644 --- a/src/pages/modules/clean/man-pour.vue +++ b/src/pages/modules/clean/man-pour.vue @@ -104,8 +104,12 @@ export default { } }, created () { - this._dictall() - this._washdevicelist() + if (this.options1 === []) { + this._dictall() + } + if (this.options2 === []) { + this._washdevicelist() + } }, methods: { // 车间下拉框 @@ -119,7 +123,7 @@ export default { }, // 设备下拉框 async _washdevicelist () { - let res = await washdevicelist('1535144682756116480') + let res = await washdevicelist('1535144552481034240') if (res.code === 200) { this.options2 = [...res.content] } else {