Parcourir la source

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-app

zhongtianhaoyuan il y a 3 ans
Parent
commit
1383cd12cf
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      pages/erpbusiness/sendCommand.vue

+ 3 - 1
pages/erpbusiness/sendCommand.vue

@@ -104,7 +104,9 @@
 		},
 		onShow() {
 			this.gridList = uni.getStorageSync("quality_print")
-			// this.gridList.compId = uni.getStorageSync('pcUserInfo').compId
+			if(!this.gridList.compId){
+				this.gridList.compId = uni.getStorageSync('pcUserInfo').compId
+			}
 			console.log(this.gridList)
 			let that = this;
 			let width;