cosmoim-852 fix 俄罗斯不良品下线,半成品判废修改

master
guoshuang 3 years ago
parent 27dd95c139
commit 9b91c96d00

@ -550,5 +550,6 @@ export default {
Nozonename: '没有区域名称',
isdeffrent: '容器码的物料与选择的物料不相同',
Notcompleted: '物料没有收货完成',
ScrapLocation: '报废位置',
},
};

@ -549,5 +549,6 @@ export default {
Nozonename: 'No zone name',
isdeffrent: 'The material with container code is different from the selected material',
Notcompleted: 'material has not been received',
ScrapLocation: 'Scrap location',
},
};

@ -549,5 +549,6 @@ export default {
Nozonename: 'Нет названия региона',
isdeffrent: 'Материал кода контейнера отличается от выбранного материала.',
Notcompleted: 'Материалы пока не получены',
ScrapLocation: 'участок списания',
},
};

@ -171,7 +171,7 @@ export default class LoginPage extends BasePage {
console.log('......', server.serverAddress);
if (server.serverAddress.includes('https://eurmom.haier.net')) {
//
this.Version = '1.1.25';
this.Version = '1.1.26';
} else {
this.Version = '1.0.49';
}

@ -40,8 +40,9 @@
<u-input :disabled="true" v-model="reasonList.dicName" placeholder="" style="overflow: hidden" />
</u-form-item>
<!-- 责任人 -->
<u-form-item :label="$t('message.personLiable')">
<u-input v-model="Some.responsibleUser" placeholder="" />
<u-form-item :label="$t('message.ScrapLocation')">
<!-- <u-input v-model="Some.responsibleUser" placeholder="" /> -->
<jPicker sureColor="#ff0000" @bindpicker="bookTypeChange" showKey="value" valKey="value" :val="form.aimWl.value" :options="ScrapLocation" />
</u-form-item>
<!-- 责任区域 -->
<u-form-item :required="true" :label="$t('message.ResponsibleProcess')">
@ -109,6 +110,20 @@ export default class productCheckReceipt extends BasePage {
dockName: any = '';
wl: any = {};
Some: any = {};
ScrapLocation = [
{
label: 'CA',
value: 'CA',
},
{
label: 'DA',
value: 'DA',
},
{
label: 'FA',
value: 'FA',
},
];
//
bookTypeChange(e: any) {
this.form.aimWl = e.pickerName;
@ -117,6 +132,7 @@ export default class productCheckReceipt extends BasePage {
//
async onReady() {
//
this.form.aimWl = this.ScrapLocation[0];
}
//
async query() {
@ -207,7 +223,7 @@ export default class productCheckReceipt extends BasePage {
barcode: this.form.order3,
reason: this.Some.reason,
reasonDesc: this.reasonList.dicName,
responsibleUser: this.Some.responsibleUser,
responsibleUser: this.form.aimWl.value,
responsibleProcess: this.Some.responsibleProcess,
responsibleAreaName: this.ProcessList.dicName,
add2: this.Some.Note,

@ -37,8 +37,10 @@
<u-input :disabled="true" v-model="reasonList.dicName" placeholder="" style="overflow: hidden" />
</u-form-item>
<!-- 责任人 -->
<u-form-item :label="$t('message.personLiable')">
<u-input v-model="responsibleUser" :border="border" :placeholder="$t('message.po_PleaseInput')" />
<u-form-item :label="$t('message.ScrapLocation')">
<!-- <u-input v-model="responsibleUser" :border="border" :placeholder="$t('message.po_PleaseInput')" />
-->
<jPicker sureColor="#ff0000" @bindpicker="bookTypeChange" showKey="value" valKey="value" :val="form.aimWl.value" :options="ScrapLocation" />
</u-form-item>
<!-- 责任区域 -->
<u-form-item :required="true" :label="$t('message.ResponsibleProcess')">
@ -74,6 +76,10 @@ import { BasePage } from '@/components/base/page';
import model from './model';
import jPicker from '@/components/J-Picker/jPicker.vue';
import { session } from '@/store/modules/session';
interface OptionType {
label: string;
value: string;
}
@Component({
components: {
jPicker,
@ -91,6 +97,30 @@ export default class KanDanHandOver extends BasePage {
reasonList: any = {};
ProcessList: any = {};
Note = '';
form = {
aimWl: {} as OptionType,
};
ScrapLocation = [
{
label: 'CA',
value: 'CA',
},
{
label: 'DA',
value: 'DA',
},
{
label: 'FA',
value: 'FA',
},
];
bookTypeChange(e: any) {
this.form.aimWl = e.pickerName;
}
async onReady() {
//
this.form.aimWl = this.ScrapLocation[0];
}
async query() {
if (this.barcode == '' || this.barcode.length == 0) {
this.customToast(this.$t('message.barcode') as string);
@ -180,7 +210,7 @@ export default class KanDanHandOver extends BasePage {
locCode: this.every.locCode,
reason: this.reason,
reasonDesc: this.reasonList.dicName,
responsibleUser: this.responsibleUser,
responsibleUser: this.form.aimWl.value,
responsibleProcess: this.responsibleProcess,
responsibleAreaName: this.ProcessList.dicName,
add2: this.Note,
@ -191,7 +221,7 @@ export default class KanDanHandOver extends BasePage {
this.barcode = '';
this.every = {};
this.reason = '';
this.responsibleUser = '';
//this.responsibleUser = '';
this.responsibleProcess = '';
this.Note = '';
this.reasonList = {};

Loading…
Cancel
Save