浏览代码

短驳物流错误修复

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,