diff --git a/src/api/basic/product/udiInfo.js b/src/api/basic/product/udiInfo.js index 7f02594..b8db673 100644 --- a/src/api/basic/product/udiInfo.js +++ b/src/api/basic/product/udiInfo.js @@ -32,3 +32,13 @@ export function filterByVersion(query) { }); } + +export function selectOriginuuid(query) { + return axios({ + url: "/udi/udirel/selectOriginuuid", + method: "post", + data: query + }); +} + + diff --git a/src/api/inout/orderDetailBiz.js b/src/api/inout/orderDetailBiz.js index c568b4e..b237b36 100644 --- a/src/api/inout/orderDetailBiz.js +++ b/src/api/inout/orderDetailBiz.js @@ -41,6 +41,15 @@ export function updateById(data) { }); } + +export function updateBizById(data) { + return axios({ + url: "/udiwms/inout/bizDetail/updateById", + method: "post", + data: data + }); +} + export function insertInvoice(params) { return axios({ url: "/udiwms/inout/biz/insertInvoice", diff --git a/src/utils/request.js b/src/utils/request.js index 86a9ce2..36ce51b 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -98,7 +98,7 @@ service.interceptors.response.use(res => { isRelogin.show = false; store.dispatch('LogOut').then(() => { Cookies.remove() - location.href = process.env.VUE_APP_CONTEXT_PATH + "index"; + location.href = process.env.VUE_APP_CONTEXT_PATH; }) }).catch(() => { isRelogin.show = false; diff --git a/src/views/basic/product/SelectDIDetailDialog.vue b/src/views/basic/product/SelectDIDetailDialog.vue index c4816d7..4f0738d 100644 --- a/src/views/basic/product/SelectDIDetailDialog.vue +++ b/src/views/basic/product/SelectDIDetailDialog.vue @@ -1,5 +1,25 @@ - + @@ -162,7 +165,7 @@ import { } from '@/api/supplier/supProductsAddDi' import selectDiDetail from '@/views/supplier/products/selectDIDetailDialog' import ThrProductsAdd from '@/views/supplier/products/supProductsAdd' -import { filterCustomers } from '@/api/auth/customer' +import {filterCustomers} from '@/api/auth/customer' import thrProductsDetail from '@/views/supplier/products/supProductsDetail' export default { @@ -182,9 +185,9 @@ export default { }, total: 0, list: [], - title:null, - editDate:null, - thisDetail:null, + title: null, + editDate: null, + thisDetail: null, uploadFileUrl: null, fileList: [], checkVisible: false, @@ -229,16 +232,16 @@ export default { this.remark = '' this.curRow = row }, - close(){ - this.thrProductsDiDetailVisible=false; - this.thrProductsDetailVisible=false; + close() { + this.thrProductsDiDetailVisible = false; + this.thrProductsDetailVisible = false; this.getList(); }, search() { this.filterQuery.page = 1 this.getList() }, - acts(){ + acts() { gupdateDiProductDetail().then((res) => { if (res.code === 20000) { @@ -292,28 +295,28 @@ export default { .catch(() => { }) }, - detailDialog(row,type) { - if(type==1){ - this.title="产品信息详情" - }else{ - this.title="物资入院审核" + detailDialog(row, type) { + if (type == 1) { + this.title = "产品信息详情" + } else { + this.title = "物资入院审核" } - if(row.type==1){ - let query = { uuid: row.uuid } + if (row.type == 1) { + let query = {uuid: row.uuid} getDiProductDetail(query).then((res) => { if (res.code === 20000) { this.thisData = res.data - this.editDate=row - this.thisData.isAudit=type + this.editDate = row + this.thisData.isAudit = type this.thrProductsDiDetailVisible = true } else { this.$message.error('参数错误') } }) - }else{ + } else { this.thisDetail = row; - this.thisDetail.isAudit=type + this.thisDetail.isAudit = type this.thrProductsDetailVisible = true; } }, @@ -358,7 +361,7 @@ export default { } }, components: { - ThrProductsAdd, selectDiDetail,thrProductsDetail + ThrProductsAdd, selectDiDetail, thrProductsDetail }, mounted() { }, diff --git a/src/views/sync/SysUdimsConfig.vue b/src/views/sync/SysUdimsConfig.vue index fd20827..da7d84d 100644 --- a/src/views/sync/SysUdimsConfig.vue +++ b/src/views/sync/SysUdimsConfig.vue @@ -119,7 +119,7 @@ splaceholder="请输入内容" > - + @@ -444,9 +444,10 @@ prop="action" show-overflow-tooltip > - + + + + + + + + +