From d2b8972b4f1bb1869a377a15929bdf0413125a1d Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期三, 12 二月 2025 13:05:57 +0800
Subject: [PATCH] 导入时备注是实验料,质量状态设置为实验料,三种出库后都能补传质量指标
---
src/main/webapp/static/js/order/order.js | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/static/js/order/order.js b/src/main/webapp/static/js/order/order.js
index fbf3238..3e27de8 100644
--- a/src/main/webapp/static/js/order/order.js
+++ b/src/main/webapp/static/js/order/order.js
@@ -82,6 +82,30 @@
insTb.reload({where: data.field, page: {curr: 1}});
});
+ // 瀵煎嚭鎵�鏈�
+ form.on('submit(exportAll)', function (data) {
+ layer.closeAll();
+ layer.load(1, {shade: [0.1,'#fff']});
+ $.ajax({
+ url: baseUrl+"/order/exportAll/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {},
+ dataType:'json',
+ contentType:'application/json;charset=UTF-8',
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200) {
+ table.exportFile(['鍗曟嵁缂栧彿','鏁伴噺','浣滀笟鏁伴噺','瀹屾垚鏁伴噺','鍟嗗搧缂栫爜','鍟嗗搧鍚嶇О','瑙勬牸','閲嶉噺','璐т富id','璐х墿褰㈡�乮d'],res.data,'xls');
+ } else if (res.code === 403) {
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ });
+ layer.closeAll('loading');
+ });
+
// 娣诲姞
$("#orderAddBtn").click(function () {
showEditModel();
--
Gitblit v1.9.1