From 042b049cf940eb86c6e0d2cba73302794c52c483 Mon Sep 17 00:00:00 2001 From: Teng <461587751@qq.com> Date: Fri, 21 Nov 2025 14:45:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Warehouse/picking.vue | 23 +++- pages/login/login.vue | 9 +- pages/procurement/components/carditem.vue | 6 +- pages/procurement/components/carlist.vue | 2 +- pages/procurement/purchaseorder.vue | 155 +++++++++++++++++----- pages/watch/settings/settings.vue | 10 +- 6 files changed, 159 insertions(+), 46 deletions(-) diff --git a/pages/Warehouse/picking.vue b/pages/Warehouse/picking.vue index b9f7e68..799facc 100644 --- a/pages/Warehouse/picking.vue +++ b/pages/Warehouse/picking.vue @@ -480,7 +480,7 @@ placeholder="采购单号/采购日期/供应商" @confirm="search()" /> - + 检索 @@ -2013,6 +2013,13 @@ onUnmounted(() => { if (timer) clearInterval(timer); }); + const jiansuotarget = ref(false); + const getdonghua = () => { + jiansuotarget.value = true; + setTimeout(()=>{ + jiansuotarget.value = false; + },200) + } \ No newline at end of file diff --git a/pages/watch/settings/settings.vue b/pages/watch/settings/settings.vue index 54cf064..b82403c 100644 --- a/pages/watch/settings/settings.vue +++ b/pages/watch/settings/settings.vue @@ -49,7 +49,7 @@ 注销登录 - 长春市朝阳区久泰开运养老服务有限公司 + {{ uni.getStorageSync('orgListName') }} @@ -80,7 +80,7 @@ + v-for="(item,index) in allserve" @click="changeServe(item)"> {{ item.departName }} @@ -113,8 +113,9 @@ const selectserve = ref(false) const allserve = ref(uni.getStorageSync('orgList')) - const changeServe = (url : string) => { - uni.setStorageSync('serverUrl', url); + const changeServe = (item:any) => { + uni.setStorageSync('serverUrl', item.serverUrl); + uni.setStorageSync('orgListName', item.departName); uni.showToast({ title: '切换机构成功', icon: 'success', // 无图标,仅文字 @@ -346,6 +347,7 @@ .text-center { margin-top: 40rpx; + height: 60rpx; width: 100%; display: flex; justify-content: center;