bug修复
This commit is contained in:
parent
58fa9d92fb
commit
bd9b696a11
|
|
@ -355,7 +355,7 @@ function selectAll(selectStatus) {//传入参数(全选框的选中状态)
|
|||
n.checked = true;
|
||||
});
|
||||
$.each(jjDataArr, function (index, item) {
|
||||
delIdArr.push(item.id);
|
||||
delIdArr.push(item.partId);
|
||||
})
|
||||
} else {
|
||||
$("input[name='check']").each(function (i, n) {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ layui.config({
|
|||
dtreeData = getDTreeData();
|
||||
fitTypeTree = dtree.render({
|
||||
elem: "#fitTypeTree",
|
||||
width: "30%", // 指定树的宽度
|
||||
width: "50%", // 指定树的宽度
|
||||
dataFormat: "list",
|
||||
none: "无数据",
|
||||
menubar: true,
|
||||
|
|
@ -77,7 +77,7 @@ function addOrEditFitType(type, node, $div) {
|
|||
title = '修改';
|
||||
}
|
||||
console.log(node);
|
||||
openIframeByDtree("fit_type_form", title, './child/fit_type_form.html', '40%', '50%', node, $div);
|
||||
openIframeByDtree("fit_type_form", title, './child/fit_type_form.html', '50%', '50%', node, $div);
|
||||
}
|
||||
|
||||
// 赋值新增节点
|
||||
|
|
|
|||
13
js/public.js
13
js/public.js
|
|
@ -242,3 +242,16 @@ const useBase64 = {
|
|||
return decodeURIComponent(escape(input));
|
||||
},
|
||||
}
|
||||
|
||||
/* 校验查询关键字是否包含特殊字符 */
|
||||
function checkValue(value) {
|
||||
if (value) {
|
||||
let pattern = new RegExp("[%<>]");
|
||||
if (pattern.test(value)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>发货</title>
|
||||
<title>配件退回</title>
|
||||
<link rel="stylesheet" href="../../../lib/layui-v2.9.18/layui/css/layui.css" media="all">
|
||||
<link rel="stylesheet" href="../../../css/font.css" media="all">
|
||||
<link rel="stylesheet" href="../../../css/data_form.css" media="all">
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
<label class="layui-form-label required" style="width: 100px !important;">计划说明</label>
|
||||
<div class="layui-input-inline" style="width: 764px;">
|
||||
<textarea placeholder="请输入计划说明" lay-verify="required" id="remark" name="remark"
|
||||
class="layui-textarea" maxLength="60" lay-affix="clear"></textarea>
|
||||
class="layui-textarea" maxLength="250" lay-affix="clear"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" id="formSubmit" class="layui-btn" lay-submit="" lay-filter="formData"
|
||||
|
|
|
|||
Loading…
Reference in New Issue