From 8c15ddabb65e6736fb176104fde850fb35e42423 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期三, 25 六月 2025 10:38:50 +0800
Subject: [PATCH] #
---
zy-asrs-wms/src/main/webapp/static/js/order/order.js | 46 +++++++++++++++++++++++-----------------------
1 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/zy-asrs-wms/src/main/webapp/static/js/order/order.js b/zy-asrs-wms/src/main/webapp/static/js/order/order.js
index 0a4e6da..ac897ab 100644
--- a/zy-asrs-wms/src/main/webapp/static/js/order/order.js
+++ b/zy-asrs-wms/src/main/webapp/static/js/order/order.js
@@ -12,26 +12,26 @@
var layDate = layui.laydate;
var laytpl = layui.laytpl;
- // // 娓叉煋鎼滅储妯℃澘
- // $.ajax({
- // url: baseUrl+"/docType/page/auth",
- // headers: {'token': localStorage.getItem('token')},
- // data: {
- // limit: 9999
- // },
- // method: 'POST',
- // success: function (res) {
- // if (res.code === 200){
- // let template = Handlebars.compile($('#docTypeTpl').html());
- // $('#docType-query').html(template(res.data));
- // layui.form.render('select');
- // } else if (res.code === 403){
- // top.location.href = baseUrl+"/";
- // } else {
- // layer.msg(res.msg, {icon: 2})
- // }
- // }
- // })
+ // 娓叉煋鎼滅储妯℃澘
+ $.ajax({
+ url: baseUrl+"/docType/page/auth",
+ headers: {'token': localStorage.getItem('token')},
+ data: {
+ limit: 9999
+ },
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ let template = Handlebars.compile($('#docTypeTpl').html());
+ $('#docType-query').html(template(res.data));
+ layui.form.render('select');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg, {icon: 2})
+ }
+ }
+ })
let docName = getQueryVariable('docName')
let where = {};
@@ -51,11 +51,11 @@
limits: [16, 30, 50, 100, 200, 500],
cols: [[
{type: 'numbers'},
- {field: 'orderNo', title: '鍗曟嵁缂栧彿', templet: '#orderNoTpl'},
- {field: 'docType$', align: 'center', title: '绫诲瀷', minWidth: 160, width: 160},
+ {field: 'orderNo', title: '鍗曟嵁缂栧彿', templet: '#orderNoTpl',sort:true},
+ {field: 'docType$', align: 'center', title: '绫诲瀷', minWidth: 160, width: 160,sort:true},
{align: 'center', title: '鏄庣粏', toolbar: '#tbLook', minWidth: 160, width: 160},
{field: 'createTime$', title: '鍒涘缓鏃堕棿', minWidth: 200, width: 200},
- {field: 'settle$', align: 'center', title: '鐘舵��', templet: '#settleTpl', minWidth: 160, width: 160},
+ {field: 'settle$', align: 'center', title: '鐘舵��', templet: '#settleTpl', minWidth: 160, width: 160,sort:true},
{field: 'memo', align: 'center',title: '澶囨敞', hide: true},
{align: 'center', title: '鎿嶄綔', toolbar: '#operate', width: 280}
]],
--
Gitblit v1.9.1