<template>
|
<view>
|
<view class="list list-font-color" :class="locDetl.color" v-for="(locDetl,index) in dataList" :key="index">
|
<view class="list-left">
|
<view>销售订单号:{{locDetl.threeCode}}</view>
|
<view>主订单号:{{locDetl.orderNo}}</view>
|
<view>商品编码:{{locDetl.matnr}}</view>
|
<view>商品名称:{{locDetl.maktx}}</view>
|
<view>库存:{{locDetl.anfme}}</view>
|
<view>调整库存为:{{locDetl.barcode}}</view>
|
</view>
|
<view class="list-right" @click="goToLocDetl(locDetl)">
|
<uni-icons type="right" size="25" color="#fff"></uni-icons>
|
</view>
|
|
</view>
|
|
<!-- 底部操作按钮 -->
|
<view class="buttom">
|
<button size="mini" type="primary" @click="agvStart('warn')">添加物料</button>
|
</view>
|
</view>
|
</template>
|
|
<script>
|
export default {
|
data() {
|
return {
|
baseUrl: '',
|
token: '',
|
dataList: []
|
|
}
|
},
|
onShow() {
|
let _this = this
|
this.baseUrl = uni.getStorageSync('baseUrl');
|
this.token = uni.getStorageSync('token');
|
// const eventChannel = this.$scope.eventChannel; // 兼容APP-NVUE
|
const eventChannel = this.getOpenerEventChannel();
|
// 监听acceptDataFromOpenerPage事件,获取上一页面通过eventChannel传送到当前页面的数据
|
eventChannel.on('item', function(data) {
|
console.log(data);
|
_this.dataList = data.item.data
|
})
|
},
|
methods: {
|
|
}
|
}
|
</script>
|
|
<style>
|
@import url('../../../static/css/common/order.css');
|
</style>
|