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