diff --git a/src/page/login/aiqa.vue b/src/page/login/aiqa.vue index de9d2cbb..bb83345e 100644 --- a/src/page/login/aiqa.vue +++ b/src/page/login/aiqa.vue @@ -289,7 +289,7 @@ const AiData = (value = '') => { lowercaseValue.includes('打印机驱动下载地址') ) { aiResponse = '打印机启动下载地址如下:'; - data.link = 'http://47.108.51.143:9000/logpm/other/CLodop_Setup_for_Win32NT.exe'; + data.link = 'http://8.137.19.41:9000/logpm/other/CLodop_Setup_for_Win32NT.exe'; } else if ( lowercaseValue.includes('扫描仪驱动') || lowercaseValue.includes('扫描仪驱动下载地址') diff --git a/src/utils/LodopFuncs.js b/src/utils/LodopFuncs.js index 1b8d7a15..95719fac 100644 --- a/src/utils/LodopFuncs.js +++ b/src/utils/LodopFuncs.js @@ -104,7 +104,7 @@ export function getLodop(oOBJECT, oEMBED) {

安装Web打印服务

-

第一步:请您下载并安装Web打印服务CLodop。点击下载

+

第一步:请您下载并安装Web打印服务CLodop。点击下载

打印机驱动下载

@@ -114,16 +114,16 @@ export function getLodop(oOBJECT, oEMBED) { 驱动地址 驱动版本 - Deli_2020.4_M-2点击下载 - 2020.4 + Deli_2020.4_M-2点击下载 + 2020.4
`; // var strCLodopInstallB = "
(若此前已安装过,可点这里直接再次启动)"; - var strCLodopInstallB = "
注意事项:"; + var strCLodopInstallB = "
注意事项:"; var strCLodopUpdate = - "
Web打印服务CLodop需升级!点击这里执行升级"; + "
Web打印服务CLodop需升级!点击这里执行升级"; var strLodop7FontTag = "
Web打印服务Lodop7"; var strLodop7HrefX86 = "点击这里下载安装(下载后解压,点击lodop文件开始执行)"; var strLodop7HrefARM = "点击这里下载安装(下载后解压,点击lodop文件开始执行)"; diff --git a/src/views/aftersales/aftersalesWorkOrder.vue b/src/views/aftersales/aftersalesWorkOrder.vue index 04641871..8073915f 100644 --- a/src/views/aftersales/aftersalesWorkOrder.vue +++ b/src/views/aftersales/aftersalesWorkOrder.vue @@ -1301,13 +1301,36 @@ const ResetTableSearch = async () => { PublicDataRequest(TabPermissions.value, true); }; //清空 +// const searchReset = () => { +// TopQuery.value = {}; +// let _Obj = MatchCurrentMenu(); +// _Obj.currentPage = 1; +// TabList.value.forEach(item => { +// item.query = {}; +// }); +// const TabcolumnList = [ +// columnList, +// columnList1, +// columnList2, +// columnList3, +// columnList4, +// columnList5, +// columnList6, +// columnList7, +// columnList8, +// columnList9, +// columnList10, +// ]; + +// TabcolumnList.forEach(item => { +// handleClearTableQuery(item); +// }); +// details.search = false; // 关闭搜索 +// updateMenuAndData(); //获取最新数据 +// autoscaling(); +// }; + const searchReset = () => { - TopQuery.value = {}; - let _Obj = MatchCurrentMenu(); - _Obj.currentPage = 1; - TabList.value.forEach(item => { - item.query = {}; - }); const TabcolumnList = [ columnList, columnList1, @@ -1321,14 +1344,19 @@ const searchReset = () => { columnList9, columnList10, ]; - - TabcolumnList.forEach(item => { - handleClearTableQuery(item); - }); + TopQuery.value = {}; + let _Obj = MatchCurrentMenu(); + _Obj.currentPage = 1; + const TabListLength = TabList.value.length; + for (let i = 0; i < TabListLength; i++) { + TabList.value[i].query = {}; + handleClearTableQuery(TabcolumnList[i]); + } details.search = false; // 关闭搜索 - updateMenuAndData(); //获取最新数据 + updateMenuAndData(); autoscaling(); }; + // 顶部搜索 const searchHide = () => { console.log(details); diff --git a/src/views/distribution/deliverylist/distributionDeliveryList.vue b/src/views/distribution/deliverylist/distributionDeliveryList.vue index 4cae6cf8..b3b0608e 100644 --- a/src/views/distribution/deliverylist/distributionDeliveryList.vue +++ b/src/views/distribution/deliverylist/distributionDeliveryList.vue @@ -1059,9 +1059,9 @@ export default { const currentDate = dayjs(); // 计算一个月前的日期 // 获取当前月份的第一天 - const startDate = currentDate.startOf('month'); + const startDate = currentDate.subtract(23, 'day'); // 获取当前月份的最后一天 - const endDate = currentDate.endOf('month'); + const endDate = currentDate.add(7, 'day'); // 格式化日期为 'YYYY-MM-DD' const formatDate = date => date.format('YYYY-MM-DD'); this.Deliverydate = []; diff --git a/src/views/distribution/deliverylist/distributionDeliveryListdis.vue b/src/views/distribution/deliverylist/distributionDeliveryListdis.vue index af075326..fc55f212 100644 --- a/src/views/distribution/deliverylist/distributionDeliveryListdis.vue +++ b/src/views/distribution/deliverylist/distributionDeliveryListdis.vue @@ -990,9 +990,9 @@ export default { // 获取当前日期 const currentDate = dayjs(); // 获取当前月份的第一天 - const startDate = currentDate.startOf('month'); + const startDate = currentDate.subtract(23, 'day'); // 获取当前月份的最后一天 - const endDate = currentDate.endOf('month'); + const endDate = currentDate.add(7, 'day'); // 格式化日期为 'YYYY-MM-DD' const formatDate = date => date.format('YYYY-MM-DD'); this.query.taskTimeArr = []; diff --git a/src/views/distribution/deliverylist/distributionDeliveryListmar.vue b/src/views/distribution/deliverylist/distributionDeliveryListmar.vue index cbc39ac8..b129cfcc 100644 --- a/src/views/distribution/deliverylist/distributionDeliveryListmar.vue +++ b/src/views/distribution/deliverylist/distributionDeliveryListmar.vue @@ -779,9 +779,10 @@ export default { // 获取当前日期 const currentDate = dayjs(); // 获取当前月份的第一天 - const startDate = currentDate.startOf('month'); + const startDate = currentDate.subtract(23, 'day'); // 获取当前月份的最后一天 - const endDate = currentDate.endOf('month'); + const endDate = currentDate.add(7, 'day'); + // 格式化日期为 'YYYY-MM-DD' const formatDate = date => date.format('YYYY-MM-DD'); this.query.taskTimeArr = []; diff --git a/src/views/distribution/inventory/distrilbutionBillLadingList.vue b/src/views/distribution/inventory/distrilbutionBillLadingList.vue index 7d71d603..2027bc57 100644 --- a/src/views/distribution/inventory/distrilbutionBillLadingList.vue +++ b/src/views/distribution/inventory/distrilbutionBillLadingList.vue @@ -1134,9 +1134,10 @@ export default { // 获取当前日期 const currentDate = dayjs(); // 获取当前月份的第一天 - const startDate = currentDate.startOf('month'); + const startDate = currentDate.subtract(23, 'day'); + // 获取当前月份的最后一天 - const endDate = currentDate.endOf('month'); + const endDate = currentDate.add(7, 'day'); // 格式化日期为 'YYYY-MM-DD' const formatDate = date => date.format('YYYY-MM-DD'); this.Deliverytime = []; diff --git a/src/views/distribution/reservation/reservation.vue b/src/views/distribution/reservation/reservation.vue index 4b48b334..92d30b24 100644 --- a/src/views/distribution/reservation/reservation.vue +++ b/src/views/distribution/reservation/reservation.vue @@ -333,14 +333,16 @@ - - - - - -