gjy 2 years ago
parent
commit
64b085a447

+ 1 - 1
pages/erpbusiness/add_quality_testing.vue

@@ -898,7 +898,7 @@
 				// this.taskNolist=res.data.data
 			})
 			if (uni.getStorageSync('checkcustomer')) {
-
+console.log(11111111)
 				let _customerInfo = uni.getStorageSync('checkcustomer')
 				if (_customerInfo.shipperName) {
 					this.gridList.identityId = _customerInfo.id

+ 1 - 0
pages/erpbusiness/quality_testing.vue

@@ -271,6 +271,7 @@
 						that.warehouseTradeCount = that.selector[0].tradeCount
 						that.commonWarehouseNo = that.selector[0].commonWarehouseNo
 						that.cangid = that.selector[0].id
+						uni.setStorageSync("cangid", that.cangid)
 						// uni.setStorageSync('purchasePriceList',that.selector[0].purchasePriceList)
 					}
 					this.getList(true)

+ 8 - 1
pages/universalityAudit/list.vue

@@ -24,6 +24,9 @@
 </template>
 
 <script>
+	import {
+		mapState
+	} from 'vuex';
 	export default {
 		data() {
 			return {
@@ -36,6 +39,9 @@
 		onShow(){
 			this.getList()
 		},
+		computed: {
+			...mapState(['hasLogin', 'userInfo','clientId']),
+		},
 		onReachBottom() { //上拉触底函数
 			// if (this.statusFlag == 3) {
 				if (!this.isLoadMore) { //此处判断,上锁,防止重复请求
@@ -67,7 +73,8 @@
 					currentPage: this.currentPage,
 					pageSize:this.pageSize,
 					searchType: '',
-					businessType: ''
+					businessType: '',
+					createUserId:this.userInfo.id
 				}).then(res => {
 					if(res.data.code==200){
 						uni.hideLoading()

+ 2 - 0
pages/user/setUp.vue

@@ -326,8 +326,10 @@
 				uni.hideTabBarRedDot({
 					index: 3
 				})
+				uni.setStorageSync("cangid",'')
 				// uni.clearStorageSync();
 				var that = this
+				
 				this.$api.doRequest('post', '/auth/api/logout').then(res => {
 					if (res.data.data) {