diff --git a/common/untool.js b/common/untool.js index 9e476c5..43fab39 100644 --- a/common/untool.js +++ b/common/untool.js @@ -128,6 +128,7 @@ const downloadFile = (url, ext = {})=> { const saveNetFile = ({ url, header } = {}) => { return new Promise(async (resolve, reject) => { showLoading('正在保存文件') + console.log("下载文件====", url) try { let dRes = await downloadFile(url, { header }) console.log("saveNetFile:downloadFile==", dRes) @@ -136,7 +137,6 @@ const saveNetFile = ({ url, header } = {}) => { path } = dRes path = path || tempFilePath - debugger // #ifdef H5 saveAs(path) // #endif @@ -148,12 +148,12 @@ const saveNetFile = ({ url, header } = {}) => { // #endif // #ifdef MP-WEIXIN - debugger await uniPromiseApi('openDocument', { filePath: path, showMenu: true, }) // #endif hideLoading() showToast('保存成功') + setClipboardData(url) resolve(tempFilePath) } catch (e) { hideLoading() diff --git a/pages.json b/pages.json index 6f7158e..3679b67 100644 --- a/pages.json +++ b/pages.json @@ -93,12 +93,6 @@ "navigationBarTitleText": "进仓单详情" } }, - { - "path": "pages/warehousing/pdfPreview", - "style": { - "navigationBarTitleText": "进仓单预览" - } - }, { "path": "pages/address/list", "style": { diff --git a/pages/service/list.vue b/pages/service/list.vue index 8305d06..8b29b76 100644 --- a/pages/service/list.vue +++ b/pages/service/list.vue @@ -5,8 +5,9 @@ - - + + @@ -56,6 +57,7 @@ data() { return { searchParam: { + searchValue: '', }, resData: { list: [] }, queryOption: {}, diff --git a/pages/tabBar/sending/sending.vue b/pages/tabBar/sending/sending.vue index 1477e13..90acafc 100644 --- a/pages/tabBar/sending/sending.vue +++ b/pages/tabBar/sending/sending.vue @@ -85,10 +85,10 @@ { title: '运单列表', subTitle: "寄件,收件运单", icon: getCdnUrl(`sdg/t-dingdan.png`), url: 'tabBar/search/search' }, { title: '网点查询', subTitle: "查看收寄件网点", icon: getCdnUrl(`sdg/t-wangdain.png`), url: 'service/list' }, { title: '地址簿', subTitle: "收件 寄件地址管理", icon: getCdnUrl(`sdg/t-dizhi.png`), url: 'address/list' }, - { title: '信息速递', subTitle: "快递信息列表", icon: getCdnUrl(`sdg/t-xuzhi.png`), url: 'service/articlelist' }, + // { title: '信息速递', subTitle: "快递信息列表", icon: getCdnUrl(`sdg/t-xuzhi.png`), url: 'service/articlelist' }, // { title: 'HSCODE', subTitle: "海关归类信息", icon: getCdnUrl(`sdg/t-HS.png`), url: '' }, // { title: 'RECP', subTitle: "优惠税率安排查询", icon: getCdnUrl(`sdg/t-RE.png`), url: '' }, - { title: '扫码寄件', subTitle: "扫描条码发货", icon: getCdnUrl(`sdg/t-saoma.png`), url: 'action:scan' }, + // { title: '扫码寄件', subTitle: "扫描条码发货", icon: getCdnUrl(`sdg/t-saoma.png`), url: 'action:scan' }, { title: '快递查询', subTitle: "快递单跟踪查询", icon: getCdnUrl(`sdg/t-yundan.png`), url: 'post/query' }, ], showFollow: false diff --git a/pages/user/monthCardList.vue b/pages/user/monthCardList.vue index c06822d..1d43bbe 100644 --- a/pages/user/monthCardList.vue +++ b/pages/user/monthCardList.vue @@ -140,7 +140,9 @@ }, handleEditItem(item={}) { this.bindModal.show = true - this.bindModal.data = {} + this.bindModal.data = { + code: '888888' + } }, async handleSendCode(){ diff --git a/pages/warehousing/detail.vue b/pages/warehousing/detail.vue index 5d8938e..317bff5 100644 --- a/pages/warehousing/detail.vue +++ b/pages/warehousing/detail.vue @@ -40,10 +40,7 @@ 进仓货物总览 - 未入仓 - 已入仓 - 部分入仓 - 全部入仓 + @@ -162,13 +159,14 @@ - 反馈异常 - - {{item.status==3?'已确认进仓':'进仓确认'}} + {{item.confirmStatus==1?'已确认进仓':'进仓确认'}} + @@ -181,8 +179,8 @@ 下载PDF - {{billInfo.status==3?'已确认进仓':'确认可发货'}} + {{billInfo.confirmStatus==1?'已确认进仓':'确认可发货'}} diff --git a/pages/warehousing/list.vue b/pages/warehousing/list.vue index 3c80889..60cf1b4 100644 --- a/pages/warehousing/list.vue +++ b/pages/warehousing/list.vue @@ -66,10 +66,7 @@ 进仓单号:{{item.inNo}} - 未入仓 - 已入仓 - 部分入仓 - 全部入仓 + 下载打印PDF - + 去确认 @@ -129,9 +127,9 @@ - - - \ No newline at end of file