Преглед на файлове

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;