From 463f6e76bc9f53f646d05f5afa7045e74a716c10 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期一, 27 十月 2025 16:45:35 +0800
Subject: [PATCH] 核磅录入页面的客户名称选择逻辑调整
---
pages/sys/home/index.vue | 86 +++++++++++++++++++++++-------------------
1 files changed, 47 insertions(+), 39 deletions(-)
diff --git a/pages/sys/home/index.vue b/pages/sys/home/index.vue
index c311cb4..1f33f17 100644
--- a/pages/sys/home/index.vue
+++ b/pages/sys/home/index.vue
@@ -11,7 +11,8 @@
<u-grid :border="false">
<u-grid-item v-for="(baseListItem, baseListIndex) in item.list" :key="baseListIndex"
@click="navTo(baseListItem.url)">
- <img :src="require(`@/static/custom/home/feed.png`)" alt="">
+ <view class="img" :style="`background: url(../../../static/custom/home/${baseListItem.icon}.png) no-repeat;`">
+ </view>
<text class="grid-text">{{ baseListItem.name }}</text>
</u-grid-item>
</u-grid>
@@ -29,27 +30,27 @@
{
name: '鎶ュ伐',
url: '/pages/product/report/index',
- icon: 'feeding'
+ icon: 'one'
},
{
name: '鍙栨秷鎶ュ伐',
url: '/pages/product/cancelReport/index',
- icon: 'feeding'
+ icon: 'two'
+ },
+ // {
+ // name: '鎺ユ敹锛堥摐鏉嗭級',
+ // url: '/pages/product/receive/index',
+ // icon: 'three'
+ // },
+ {
+ name: '鐗╂枡涓嬪彂',
+ url: '/pages/product/WorkshopOrderIssued/index',
+ icon: 'four'
},
{
- name: '鎺ユ敹锛堥摐鏉嗭級',
- url: '/',
- icon: 'feeding'
- },
- {
- name: '杞﹂棿璁㈠崟涓嬪彂',
- url: '/',
- icon: 'feeding'
- },
- {
- name: '杞﹂棿鍙栨秷涓嬪彂',
- url: '/',
- icon: 'feeding'
+ name: '鐗╂枡鍙栨秷涓嬪彂',
+ url: '/pages/product/WorkshopOrderCancellationIssued/index',
+ icon: 'five'
},
]
},
@@ -59,28 +60,28 @@
{
name: '绉诲簱',
url: '/pages/wareHouse/moveWareHouse/index',
- icon: 'feeding'
+ icon: 'six'
},
- {
- name: '鐩樼偣鎶ュ憡鐩樼偣',
- url: '/pages/wareHouse/inventory/index',
- icon: 'feeding'
- },
+ // {
+ // name: '鐩樼偣鎶ュ憡鐩樼偣',
+ // url: '/pages/wareHouse/inventory/index',
+ // icon: 'seven'
+ // },
{
name: '鏍哥褰曞叆',
- url: '/pages/wareHouse/packing/registration',
- icon: 'feeding'
+ url: '/pages/wareHouse/nuclearScale/index',
+ icon: 'eight'
},
- {
- name: '搴撳瓨浠剁洏鐐�',
- url: '/pages/wareHouse/inventory/index',
- icon: 'feeding'
- },
- {
- name: '瀵间綋澶囪揣鐩樼偣',
- url: '/pages/wareHouse/inventory/index',
- icon: 'feeding'
- },
+ // {
+ // name: '搴撳瓨浠剁洏鐐�',
+ // url: '/pages/wareHouse/InventoryCountStockItems/index',
+ // icon: 'nine'
+ // },
+ // {
+ // name: '瀵间綋澶囪揣鐩樼偣',
+ // url: '/pages/wareHouse/InventoryCheckConductiveMterials/index',
+ // icon: 'ten'
+ // },
]
},
{
@@ -88,13 +89,13 @@
list: [
{
name: '棰嗘枡',
- url: '/pages/wareHouse/moveWareHouse/index',
- icon: 'feeding'
+ url: '/pages/storeManagement/MaterialRequisition/index',
+ icon: 'eleven'
},
{
name: '鍙栨秷棰嗘枡',
- url: '/pages/wareHouse/inventory/index',
- icon: 'feeding'
+ url: '/pages/storeManagement/CancelMaterialRequisition/index',
+ icon: 'twelve'
},
]
}
@@ -116,7 +117,7 @@
</script>
<style lang="scss">
.wrap {
- height: calc(100vh - 200rpx);
+ height: 100%;
background: linear-gradient(to bottom, #e5f0ff, #f6f9ff);
overflow-y: auto;
}
@@ -140,4 +141,11 @@
.u-grid-item {
background: transparent !important;
}
+
+.img {
+ width: 96rpx;
+ height: 96rpx;
+ background-size: contain !important;
+ background-position: center !important;
+}
</style>
\ No newline at end of file
--
Gitblit v1.9.3