gjy 3 lat temu
rodzic
commit
f24e8b1296

+ 6 - 3
pages.json

@@ -844,7 +844,8 @@
 				"enablePullDownRefresh": false
 			}
 
-		}, {
+		}, 
+		{
 			"path": "pages/erpbusiness/sm/sm",
 			"style": {
 				"navigationBarTitleText": "客户邀请",
@@ -859,7 +860,8 @@
 				"enablePullDownRefresh": false
 			}
 
-		}, {
+		}, 
+		{
 			"path": "pages/erpbusiness/acquisitionInspection/acquisitionInspection",
 			"style": {
 				"navigationBarTitleText": "入库检斤",
@@ -930,7 +932,8 @@
 				"enablePullDownRefresh": false
 			}
 
-		}, {
+		},
+		{
 			"path": "pages/erp/index",
 			"style": {
 				"navigationBarTitleText": "ERP业务",

+ 115 - 35
pages/erp/index.vue

@@ -52,6 +52,19 @@
 				</view>
 			</view>
 		</view>
+		<view>
+			<view class='title'>常用功能</view>
+			<view class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']" v-if="isShowBtn">
+				<view class="cu-item" v-for="(item,index) in gridList2" :key="index" @click="gridClick(item, index)"
+					v-if="index<gridCol*2">
+					<view :class="['cuIcon-' + item.cuIcon,'text-' + item.color]" class="ys-item">
+						
+						<image :src="item.src" class="sign"></image>
+					</view>
+					<text>{{item.name}}</text>
+				</view>
+			</view>
+		</view>
 		<u-modal v-model="isShowAlert" :title-style="{fontSize: '18px',fontWeight:'500'}"
 			:content-style="{fontSize: '14px',fontWeight:'400'}" confirm-color='#22C572' confirm-text='立即开通'
 			title='您尚未开通ERP业务' showCancelButton='false' :content="content" @confirm="goOpenService"
@@ -95,42 +108,109 @@
 				gridCol: 4,
 				gridBorder: false,
 				personCharge: '',
-				gridList: [{
-						num: 0,
-						name: '入库',
-						// icon: 'cuIcon-apps',
-						src: '../../static/img/erp/yaoqingyonghu@3x.png',
-						tips: 0,
-						url: '/pages/erp/warehousing/warehousing',
-						show: true
-					},
-					{
-						num: 1,
-						name: '待完善入库',
-						// icon: 'cuIcon-calendar',
-						src: '../../static/img/erp/shougouzhijian@3x.png',
-						tips: 0,
-						url: '/pages/erp/improvedWrehousing/improvedWrehousing',
-						show: true
-					},
-					{
-						num: 2,
-						name: '出库',
-						// icon: 'cuIcon-copy',
-						src: '../../static/img/erp/shougoujianjin@3x.png',
-						tips: 0,
-						url: '/pages/erp/exWarehousing/exWarehousing',
-						show: true
-					},
+				gridList2: [{
+										num: 0,
+										name: '邀请用户',
+										// icon: 'cuIcon-apps',
+										src: '../../static/img/erp/yaoqingyonghu@3x.png',
+										tips: 0,
+										url: '/pages/erpbusiness/QRCode/QRCode',
+										show: true
+									},
+	
+				
+									{
+										num: 1,
+										name: '收购信息',
+										// icon: 'cuIcon-copy',
+										src: '../../static/img/erp/receiving@3x.png',
+										tips: 0,
+										url: '/pages/erpbusiness/acquisitionInformation',
+										show: true
+									}
+									// {
+									// 	num: 5,
+									// 	name: '设置',
+									// 	// icon: 'cuIcon-edit',
+									// 	src:'../../static/img/sign/shezhi@2x.png',
+									// 	tips: 0,
+									// 	url: `/pages/user/setUp`,
+									// 	show: true
+									// }
+								],
+				gridList: [
+					// {
+					// 	num: 0,
+					// 	name: '入库',
+					// 	// icon: 'cuIcon-apps',
+					// 	src: '../../static/img/erp/yaoqingyonghu@3x.png',
+					// 	tips: 0,
+					// 	url: '/pages/erp/warehousing/warehousing',
+					// 	show: true
+					// },
+					// {
+					// 	num: 1,
+					// 	name: '待完善入库',
+					// 	// icon: 'cuIcon-calendar',
+					// 	src: '../../static/img/erp/shougouzhijian@3x.png',
+					// 	tips: 0,
+					// 	url: '/pages/erp/improvedWrehousing/improvedWrehousing',
+					// 	show: true
+					// },
+					// {
+					// 	num: 2,
+					// 	name: '出库',
+					// 	// icon: 'cuIcon-copy',
+					// 	src: '../../static/img/erp/shougoujianjin@3x.png',
+					// 	tips: 0,
+					// 	url: '/pages/erp/exWarehousing/exWarehousing',
+					// 	show: true
+					// },
+					// {
+					// 	num: 3,
+					// 	name: '待完善出库',
+					// 	// icon: 'cuIcon-edit',
+					// 	src: '../../static/img/erp/shougouzhijian@3x.png',
+					// 	tips: 0,
+					// 	url: `/pages/erp/improvedExWaehousing/improvedExWaehousing`,
+					// 	show: true
+					// }
 					{
-						num: 3,
-						name: '待完善出库',
-						// icon: 'cuIcon-edit',
-						src: '../../static/img/erp/shougouzhijian@3x.png',
-						tips: 0,
-						url: `/pages/erp/improvedExWaehousing/improvedExWaehousing`,
-						show: true
-					}
+							num: 0,
+							name: '入库质检',
+							// icon: 'cuIcon-apps',
+							src: '../../static/img/erp/yaoqingyonghu@3x.png',
+							tips: 0,
+							url: '/pages/erpbusiness/quality_testing?managementType=1',
+							show: true
+						},
+						{
+							num: 1,
+							name: '入库检斤',
+							// icon: 'cuIcon-calendar',
+							src: '../../static/img/erp/shougouzhijian@3x.png',
+							tips: 0,
+							url: '/pages/erpbusiness/acquisitionInspection/acquisitionInspection',
+							show: true
+						},
+						{
+							num: 2,
+							name: '出库检斤',
+							// icon: 'cuIcon-copy',
+							src: '../../static/img/erp/shougoujianjin@3x.png',
+							tips: 0,
+							url: '/pages/warehouse/acquisitionInspection/acquisitionInspection',
+							show: true
+						},
+						{
+							num: 3,
+							name: '出库质检',
+							// icon: 'cuIcon-edit',
+							src: '../../static/img/erp/shougouzhijian@3x.png',
+							tips: 0,
+							url: `/pages/warehouse/quality_testing?managementType=1`,
+							show: true
+						}
 					// {
 					// 	num: 4,
 					// 	name: '开通业务',

+ 1 - 0
pages/erpbusiness/acquisitionInspection/acquisitionInspection.vue

@@ -212,6 +212,7 @@
 			},
 			//获取列表
 			getList(flag) {
+				console.log(11111)
 				uni.showLoading({
 					title: "正在加载"
 				})

+ 16 - 16
pages/user/user.vue

@@ -175,18 +175,18 @@
 						url: `/pages/erp/index`,
 						show: true
 					},
+					// {
+					// 	num: 1,
+					// 	name: '入库管理',
+					// 	// name: '收购业务',
+					// 	// icon: 'cuIcon-copy',
+					// 	src: '../../static/img/myimg/sg.png',
+					// 	tips: 0,
+					// 	url: `/pages/erpbusiness/index`,
+					// 	show: true
+					// },
 					{
 						num: 1,
-						name: '入库管理',
-						// name: '收购业务',
-						// icon: 'cuIcon-copy',
-						src: '../../static/img/myimg/sg.png',
-						tips: 0,
-						url: `/pages/erpbusiness/index`,
-						show: true
-					},
-					{
-						num: 2,
 						name: '我的票据',
 						// icon: 'cuIcon-news',
 						src: '../../static/img/sign/piaoju@3x.png',
@@ -195,7 +195,7 @@
 						show: true
 					},
 					{
-						num: 3,
+						num: 2,
 						name: '我的合同',
 						// icon: 'cuIcon-calendar',
 						src: '../../static/img/sign/myContract@2x.png',
@@ -204,7 +204,7 @@
 						show: true
 					},
 					{
-						num: 4,
+						num: 3,
 						name: '我的任务',
 						// icon: 'cuIcon-copy',
 						src: '../../static/img/sign/myTask@2x.png',
@@ -213,7 +213,7 @@
 						show: true
 					},
 					{
-						num: 5,
+						num: 4,
 						name: '联系客服',
 						// icon: 'cuIcon-edit',
 						src: '../../static/img/sign/service.png',
@@ -222,7 +222,7 @@
 						show: true
 					},
 					{
-						num: 6,
+						num: 5,
 						name: '数据报表',
 						// icon: 'cuIcon-edit',
 						src: '../../static/img/sign/shujubaobiao@2x.png',
@@ -231,7 +231,7 @@
 						show: false
 					},
 					{
-						num: 7,
+						num: 6,
 						name: '库点监控',
 						// icon: 'cuIcon-edit',
 						src: '../../static/img/sign/kudianjiankong@2x.png',
@@ -240,7 +240,7 @@
 						show: false
 					},
 					{
-						num: 8,
+						num: 7,
 						name: '库点收购',
 						// icon: 'cuIcon-edit',
 						src: '../../static/img/sign/kdsg.png',