shish 2 سال پیش
والد
کامیت
542fccbc1a
1فایلهای تغییر یافته به همراه1 افزوده شده و 32 حذف شده
  1. 1 32
      ghsApp/src/pagesPurchase/order.vue

+ 1 - 32
ghsApp/src/pagesPurchase/order.vue

@@ -13,12 +13,6 @@
 			</block>
 		</view>
 		<view class="app-footer open_btn">
-			<text @click="goToLsApp()" style="margin-right:60upx;font-size:30upx;">
-				零售端
-				<text v-if="lsFhNum>0">,待发货{{lsFhNum}}笔</text>
-				<text v-if="lsShNum>0">,待收货{{lsShNum}}笔</text>
-				<text v-if="lsShNum>0 || lsFhNum>0" style="color:#3385FF;font-weight:bold;margin-left:10upx;">查看</text>
-			</text>
 			<view @click="addEvent" class="admin-button-com big blue">新增采购</view>
 		</view>
 	</view>
@@ -91,33 +85,8 @@ export default {
 		this.getCgList()
 	},
 	methods: {
-		goToLsApp () {
-			let that = this
-			// #ifdef MP-WEIXIN
-			uni.navigateToMiniProgram({
-				appId: that.getappIdList.hd.miniAppId,
-				path: 'pagesPurchase/shopping',
-				//develop 开发版 trial 体验版 release 正式版
-				envVersion: process.env.NODE_ENV === 'development' ? 'develop' : 'release',
-				extraData: {},
-				success (res) {
-				}
-			})
-			// #endif
-			// #ifdef APP-PLUS
-			this.$msg('暂时只能在微信上操作')
-			// #endif
-		},
 		init(){
-			getWeixinId().then(res => {
-        		this.getappIdList = res.data
-      		})
-			getLsRunningOrderNum().then(res=>{
-				if(res.code == 1){
-					this.lsFhNum = res.data.lsFhNum ? res.data.lsFhNum : 0
-					this.lsShNum = res.data.lsShNum ? res.data.lsShNum : 0
-				}
-			})
+
 		},
 		getCgList() {
 			let ghsId = this.option.ghsId || 0