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

bug 修改

parent 5979d3f9
...@@ -115,6 +115,11 @@ ...@@ -115,6 +115,11 @@
text: '反冲料移库', text: '反冲料移库',
url: '/pages/recoil/recoilMaterial' url: '/pages/recoil/recoilMaterial'
}, },
{
src: require('@/static/images/xsck.png'),
text: '发货下架',
url: '/pages/sendOutGoodsOff/index'
},
] ]
}] }]
}; };
......
...@@ -162,11 +162,8 @@ export default { ...@@ -162,11 +162,8 @@ export default {
} }
return acc; return acc;
}, []); }, []);
console.log(params, '-----')
// return
this.$u.api.sapApi.sapPickingDn(params, 300).then((res) => { this.$u.api.sapApi.sapPickingDn(params, 300).then((res) => {
console.log(res, '-----');
this.loading = false; this.loading = false;
if (!Array.isArray(res)) { if (!Array.isArray(res)) {
return; return;
...@@ -179,11 +176,11 @@ export default { ...@@ -179,11 +176,11 @@ export default {
return f; return f;
}); });
if (!flag) { if (!flag) {
this.$u.toast("提交成功"); this.$u.toast(res[0].MESSAGE);
// this.resFlag = true // this.resFlag = true
setTimeout(() => { setTimeout(() => {
this.goBack(); this.goBack();
}, 1000); }, 3000);
} }
}); });
}, },
...@@ -209,7 +206,11 @@ export default { ...@@ -209,7 +206,11 @@ export default {
}); });
if (item) { if (item) {
if (Reflect.has(item, "ZPLDT")) { if (Reflect.has(item, "ZPLDT")) {
item.ZPLDT.push(ele); item.ZPLDT.push({
...ele,
KDAUF: item.KDAUF,
KDPOS: item.KDPOS,
});
} else { } else {
this.$set(item, "ZPLDT", [ele]); this.$set(item, "ZPLDT", [ele]);
} }
......
<template> <template>
<view> <view style="padding: 20rpx 0;">
<view class="btn"> <view class="btn">
<uni-easyinput prefixIcon="search" :disabled="isDisabled" v-model="wxparams" :focus="isFocus" <uni-easyinput prefixIcon="search" :disabled="isDisabled" v-model="wxparams" :focus="isFocus"
placeholder="请扫描产品包装条码/外箱码" @input="handleInputPlnr"></uni-easyinput> placeholder="请扫描产品包装条码/外箱码" @input="handleInputPlnr"></uni-easyinput>
<view class="title">
<text>明细</text>
</view>
</view> </view>
<view class="cardbox"> <view class="cardbox">
<view class="cardContent" v-for="(item, index) in goodsList" :key="item.PLNR"> <view class="cardContent" v-for="(item, index) in goodsList" :key="item.PLNR">
...@@ -119,7 +116,6 @@ ...@@ -119,7 +116,6 @@
.btn { .btn {
padding: 10rpx 20rpx; padding: 10rpx 20rpx;
background: #fff; background: #fff;
.title { .title {
margin-top: 10rpx; margin-top: 10rpx;
color: #000; color: #000;
......
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