From 2aa0a3aadc8e9a58923c7dce7f2b9d4fe61581e6 Mon Sep 17 00:00:00 2001 From: xxb Date: Fri, 8 Oct 2021 17:11:10 +0800 Subject: [PATCH] admin liche update for order bill upload as file --- admin/controllers/Upload.php | 2 + admin/views/receiver/orders/get.php | 7 +-- admin/views/receiver/orders/get_bill.php | 72 ++++++++++++++++++++---- admin/views/upload.php | 13 ++++- admin/views/uploadpdf.php | 10 +++- www/admin/static/js/common/admin.js | 3 + 6 files changed, 87 insertions(+), 20 deletions(-) diff --git a/admin/controllers/Upload.php b/admin/controllers/Upload.php index 8c5eef97..35e5f81a 100755 --- a/admin/controllers/Upload.php +++ b/admin/controllers/Upload.php @@ -116,6 +116,8 @@ class Upload extends CI_Controller $config['server'] = $this->qiniu->getUploadQiniuUrl(true); $config['token'] = $this->qiniu->getToken($filename); + $config['file_title'] = substr($filename, strrpos($filename, '/')+1); + return $this->show_json('NOT_FOUND', $config); } diff --git a/admin/views/receiver/orders/get.php b/admin/views/receiver/orders/get.php index f17414ea..adcb1869 100644 --- a/admin/views/receiver/orders/get.php +++ b/admin/views/receiver/orders/get.php @@ -229,7 +229,7 @@
-
+
@@ -241,9 +241,8 @@
-
- +