瀏覽代碼

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

zhongtianhaoyuan 3 年之前
父節點
當前提交
1383cd12cf
共有 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;