|
|
@@ -6,6 +6,11 @@
|
|
|
></PageHeader>
|
|
|
</div> -->
|
|
|
<div class="content-detail">
|
|
|
+ <div>
|
|
|
+ <el-button icon="el-icon-arrow-left" @click="goBack">
|
|
|
+ 返回
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
<el-tabs v-model="activeName">
|
|
|
<el-tab-pane label="基本信息" name="zero">
|
|
|
<BaseInfo ref="baseInfoRef"></BaseInfo>
|
|
|
@@ -51,6 +56,9 @@
|
|
|
v-if="activeName == 'fifth'"
|
|
|
:baseParams="baseParams"
|
|
|
/></el-tab-pane>
|
|
|
+ <el-tab-pane label="库存明细" name="seventeen" lazy>
|
|
|
+ <InventoryDetails :categoryCode="categoryCode" />
|
|
|
+ </el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -62,6 +70,7 @@
|
|
|
import OutWarehouse from './components/details/OutWarehouse.vue';
|
|
|
import InWarehouse from './components/details/InWarehouse.vue';
|
|
|
import ReportLoss from './components/details/ReportLoss.vue';
|
|
|
+ import InventoryDetails from './components/details/InventoryDetails.vue';
|
|
|
import InventoryAllocation from './components/details/InventoryAllocation.vue';
|
|
|
import WarehouseDetail from './components/details/WarehouseDetail.vue';
|
|
|
import BatchDetail from './components/details/BatchDetail.vue';
|
|
|
@@ -80,7 +89,8 @@
|
|
|
ReportLoss,
|
|
|
BatchDetail,
|
|
|
WarehouseDetail,
|
|
|
- warehouseConfigVue
|
|
|
+ warehouseConfigVue,
|
|
|
+ InventoryDetails
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -91,7 +101,8 @@
|
|
|
second: [],
|
|
|
third: [],
|
|
|
fourth: [],
|
|
|
- fifth: []
|
|
|
+ fifth: [],
|
|
|
+ seventeen:[]
|
|
|
},
|
|
|
categoryId: '',
|
|
|
baseInfoData: {},
|
|
|
@@ -99,6 +110,9 @@
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
+ categoryCode() {
|
|
|
+ return this.$route.query.categoryCode;
|
|
|
+ },
|
|
|
dimension() {
|
|
|
return this.$route.query.dimension;
|
|
|
},
|
|
|
@@ -122,6 +136,9 @@
|
|
|
this.getDetailInfo(this.$route.query);
|
|
|
},
|
|
|
methods: {
|
|
|
+ goBack() {
|
|
|
+ this.$router.go(-1)
|
|
|
+ },
|
|
|
async getDetailInfo(row) {
|
|
|
console.log('===', row);
|
|
|
this.categoryId = row.id;
|