|
|
@@ -301,7 +301,7 @@
|
|
|
sceneState,
|
|
|
codeList: [],
|
|
|
factoryList: [],
|
|
|
- warehouseList:[],
|
|
|
+ warehouseList: [],
|
|
|
tableData: [],
|
|
|
formData: {
|
|
|
deptIds: '',
|
|
|
@@ -347,6 +347,14 @@
|
|
|
showOverflowTooltip: true,
|
|
|
width: 150
|
|
|
},
|
|
|
+ {
|
|
|
+ prop: 'warehouseName',
|
|
|
+ label: '仓库名称',
|
|
|
+ align: 'center',
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ minWidth: 100,
|
|
|
+
|
|
|
+ },
|
|
|
{
|
|
|
prop: 'bizType',
|
|
|
slot: 'bizType',
|
|
|
@@ -462,11 +470,11 @@
|
|
|
mounted() {
|
|
|
this.getTypeList();
|
|
|
this.getFactoryList();
|
|
|
- this.getTreeData()
|
|
|
+ this.getTreeData();
|
|
|
},
|
|
|
methods: {
|
|
|
async getTreeData() {
|
|
|
- this.formData.warehouseId=''
|
|
|
+ this.formData.warehouseId = '';
|
|
|
try {
|
|
|
let res = await storageApi.getWarehouseTrees({
|
|
|
factoryId: this.formData.factoryId
|
|
|
@@ -486,7 +494,6 @@
|
|
|
type: 1
|
|
|
});
|
|
|
this.factoryList = res.list;
|
|
|
-
|
|
|
},
|
|
|
// 单击获取id
|
|
|
cellClick(row) {
|