diff --git a/src/api/emis/emisSitePrepaidRecharge.js b/src/api/emis/emisSitePrepaidRecharge.js index 050dad6c..7d86d6ab 100644 --- a/src/api/emis/emisSitePrepaidRecharge.js +++ b/src/api/emis/emisSitePrepaidRecharge.js @@ -51,7 +51,7 @@ export function auditPass(id) { }) } -// 审核通过 +// 审核不通过 export function auditNoPass(id,auditDesc) { return request({ url: '/emis/emisSitePrepaidRecharge/auditNoPass/' + id, diff --git a/src/api/emis/emisWaybill.js b/src/api/emis/emisWaybill.js index b4532157..f7c962bf 100644 --- a/src/api/emis/emisWaybill.js +++ b/src/api/emis/emisWaybill.js @@ -17,6 +17,15 @@ export function listSimpleEmisWaybill(query) { }) } +export function queryPrintListSimple(query) { + return request({ + url: '/emis/emisWaybill/queryPrintListSimple', + method: 'get', + params: query + }) +} + + export function selectEmisWaybillByMutiBillCode(query) { return request({ url: '/emis/emisWaybill/selectEmisWaybillByMutiBillCode', diff --git a/src/api/emis/emisWaybillAjustApply.js b/src/api/emis/emisWaybillAjustApply.js index eaec498d..1f7b7442 100644 --- a/src/api/emis/emisWaybillAjustApply.js +++ b/src/api/emis/emisWaybillAjustApply.js @@ -42,3 +42,42 @@ export function delEmisWaybillAjustApply(id) { method: 'delete' }) } + + + +// 目的网点审核通过 +export function auditDestPass(id) { + return request({ + url: '/emis/emisWaybillAjustApply/auditDestPass/' + id, + method: 'post' + }) +} + +// 目的网点审核不通过 +export function auditDestNoPass(id,note) { + return request({ + url: '/emis/emisWaybillAjustApply/auditDestNoPass/' + id, + method: 'post', + data: {destConfirmNote: note} + }) +} + + + +// 中心审核通过 +export function auditCenterPass(id) { + return request({ + url: '/emis/emisWaybillAjustApply/auditCenterPass/' + id, + method: 'post' + }) +} + +// 中心审核不通过 +export function auditCenterNoPass(id,note) { + return request({ + url: '/emis/emisWaybillAjustApply/auditCenterNoPass/' + id, + method: 'post', + data: {centerConfirmNote: note} + }) +} + diff --git a/src/components/XdTable/index.vue b/src/components/XdTable/index.vue index 95993eff..d2c34bb9 100644 --- a/src/components/XdTable/index.vue +++ b/src/components/XdTable/index.vue @@ -65,37 +65,39 @@ -->
保存 - +
- - -
- - - {{ col.label }} - - -
-
-
+
+ + +
+ + + {{ col.label }} + + +
+
+
+
@@ -262,22 +264,17 @@ export default { // console.log("currentCellInfo",currentCellInfo); return; } - // 只有鼠标左键按下时有效 if(evt.button != 0){ return; } + vnode.context.multipleSelection=[]; //初始化不显示 vnode.context.contextVisible=false; - //确保用户在移动鼠标的时候只初始化一次选中 - - // 增加图层 var xdTableObj = document.getElementById(vnode.context.tableId); - // console.log("tableId===>",vnode.context.tableId); - // console.log("xdTableObj===>",xdTableObj); var tbBody1=xdTableObj.getElementsByClassName("el-table__body-wrapper")[0]; var selDiv = document.createElement("div"); @@ -306,7 +303,10 @@ export default { // left=getX(oDiv); // 获得单元格坐标 - let startCellPos=getCellXY(evt.target) + // let startCellPos=getCellXY(evt.target) + + // 设置单元格为选中 + setMouseCellSelect(evt.target); // console.log("table pos:",left,top) // console.log("cellPos pos:",startCellPos) @@ -319,6 +319,10 @@ export default { // selDiv.style.left = (startX+tbBody1.scrollLeft - tbPosRect1.left) + "px"; // selDiv.style.top = (startY+tbBody1.scrollTop - tbPosRect1.top) + "px"; + // 当前单元格选中 + + + var _x = null; var _y = null; vnode.context.clearEventBubble(evt); @@ -330,9 +334,9 @@ export default { _x = (evt.x || evt.clientX); _y = (evt.y || evt.clientY); //为了确定是点击事件还是移动事件 - // if(Math.abs(_x - startX)<5 && Math.abs(_y - startY)<5){ - // return; - // } + if(Math.abs(_x - startX)<5 && Math.abs(_y - startY)<5){ + return; + } //为了确保只有一次的渲染每次框选都把默认选中为空 if(flag){ //重置选中css @@ -369,15 +373,11 @@ export default { selDiv.style.width = Math.abs(_x - startX) + "px"; selDiv.style.height = Math.abs(_y - startY) + "px"; - - var _l = selDiv.offsetLeft, _t = selDiv.offsetTop; var _w = selDiv.offsetWidth, _h = selDiv.offsetHeight; - // console.log("===>selDiv==>",selDiv.style.left,selDiv.style.top,selDiv.style.width,selDiv.style.height); for (var i = 0; i < selList.length; i++) { - var sl = selList[i].offsetWidth + selList[i].offsetLeft; var st = selList[i].offsetHeight + selList[i].offsetTop; @@ -454,6 +454,22 @@ export default { } } + function setMouseCellSelect(cell) { + try{ + while(cell.tagName !== 'TD'){ + cell = cell.parentElement; + } + cell.className = cell.className + " seled"; + + const cellInfo=getCellPosition(cell); + vnode.context.multipleSelection=[]; + vnode.context.multipleSelection.push(cellInfo); + + + }catch(e){ + } + } + // 获取鼠标位置的单元格 function getCellPosition(cell) { try{ @@ -462,6 +478,8 @@ export default { cell = cell.parentElement; } + + const rowIndex = cell.parentElement.rowIndex; const cellIndex = cell.cellIndex; const text = cell.innerText; @@ -588,6 +606,8 @@ export default { this.fullUrl=window.location.origin + window.location.pathname + window.location.search + window.location.hash; this.pageId=this.MD5(this.fullUrl); this.saveStorageName=this.pageId; + // console.log("===> this.fullUrl==>", this.fullUrl,this.saveStorageName) + this.isNeedDbSaveTpl=true; } this.getTbShowlList(); this.initStorage() @@ -825,8 +845,8 @@ export default { // console.log(rows) }, handleCopySelect(data,event) { - this.contextVisible=false; handleClipboard(this.currentSelectStr, event) + this.contextVisible=false; }, handleCopyRow(){ @@ -876,13 +896,13 @@ export default { }, delStorage() { - this.$confirm('恢复当前表格设置将清除当前表格设置并刷新页面是否继续?', '提示', { + this.$confirm('是否恢复默认设置?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => { const storage = window.localStorage.getItem('tableStorage') ? JSON.parse(window.localStorage.getItem('tableStorage')) : {} - storage[this.storageName] = [] + storage[this.saveStorageName] = [] window.localStorage.setItem('tableStorage', JSON.stringify(storage)) location.reload() }) @@ -1006,8 +1026,8 @@ export default { .table-cloumn-setting-popper{ .setting-row-content{ max-height: 600px; - // overflow-y: auto; - overflow-y: hidden; + overflow-y: auto; + //overflow-y: hidden; .setting-row{ height: 30px; line-height: 30px; diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue index eb2b682c..d45beab6 100644 --- a/src/layout/components/AppMain.vue +++ b/src/layout/components/AppMain.vue @@ -84,7 +84,9 @@ export default { // 获取当前登陆人信息 let dateStr = this.parseTime(new Date()); const username = this.$store.state.user.name; - options.w_texts = [username, "注意安全,敏感信息不可外传", dateStr]; + // options.w_texts = [username, "注意安全,敏感信息不可外传", dateStr]; + options.w_texts = [username]; + // 设置水印 watermark.load({ diff --git a/src/views/emis/EmisBaseTools/AjustApplyTypePicker.vue b/src/views/emis/EmisBaseTools/AjustApplyTypePicker.vue index 92cf45ad..b51986b4 100644 --- a/src/views/emis/EmisBaseTools/AjustApplyTypePicker.vue +++ b/src/views/emis/EmisBaseTools/AjustApplyTypePicker.vue @@ -90,7 +90,7 @@ }, onChange() { this.$emit("input", this.svalue); - let itemData = this.optionItems.find(item => item.siteCode == this.svalue); + let itemData = this.optionItems.find(item => item.typeCode == this.svalue); this.$emit("onChange",itemData); }, onClear(){ diff --git a/src/views/emis/emisGoods/index.vue b/src/views/emis/emisGoods/index.vue index 74122969..5c0f2b45 100644 --- a/src/views/emis/emisGoods/index.vue +++ b/src/views/emis/emisGoods/index.vue @@ -35,7 +35,7 @@ slot-scope="slotProps" :height="(slotProps.contentHeight)+'px'" - v-loading="loading" + v-loading="loading" border size="small" :data="emisGoodsList" diff --git a/src/views/emis/emisWaybill/waybillIsPrinted.vue b/src/views/emis/emisWaybill/waybillIsPrinted.vue index 2be93794..0d6767ca 100644 --- a/src/views/emis/emisWaybill/waybillIsPrinted.vue +++ b/src/views/emis/emisWaybill/waybillIsPrinted.vue @@ -87,16 +87,7 @@ - + @@ -192,7 +183,7 @@