Bläddra i källkod

修改生成二维码

wangchao 3 år sedan
förälder
incheckning
545af5e8f8
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      pages/erpbusiness/sendCommand.vue

+ 3 - 1
pages/erpbusiness/sendCommand.vue

@@ -104,7 +104,9 @@
 		},
 		},
 		onShow() {
 		onShow() {
 			this.gridList = uni.getStorageSync("quality_print")
 			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)
 			console.log(this.gridList)
 			let that = this;
 			let that = this;
 			let width;
 			let width;