|
|
|
@ -39,9 +39,9 @@
|
|
|
|
|
<u-input :disabled="true" v-model="Some.costCenter" placeholder="" />
|
|
|
|
|
</u-form-item>
|
|
|
|
|
<!-- 文件号 -->
|
|
|
|
|
<u-form-item :label="$t('message.DocumentNumber')">
|
|
|
|
|
<!-- <u-form-item :label="$t('message.DocumentNumber')">
|
|
|
|
|
<u-input v-model="Some.fileNo" placeholder="" />
|
|
|
|
|
</u-form-item>
|
|
|
|
|
</u-form-item> -->
|
|
|
|
|
<u-row class="button-bar">
|
|
|
|
|
<u-col :span="6">
|
|
|
|
|
<u-button type="error" @click="uni.navigateBack({})">{{ $t('message.po_Return') }}</u-button>
|
|
|
|
@ -84,7 +84,7 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
if (this.model.code == '1') {
|
|
|
|
|
uni.showToast({ icon: 'success', title: this.$t('message.successful') as string });
|
|
|
|
|
this.model.orderInInfoList.forEach((item: any) => {
|
|
|
|
|
item.fileNo = '';
|
|
|
|
|
//item.fileNo = '';
|
|
|
|
|
let arr: any = {
|
|
|
|
|
label: item.productCode,
|
|
|
|
|
value: item.productCode,
|
|
|
|
@ -115,10 +115,10 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
this.customToast(this.$t('message.Warehouse_Tip5') as string);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (this.Some.fileNo == '' || this.Some.fileNo == null || this.Some.fileNo == undefined) {
|
|
|
|
|
this.customToast(this.$t('message.fileNumber') as string);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// if (this.Some.fileNo == '' || this.Some.fileNo == null || this.Some.fileNo == undefined) {
|
|
|
|
|
// this.customToast(this.$t('message.fileNumber') as string);
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
let orderlist = [];
|
|
|
|
|
this.Some.type = '1';
|
|
|
|
|
this.Some.keepBy = session.loginName;
|
|
|
|
@ -128,7 +128,7 @@ export default class KanDanHandOver extends BasePage {
|
|
|
|
|
if (this.model.code == '1') {
|
|
|
|
|
uni.showToast({ icon: 'success', title: this.$t('message.success') as string });
|
|
|
|
|
this.Some = {};
|
|
|
|
|
this.Some.fileNo = ' ';
|
|
|
|
|
//this.Some.fileNo = ' ';
|
|
|
|
|
this.wl = {};
|
|
|
|
|
this.MaterialList = [];
|
|
|
|
|
this.query();
|
|
|
|
|