|
|
@ -120,7 +120,7 @@ |
|
|
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" v-drag :title="inputLabel.headerInput.label5" :visible.sync="setUp.reviewFlag" width="325px"> |
|
|
<el-dialog :close-on-click-modal="false" :close-on-press-escape="false" v-drag :title="inputLabel.headerInput.label5" :visible.sync="setUp.reviewFlag" width="325px"> |
|
|
<el-form :inline="true" label-position="top"> |
|
|
<el-form :inline="true" label-position="top"> |
|
|
<el-form-item :label="inputLabel.headerInput.label1"> |
|
|
<el-form-item :label="inputLabel.headerInput.label1"> |
|
|
<el-input style="width: 130px;" :readonly = "setUp.readonlyFlag" onkeyup="this.value = this.value.toUpperCase()" v-model="saveHeaderData.locationId"></el-input> |
|
|
|
|
|
|
|
|
<el-input style="width: 130px;" :readonly = "setUp.readonlyFlag?'readonly':false" onkeyup="this.value = this.value.toUpperCase()" v-model="saveHeaderData.locationId"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item :label="inputLabel.headerInput.label2"> |
|
|
<el-form-item :label="inputLabel.headerInput.label2"> |
|
|
<el-input style="width: 130px;" v-model="saveHeaderData.locationName"></el-input> |
|
|
<el-input style="width: 130px;" v-model="saveHeaderData.locationName"></el-input> |
|
|
@ -648,6 +648,7 @@ import { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
initModel(row){ |
|
|
initModel(row){ |
|
|
|
|
|
console.log("1 =" +row) |
|
|
this.setUp.reviewFlag = true |
|
|
this.setUp.reviewFlag = true |
|
|
this.setUp.saveButton = false |
|
|
this.setUp.saveButton = false |
|
|
this.setUp.readonlyFlag = false |
|
|
this.setUp.readonlyFlag = false |
|
|
@ -657,7 +658,8 @@ import { |
|
|
this.saveHeaderData.locationName = '' |
|
|
this.saveHeaderData.locationName = '' |
|
|
this.saveHeaderData.warehouseId = '' |
|
|
this.saveHeaderData.warehouseId = '' |
|
|
this.saveHeaderData.active = 'Y' |
|
|
this.saveHeaderData.active = 'Y' |
|
|
if(row != null){ |
|
|
|
|
|
|
|
|
if(row){ |
|
|
|
|
|
console.log("2 =" +row) |
|
|
this.setUp.readonlyFlag = true |
|
|
this.setUp.readonlyFlag = true |
|
|
this.saveHeaderData.id = 1 |
|
|
this.saveHeaderData.id = 1 |
|
|
this.saveHeaderData.locationId = row.locationId |
|
|
this.saveHeaderData.locationId = row.locationId |
|
|
|