Commit 517e74c8 authored by xiaoyan's avatar xiaoyan

feature: 理货增加补单

parent 999cdfc0
......@@ -108,6 +108,9 @@
<view class="padding-xl">
<block>
<view class="flex-sub" style="padding-right: 10px;">
<button class="cu-btn block bg-yellow margin-tb-sm lg" @click="toPatch">{{$t('补单')}}</button>
</view>
<view class="flex">
<view class="flex-sub" style="padding-right: 10px;">
<button class="cu-btn block bg-blue margin-tb-sm lg" @click="tallyFinish">{{$t('完成理货')}}</button>
......@@ -520,6 +523,13 @@ export default {
this.getLoadDetail();
});
},
/* 跳转到补单 */
toPatch() {
const { boxInfo } = this.loadData;
uni.navigateTo({
url: `../mergePkg/patch?id=${this.shipmentId}&selfNo=${boxInfo.selfNo}`,
});
},
/* 理货完成 */
tallyFinish() {
tallyCommit({ shipmentId: this.shipmentId }).then((res) => {
......
......@@ -126,6 +126,9 @@
<view class="padding-xl">
<block>
<view class="flex-sub" style="padding-right: 10px;">
<button class="cu-btn block bg-yellow margin-tb-sm lg" @click="toPatch">{{$t('补单')}}</button>
</view>
<view class="flex">
<view class="flex-sub">
<button class="cu-btn block bg-red margin-tb-sm lg" @click="showErrorCorrection(true)">{{$t('理货纠错')}}</button>
......@@ -782,6 +785,13 @@ export default {
this.getLoadDetail();
});
},
/* 跳转到补单 */
toPatch() {
const { boxInfo } = this.loadData;
uni.navigateTo({
url: `../mergePkg/patch?id=${this.shipmentId}&selfNo=${boxInfo.selfNo}`,
});
},
/* 理货完成 */
tallyFinish() {
this.$store.dispatch(types.SHOW_TOAST, {
......
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