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
},
loginForm: {
// userName: '18033761989',
// password: 'Yxt123',
userName: '',
password: '',
verifyCode: "",

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

@ -56,6 +56,10 @@
<!--End查询列表部分-->
<div class="listtop">
<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"
:limit.sync="listQuery.size" class="pagination" @pagination="getList" />
</div>
@ -87,8 +91,8 @@
<el-table-column prop="barCode" label="条码" align="center" />
<el-table-column prop="unit" 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="useCount" label="可用" align="center" />
<el-table-column prop="allocateCount" label="锁定" align="center" />
<el-table-column prop="freezeCount" label="冻结" align="center" />
</el-table-column>
@ -112,10 +116,10 @@
<el-table-column prop="batchNumber" label="生产批次号" width="120" align="center" />
</el-table>
</div>
<!--End 主页面主要部分-->
<!-- End 主页面主要部分 -->
<!-- <div class="pages"> -->
<!-- <div class="tit" /> -->
<!-- 翻页 -->
<!-- 翻页-->
<!-- <pagination v-show="list.length > 0" :total="listQuery.total" :page.sync="listQuery.current" -->
<!-- :limit.sync="listQuery.size" class="pagination" @pagination="getList" /> -->
<!-- </div> -->
@ -267,6 +271,7 @@
viewState: 1, // 1 2 3 4
tableKey: 0,
list: [],
map: {},
sids: [], // SIDs
listLoading: false,
//
@ -420,9 +425,11 @@
this.listLoading = false
if (response.success) {
this.list = response.data.records
this.map = response.data.map
this.listQuery.total = response.data.total
} else {
this.list = []
this.map = {}
this.listQuery.total = 0
}
})

Loading…
Cancel
Save