From cf30fa20687d6d528ebcfbeafc999a179febcdae Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期四, 16 一月 2025 15:13:20 +0800
Subject: [PATCH] 优化订单视图提示信息及表格列宽
---
src/main/webapp/views/orderView/orderView.html | 5 ++---
src/main/webapp/static/js/orderView/orderView.js | 32 ++++++++++++++++----------------
2 files changed, 18 insertions(+), 19 deletions(-)
diff --git a/src/main/webapp/static/js/orderView/orderView.js b/src/main/webapp/static/js/orderView/orderView.js
index 3ead145..c4c1ff3 100644
--- a/src/main/webapp/static/js/orderView/orderView.js
+++ b/src/main/webapp/static/js/orderView/orderView.js
@@ -47,30 +47,30 @@
{field: 'defNumber', align: 'center', title: '鎿嶄綔绯荤粺鍙�', hide: true, width: 100},
{field: '鎿嶄綔鍗曟嵁', align: 'center', title: '鎿嶄綔鍗曟嵁', hide: true},
{field: '鎿嶄綔绫诲瀷', align: 'center', title: '鎿嶄綔绫诲瀷', hide: true},
- {field: 'orderNo', title: '鍗曟嵁缂栧彿', templet: '#orderNoTpl'},
+ {field: 'orderNo', title: '鍗曟嵁缂栧彿', templet: '#orderNoTpl', width: 200},
//{field: 'itemName', align: 'center', title: '鏍哥畻涓讳綋'},
- {field: 'docType$', align: 'center', title: '鍗曟嵁绫诲瀷'},
- {field: 'threeCode', align: 'center',title: '閿�鍞崟鍙�'},
- {field: 'anfme', align: 'center',title: '鏁伴噺'},
- {field: 'qty', align: 'center',title: '浣滀笟鏁伴噺'},
- {field: 'matnr', align: 'center',title: '鐗╂枡鍙�'},
- {field: 'maktx', align: 'center',title: '鐗╂枡鍚嶇О'},
- {field: 'processSts$', title: '宸ュ簭'},
- {field: 'reportQty', align: 'center',title: '涓婃姤鏁伴噺'},
- {field: 'settle$', align: 'center', title: '鐘舵��', templet: '#settleTpl', minWidth: 140, width: 140},
+ {field: 'docType$', align: 'center', title: '鍗曟嵁绫诲瀷', width: 180},
+ {field: 'threeCode', align: 'center',title: '閿�鍞崟鍙�', width: 130},
+ {field: 'anfme', align: 'center',title: '鏁伴噺', width: 90},
+ {field: 'qty', align: 'center',title: '浣滀笟鏁伴噺', width: 90},
+ {field: 'matnr', align: 'center',title: '鐗╂枡鍙�', width: 140},
+ {field: 'maktx', align: 'center',title: '鐗╂枡鍚嶇О', width: 180},
+ {field: 'processSts$', title: '宸ュ簭', hide: true},
+ {field: 'reportQty', align: 'center',title: '涓婃姤鏁伴噺', width: 90},
+ {field: 'settle$', align: 'center', title: '鐘舵��', templet: '#settleTpl', minWidth: 130, width: 130},
//{field: 'defNumber', align: 'center', title: '涓氬姟绫诲瀷'},
//{field: 'postFee', align: 'center', title: '鎬绘暟閲�', minWidth: 130, width: 130},
//{align: 'center', title: '鏄庣粏', toolbar: '#tbLook', minWidth: 160, width: 160},
- {field: 'orderTime', align: 'center',title: '鍗曟嵁鏃ユ湡'},
+ {field: 'orderTime', align: 'center',title: '鍗曟嵁鏃ユ湡', hide: true, width: 180},
//{field: 'shipCode', align: 'center',title: '鍒跺崟浜�'},
- {field: 'createBy$', title: '鍒涘缓浜�'},
- {field: 'createTime$', title: '鍒涘缓鏃堕棿'},
+ {field: 'createBy$', title: '鍒涘缓浜�', width: 120},
+ {field: 'createTime$', title: '鍒涘缓鏃堕棿', hide: true, width: 180},
{field: 'memo', align: 'center',title: '澶囨敞', hide: true},
{field: 'cstmrName', align: 'center',title: '渚涘簲鍟�/瀹㈡埛缂栫爜', hide: true},
{field: 'tel', align: 'center',title: '浠撳簱', hide: true},
{field: 'operMemb', align: 'center',title: '鍑哄叆搴撶被鍒�', hide: true},
{field: 'salesman', align: 'center',title: '閮ㄩ棬', hide: true},
- {align: 'center', title: '鎿嶄綔', toolbar: '#operate', width: 160}
+ {align: 'center', title: '鎿嶄綔', toolbar: '#operate', width: 190}
]],
request: {
pageName: 'curr',
@@ -341,7 +341,7 @@
if (layEvent === 'edit') {
showEditModel2(data);
} else if (layEvent === 'del') {
- layer.confirm('纭畾瑕佸垹闄ゅ悧锛�', {
+ layer.confirm('纭畾瑕佸垹闄よ鏄庣粏瀵瑰簲鐨勫崟鎹悧锛�', {
shade: .1,
skin: 'layui-layer-admin'
}, function (i) {
@@ -542,7 +542,7 @@
// 淇敼璁㈠崟鐘舵��
function doModify(orderId, settle) {
- layer.confirm('纭畾瑕佹墜鍔ㄥ畬缁撳悧锛�', {
+ layer.confirm('纭畾瑕佹墜鍔ㄥ畬缁撹璁㈠崟鍚楋紵', {
shade: .1,
skin: 'layui-layer-admin'
}, function (i) {
diff --git a/src/main/webapp/views/orderView/orderView.html b/src/main/webapp/views/orderView/orderView.html
index bbdee8a..c344e74 100644
--- a/src/main/webapp/views/orderView/orderView.html
+++ b/src/main/webapp/views/orderView/orderView.html
@@ -122,8 +122,7 @@
</div>
<div class="layui-card">
<div class="layui-card-body">
- 鍏ュ簱閫氱煡鍗曪細鐢盓RP鎻愪緵鍗曟嵁缂栧彿銆佺被鍨嬨�佸崟鎹椂闂村強鐗╂枡鏄庣粏锛岀敓鎴愬叆搴撲綔涓氬崟锛屼负缁存姢绯荤粺楂樺彲鐢紝鐢ㄦ埛鍙嚜琛屾坊鍔犲叆搴撻�氱煡鍗曟暟鎹紝瀹屾垚鐙珛鐨勫叆搴撲綔涓氥��
- <span class="text-danger">鎵嬪姩娣诲姞鏃讹紝璇锋鏌ュ崟鎹紪鍙锋槸鍚﹀湪ERP绯荤粺涓凡瀛樺湪锛岄伩鍏嶅彂鐢熸暟鎹敊璇棶棰樸��</span>
+ <div class="text-danger">鎵嬪姩鍒犻櫎鎴栧畬缁撴椂锛屾槸鍒犻櫎鎴栧畬缁撴槑缁嗗搴旂殑璁㈠崟锛岃�屼笉鏄崟鏉¤鍗曟槑缁嗐��</div>
</div>
</div>
</div>
@@ -329,7 +328,7 @@
<script type="text/javascript" src="../../static/js/echarts/echarts.min.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
-<script type="text/javascript" src="../../static/js/orderView/orderView.js?v=8" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/js/orderView/orderView.js?v=11" charset="utf-8"></script>
<script type="text/template" id="docTypeTpl">
<option value="">閫夋嫨绫诲瀷</option>
--
Gitblit v1.9.1