|
|
|
@ -33,6 +33,9 @@
|
|
|
|
|
<u-search placeholder="" v-model.trim="reason" @search="queryreason" :show-action="false"></u-search>
|
|
|
|
|
<!-- <u-input v-model="reason" :border="border" :placeholder="$t('message.po_PleaseInput')" /> -->
|
|
|
|
|
</u-form-item>
|
|
|
|
|
<u-form-item :label="$t('message.DefectName')">
|
|
|
|
|
<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')" />
|
|
|
|
@ -42,6 +45,9 @@
|
|
|
|
|
<u-search placeholder="" v-model.trim="responsibleProcess" @search="queryProcess" :show-action="false"></u-search>
|
|
|
|
|
<!-- <u-input v-model="responsibleProcess" :border="border" :placeholder="$t('message.po_PleaseInput')" /> -->
|
|
|
|
|
</u-form-item>
|
|
|
|
|
<u-form-item :label="$t('message.workArea_RegionName')">
|
|
|
|
|
<u-input :disabled="true" v-model="ProcessList.dicName" placeholder="" style="overflow: hidden" />
|
|
|
|
|
</u-form-item>
|
|
|
|
|
<!-- 备注 -->
|
|
|
|
|
<u-form-item :label="$t('message.Note')">
|
|
|
|
|
<u-input v-model="Note" placeholder="" />
|
|
|
|
@ -106,7 +112,7 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
await this.model.checkDicCode(this.reason);
|
|
|
|
|
if (this.model.code == '0') {
|
|
|
|
|
if (this.model.code == '1') {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: this.$t('message.successful') as string,
|
|
|
|
|
duration: 2000,
|
|
|
|
@ -121,7 +127,7 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
await this.model.checkDicCode(this.responsibleProcess);
|
|
|
|
|
if (this.model.code == '0') {
|
|
|
|
|
if (this.model.code == '1') {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
title: this.$t('message.successful') as string,
|
|
|
|
|
duration: 2000,
|
|
|
|
@ -180,6 +186,8 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
this.responsibleUser = '';
|
|
|
|
|
this.responsibleProcess = '';
|
|
|
|
|
this.Note = '';
|
|
|
|
|
this.reasonList = {};
|
|
|
|
|
this.ProcessList = {};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|