소스 검색

短驳物流错误修复

hcf 1 년 전
부모
커밋
8d901de838
2개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 1
      src/components/Assembly/storeHouse.vue
  2. 1 1
      src/views/audit/shortBargeLogistics/index.vue

+ 3 - 1
src/components/Assembly/storeHouse.vue

@@ -15,7 +15,9 @@
 			if(this.propValue){
 				getMaindataStorehouseSingleData({ id: this.propValue }).then((res : any) => {
 					if (res.code === 200) {
-						this.value = res.data.name+'('+res.data.id+')'
+						if(res.data){
+							this.value = res.data.name+'('+res.data.id+')'
+						}
 					}
 				}).catch();
 			}

+ 1 - 1
src/views/audit/shortBargeLogistics/index.vue

@@ -688,7 +688,7 @@
 					width: 250,
 					title: '短驳入库仓库',
 					field: 'entryStoreHouseId',
-					component: storeHouse,
+					// component: storeHouse,
 				},	
 				{
 					width: 180,