cosmoim-852 fix 不良品下线,半成品判废翻译调整

master
guoshuang 3 years ago
parent c4c013d39d
commit fe2200c6d1

@ -508,7 +508,7 @@ export default {
PleaseOne: '请输入责任人', PleaseOne: '请输入责任人',
PleaseTwo: '请输入不良原因', PleaseTwo: '请输入不良原因',
rejectsOffline: '不良品下线', rejectsOffline: '不良品下线',
ResponsibleProcess: '责任工序', ResponsibleProcess: '责任区域',
PleaseThere: '请输入责任工序', PleaseThere: '请输入责任工序',
rawWasteJudgment: '原材料判废', rawWasteJudgment: '原材料判废',
reason1: '原因', reason1: '原因',
@ -526,5 +526,7 @@ export default {
allocation: '调拨', allocation: '调拨',
Relationship: 'BOM关系外生产扣料', Relationship: 'BOM关系外生产扣料',
Insufficient: '源容器不足', Insufficient: '源容器不足',
defect: '缺陷',
Note: '备注',
}, },
}; };

@ -503,12 +503,12 @@ export default {
Lineedge_raw_transfer: 'Line edge raw material transfer', Lineedge_raw_transfer: 'Line edge raw material transfer',
CostCenter: 'Cost Center', CostCenter: 'Cost Center',
recovery: 'recovery', recovery: 'recovery',
personLiable: 'person liable', personLiable: 'responsible person',
CausesOfDefects: 'Causes of defects', CausesOfDefects: 'Causes of defects',
PleaseOne: 'Please enter the responsible person', PleaseOne: 'Please enter the responsible person',
PleaseTwo: 'Please enter the cause of the defect', PleaseTwo: 'Please enter the cause of the defect',
rejectsOffline: 'NG Roll Off', rejectsOffline: 'NG Roll Off',
ResponsibleProcess: 'Responsible process', ResponsibleProcess: 'Responsible area',
PleaseThere: 'Please enter the responsible operation', PleaseThere: 'Please enter the responsible operation',
rawWasteJudgment: 'Waste judgment of raw', rawWasteJudgment: 'Waste judgment of raw',
reason1: 'reason', reason1: 'reason',
@ -526,5 +526,7 @@ export default {
allocation: 'allocation', allocation: 'allocation',
Relationship: 'External Mat', Relationship: 'External Mat',
Insufficient: 'Insufficient source container', Insufficient: 'Insufficient source container',
defect: 'defects',
Note: 'Note',
}, },
}; };

@ -508,7 +508,7 @@ export default {
PleaseOne: 'Введите ответственное лицо', PleaseOne: 'Введите ответственное лицо',
PleaseTwo: 'Введите причину неисправности', PleaseTwo: 'Введите причину неисправности',
rejectsOffline: 'нижняя линия дефекта', rejectsOffline: 'нижняя линия дефекта',
ResponsibleProcess: 'ответственная операция', ResponsibleProcess: 'зона ответственности',
PleaseThere: 'Введите ответственную операцию', PleaseThere: 'Введите ответственную операцию',
rawWasteJudgment: 'утилизация сырья', rawWasteJudgment: 'утилизация сырья',
reason1: 'причина', reason1: 'причина',
@ -526,5 +526,7 @@ export default {
allocation: 'переброска', allocation: 'переброска',
Relationship: 'производственные вычеты', Relationship: 'производственные вычеты',
Insufficient: 'недостаточная емкость источника', Insufficient: 'недостаточная емкость источника',
defect: 'дефект',
Note: 'Примечание',
}, },
}; };

