Commit ae29ec74 authored by 何远江's avatar 何远江

仓位转移

parent cfd281ec
......@@ -4,11 +4,11 @@
<NavBar title="仓位转移"></NavBar>
<view class="selectSheet">
<u-row gutter="16">
<u-col span="6">
<!-- <u-col span="6">
<u-picker v-model="show" mode="selector" :default-selector="[0]" range-key="text" :range="actionSheetList"></u-picker>
<u-input v-model="value" placeholder="请选择工厂" :type="type" :border="border" @click="show = true" />
</u-col>
<u-col span="6">
</u-col> -->
<u-col span="12">
<u-picker v-model="depotShow" mode="selector" :default-selector="[0]" range-key="LGOBE" :range="depotLists" @confirm="actionSheetCallback"></u-picker>
<u-input v-model="LGOBE" placeholder="请选择仓库别" :type="type" :border="border" @click="depotShow = true" />
<!-- <u-action-sheet :list="depotLists" v-model="depotShow" @click="actionSheetCallback"></u-action-sheet> -->
......@@ -27,8 +27,8 @@
></uni-easyinput>
</view>
</StickyNavBar>
<ContentLoadingMore class="cardbox">
<view class="cardContent" v-for="(item, index) in goodsList">
<ContentLoadingMore :list='goodsList' class="cardbox">
<view class="cardContent" v-for="(item, index) in goodsList" :key="item.CHARG">
<view class="cardTitle">
<text class="cardItemLabel">物料批号:</text>
<text class="cardItemValue">{{ item.CHARG }}</text>
......@@ -112,7 +112,7 @@ export default {
},
created() {
this.getDepotLists();
this.getPlnr('10000820240327000018|10000320002')
this.getPlnr('240418000007|00010000060000030.000|10000000000011')
},
methods: {
getDepotLists() {
......@@ -150,16 +150,17 @@ export default {
ITEM: this.goodsList
}
]);
const params = {
TYPE: 'ZY',
ZENCODE: "",
BUDAT: "",
BLDAT: "",
LFSNR: "",
ITEM: this.goodsList
}
this.$u.api.sapApi
.sapRrm([
{
BLDAT: '20240325',
BUDAT: '20240325',
ZENCODE: 'A012',
TYPE: 'ZY',
ITEM: this.goodsList
}
])
.sapRrm([params])
.then((res) => {
this.loading = false;
if(!Array.isArray(res)){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment