wangchao пре 3 година
родитељ
комит
545af5e8f8
1 измењених фајлова са 3 додато и 1 уклоњено
  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;