1.修复补录单据编辑页面仓库信息不显示问题

fencang
x_z 3 years ago
parent de5762c689
commit e87c5a19ac

@ -559,6 +559,8 @@ export default {
this.idQuery.actDate = '';
this.idQuery.corpOrderId = '';
this.idQuery.billType = row.action;
this.idQuery.invName = row.invName;
this.idQuery.subInvName = row.subInvName;
if (row.id !== null && row.id !== undefined && row.id !== '') {
this.idQuery.id = row.id;
this.idQuery.actDate = row.actDate;

@ -90,7 +90,11 @@
</div>
</el-col>
<el-col :span="8">
<el-col :span="8" v-if="corpOrderIdDisabled">
<el-input disabled v-model="formData.invName"></el-input>
</el-col>
<el-col :span="8" v-if="!corpOrderIdDisabled">
<el-form-item prop="locStorageCode">
<el-select v-model="formData.locStorageCode" placeholder="当前仓库信息" clearable
@change="locCHange"
@ -106,13 +110,18 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="2">
<div class="ao-text">
<span>当前分库</span>
</div>
</el-col>
<el-col :span="8">
<el-col :span="8" v-if="corpOrderIdDisabled">
<el-input disabled v-model="formData.subInvName"></el-input>
</el-col>
<el-col :span="8" v-if="!corpOrderIdDisabled">
<el-form-item prop="locStorageCode">
<el-select v-model="formData.invWarehouseCode" placeholder="当前分库信息" clearable
:disabled="corpOrderIdDisabled">
@ -379,6 +388,8 @@ export default {
vailInv: null,
subInvCode: null,
fromSubInvCode: null,
invName: null,
subInvName: null
},
formRules: {
temp: [
@ -923,6 +934,8 @@ export default {
this.formData.invWarehouseCode = this.idQuery.invWarehouseCode;
this.corpOrderIdDisabled = true;
this.formData.preCheck = this.idQuery.preCheck;
this.formData.invName = this.idQuery.invName;
this.formData.subInvName = this.idQuery.subInvName;
if (this.addType == "edit") {
this.visiblV = 1;
}

Loading…
Cancel
Save