产品信息编辑问题

busUser
anthonywj 3 years ago
parent 9eba6a000a
commit 1fb5b2eea2

@ -1,6 +1,6 @@
{
"BASE_URL": "http://192.168.0.166:9996",
"SERVER_IP": "http://192.168.0.166:9996",
"BASE_URL": "http://192.168.1.20:9996",
"SERVER_IP": "http://192.168.1.20:9996",
"hosp_name": "福建省XX市医院"
}

@ -211,6 +211,7 @@
style="width: 100%; "
border
key="3"
highlight-current-row
@current-change="handleDetail"
>
<el-table-column
@ -1039,8 +1040,10 @@ export default {
allowNoBatch: null,
allowNoExpire: null,
allowNoProduct: null,
cpdls: null
cpdls: null,
pId: null,
},
pId: 0,
defaultSys: null,
isImport: false,
isImportUdi: false,
@ -1390,6 +1393,7 @@ export default {
this.thisData = row;
this.editDialogVisible = true;
this.editQuery = row;
this.pId = row.id;
this.relevanceEdit = {
id: row.id,
isUseDy: row.isUseDy,
@ -1499,13 +1503,12 @@ export default {
this.relevanceEdit.isLock = this.editQuery.isLock;
this.relevanceEdit.isAdavence = this.editQuery.isAdavence;
this.relevanceEdit = this.editQuery;
this.relevanceEdit.pid = this.pId;
if (this.checked == true) {
this.relevanceEdit.isUseDy = 1;
} else {
this.relevanceEdit.isUseDy = 0;
}
updatetUdiInfos(this.relevanceEdit)
.then((response) => {
this.loading = false;

@ -220,6 +220,7 @@
style="width: 100%; margin-top: 20px"
border
key="3"
highlight-current-row
@current-change="handleDetail"
>
<el-table-column

@ -184,6 +184,7 @@
style="width: 100%"
@row-click="intentDetail"
v-loading="loading"
highlight-current-row
:row-class-name="tableRowClassName"
@selection-change="handleSelectionUdiChange"
>

@ -69,6 +69,7 @@
style="width: 100%"
@row-click="intentDetail"
v-loading="loading"
highlight-current-row
:row-class-name="tableRowClassName"
@selection-change="handleSelectionUdiChange"
>

@ -24,6 +24,7 @@
:data="detailList"
style="width: 100%; margin-top: 20px"
border
highlight-current-row
@current-change="handleDetail"
>
<el-table-column

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

@ -60,6 +60,7 @@
:data="detailList"
style="width: 100%; margin-top: 20px"
border
highlight-current-row
@current-change="handleDetail"
>
<el-table-column

Loading…
Cancel
Save