Browse Source

完善库存总量

master
myTest383 8 months ago
parent
commit
f0b050141c
  1. 2
      src/views/login/login.vue
  2. 13
      src/views/storage/totalStatus/totalInventory/totalInventory.vue

2
src/views/login/login.vue

@ -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: "",

13
src/views/storage/totalStatus/totalInventory/totalInventory.vue

@ -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
} }
}) })

Loading…
Cancel
Save