完善 多语言

master
hou 4 years ago
parent a6e7c0a270
commit 87699282a3

@ -237,6 +237,12 @@ export default {
Commission_tips3: "请输入大于0的数量", Commission_tips3: "请输入大于0的数量",
Commission_tips4: "不能大于需求数量", Commission_tips4: "不能大于需求数量",
Commission_tips5: "请确保所选物料已分配库位", Commission_tips5: "请确保所选物料已分配库位",
Commission_tips6: "请先选择一个物料",
Commission_tips7: "请选择正确的库位",
endtime: "请选择结束时间",
end: "结束时间",
starttime: "请选择开始时间",
start: "开始时间",
_tips5: "请选择相同库位", _tips5: "请选择相同库位",
_tips6: "请先输入要查询的单号", _tips6: "请先输入要查询的单号",
//移库 //移库

@ -239,6 +239,12 @@ export default {
Commission_tips4: "Cannot be greater than the required quantity", Commission_tips4: "Cannot be greater than the required quantity",
Commission_tips5: Commission_tips5:
"Please ensure that the selected material has been assigned a location", "Please ensure that the selected material has been assigned a location",
Commission_tips6: "Please select a material first",
Commission_tips7: "Please select the correct location",
endtime: "Please select an end time",
end: "End time",
starttime: "Please select an start time",
start: "start time",
_tips5: "Please select the same location", _tips5: "Please select the same location",
_tips6: "Please enter the order number to query first", _tips6: "Please enter the order number to query first",

@ -201,21 +201,21 @@ export default class RawReceiptDetail extends BasePage {
if (this.qty == "" || this.wlCode == "") { if (this.qty == "" || this.wlCode == "") {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: "请输入正确的库位和数量" as any, title: this.$t("message.Commission_tips2") as any,
}); });
return; return;
} }
if (parseFloat(this.qty) <= 0) { if (parseFloat(this.qty) <= 0) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: "请输入大于0的数量" as any, title: this.$t("message.Commission_tips3") as any,
}); });
return; return;
} }
if (this.some == {}) { if (this.some == {}) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: "请先选择一个物料" as any, title: this.$t("message.Commission_tips6") as any,
}); });
return; return;
} }
@ -225,7 +225,7 @@ export default class RawReceiptDetail extends BasePage {
if (this.wlCode.sendSpot != item.Code) { if (this.wlCode.sendSpot != item.Code) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: "请选择正确的库位" as any, title: this.$t("message.Commission_tips7") as any,
}); });
return (isTrue = false); return (isTrue = false);
} }
@ -326,7 +326,7 @@ export default class RawReceiptDetail extends BasePage {
if (this.some == {} || this.some.prdOrder == null) { if (this.some == {} || this.some.prdOrder == null) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: "请先选择一条物料" as any, title: this.$t("message.Commission_tips6") as any,
}); });
return; return;
} }

@ -204,21 +204,21 @@ export default class RawReceiptDetail extends BasePage {
if (this.qty == "" || this.wlCode == "") { if (this.qty == "" || this.wlCode == "") {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: "请输入正确的库位和数量" as any, title: this.$t("message.Commission_tips2") as any,
}); });
return; return;
} }
if (parseFloat(this.qty) <= 0) { if (parseFloat(this.qty) <= 0) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: "请输入大于0的数量" as any, title: this.$t("message.Commission_tips3") as any,
}); });
return; return;
} }
if (this.some == {}) { if (this.some == {}) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: "请先选择一个物料" as any, title: this.$t("message.Commission_tips6") as any,
}); });
return; return;
} }
@ -228,7 +228,7 @@ export default class RawReceiptDetail extends BasePage {
if (this.wlCode.sendSpot != item.Code) { if (this.wlCode.sendSpot != item.Code) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
title: "请选择正确的库位" as any, title: this.$t("message.Commission_tips7") as any,
}); });
return (isTrue = false); return (isTrue = false);
} }

@ -248,7 +248,7 @@ export default class pickingDom extends BasePage {
} }
/** /**
* 单查询 * 单查询
*/ */
onQuery() { onQuery() {
this.$form.validate(async (valid: boolean) => { this.$form.validate(async (valid: boolean) => {

@ -14,8 +14,8 @@
<u-field <u-field
style="background: white; border-radius: 10rpx" style="background: white; border-radius: 10rpx"
v-model="startMobile" v-model="startMobile"
placeholder="请选择开始时间" :placeholder="$t('message.starttime')"
label="开始时间:" :label="$t('message.start')"
> >
</u-field> </u-field>
<u-picker <u-picker
@ -24,14 +24,16 @@
mode="time" mode="time"
@confirm="startConfirm" @confirm="startConfirm"
></u-picker> ></u-picker>
<u-button @click="startShow = true" type="primary">选择</u-button> <u-button @click="startShow = true" type="primary">{{
$t("message.workArea_Selelct")
}}</u-button>
</view> </view>
<view style="display: flex; margin-top: 20rpx"> <view style="display: flex; margin-top: 20rpx">
<u-field <u-field
style="background: white; border-radius: 10rpx" style="background: white; border-radius: 10rpx"
v-model="endMobile" v-model="endMobile"
placeholder="请选择结束时间" :placeholder="$t('message.endtime')"
label="结束时间:" :label="$t('message.end')"
> >
</u-field> </u-field>
<u-picker <u-picker
@ -40,7 +42,9 @@
mode="time" mode="time"
@confirm="endConfirm" @confirm="endConfirm"
></u-picker> ></u-picker>
<u-button @click="endShow = true" type="primary">选择</u-button> <u-button @click="endShow = true" type="primary">{{
$t("message.workArea_Selelct")
}}</u-button>
</view> </view>
<view class="table-wrapper" style="margin-top: 10rpx"> <view class="table-wrapper" style="margin-top: 10rpx">
<wyb-table <wyb-table

@ -39,7 +39,7 @@
style="margin-left: 10rpx" style="margin-left: 10rpx"
type="primary" type="primary"
@click="screen" @click="screen"
>筛选</u-button >{{ $t("message.screen") }}</u-button
> >
<!-- <jPicker <!-- <jPicker
sureColor="#ff0000" sureColor="#ff0000"

Loading…
Cancel
Save