wms:库位批量查看
This commit is contained in:
68
pages/watchGoods/goodsdetail/goodsdetail.vue
Normal file
68
pages/watchGoods/goodsdetail/goodsdetail.vue
Normal 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>
|
||||
Reference in New Issue
Block a user