@ -31,18 +31,22 @@
<u-form-item :label="$t('message.ModelCode')"> <u-form-item :label="$t('message.ModelCode')">
<u-input :disabled="true" v-model="Some.materialCode" placeholder="" /> <u-input :disabled="true" v-model="Some.materialCode" placeholder="" />
</u-form-item> </u-form-item>
<!-- 原因 --> <!-- 缺陷 -->
<u-form-item :label="$t('message.CausesOfDefects')"> <u-form-item :label="$t('message.defect')">
<u-input v-model="Some.reason" placeholder="" /> <u-input v-model="Some.reason" placeholder="" />
</u-form-item> </u-form-item>
<!-- 责任人 --> <!-- 责任人 -->
<u-form-item :label="$t('message.personLiable')"> <u-form-item :label="$t('message.personLiable')">
<u-input v-model="Some.responsibleUser" placeholder="" /> <u-input v-model="Some.responsibleUser" placeholder="" />
</u-form-item> </u-form-item>
<!-- 责任工序 --> <!-- 责任区域 -->
<u-form-item :label="$t('message.ResponsibleProcess')"> <u-form-item :label="$t('message.ResponsibleProcess')">
<u-input v-model="Some.responsibleProcess" placeholder="" /> <u-input v-model="Some.responsibleProcess" placeholder="" />
</u-form-item> </u-form-item>
<!-- 备注 -->
<u-form-item :label="$t('message.Note')">
<u-input v-model="Some.Note" placeholder="" />
</u-form-item>
</u-form> </u-form>
<view class="bottom-bar"> <view class="bottom-bar">
<u-row class="button-bar"> <u-row class="button-bar">
@ -130,10 +134,10 @@ export default class productCheckReceipt extends BasePage {
this.customToast(this.$t('message.PleaseTwo') as string); this.customToast(this.$t('message.PleaseTwo') as string);
return; return;
} }
if (!this.Some.responsibleUser) { // if (!this.Some.responsibleUser) {
this.customToast(this.$t('message.PleaseOne') as string); // this.customToast(this.$t('message.PleaseOne') as string);
return; // return;
} // }
if (!this.Some.responsibleProcess) { if (!this.Some.responsibleProcess) {
this.customToast(this.$t('message.PleaseThere') as string); this.customToast(this.$t('message.PleaseThere') as string);
return; return;
@ -148,6 +152,7 @@ export default class productCheckReceipt extends BasePage {
reason: this.Some.reason, reason: this.Some.reason,
responsibleUser: this.Some.responsibleUser, responsibleUser: this.Some.responsibleUser,
responsibleProcess: this.Some.responsibleProcess, responsibleProcess: this.Some.responsibleProcess,
add2: this.Some.Note,
}); });
if (this.model.code == '1') { if (this.model.code == '1') {
uni.showToast({ uni.showToast({

@ -25,21 +25,25 @@
<u-input :disabled="true" v-model="every.productDescZh" placeholder="" style="overflow: hidden" /> <u-input :disabled="true" v-model="every.productDescZh" placeholder="" style="overflow: hidden" />
</u-form-item> </u-form-item>
<!-- 库位 --> <!-- 库位 -->
<u-form-item :label="$t('message.po_MaterielDes')"> <u-form-item :label="$t('message.CommissionedLocation')">
<u-input :disabled="true" v-model="every.locCode" placeholder="" style="overflow: hidden" /> <u-input :disabled="true" v-model="every.locCode" placeholder="" style="overflow: hidden" />
</u-form-item> </u-form-item>
<!-- 原因 --> <!-- 缺陷 -->
<u-form-item :required="true" :label="$t('message.reason1')"> <u-form-item :required="true" :label="$t('message.defect')">
<u-input v-model="reason" :border="border" :placeholder="$t('message.po_PleaseInput')" /> <u-input v-model="reason" :border="border" :placeholder="$t('message.po_PleaseInput')" />
</u-form-item> </u-form-item>
<!-- 责任人 --> <!-- 责任人 -->
<u-form-item :required="true" :label="$t('message.personLiable')"> <u-form-item :label="$t('message.personLiable')">
<u-input v-model="responsibleUser" :border="border" :placeholder="$t('message.po_PleaseInput')" /> <u-input v-model="responsibleUser" :border="border" :placeholder="$t('message.po_PleaseInput')" />
</u-form-item> </u-form-item>
<!-- 责任工序 --> <!-- 责任区域 -->
<u-form-item :required="true" :label="$t('message.ResponsibleProcess')"> <u-form-item :required="true" :label="$t('message.ResponsibleProcess')">
<u-input v-model="responsibleProcess" :border="border" :placeholder="$t('message.po_PleaseInput')" /> <u-input v-model="responsibleProcess" :border="border" :placeholder="$t('message.po_PleaseInput')" />
</u-form-item> </u-form-item>
<!-- 备注 -->
<u-form-item :label="$t('message.Note')">
<u-input v-model="Note" placeholder="" />
</u-form-item>
</u-form> </u-form>
<view class="bottom-bar"> <view class="bottom-bar">
<u-row class="button-bar"> <u-row class="button-bar">
@ -76,6 +80,7 @@ export default class KanDanHandOver extends BasePage {
responsibleUser = ''; responsibleUser = '';
responsibleProcess = ''; responsibleProcess = '';
every: any = {}; every: any = {};
Note = '';
async query() { async query() {
if (this.barcode == '' || this.barcode.length == 0) { if (this.barcode == '' || this.barcode.length == 0) {
this.customToast(this.$t('message.barcode') as string); this.customToast(this.$t('message.barcode') as string);
@ -105,10 +110,10 @@ export default class KanDanHandOver extends BasePage {
this.customToast(this.$t('message.PleaseFour') as string); this.customToast(this.$t('message.PleaseFour') as string);
return; return;
} }
if (this.responsibleUser == '') { // if (this.responsibleUser == '') {
this.customToast(this.$t('message.PleaseOne') as string); // this.customToast(this.$t('message.PleaseOne') as string);
return; // return;
} // }
if (this.responsibleProcess == '') { if (this.responsibleProcess == '') {
this.customToast(this.$t('message.PleaseThere') as string); this.customToast(this.$t('message.PleaseThere') as string);
return; return;
@ -128,6 +133,7 @@ export default class KanDanHandOver extends BasePage {
reason: this.reason, reason: this.reason,
responsibleUser: this.responsibleUser, responsibleUser: this.responsibleUser,
responsibleProcess: this.responsibleProcess, responsibleProcess: this.responsibleProcess,
add2: this.Note,
}; };
await this.model.submit(params); await this.model.submit(params);
if (this.model.submitCode == '1') { if (this.model.submitCode == '1') {
@ -137,6 +143,7 @@ export default class KanDanHandOver extends BasePage {
this.reason = ''; this.reason = '';
this.responsibleUser = ''; this.responsibleUser = '';
this.responsibleProcess = ''; this.responsibleProcess = '';
this.Note = '';
} }
} }
} }

Loading…
Cancel
Save