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

bug 修改

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