|
|
|
@ -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 = {};
|
|
|
|
|