产品信息编辑问题

zhairh
anthonywj 3 years ago
parent a6933194a6
commit 23af0b9963

@ -212,6 +212,7 @@
border
key="3"
@current-change="handleDetail"
highlight-current-row
>
<el-table-column
label="产品标识"
@ -1570,8 +1571,6 @@ export default {
} else {
this.relevanceEdit.isUseDy = 0;
}
updatetUdiInfos(this.relevanceEdit)
.then((response) => {
this.loading = false;

@ -192,7 +192,7 @@
v-if="editDialogVisible"
>
<el-table :data="sysList" style="width: 100%" key="2" border>
<el-table :data="sysList" style="width: 100%" key="2" border highlight-current-row>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column
label="系统名称"
@ -843,7 +843,9 @@ export default {
isUseDy: false,
isLock: null,
isAdavence: null,
pId: null,
},
pId: 0,
defaultSys: null,
isImport: false,
isImportUdi: false,
@ -1097,6 +1099,7 @@ export default {
this.thisData = row;
this.editDialogVisible = true;
this.editQuery = row;
this.pId = row.id;
this.relevanceEdit = {
id: row.rlId,
// thirdId: row.thirdId,
@ -1218,6 +1221,7 @@ export default {
this.relevanceEdit.isDisable = this.editQuery.isDisable;
this.relevanceEdit.isLock = this.editQuery.isLock;
this.relevanceEdit.isAdavence = this.editQuery.isAdavence;
this.relevanceEdit.pid = this.pId;
updatetUdiInfos(this.relevanceEdit)
.then((response) => {
this.loading = false;

@ -353,7 +353,9 @@ export default {
isDisable: null,
isUseDy: false,
isAdavence: null,
pId: null,
},
pId: 0,
productType: null,
defaultSys: null,
isImport: false,
@ -735,6 +737,7 @@ export default {
this.thisData = row;
this.editDialogVisible = true;
this.editQuery = row;
this.pId = row.id;
this.relevanceEdit = {
id: row.rlId,
isUseDy: row.isUseDy,
@ -826,7 +829,8 @@ export default {
this.relevanceEdit.isDisable = this.editQuery.isDisable;
this.relevanceEdit.isLock = this.editQuery.isLock;
this.relevanceEdit.isAdavence = this.editQuery.isAdavence;
this.relevanceEdit = this.editQuery;
this.relevanceEdit = this.editQuery
this.relevanceEdit.pid = this.pId;
if (this.checked == true) {
this.relevanceEdit.isUseDy = 1;
} else {

@ -58,6 +58,7 @@
<el-table
v-loading="loading"
:data="detailList"
highlight-current-row
style="width: 100%; margin-top: 20px"
border
@current-change="handleDetail"
@ -94,7 +95,6 @@
style="margin-top: 20px"
>
<el-row :gutter="20" class="el-row" type="flex">
<el-col :span="12" class="el-col">
<div class="text item">
<div class="itemTag">

Loading…
Cancel
Save