完善库存总量
This commit is contained in:
@@ -224,6 +224,8 @@
|
|||||||
sourceSid: 'd936f1ba-03c3-11ec-bf08-48452053aa33', // wms 资源sid
|
sourceSid: 'd936f1ba-03c3-11ec-bf08-48452053aa33', // wms 资源sid
|
||||||
},
|
},
|
||||||
loginForm: {
|
loginForm: {
|
||||||
|
// userName: '18033761989',
|
||||||
|
// password: 'Yxt123',
|
||||||
userName: '',
|
userName: '',
|
||||||
password: '',
|
password: '',
|
||||||
verifyCode: "",
|
verifyCode: "",
|
||||||
|
|||||||
@@ -56,6 +56,10 @@
|
|||||||
<!--End查询列表部分-->
|
<!--End查询列表部分-->
|
||||||
<div class="listtop">
|
<div class="listtop">
|
||||||
<div class="tit">库存总量列表</div>
|
<div class="tit">库存总量列表</div>
|
||||||
|
<div class="tit">库存总数量:{{map.totalUseCount}}</div>
|
||||||
|
<div class="tit">库存总金额:{{map.useCountMoney}}</div>
|
||||||
|
<div class="tit">在途总数量:{{map.totalInTransitSummary}}</div>
|
||||||
|
<div class="tit">在途总金额:{{map.inTransitSummaryMoney}}</div>
|
||||||
<pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current"
|
<pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current"
|
||||||
:limit.sync="listQuery.size" class="pagination" @pagination="getList" />
|
:limit.sync="listQuery.size" class="pagination" @pagination="getList" />
|
||||||
</div>
|
</div>
|
||||||
@@ -87,8 +91,8 @@
|
|||||||
<el-table-column prop="barCode" label="条码" align="center" />
|
<el-table-column prop="barCode" label="条码" align="center" />
|
||||||
<el-table-column prop="unit" label="单位" align="center" />
|
<el-table-column prop="unit" label="单位" align="center" />
|
||||||
<el-table-column label="库存数量" align="center">
|
<el-table-column label="库存数量" align="center">
|
||||||
<el-table-column prop="useCount" label="可用" align="center" />
|
|
||||||
<el-table-column prop="count" label="实际" align="center" />
|
<el-table-column prop="count" label="实际" align="center" />
|
||||||
|
<el-table-column prop="useCount" label="可用" align="center" />
|
||||||
<el-table-column prop="allocateCount" label="锁定" align="center" />
|
<el-table-column prop="allocateCount" label="锁定" align="center" />
|
||||||
<el-table-column prop="freezeCount" label="冻结" align="center" />
|
<el-table-column prop="freezeCount" label="冻结" align="center" />
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -112,10 +116,10 @@
|
|||||||
<el-table-column prop="batchNumber" label="生产批次号" width="120" align="center" />
|
<el-table-column prop="batchNumber" label="生产批次号" width="120" align="center" />
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<!--End 主页面主要部分-->
|
<!-- End 主页面主要部分 -->
|
||||||
<!-- <div class="pages"> -->
|
<!-- <div class="pages"> -->
|
||||||
<!-- <div class="tit" /> -->
|
<!-- <div class="tit" /> -->
|
||||||
<!-- 翻页 -->
|
<!-- 翻页-->
|
||||||
<!-- <pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" -->
|
<!-- <pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" -->
|
||||||
<!-- :limit.sync="listQuery.size" class="pagination" @pagination="getList" /> -->
|
<!-- :limit.sync="listQuery.size" class="pagination" @pagination="getList" /> -->
|
||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
@@ -267,6 +271,7 @@
|
|||||||
viewState: 1, // 1、列表 2、新增 3、编辑 4、查看
|
viewState: 1, // 1、列表 2、新增 3、编辑 4、查看
|
||||||
tableKey: 0,
|
tableKey: 0,
|
||||||
list: [],
|
list: [],
|
||||||
|
map: {},
|
||||||
sids: [], // 用于导出的时候保存已选择的SIDs
|
sids: [], // 用于导出的时候保存已选择的SIDs
|
||||||
listLoading: false,
|
listLoading: false,
|
||||||
// 翻页
|
// 翻页
|
||||||
@@ -420,9 +425,11 @@
|
|||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
this.list = response.data.records
|
this.list = response.data.records
|
||||||
|
this.map = response.data.map
|
||||||
this.listQuery.total = response.data.total
|
this.listQuery.total = response.data.total
|
||||||
} else {
|
} else {
|
||||||
this.list = []
|
this.list = []
|
||||||
|
this.map = {}
|
||||||
this.listQuery.total = 0
|
this.listQuery.total = 0
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user