From b9740c5fc85e626cb455bc5bac685fa247839d00 Mon Sep 17 00:00:00 2001 From: wankeda <Administrator@DESKTOP-HAU3ST3> Date: 星期五, 18 四月 2025 10:04:38 +0800 Subject: [PATCH] 优化代码 --- 代码管理/NEWCode/WIDESEAWCS_PDA/pages/叫料/输送线回流.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\276\223\351\200\201\347\272\277\345\233\236\346\265\201.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\276\223\351\200\201\347\272\277\345\233\236\346\265\201.vue" index 66258e9..34f3873 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\276\223\351\200\201\347\272\277\345\233\236\346\265\201.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/NEWCode/WIDESEAWCS_PDA/pages/\345\217\253\346\226\231/\350\276\223\351\200\201\347\272\277\345\233\236\346\265\201.vue" @@ -151,14 +151,14 @@ this.$t.message.toast('璇锋壂鐬勭粓鐐逛綅缃�'); return; } - if (pallcode == "") { - this.$t.message.toast('璇锋壂鎻忕涓�鎷栫洏鏉$爜'); - return; - } - if (pallcode1 == "") { - this.$t.message.toast('璇锋壂鎻忕浜屾嫋鐩樻潯鐮�'); - return; - } + // if (pallcode == "") { + // this.$t.message.toast('璇锋壂鎻忕涓�鎷栫洏鏉$爜'); + // return; + // } + // if (pallcode1 == "") { + // this.$t.message.toast('璇锋壂鎻忕浜屾嫋鐩樻潯鐮�'); + // return; + // } var postData = { MainData: { "sourceAddress": this.value, @@ -172,6 +172,10 @@ console.log(postData); if (res.code == 200) { this.$t.message.toast('鍛煎彨鎴愬姛'); + this.value="", + this.targetAddress="", + this.pallcode="", + this.pallcode1="", this.$refs.popup.close(); // this.submit(); } else { -- Gitblit v1.9.3