|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
<view class="left">
|
|
|
|
|
<u-icon class="icon" name="arrow-left" @click="index" />
|
|
|
|
|
</view>
|
|
|
|
|
<view class="title">{{ $t("message.Pi_ByOrderPicking") }}</view>
|
|
|
|
|
<view class="title">{{ $t("message.rawMenu_ReturnGoods") }}</view>
|
|
|
|
|
<view class="right"></view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="table-wrapper">
|
|
|
|
@ -23,18 +23,22 @@
|
|
|
|
|
<!-- 列表展示数据 -->
|
|
|
|
|
<view class="Exhibition">
|
|
|
|
|
<view class="Exhibition-left">
|
|
|
|
|
<view class="Exhibition-left-title">工位:</view>
|
|
|
|
|
<view class="Exhibition-left-title"
|
|
|
|
|
>{{ $t("message.Pi_Station") }}:</view
|
|
|
|
|
>
|
|
|
|
|
<view class="Exhibition-left-data">{{ some.sendSpot }}</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="Exhibition-right">
|
|
|
|
|
<view class="Exhibition-right-title">已拣数量:</view>
|
|
|
|
|
<view class="Exhibition-right-title"
|
|
|
|
|
>{{ $t("message.po_ReturnGoodsQuantity") }}:</view
|
|
|
|
|
>
|
|
|
|
|
<view class="Exhibition-right-data">{{ some.totalMoAmount }}</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 添加库位 -->
|
|
|
|
|
<view class="library">
|
|
|
|
|
<view class="library-left">
|
|
|
|
|
<view>库位:</view>
|
|
|
|
|
<view>{{ $t("message.CommissionedLocation") }}:</view>
|
|
|
|
|
<jPicker
|
|
|
|
|
sureColor="#ff0000"
|
|
|
|
|
style="width: 230rpx"
|
|
|
|
@ -47,13 +51,17 @@
|
|
|
|
|
/>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="library-right">
|
|
|
|
|
<view class="library-right-title">本次数量</view>
|
|
|
|
|
<view class="library-right-title">{{
|
|
|
|
|
$t("message.CommissionedThisNumber")
|
|
|
|
|
}}</view>
|
|
|
|
|
<u-input v-model="qty" :type="type" :border="border" class="input" />
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 添加 -->
|
|
|
|
|
<view class="add">
|
|
|
|
|
<u-button type="primary" @click="Add">添加</u-button>
|
|
|
|
|
<u-button type="primary" @click="Add">{{
|
|
|
|
|
$t("message.product_add")
|
|
|
|
|
}}</u-button>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 表格 -->
|
|
|
|
|
<u-table class="library-table">
|
|
|
|
@ -81,15 +89,19 @@
|
|
|
|
|
<div class="container">
|
|
|
|
|
<u-row>
|
|
|
|
|
<u-col :span="4">
|
|
|
|
|
<u-button type="primary" class="appoint" @click="appoint"
|
|
|
|
|
>拣配明细</u-button
|
|
|
|
|
>
|
|
|
|
|
<u-button type="primary" class="appoint" @click="appoint">{{
|
|
|
|
|
$t("message.detailed")
|
|
|
|
|
}}</u-button>
|
|
|
|
|
</u-col>
|
|
|
|
|
<u-col :span="4">
|
|
|
|
|
<u-button type="success" @click="onSubmit"> 提交 </u-button>
|
|
|
|
|
<u-button type="success" @click="onSubmit">
|
|
|
|
|
{{ $t("message.po_Submit") }}
|
|
|
|
|
</u-button>
|
|
|
|
|
</u-col>
|
|
|
|
|
<u-col :span="4">
|
|
|
|
|
<u-button type="error" @click="onUpload"> 返回 </u-button>
|
|
|
|
|
<u-button type="error" @click="onUpload">
|
|
|
|
|
{{ $t("message.po_Return") }}
|
|
|
|
|
</u-button>
|
|
|
|
|
</u-col>
|
|
|
|
|
</u-row>
|
|
|
|
|
</div>
|
|
|
|
@ -177,14 +189,14 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
if (this.qty == "" || this.wlCode == "") {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: "none",
|
|
|
|
|
title: "请输入正确的库位和数量" as any,
|
|
|
|
|
title: this.$t("message.Commission_tips2") as any,
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (parseFloat(this.qty) <= 0) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: "none",
|
|
|
|
|
title: "请输入大于0的数量" as any,
|
|
|
|
|
title: this.$t("message.Commission_tips3") as any,
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -215,7 +227,7 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
if (this.wlCode.sendSpot != item.Code) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: "none",
|
|
|
|
|
title: "请选择正确的库位" as any,
|
|
|
|
|
title: this.$t("message.Commission_tips7") as any,
|
|
|
|
|
});
|
|
|
|
|
return (isTrue = false);
|
|
|
|
|
}
|
|
|
|
@ -224,7 +236,7 @@ export default class RawReceiptDetail extends BasePage {
|
|
|
|
|
if (this.some == {}) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: "none",
|
|
|
|
|
title: "请先选择一个物料" as any,
|
|
|
|
|
title: this.$t("message.Commission_tips6") as any,
|
|
|
|
|
});
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|