高敬炎 2 năm trước cách đây
mục cha
commit
4dc4aaa9aa
2 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 5 1
      pages/erpbusiness/add_quality_testing.vue
  2. 2 0
      store/index.js

+ 5 - 1
pages/erpbusiness/add_quality_testing.vue

@@ -1027,10 +1027,14 @@
 			var that = this
 			if(uni.getStorageSync('compName1')){
 				that.compName = uni.getStorageSync('compName1').company
+				if(that.compName=='辽宁佳屹农商贸有限公司'){
+					this.typevalue = '1'
+					this.contractFlag = 7
+				}
 			}
 			this.isQY = this.utils.getCurrectRoles('acquisitionQuality.qview')
 			this.isZJ = this.utils.getCurrectRoles('acquisitionQuality.initial')
-			if(!uni.getStorageSync('gridList')){
+			if(!uni.getStorageSync('gridList')&&that.compName!='辽宁佳屹农商贸有限公司'){
 				if (this.isZJ && !this.isQY) {
 					this.typevalue = '1'
 					this.contractFlag = 7

+ 2 - 0
store/index.js

@@ -128,6 +128,8 @@ const store = new Vuex.Store({
 			uni.removeStorageSync("depotAcquisition_warehouseName")
 			uni.removeStorageSync('userInfo')
 			uni.removeStorageSync('pcUserInfo')
+			uni.removeStorageSync('typevalue')
+			uni.removeStorageSync('gridList')
 		},
 		configfreightTransport(state,flag){
 			state.isConfigfreightTransport = flag