高敬炎 2 jaren geleden
bovenliggende
commit
e0de39fd6a
2 gewijzigde bestanden met toevoegingen van 8 en 4 verwijderingen
  1. 2 2
      manifest.json
  2. 6 2
      pages/erpbusiness/add_quality_testing.vue

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "易粮易运",
     "appid" : "__UNI__7297DA2",
     "description" : "易粮易运——为天下粮食人服务的App",
-    "versionName" : "2.1.192",
-    "versionCode" : 21192,
+    "versionName" : "2.1.194",
+    "versionCode" : 21194,
     "transformPx" : false,
     /* SDK配置 */
     "quickapp" : {},

+ 6 - 2
pages/erpbusiness/add_quality_testing.vue

@@ -1028,6 +1028,7 @@
 			if(uni.getStorageSync('compName1')){
 				that.compName = uni.getStorageSync('compName1').company
 				if(that.compName=='辽宁佳屹农商贸有限公司'){
+					console.log("123")
 					this.typevalue = '1'
 					this.contractFlag = 7
 				}
@@ -1036,9 +1037,11 @@
 			this.isZJ = this.utils.getCurrectRoles('acquisitionQuality.initial')
 			if(!uni.getStorageSync('gridList')&&that.compName!='辽宁佳屹农商贸有限公司'){
 				if (this.isZJ && !this.isQY) {
+					console.log("123456")
 					this.typevalue = '1'
 					this.contractFlag = 7
 				} else {
+					console.log("243423423")
 					this.typevalue = '3'
 					this.contractFlag = 10
 				}
@@ -1894,7 +1897,8 @@
 									this.gridList.compId = uni.getStorageSync(
 										'pcUserInfo').compId
 									uni.setStorageSync("quality_print", this.gridList)
-									uni.setStorageSync('typevalue', 3)
+
+									uni.removeStorageSync('typevalue')
 									uni.removeStorageSync('gridList')
 									if (this.isZJ) {
 										this.isShowPrint = true
@@ -1939,7 +1943,7 @@
 									uni.setStorageSync(
 										'checkcustomer', {}
 									)
-									uni.setStorageSync('typevalue', 3)
+									uni.removeStorageSync('typevalue')
 									uni.removeStorageSync('gridList')
 									console.log('that.gridList', this.gridList)
 									// uni.navigateBack({})