提交 6d6719af 编写于 作者: doc_wei's avatar doc_wei

删除商品类型管理功能

上级 28d7651f
...@@ -66,8 +66,8 @@ layui.config({ ...@@ -66,8 +66,8 @@ layui.config({
loadBomChildProList(thisRowValue); loadBomChildProList(thisRowValue);
}); });
//加载bom方案下的子件列表 // 加载bom方案下的子件列表
function loadBomChildProList(bomId){ function loadBomChildProList(bomId) {
AjaxPostUtil.request({url: flowableBasePath + "erpbom008", params: {id: bomId}, type: 'json', method: 'GET', callback: function (json) { AjaxPostUtil.request({url: flowableBasePath + "erpbom008", params: {id: bomId}, type: 'json', method: 'GET', callback: function (json) {
childProList = [].concat(json.rows); childProList = [].concat(json.rows);
$("#tBody").html(getDataUseHandlebars($("#tableBody").html(), {rows: childProList})); $("#tBody").html(getDataUseHandlebars($("#tableBody").html(), {rows: childProList}));
......
...@@ -45,12 +45,14 @@ layui.config({ ...@@ -45,12 +45,14 @@ layui.config({
limit: 8, limit: 8,
cols: [[ cols: [[
{ title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' }, { title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' },
{ field: 'materialName', title: '商品名称', align: 'left', width: 250}, { field: 'materialName', title: '商品名称', align: 'left', width: 250 },
{ field: 'model', title: '型号', align: 'left', width: 100}, { field: 'model', title: '型号', align: 'left', width: 100 },
{ field: 'typeName', title: '分类', align: 'left', width: 100}, { field: 'typeName', title: '分类', align: 'left', width: 100 },
{ field: 'unitName', title: '单位', align: 'left', width: 80}, { field: 'normMation', title: '规格', align: 'left', width: 80, templet: function (d) {
{ field: 'currentTock', title: '入库数量', align: 'left', width: 100}, return d.normMation.name;
{ field: 'currentTockMoney', title: '入库金额', align: 'left', width: 120} }},
{ field: 'currentTock', title: '入库数量', align: 'left', width: 100 },
{ field: 'currentTockMoney', title: '入库金额', align: 'left', width: 120 }
]], ]],
done: function(json) { done: function(json) {
matchingLanguage(); matchingLanguage();
......
...@@ -44,12 +44,14 @@ layui.config({ ...@@ -44,12 +44,14 @@ layui.config({
limit: 8, limit: 8,
cols: [[ cols: [[
{ title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' }, { title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers' },
{ field: 'materialName', title: '商品名称', align: 'left', width: 250}, { field: 'materialName', title: '商品名称', align: 'left', width: 250 },
{ field: 'model', title: '型号', align: 'left', width: 100}, { field: 'model', title: '型号', align: 'left', width: 100 },
{ field: 'typeName', title: '分类', align: 'left', width: 100}, { field: 'typeName', title: '分类', align: 'left', width: 100 },
{ field: 'unitName', title: '单位', align: 'left', width: 80}, { field: 'normMation', title: '规格', align: 'left', width: 80, templet: function (d) {
{ field: 'currentTock', title: '出库数量', align: 'left', width: 100}, return d.normMation.name;
{ field: 'currentTockMoney', title: '出库金额', align: 'left', width: 120} }},
{ field: 'currentTock', title: '出库数量', align: 'left', width: 100 },
{ field: 'currentTockMoney', title: '出库金额', align: 'left', width: 120 }
]], ]],
done: function(json) { done: function(json) {
matchingLanguage(); matchingLanguage();
......
...@@ -6,13 +6,12 @@ layui.config({ ...@@ -6,13 +6,12 @@ layui.config({
version: skyeyeVersion version: skyeyeVersion
}).extend({ }).extend({
window: 'js/winui.window' window: 'js/winui.window'
}).define(['window', 'table', 'jquery', 'winui', 'form', 'eleTree', 'soulTable'], function (exports) { }).define(['window', 'table', 'jquery', 'winui', 'form', 'soulTable'], function (exports) {
winui.renderColor(); winui.renderColor();
var $ = layui.$, var $ = layui.$,
form = layui.form, form = layui.form,
table = layui.table, table = layui.table,
soulTable = layui.soulTable, soulTable = layui.soulTable;
eleTree = layui.eleTree;
var selOption = getFileContent('tpl/template/select-option.tpl'); var selOption = getFileContent('tpl/template/select-option.tpl');
// 加载仓库数据 // 加载仓库数据
...@@ -49,14 +48,11 @@ layui.config({ ...@@ -49,14 +48,11 @@ layui.config({
{ field: 'createTime', title: systemLanguage["com.skyeye.createTime"][languageType], rowspan: '2', align: 'center', width: 150 } { field: 'createTime', title: systemLanguage["com.skyeye.createTime"][languageType], rowspan: '2', align: 'center', width: 150 }
],[ ],[
{ field: 'safetyTock', title: '安全存量', align: 'center', width: 80}, { field: 'safetyTock', title: '安全存量', align: 'center', width: 80},
{ field: 'allTock', title: '当前库存', align: 'center', width: 120} { field: 'allStock', title: '当前库存', align: 'center', width: 120}
]], ]],
done: function(json) { done: function(json) {
matchingLanguage(); matchingLanguage();
soulTable.render(this); soulTable.render(this);
if(!loadFirstType){
initFirstType();
}
} }
}); });
...@@ -69,34 +65,6 @@ layui.config({ ...@@ -69,34 +65,6 @@ layui.config({
}); });
form.render(); form.render();
var loadFirstType = false;
//初始化商品类型
function initFirstType(){
loadFirstType = true;
var el5;
el5 = eleTree.render({
elem: '.ele5',
url: flowableBasePath + "materialcategory009",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
});
$(".ele5").hide();
$("#categoryId").on("click",function (e) {
e.stopPropagation();
$(".ele5").toggle();
});
eleTree.on("nodeClick(data5)",function(d) {
$("#categoryId").val(d.data.currentData.name);
$("#categoryId").attr("categoryId", d.data.currentData.id);
$(".ele5").hide();
})
$(document).on("click",function() {
$(".ele5").hide();
})
}
form.on('submit(formSearch)', function (data) { form.on('submit(formSearch)', function (data) {
if (winui.verifyForm(data.elem)) { if (winui.verifyForm(data.elem)) {
refreshloadTable(); refreshloadTable();
...@@ -133,7 +101,6 @@ layui.config({ ...@@ -133,7 +101,6 @@ layui.config({
return { return {
materialName: $("#materialName").val(), materialName: $("#materialName").val(),
model: $("#model").val(), model: $("#model").val(),
categoryId: isNull($("#categoryId").val()) ? "" : $("#categoryId").attr("categoryId"),
typeNum: $("#typeNum").val() typeNum: $("#typeNum").val()
}; };
} }
......
layui.config({
base: basePath,
version: skyeyeVersion
}).extend({
window: 'js/winui.window'
}).define(['window', 'jquery', 'winui', 'fsCommon', 'fsTree', 'element', 'textool'], function (exports) {
winui.renderColor();
layui.use(['form'], function (form) {
var index = parent.layer.getFrameIndex(window.name);
var $ = layui.$,
fsTree = layui.fsTree,
fsCommon = layui.fsCommon,
element = layui.element,
textool = layui.textool;
var materialCategoryType;
textool.init({eleId: 'remark', maxlength: 200});
fsTree.render({
id: "materialCategoryType",
url: flowableBasePath + "materialcategory008",
checkEnable: true,
loadEnable: false,//异步加载
chkStyle: "radio",
showLine: false,
showIcon: true,
expandSpeed: 'fast'
}, function(id){
materialCategoryType = $.fn.zTree.getZTreeObj(id);
fuzzySearch(id, '#name', null, true); //初始化模糊搜索方法
});
matchingLanguage();
form.render();
form.on('submit(formAddBean)', function (data) {
if (winui.verifyForm(data.elem)) {
var checkNodes = materialCategoryType.getCheckedNodes(true);
if(checkNodes.length == 0){
winui.window.msg('请选择所属类型', {icon: 2, time: 2000});
return false;
}
var params = {
name: $("#typeName").val(),
remark: $("#remark").val(),
parentId: checkNodes[0].id
};
AjaxPostUtil.request({url: flowableBasePath + "writeMaterialCategoryMation", params: params, type: 'json', method: "POST", callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
}
return false;
});
$("body").on("click", "#cancle", function() {
parent.layer.close(index);
});
});
});
\ No newline at end of file
layui.config({
base: basePath,
version: skyeyeVersion
}).extend({
window: 'js/winui.window'
}).define(['window', 'jquery', 'winui', 'textool'], function (exports) {
winui.renderColor();
layui.use(['form'], function (form) {
var index = parent.layer.getFrameIndex(window.name);
var $ = layui.$,
textool = layui.textool;
showGrid({
id: "showForm",
url: flowableBasePath + "materialcategory004",
params: {id: parent.rowId},
pagination: false,
method: "GET",
template: $("#beanTemplate").html(),
ajaxSendAfter:function (json) {
textool.init({eleId: 'remark', maxlength: 200});
matchingLanguage();
form.render();
form.on('submit(formEditBean)', function (data) {
if (winui.verifyForm(data.elem)) {
var params = {
id: parent.rowId,
name: $("#typeName").val(),
remark: $("#remark").val(),
parentId: json.bean.parentId
};
AjaxPostUtil.request({url: flowableBasePath + "writeMaterialCategoryMation", params: params, type: 'json', method: "POST", callback: function (json) {
parent.layer.close(index);
parent.refreshCode = '0';
}});
}
return false;
});
}
});
$("body").on("click", "#cancle", function() {
parent.layer.close(index);
});
});
});
\ No newline at end of file
var rowId = "";
layui.config({
base: basePath,
version: skyeyeVersion
}).extend({
window: 'js/winui.window'
}).define(['window', 'tableTreeDj', 'jquery', 'winui', 'form'], function (exports) {
winui.renderColor();
var $ = layui.$,
form = layui.form,
tableTree = layui.tableTreeDj;
authBtn('1568558491168');
tableTree.render({
id: 'messageTable',
elem: '#messageTable',
method: 'post',
url: flowableBasePath + 'materialcategory001',
where: getTableParams(),
even: true,
page: true,
limits: getLimits(),
limit: getLimit(),
cols: [[
{ field: 'name', title: '名称', align: 'left', width: 200 },
{ field: 'sort', title: systemLanguage["com.skyeye.serialNumber"][languageType], align: 'center', width: 80 },
{ field: 'remark', title: '备注', align: 'left', width: 200 },
{ field: 'createName', title: systemLanguage["com.skyeye.createName"][languageType], width: 120 },
{ field: 'createTime', title: systemLanguage["com.skyeye.createTime"][languageType], align: 'center', width: 150 },
{ field: 'lastUpdateName', title: systemLanguage["com.skyeye.lastUpdateName"][languageType], align: 'left', width: 120 },
{ field: 'lastUpdateTime', title: systemLanguage["com.skyeye.lastUpdateTime"][languageType], align: 'center', width: 150 },
{ title: systemLanguage["com.skyeye.operation"][languageType], fixed: 'right', align: 'center', width: 200, toolbar: '#tableBar' }
]],
done: function(json) {
matchingLanguage();
initTableSearchUtil.initAdvancedSearch($("#messageTable")[0], json.searchFilter, form, "请输入名称", function () {
tableTree.reload("messageTable", {page: {curr: 1}, where: getTableParams()});
});
}
}, {
keyId: 'id',
keyPid: 'parentId',
title: 'name',
});
tableTree.getTable().on('tool(messageTable)', function (obj) {
var data = obj.data;
var layEvent = obj.event;
if (layEvent === 'edit') { //编辑
edit(data);
} else if (layEvent === 'delet') { //删除
delet(data);
} else if (layEvent === 'upMove') { //上移
upMove(data);
} else if (layEvent === 'downMove') { //下移
downMove(data);
}
});
// 添加
$("body").on("click", "#addBean", function() {
_openNewWindows({
url: "../../tpl/materialCategory/materialCategoryAdd.html",
title: systemLanguage["com.skyeye.addPageTitle"][languageType],
pageId: "materialCategoryAdd",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable();
}});
});
// 删除
function delet(data) {
layer.confirm(systemLanguage["com.skyeye.deleteOperationMsg"][languageType], {icon: 3, title: systemLanguage["com.skyeye.deleteOperation"][languageType]}, function (index) {
layer.close(index);
AjaxPostUtil.request({url: flowableBasePath + "materialcategory003", params: {id: data.id}, type: 'json', method: "DELETE", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.deleteOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
});
}
// 编辑
function edit(data) {
rowId = data.id;
_openNewWindows({
url: "../../tpl/materialCategory/materialCategoryEdit.html",
title: systemLanguage["com.skyeye.editPageTitle"][languageType],
pageId: "materialCategoryEdit",
area: ['90vw', '90vh'],
callBack: function (refreshCode) {
winui.window.msg(systemLanguage["com.skyeye.successfulOperation"][languageType], {icon: 1, time: 2000});
loadTable();
}
});
}
// 上移
function upMove(data) {
AjaxPostUtil.request({url: flowableBasePath + "materialcategory006", params: {id: data.id}, type: 'json', method: "PUT", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.moveUpOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
}
// 下移
function downMove(data) {
AjaxPostUtil.request({url: flowableBasePath + "materialcategory007", params: {id: data.id}, type: 'json', method: "PUT", callback: function (json) {
winui.window.msg(systemLanguage["com.skyeye.moveDownOperationSuccessMsg"][languageType], {icon: 1, time: 2000});
loadTable();
}});
}
form.render();
$("body").on("click", "#reloadTable", function() {
loadTable();
});
function loadTable() {
tableTree.reload("messageTable", {where: getTableParams()});
}
function getTableParams() {
return $.extend(true, {}, initTableSearchUtil.getSearchValue("messageTable"));
}
exports('materialCategoryList', {});
});
...@@ -10,13 +10,12 @@ layui.config({ ...@@ -10,13 +10,12 @@ layui.config({
version: skyeyeVersion version: skyeyeVersion
}).extend({ }).extend({
window: 'js/winui.window' window: 'js/winui.window'
}).define(['window', 'table', 'jquery', 'winui', 'form', 'eleTree', 'soulTable'], function (exports) { }).define(['window', 'table', 'jquery', 'winui', 'form', 'soulTable'], function (exports) {
winui.renderColor(); winui.renderColor();
var $ = layui.$, var $ = layui.$,
form = layui.form, form = layui.form,
table = layui.table, table = layui.table,
soulTable = layui.soulTable, soulTable = layui.soulTable;
eleTree = layui.eleTree;
var selOption = getFileContent('tpl/template/select-option-must.tpl'); var selOption = getFileContent('tpl/template/select-option-must.tpl');
...@@ -80,9 +79,6 @@ layui.config({ ...@@ -80,9 +79,6 @@ layui.config({
done: function(json) { done: function(json) {
matchingLanguage(); matchingLanguage();
soulTable.render(this); soulTable.render(this);
if(!loadFirstType){
initFirstType();
}
} }
}); });
...@@ -119,32 +115,6 @@ layui.config({ ...@@ -119,32 +115,6 @@ layui.config({
}); });
} }
var loadFirstType = false;
//初始化商品类型
function initFirstType(){
loadFirstType = true;
var el5 = eleTree.render({
elem: '.ele5',
url: flowableBasePath + "materialcategory009",
defaultExpandAll: true,
expandOnClickNode: false,
highlightCurrent: true
});
$(".ele5").hide();
$("#categoryId").on("click",function (e) {
e.stopPropagation();
$(".ele5").toggle();
});
eleTree.on("nodeClick(data5)",function(d) {
$("#categoryId").val(d.data.currentData.name);
$("#categoryId").attr("categoryId", d.data.currentData.id);
$(".ele5").hide();
})
$(document).on("click",function() {
$(".ele5").hide();
})
}
form.render(); form.render();
form.on('submit(formSearch)', function (data) { form.on('submit(formSearch)', function (data) {
if (winui.verifyForm(data.elem)) { if (winui.verifyForm(data.elem)) {
...@@ -193,7 +163,6 @@ layui.config({ ...@@ -193,7 +163,6 @@ layui.config({
function getTableParams() { function getTableParams() {
return { return {
categoryId: isNull($("#categoryId").val()) ? "" : $("#categoryId").attr("categoryId"),
typeFrom: $("#typeFrom").val(), typeFrom: $("#typeFrom").val(),
enabled: $("#enabled").val(), enabled: $("#enabled").val(),
depotId: $("#depotId").val() depotId: $("#depotId").val()
......
...@@ -28,11 +28,6 @@ ...@@ -28,11 +28,6 @@
<div class="layui-input-inline"> <div class="layui-input-inline">
<input type="text" id="model" name="model" placeholder="请输入商品型号" class="layui-input" /> <input type="text" id="model" name="model" placeholder="请输入商品型号" class="layui-input" />
</div> </div>
<label class="layui-form-label">所属类型</label>
<div class="layui-input-inline">
<input type="text" id="categoryId" name="categoryId" placeholder="请选择商品类型" class="layui-input" readonly="readonly" categoryId=""/>
<div class="eleTree ele5" lay-filter="data5"></div>
</div>
<label class="layui-form-label">商品来源</label> <label class="layui-form-label">商品来源</label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<select lay-filter="typeNum" lay-search="" id="typeNum"> <select lay-filter="typeNum" lay-search="" id="typeNum">
......
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
<link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
<link href="../../assets/lib/layui/lay/modules/ztree/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" />
<link href="../../assets/lib/layui/lay/modules/contextMenu/jquery.contextMenu.min.css" rel="stylesheet" />
</head>
<body>
<div style="margin:0 auto;padding:20px;">
<form class="layui-form" action="" id="showForm" autocomplete="off">
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">类型名称<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="typeName" name="typeName" win-verify="required" placeholder="请输入商品类型名称" class="layui-input"/>
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">所属类型<i class="red">*</i></label>
<div class="layui-input-block">
<div class="layui-inline" style="width: 100%">
<div class="layui-input-inline">
<input type="text" id="name" name="name" placeholder="请输入要搜索的节点" class="layui-input" />
</div>
</div>
<div class="layui-inline" style="max-height: 200px; width: 100%">
<ul id="materialCategoryType" class="ztree fsTree" method="get"
treeIdKey="id" inputs="parentId" treePIdKey="pId" clickCallbackInputs="parentId:$id" treeName="name" style="overflow-y: auto; height: 100%;"></ul>
</div>
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">备注</label>
<div class="layui-input-block">
<textarea id="remark" name="remark" placeholder="请输入备注信息" maxlength="200" class="layui-textarea" style="height: 100px;"></textarea>
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<div class="layui-input-block">
<button class="winui-btn" id="cancle"><language showName="com.skyeye.cancel"></language></button>
<button class="winui-btn" lay-submit lay-filter="formAddBean"><language showName="com.skyeye.save"></language></button>
</div>
</div>
</form>
</div>
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript" src="../../assets/lib/layui/lay/modules/jquery-min.js"></script>
<script type="text/javascript" src="../../assets/lib/layui/lay/modules/contextMenu/jquery.contextMenu.min.js"></script>
<script type="text/javascript" src="../../assets/lib/layui/lay/modules/ztree/js/jquery.ztree.all.min.js"></script>
<script type="text/javascript" src="../../assets/lib/layui/lay/modules/ztree/js/jquery.ztree.exhide.min.js"></script>
<script type="text/javascript" src="../../assets/lib/layui/lay/modules/ztree/js/fuzzysearch.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/materialCategory/'}).use('materialCategoryAdd');
</script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
<link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>
<body>
<div style="padding:20px; margin:0 auto;">
<form class="layui-form" action="" id="showForm" autocomplete="off">
</form>
</div>
<script type="text/x-handlebars-template" id="beanTemplate">
{{#bean}}
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">类型名称<i class="red">*</i></label>
<div class="layui-input-block">
<input type="text" id="typeName" name="typeName" win-verify="required" placeholder="请输入商品类型名称" class="layui-input" value="{{name}}"/>
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">所属类型</label>
<div class="layui-input-block ver-center">
{{parentName}}
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<label class="layui-form-label">备注</label>
<div class="layui-input-block">
<textarea id="remark" name="remark" placeholder="请输入备注信息" maxlength="200" class="layui-textarea" style="height: 100px;">{{remark}}</textarea>
</div>
</div>
<div class="layui-form-item layui-col-xs12">
<div class="layui-input-block">
<button class="winui-btn" id="cancle"><language showName="com.skyeye.cancel"></language></button>
<button class="winui-btn" lay-submit lay-filter="formEditBean"><language showName="com.skyeye.save"></language></button>
</div>
</div>
{{/bean}}
</script>
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/materialCategory/'}).use('materialCategoryEdit');
</script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
<link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>
<body>
<div class="winui-toolbar">
<div class="winui-tool">
<button id="reloadTable" class="winui-toolbtn search-table-btn-right"><i class="fa fa-refresh" aria-hidden="true"></i><language showName="com.skyeye.refreshDataBtn"></language></button>
<button id="addBean" class="winui-toolbtn search-table-btn-right" auth="1568558491168"><i class="fa fa-plus" aria-hidden="true"></i><language showName="com.skyeye.addBtn"></language></button>
</div>
</div>
<div style="margin:auto 10px;">
<table id="messageTable" lay-filter="messageTable"></table>
<script type="text/html" id="tableBar">
{{# if(auth('1568558491168')){ }}
<a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="edit"><language showName="com.skyeye.editBtn"></language></a>
{{# } }}
{{# if(auth('1568558794203')){ }}
<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="delet"><language showName="com.skyeye.deleteBtn"></language></a>
{{# } }}
{{# if(auth('1568558832391')){ }}
<a class="layui-btn layui-btn-xs" lay-event="upMove">上移</a>
{{# } }}
{{# if(auth('1568558841199')){ }}
<a class="layui-btn layui-btn-xs" lay-event="downMove">下移</a>
{{# } }}
</script>
</div>
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
layui.config({base: '../../js/materialCategory/'}).use('materialCategoryList');
</script>
</body>
</html>
\ No newline at end of file
...@@ -26,11 +26,6 @@ ...@@ -26,11 +26,6 @@
</select> </select>
</div> </div>
<label class="layui-form-label">所属类型</label>
<div class="layui-input-inline">
<input type="text" id="categoryId" name="categoryId" placeholder="请选择商品类型" class="layui-input" readonly="readonly" categoryId=""/>
<div class="eleTree ele5" lay-filter="data5"></div>
</div>
<label class="layui-form-label">商品来源</label> <label class="layui-form-label">商品来源</label>
<div class="layui-input-inline"> <div class="layui-input-inline">
<select lay-filter="typeFrom" lay-search="" id="typeFrom"> <select lay-filter="typeFrom" lay-search="" id="typeFrom">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册