From 169e829234045a236419fdf354e1f5acaf13c6df Mon Sep 17 00:00:00 2001
From: vince <757871790@qq.com>
Date: 星期三, 05 七月 2023 21:03:20 +0800
Subject: [PATCH] 车牌识别调试
---
igds-web/src/main/resources/static/admin/inout/in-sample.js | 31 +++----------------------------
1 files changed, 3 insertions(+), 28 deletions(-)
diff --git a/igds-web/src/main/resources/static/admin/inout/in-sample.js b/igds-web/src/main/resources/static/admin/inout/in-sample.js
index 6824ee7..cfbf7aa 100644
--- a/igds-web/src/main/resources/static/admin/inout/in-sample.js
+++ b/igds-web/src/main/resources/static/admin/inout/in-sample.js
@@ -309,7 +309,8 @@
btnAlign: 'c',
btn: ['鎵撳嵃骞朵繚瀛�', '浠呬繚瀛�', '鍏抽棴鍙栨秷'],
yes: function () {
- printSimpleStart();
+ printBar(curSampleData);
+ submit();
}, btn2: function () {
// 鏇存柊鍒伴〉闈�
var data = form.val("form-detail");
@@ -321,32 +322,6 @@
layer.closeAll();
},
closeBtn: 0
- });
-}
-
-
-//鎵ц鎵撳嵃
-function printSimpleStart() {
- var index = layer.load();
- $.ajax({
- type: "POST",
- url: "../../basic/inout/report/bill-simple",
- dataType: "json",
- contentType: "application/json;charset=UTF-8",
- data: JSON.stringify(curSampleData),
- success: function (result) {
- layer.close(index);
- if (result.code != "0000") {
- alertError(result.msg);
- } else {
- printSimpleBill(result.data);
- submit();
- }
- },
- error: function () {
- layer.close(index);
- alertError("鎵撳嵃鍗曟嵁璋冪敤澶辫触");
- }
});
}
@@ -370,7 +345,7 @@
success: function (result) {
if (result.code != "0000") {
layer.close(index);
- notify(result.msg, result.data);
+ alertError(result.msg);
} else {
layer.closeAll();
curSampleData = null;
--
Gitblit v1.9.3