From c2f77cb1c01b8215fd2fc8c76fd4180629b7f08f Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 12 九月 2022 14:47:35 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/zypms' into zypms
---
src/main/webapp/static/js/order/order.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/static/js/order/order.js b/src/main/webapp/static/js/order/order.js
index 4868948..cb499c9 100644
--- a/src/main/webapp/static/js/order/order.js
+++ b/src/main/webapp/static/js/order/order.js
@@ -46,6 +46,7 @@
cols: [[
{field: 'docId', title: '缂栧彿', width: 70, align: 'center'},
{field: 'docName', title: '鍗曟嵁绫诲瀷'}
+ ,{field: 'docClass', title: '鍗曟嵁绫诲埆', hide:true}
]],
done: function (res, curr, count) {
$('#dictTable+.layui-table-view .layui-table-body tbody>tr:first').trigger('click');
@@ -92,6 +93,10 @@
success: function (layero, dIndex) {
// 鍥炴樉琛ㄥ崟鏁版嵁
form.val('docTypeEditForm', mData);
+ if(mData){
+ // $('#docId').addClass("layui-input").attr("disabled",true);
+ $('input[name="docId"]').addClass("layui-input").attr("disabled",true);
+ }
// 琛ㄥ崟鎻愪氦浜嬩欢
form.on('submit(docTypeEditSubmit)', function (data) {
var loadIndex = layer.load(2);
--
Gitblit v1.9.1