diff --git a/common/untool.js b/common/untool.js
index 4916154..da6f701 100644
--- a/common/untool.js
+++ b/common/untool.js
@@ -163,6 +163,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)
@@ -171,7 +172,6 @@ const saveNetFile = ({ url, header } = {}) => {
path
} = dRes
path = path || tempFilePath
- debugger
// #ifdef H5
saveAs(path)
// #endif
@@ -183,12 +183,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 0f6bef6..7c15551 100644
--- a/pages.json
+++ b/pages.json
@@ -285,12 +285,6 @@
"style": {
"navigationBarTitleText": "进仓单详情"
}
- },
- {
- "path": "pages/warehousing/pdfPreview",
- "style": {
- "navigationBarTitleText": "进仓单预览"
- }
}
],
"subPackages": [{
diff --git a/pages/warehousing/detail.vue b/pages/warehousing/detail.vue
index 0fa92a3..317bff5 100644
--- a/pages/warehousing/detail.vue
+++ b/pages/warehousing/detail.vue
@@ -5,7 +5,7 @@
- 订单号: {{postInfo.billCode}}
+ 订单号: {{postInfo.billCode}}
@@ -40,10 +40,7 @@
进仓货物总览
- 未入仓
- 已入仓
- 部分入仓
- 全部入仓
+
@@ -83,14 +80,14 @@
-
+
- 塑料拉链
- 破损:1
+ {{gdItem.goodsName}}
+ 异常:{{gdItem.abnormalQty}}
- 品牌 规格 原产地
- 实入:10
+ {{gdItem.brand}} - {{gdItem.nationArea}}
+ 实入:{{gdItem.cargoQty}}
@@ -162,10 +159,14 @@
- 反馈异常
- 进仓确认
+
+
+ {{item.confirmStatus==1?'已确认进仓':'进仓确认'}}
+
+
@@ -178,8 +179,8 @@
下载PDF
- 已确认可发货
+ {{billInfo.confirmStatus==1?'已确认进仓':'确认可发货'}}
@@ -196,11 +197,10 @@
-
-
-
\ No newline at end of file