diff --git a/.env.production b/.env.production index 1a87d3b5..5489ecd8 100644 --- a/.env.production +++ b/.env.production @@ -8,7 +8,7 @@ ENV = 'production' #林纪裕cd -VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:81/UDI_WMS_MC/' +# VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:81/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://127.0.0.1:9150/UDI_WMS_MC/' @@ -25,7 +25,7 @@ VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:81/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://192.168.0.54:9150/UDI_WMS_MC/' # 平潭正式 -# VUE_APP_BASE_API = 'http://55.55.0.62:9150/UDI_WMS_MC/' +VUE_APP_BASE_API = 'http://55.55.0.62:9150/UDI_WMS_MC/' # 吴总测试服务器 # VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/' diff --git a/src/api/basic/basicDestinyRel.js b/src/api/basic/basicDestinyRel.js new file mode 100644 index 00000000..f8b24261 --- /dev/null +++ b/src/api/basic/basicDestinyRel.js @@ -0,0 +1,88 @@ +import axios from "@/utils/request"; + +export function getBasicDestinyfilter(query) { + return axios({ + url: "/udiwms/basic/destiny/model/filter", + method: "get", + params: query + }); +} + +export function addModeldestiny(query) { + return axios({ + url: "/udiwms/basic/destiny/model/addModeldestiny", + method: "post", + data: query + }); +} + +export function editModeldestiny(query) { + return axios({ + url: "/udiwms/basic/destiny/model/editModeldestiny", + method: "post", + data: query + }); +} + +export function delectModeldestiny(query) { + return axios({ + url: "/udiwms/basic/destiny/model/delectModeldestiny", + method: "post", + data: query + }); +} + +export function filterDestinyProduct(query) { + return axios({ + url: "/udiwms/basic/destiny/model/product/filter", + method: "get", + params: query + }); +} + +export function addModeldestinyProduct(query) { + return axios({ + url: "/udiwms/basic/destiny/model/addModeldestinyProduct", + method: "post", + data: query + }); +} + + +export function filterDestinyDelect(query) { + return axios({ + url: "/udiwms/basic/destiny/model/filterDestinyDelect", + method: "get", + params: query + }); +} + +export function delectModeldestinyProduct(query) { + return axios({ + url: "/udiwms/basic/destiny/model/delectModeldestinyProduct", + method: "get", + params: query + }); +} + +export function uploadModeldestinyProduct(query) { + return axios({ + url: "/udiwms/basic/destiny/model/uploadModeldestinyProduct", + method: "post", + data: query + }); +} + +export function addDestinyProcess(query) { + return axios({ + url: "/udiwms/basic/destiny/model/addDestinyProcess", + method: "get", + params: query + }); +} + + + + + + diff --git a/src/api/inout/ioDestinyProcess.js b/src/api/inout/ioDestinyProcess.js new file mode 100644 index 00000000..2f0e421b --- /dev/null +++ b/src/api/inout/ioDestinyProcess.js @@ -0,0 +1,58 @@ +import axios from '@/utils/request' + + +export function addDestinyDelect(query) { + return axios({ + url: "/udiwms/basic/destiny/model/addDestinyDelect", + method: "post", + data: query + }); +} + +export function filterDestinyDelect(query) { + return axios({ + url: "/udiwms/basic/destiny/model/filterDestinyProcessDelect", + method: "get", + params: query + }); +} + +export function filterDestinyProcess(query) { + return axios({ + url: "/udiwms/basic/destiny/model/filterDestinyProcess", + method: "get", + params: query + }); +} + +export function checkDestinyProcess(query) { + return axios({ + url: "/udiwms/basic/destiny/model/checkDestinyProcess", + method: "get", + params: query + }); +} + + +export function filterDestinyProcessCode(query) { + return axios({ + url: "/udiwms/basic/destiny/model/filterDestinyProcessCode", + method: "get", + params: query + }); +} + + +export function delectDestinyProcess(query) { + return axios({ + url: "/udiwms/basic/destiny/model/delectDestinyProcess", + method: "get", + params: query + }); +} + + + + + + diff --git a/src/views/basic/busType/bussinessTypeModify.vue b/src/views/basic/busType/bussinessTypeModify.vue index 24280f0f..79d7bedf 100644 --- a/src/views/basic/busType/bussinessTypeModify.vue +++ b/src/views/basic/busType/bussinessTypeModify.vue @@ -598,7 +598,7 @@ - + @@ -621,7 +621,7 @@ - + @@ -644,7 +644,7 @@ - + @@ -667,7 +667,7 @@ - + @@ -689,7 +689,7 @@ - + @@ -712,7 +712,7 @@ - + @@ -734,7 +734,7 @@ - + diff --git a/src/views/basic/business/stockOrder.vue b/src/views/basic/business/stockOrder.vue index 394f8f51..2c8aed38 100644 --- a/src/views/basic/business/stockOrder.vue +++ b/src/views/basic/business/stockOrder.vue @@ -341,10 +341,9 @@ export default { endTime: "", inCodeStatus: 0, }; - this.getList(); - this.haveDistributionVisible = true; this.actDateRange = []; + this.getList(); }, hideSearch() { this.showSearch = !this.showSearch; diff --git a/src/views/basic/destiny/addDestinyProcess.vue b/src/views/basic/destiny/addDestinyProcess.vue new file mode 100644 index 00000000..f30db7a3 --- /dev/null +++ b/src/views/basic/destiny/addDestinyProcess.vue @@ -0,0 +1,455 @@ + + + + + + diff --git a/src/views/basic/destiny/destiny.vue b/src/views/basic/destiny/destiny.vue new file mode 100644 index 00000000..efa933bd --- /dev/null +++ b/src/views/basic/destiny/destiny.vue @@ -0,0 +1,263 @@ + + + diff --git a/src/views/basic/destiny/destinyModel.vue b/src/views/basic/destiny/destinyModel.vue new file mode 100644 index 00000000..e928fee9 --- /dev/null +++ b/src/views/basic/destiny/destinyModel.vue @@ -0,0 +1,145 @@ + + + diff --git a/src/views/basic/destiny/destinyModelEdit.vue b/src/views/basic/destiny/destinyModelEdit.vue new file mode 100644 index 00000000..4fcbdfda --- /dev/null +++ b/src/views/basic/destiny/destinyModelEdit.vue @@ -0,0 +1,113 @@ + + + + + diff --git a/src/views/basic/destiny/destinyModelSelectProduct.vue b/src/views/basic/destiny/destinyModelSelectProduct.vue new file mode 100644 index 00000000..1ff5a657 --- /dev/null +++ b/src/views/basic/destiny/destinyModelSelectProduct.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/src/views/basic/destiny/destinyProcess.vue b/src/views/basic/destiny/destinyProcess.vue new file mode 100644 index 00000000..97e4ffed --- /dev/null +++ b/src/views/basic/destiny/destinyProcess.vue @@ -0,0 +1,265 @@ + + + diff --git a/src/views/basic/destiny/destinyProcessCode.vue b/src/views/basic/destiny/destinyProcessCode.vue new file mode 100644 index 00000000..fea1f977 --- /dev/null +++ b/src/views/basic/destiny/destinyProcessCode.vue @@ -0,0 +1,101 @@ + + + diff --git a/src/views/basic/destiny/destinyProcessDelect.vue b/src/views/basic/destiny/destinyProcessDelect.vue new file mode 100644 index 00000000..9c9dc9dc --- /dev/null +++ b/src/views/basic/destiny/destinyProcessDelect.vue @@ -0,0 +1,97 @@ + + + diff --git a/src/views/basic/destiny/destinySelectProduct.vue b/src/views/basic/destiny/destinySelectProduct.vue new file mode 100644 index 00000000..e4ed795c --- /dev/null +++ b/src/views/basic/destiny/destinySelectProduct.vue @@ -0,0 +1,339 @@ + + + + + diff --git a/src/views/basic/product/bindProduct.vue b/src/views/basic/product/bindProduct.vue index 4f3ea9a4..3f358434 100644 --- a/src/views/basic/product/bindProduct.vue +++ b/src/views/basic/product/bindProduct.vue @@ -259,7 +259,6 @@ export default { var ids = this.productList.map((item) => item.id) var data = {code: this.rId, ids: ids} saveRel(data).then((response) => { - debugger if (response.code == 20000) { this.$message.success("选入成功!"); this.closeDialog(); diff --git a/src/views/basic/product/productCategory.vue b/src/views/basic/product/productCategory.vue index 653833b3..24b9bcc0 100644 --- a/src/views/basic/product/productCategory.vue +++ b/src/views/basic/product/productCategory.vue @@ -1550,7 +1550,6 @@ export default { remove(node, data) { - debugger if (data.id) { this.$confirm("确认删除该节点吗?", "提示", { type: "warning", diff --git a/src/views/inout/DialogCheck.vue b/src/views/inout/DialogCheck.vue index 4912f568..fb8bf616 100644 --- a/src/views/inout/DialogCheck.vue +++ b/src/views/inout/DialogCheck.vue @@ -455,6 +455,9 @@ export default { return isJPG || isPNG; }, showImgViewer(row) { + if(this.inputQuery.filePath.substr(-1) == ','){ + this.inputQuery.filePath=this.inputQuery.filePath.slice(0, this.inputQuery.filePath.length-1); + } this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="+this.inputQuery.filePath; @@ -493,6 +496,9 @@ export default { }, showImgViewerCold(row){ + if(this.inputQuery.coldFilePath.substr(-1) == ','){ + this.inputQuery.coldFilePath=this.inputQuery.coldFilePath.slice(0, this.inputQuery.coldFilePath.length-1); + } this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="+this.inputQuery.coldFilePath; diff --git a/src/views/inout/DialogCreateOrder.vue b/src/views/inout/DialogCreateOrder.vue index e4c53f00..ce65f167 100644 --- a/src/views/inout/DialogCreateOrder.vue +++ b/src/views/inout/DialogCreateOrder.vue @@ -102,6 +102,7 @@ placeholder="请选择单据类型" :disabled="corpOrderIdDisabled" style="width: 90%" + filterable @change="actionChange" > @@ -801,6 +803,9 @@ export default { } else if (this.curAction.corpType == 1) { cQuery.corpType = 1; cQuery.outType = 2; + }else if (this.curAction.corpType == 4) { + //供应商信息 + cQuery.corpType = 4; } else return; getBasicUnitMaintains(cQuery) @@ -815,6 +820,7 @@ export default { //单据类型改变 actionChange(item) { + this.orderFormData.checkPreInOption = null; this.orderFormData.checkPreInOrders = null; this.checkPreInArray = []; @@ -829,6 +835,7 @@ export default { if ( this.curAction.corpType == 0 || this.curAction.corpType == 2 || + this.curAction.corpType == 4 || (this.curAction.corpType == 1 && !this.curAction.genUnit) ) { //1.切换往来单位 @@ -1086,6 +1093,11 @@ export default { this.refreshCodesPanel(); this.$message.error(response.message); this.selectRlTitle = response.message; + //判断是出库需要选择供应商的时候把供应商值传过去 + if(tQuery.selectSupId!=null){ + this.codeFormData.selectSupId=tQuery.selectSupId + } + this.selectRlVisible = true; } else if (response.code == 503) { //该产品绑定多个供应商处理 diff --git a/src/views/inout/DialogSelectRl.vue b/src/views/inout/DialogSelectRl.vue index ed68ed0c..e4dcf3ce 100644 --- a/src/views/inout/DialogSelectRl.vue +++ b/src/views/inout/DialogSelectRl.vue @@ -860,6 +860,9 @@ export default { components: {} , created() { + if(this.curRow.selectSupId!=null){ + this.fromCorp=this.curRow.selectSupId + } this.getList(); } , diff --git a/src/views/inout/IoAuditedOrder.vue b/src/views/inout/IoAuditedOrder.vue index b741b13b..573dde03 100644 --- a/src/views/inout/IoAuditedOrder.vue +++ b/src/views/inout/IoAuditedOrder.vue @@ -110,7 +110,7 @@ :default-sort="defaultSort" @sort-change="handleSortChange"> - + @@ -133,11 +133,11 @@ - + - + - + @@ -169,14 +169,14 @@ - - - - - - - - + + + + + + + + { + previewFile(this.certFileUrl).then(res => { binaryData.push(res); let URL = window.URL.createObjectURL(new Blob(binaryData, {type: pdf})); window.open(URL); @@ -693,20 +696,23 @@ export default { showImgViewerCold(row) { + if (row.coldFilePath.substr(-1) == ',') { + row.coldFilePath = row.coldFilePath.slice(0, row.coldFilePath.length - 1); + } this.certFileUrl = this.BASE_URL + - "/udiwms/image/register/file/getImage?type=image2&name="+row.coldFilePath; + "/udiwms/image/register/file/getImage?type=image2&name=" + row.coldFilePath; this.imgList = []; this.imgList.push(this.certFileUrl) let index = row.coldFilePath.lastIndexOf('.'); - if(index===-1){ + if (index === -1) { this.$message.error("文件名异常!") return false } - if(row.coldFilePath.substr(index+1)==='pdf'){ + if (row.coldFilePath.substr(index + 1) === 'pdf') { let pdf = "application/pdf" let binaryData = []; - previewFile(this.certFileUrl).then(res=>{ + previewFile(this.certFileUrl).then(res => { binaryData.push(res); let URL = window.URL.createObjectURL(new Blob(binaryData, {type: pdf})); window.open(URL); diff --git a/src/views/inout/IoCheckAuditOrder.vue b/src/views/inout/IoCheckAuditOrder.vue index c8bf5c47..6e2bd66c 100644 --- a/src/views/inout/IoCheckAuditOrder.vue +++ b/src/views/inout/IoCheckAuditOrder.vue @@ -753,6 +753,9 @@ export default { this.showSearch = !this.showSearch; }, showImgViewer(row) { + if(row.filePath.substr(-1) == ','){ + row.filePath=row.filePath.slice(0, row.filePath.length-1); + } this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="+row.filePath; @@ -791,6 +794,9 @@ export default { }, showImgViewerCold(row) { + if(row.coldFilePath.substr(-1) == ','){ + row.coldFilePath=row.coldFilePath.slice(0, row.coldFilePath.length-1); + } this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="+row.coldFilePath; diff --git a/src/views/inout/IoCheckSuccessOrder.vue b/src/views/inout/IoCheckSuccessOrder.vue index b2eec70b..9d317f6e 100644 --- a/src/views/inout/IoCheckSuccessOrder.vue +++ b/src/views/inout/IoCheckSuccessOrder.vue @@ -620,6 +620,9 @@ export default { }, showImgViewer(row) { + if(row.filePath.substr(-1) == ','){ + row.filePath=row.filePath.slice(0, row.filePath.length-1); + } this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="+row.filePath; @@ -658,6 +661,9 @@ export default { }, showImgViewerCold(row) { + if(row.coldFilePath.substr(-1) == ','){ + row.coldFilePath=row.coldFilePath.slice(0, row.coldFilePath.length-1); + } this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="+row.coldFilePath; diff --git a/src/views/inout/muti/ioOrderMutiEditDialog.vue b/src/views/inout/muti/ioOrderMutiEditDialog.vue index f20636b3..95732523 100644 --- a/src/views/inout/muti/ioOrderMutiEditDialog.vue +++ b/src/views/inout/muti/ioOrderMutiEditDialog.vue @@ -61,12 +61,12 @@ - 添加 @@ -153,6 +153,7 @@ export default { supId: null, }, pId: null, + showFlg:false, popupsVisible: false, orderMutiDelectVisible: false, tableName: '使用记录选择', @@ -255,6 +256,8 @@ export default { this.inputQuery.totalCount = response.data.data.totalCount this.inputQuery.useCount = response.data.data.useCount this.$refs.fromCorpInputRef.focus(); + this.checkType=null; + this.showFlg=false; this.enterKeyup(); } else { this.$refs.markInputRef.focus(); @@ -270,6 +273,8 @@ export default { }); } else if (data == 'no') { this.inputQuery.mark = ""; + this.checkType=1; + this.showFlg=false; this.$refs.markInputRef.focus(); this.enterKeyup(); } @@ -321,6 +326,9 @@ export default { if (this.inputQuery.fromCorp != 'true' && this.inputQuery.fromCorp != 'false') { var query = { + udiCode:this.inputQuery.udiCode, + mark:this.inputQuery.mark, + checkType:this.checkType, mutiIdFk: this.pId, fromCorp: this.inputQuery.fromCorp } @@ -418,6 +426,7 @@ export default { this.inputQuery.totalCount = response.data.totalCount this.inputQuery.useCount = response.data.useCount this.pId = response.data.id; + this.showFlg=true; this.$refs.fromCorpInputRef.focus(); this.selectMutiDetailList() } else { diff --git a/src/views/inout/uploadManage/uploadOrder.vue b/src/views/inout/uploadManage/uploadOrder.vue index 5f5dd633..e5cccb6d 100644 --- a/src/views/inout/uploadManage/uploadOrder.vue +++ b/src/views/inout/uploadManage/uploadOrder.vue @@ -99,25 +99,49 @@ @current-change="handleSelectionChange"> - - - + + + + + - + + + - + + + - + - + + - + + + + + + @@ -345,6 +369,7 @@ export default { endTime: null, billNo: null, submitStatus: null, + vueType: "thirdUpload", page: 1, limit: 10 }, @@ -436,6 +461,17 @@ export default { 1: "已提交", 2: "提交失败" }, + checkStatus: { + 1: "草稿", + 2: "等待处理", + 3: "等待校验", + 4: "处理异常", + 5: "待核对", + 6: "校验异常", + 7: "已审核", + 8: "审核拒绝", + 9: "正在处理", 10: "待审核", 11: "待配货", + }, loading: false, list: [], total: 0, @@ -472,13 +508,14 @@ export default { corpName: null, invCode: this.$store.getters.locInvCode, startTime: null, + vueType: "thirdUpload", endTime: null, billNo: null, submitStatus: null, page: 1, limit: 10 }; - this.actDateRange= []; + this.actDateRange = []; this.getList(); }, onSubmit() { @@ -633,6 +670,7 @@ export default { getBusType() { let params = { code: this.filterQuery.invCode, + vueType: "thirdUpload", enabled: true }; getLocalJoinByUser(params).then((res) => { @@ -640,6 +678,15 @@ export default { this.onSubmit(); }); }, + statusAuditFilterType(status) { + const statusMap = { + 5: "warning", + 1: "warning", + 6: "danger", + 7: "success", + }; + return statusMap[status]; + }, }, filters: { statusFilterType(status) { diff --git a/src/views/inout/uploadManage/uploadSetting.vue b/src/views/inout/uploadManage/uploadSetting.vue index a346e122..07fdf134 100644 --- a/src/views/inout/uploadManage/uploadSetting.vue +++ b/src/views/inout/uploadManage/uploadSetting.vue @@ -30,7 +30,6 @@ -
@@ -43,7 +42,26 @@ :disabled="configQuery.autoUpload" splaceholder="请输入内容" > +
+
+
+ + + + + +
+ 单据上传起始时间:  + +
@@ -330,6 +348,10 @@ export default { }, addBusType() { let selectedData = this.multipleSelection; + + selectedData.forEach(item => { + item.id = null + }); this.addBusDialogVisible = false; let query = { busTypes: selectedData, diff --git a/src/views/inventory/inner/innerOrder.vue b/src/views/inventory/inner/innerOrder.vue index 93356a98..d6c01351 100644 --- a/src/views/inventory/inner/innerOrder.vue +++ b/src/views/inventory/inner/innerOrder.vue @@ -4,19 +4,20 @@ - + @@ -62,11 +63,11 @@ @@ -86,33 +87,33 @@ @@ -205,6 +206,7 @@ export default { editStatus: 1, }; this.actDateRange = []; + this.detailList = [] this.getList(); }, @@ -223,33 +225,33 @@ export default { } listInnerOrder(this.filterQuery) - .then((response) => { - if (response.code == 20000) { - this.list = response.data.list || []; - this.total = response.data.total || 0; - } else { - this.$message.error(response.message); - } - this.loading = false; - }) - .catch(() => { - this.loading = false; - this.list = []; - this.total = 0; - }); + .then((response) => { + if (response.code == 20000) { + this.list = response.data.list || []; + this.total = response.data.total || 0; + } else { + this.$message.error(response.message); + } + this.loading = false; + }) + .catch(() => { + this.loading = false; + this.list = []; + this.total = 0; + }); }, handleDetail(row) { let query = {orderIdFk: row.recordKey}; this.loading = true; listInnerOrderDetail(query) //查找该单号下的所有条码 - .then((response) => { - this.detailList = response.data.list || []; - this.loading = false; - }) - .catch(() => { - this.loading = false; - this.detailList = []; - }); + .then((response) => { + this.detailList = response.data.list || []; + this.loading = false; + }) + .catch(() => { + this.loading = false; + this.detailList = []; + }); }, submitOrder(row) { this.loading = true; @@ -258,18 +260,18 @@ export default { purApplyEntity: row, } inserThrOrderWeb(tQuery) - .then(response => { - this.loading = false; - if (response.code === 20000) { - this.$message.success("提交成功!"); - this.getList(); - } else { - this.$message.error(response.message); - } - }) - .catch(() => { - this.loading = false; - }) + .then(response => { + this.loading = false; + if (response.code === 20000) { + this.$message.success("提交成功!"); + this.getList(); + } else { + this.$message.error(response.message); + } + }) + .catch(() => { + this.loading = false; + }) }, deleteDialog(row) { this.$confirm("此操作将永久删除该单据, 是否继续?", "提示", { @@ -277,25 +279,25 @@ export default { cancelButtonText: "取消", type: "warning", }) - .then(() => { - delInnerOrder(row.id) - .then((response) => { - this.loading = false; - if (response.code == 20000) { - this.$message.success("删除成功"); - this.getList(); - this.detailList = ""; - } else { - this.$message.error(response.message); - } - }) - .catch(() => { - this.loading = false; - }); + .then(() => { + delInnerOrder(row.id) + .then((response) => { + this.loading = false; + if (response.code == 20000) { + this.$message.success("删除成功"); + this.getList(); + this.detailList = ""; + } else { + this.$message.error(response.message); + } + }) + .catch(() => { + this.loading = false; + }); - }) - .catch(() => { - }); + }) + .catch(() => { + }); }, handleCurrentChange(val) { this.filterQuery.page = val.page; diff --git a/src/views/purchase/purApply/pureApplySearch.vue b/src/views/purchase/purApply/pureApplySearch.vue index 302e4e22..014db9dc 100644 --- a/src/views/purchase/purApply/pureApplySearch.vue +++ b/src/views/purchase/purApply/pureApplySearch.vue @@ -11,7 +11,7 @@ - + - + - + - + - + + sortable="custom" :sort-orders="['ascending', 'descending']"> + sortable="custom" :sort-orders="['ascending', 'descending']">
@@ -188,8 +189,9 @@ export default { corpName: null, type: 1, editStatus: 1, - emergency:'', - targetDeptCode:'', + emergency: '', + deptCode: '', + invCode: null, }, formName: null, formMap: { @@ -202,7 +204,7 @@ export default { 3: "已审核", 4: "已拒绝" }, - emergencyMap:{ + emergencyMap: { 1: "正常", 2: "较急", 3: "特急", @@ -211,12 +213,12 @@ export default { editType: 2, total: 0, thirdSys: [], - invCodebe:null, + invCodebe: null, thirdSysDetail: null, busTypes: [], originTypes: [], - invList:{}, - deptList:{}, + invList: {}, + deptList: {}, list: [], detailList: [], loading: false, @@ -295,7 +297,7 @@ export default { this.$router.push({ path: "", }); - let deptCode = this.filterQuery.targetDeptCode + let deptCode = this.filterQuery.deptCode this.filterQuery = { billNo: "", thirdSysFk: "", @@ -308,9 +310,9 @@ export default { corpName: null, type: 1, editStatus: 1, - targetDeptCode: this.invCodebe, + deptCode: this.invCodebe, }; - if(deptCode!=this.invCodebe){ + if (deptCode != this.invCodebe) { this.getInvList() } this.actDateRange = []; @@ -358,7 +360,7 @@ export default { if (response.code == 20000) { this.list = response.data.list || []; this.total = response.data.total || 0; - this.detailList=[] + this.detailList = [] } else { this.$message.error(response.message); } @@ -452,8 +454,8 @@ export default { this.newSpDistributionVisible = true; }, getInvList() { - var query={ - parentId:this.filterQuery.targetDeptCode + var query = { + parentId: this.filterQuery.targetDeptCode } filterSubAll(query).then((res) => { this.invList = res.data || []; @@ -462,12 +464,12 @@ export default { getDeptList() { getDeptListByUser().then((res) => { this.deptList = res.data || []; - if(this.deptList.length>0){ - this.filterQuery.targetDeptCode=this.deptList[0].code - this.invCodebe=this.filterQuery.targetDeptCode + if (this.deptList.length > 0) { + this.filterQuery.targetDeptCode = this.deptList[0].code + this.invCodebe = this.filterQuery.targetDeptCode } this.getList(); - this. getInvList(); + this.getInvList(); }); }, } diff --git a/src/views/thirdSys/api/DialogEditBusDown.vue b/src/views/thirdSys/api/DialogEditBusDown.vue index 97837bec..44d8f451 100644 --- a/src/views/thirdSys/api/DialogEditBusDown.vue +++ b/src/views/thirdSys/api/DialogEditBusDown.vue @@ -35,7 +35,7 @@ :value="item.action"> {{ item.name }} {{ - item.remark + item.action }}
diff --git a/src/views/thirdSys/api/DialogEditBusUpload.vue b/src/views/thirdSys/api/DialogEditBusUpload.vue index 2ff051db..3be68aee 100644 --- a/src/views/thirdSys/api/DialogEditBusUpload.vue +++ b/src/views/thirdSys/api/DialogEditBusUpload.vue @@ -35,7 +35,7 @@ :value="item.action"> {{ item.name }} {{ - item.remark + item.action }}
diff --git a/src/views/userManage/bindPlatformEditModel.vue b/src/views/userManage/bindPlatformEditModel.vue index 7a39ef33..3840e874 100644 --- a/src/views/userManage/bindPlatformEditModel.vue +++ b/src/views/userManage/bindPlatformEditModel.vue @@ -268,7 +268,6 @@ export default { } }, created() { - debugger if(this.formQuery==1){ this.editLogin.platformId = this.editQuery.platformId; this.editLogin.appid = this.editQuery.appid;