wms:库位批量查看

This commit is contained in:
qianhao.xu
2024-04-07 19:05:18 +08:00
parent ae1556b4ff
commit c0ce07b146
17 changed files with 1898 additions and 232 deletions

View File

@@ -0,0 +1,68 @@
<template>
<view>
<view class="body" v-for="(item, index) in dataList" :key="index">
<view class="title">{{ item.packageCodeClient }}</view>
<view>
<text>库位</text>
<view>{{ item.locationCode }}</view>
</view>
<view>
<text>零件号</text>
<view>{{ item.partnumber }}</view>
</view>
<view>
<text>数量</text>
<view>{{ item.goodsNumLogic }}</view>
</view>
<view>
<text>入库时间</text>
<view>{{ item.entryWarehouseTime }}</view>
</view>
<view>
<text>备注</text>
<view>{{ item.remark }}</view>
</view>
</view>
</view>
</template>
<script>
import * as watchGoodsApi from '@/api/watchGoods/watchGoods.js';
export default {
onLoad: function (option) {
this.shortpatchcode = option.shortpatchcode;
},
data() {
return {
shortpatchcode: '',
dataList: []
};
},
mounted() {
this.getList();
},
methods: {
getList() {
const query = { packageCodeClient: this.shortpatchcode };
watchGoodsApi.GetGoodsNowProduction_detail(query).then((res) => {
if (res.code == 200) {
this.dataList = res.data;
}
});
}
}
};
</script>
<style scoped lang="scss">
.body {
background-color: white;
margin-top: 10px;
.title {
color: #2979ff;
font-size: 50rpx;
font-weight: 50;
}
}
</style>