提交 8a12f16e 编写于 作者: Skyeye云's avatar Skyeye云

feat: 商品规格条形码

上级 4725f385
......@@ -50,6 +50,10 @@ layui.config({
initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入流程ID", function () {
table.reloadData("messageAllComplateTable", {page: {curr: 1}, where: getTableParams()});
});
// 该方法用于解决,使用fixed固定列后,行高和其他列不一致的问题
$(".layui-table-main tr").each(function (index, val) {
$($(".layui-table-fixed .layui-table-body tbody tr")[index]).height($(val).height());
});
}
});
......
......@@ -62,6 +62,10 @@ layui.config({
initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入流程ID", function () {
table.reloadData("messageAllConductTable", {page: {curr: 1}, where: getTableParams()});
});
// 该方法用于解决,使用fixed固定列后,行高和其他列不一致的问题
$(".layui-table-main tr").each(function (index, val) {
$($(".layui-table-fixed .layui-table-body tbody tr")[index]).height($(val).height());
});
}
});
......
......@@ -63,6 +63,10 @@ layui.config({
initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入流程ID", function () {
table.reloadData("messageMyStartTable", {page: {curr: 1}, where: getTableParams()});
});
// 该方法用于解决,使用fixed固定列后,行高和其他列不一致的问题
$(".layui-table-main tr").each(function (index, val) {
$($(".layui-table-fixed .layui-table-body tbody tr")[index]).height($(val).height());
});
}
});
......
......@@ -59,6 +59,10 @@ layui.config({
initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入流程ID", function () {
table.reloadData("messageMyNeedDealtTable", {page: {curr: 1}, where: getTableParams()});
});
// 该方法用于解决,使用fixed固定列后,行高和其他列不一致的问题
$(".layui-table-main tr").each(function (index, val) {
$($(".layui-table-fixed .layui-table-body tbody tr")[index]).height($(val).height());
});
}
});
......
......@@ -78,6 +78,10 @@ layui.config({
initTableSearchUtil.initAdvancedSearch(this, json.searchFilter, form, "请输入流程ID", function () {
table.reloadData("messageMyHistoryTaskTable", {page: {curr: 1}, where: getTableParams()});
});
// 该方法用于解决,使用fixed固定列后,行高和其他列不一致的问题
$(".layui-table-main tr").each(function (index, val) {
$($(".layui-table-fixed .layui-table-body tbody tr")[index]).height($(val).height());
});
}
});
......
......@@ -10,9 +10,9 @@ spring:
cloud:
nacos:
discovery:
server-addr: localhost:9000 # 配置服务注册nacos地址
server-addr: 172.18.92.40:9000 # 配置服务注册nacos地址
config:
# 指定nacos server的地址
server-addr: localhost:9000
server-addr: 172.18.92.40:9000
file-extension: yml
namespace: dev
\ No newline at end of file
......@@ -855,7 +855,7 @@ layui.define(['jquery', 'form', 'upload', 'layer', 'sortable'], function (export
div += '</select>';
break;
case "btn":
value = isNull(value) ? [] : JSON.parse(value);
value = isNull(value) ? [] : (typeof value === 'string' ? JSON.parse(value) : value);
div += "<button type='button' class='layui-btn layui-btn-primary layui-btn-xs stockMore' stock='" + JSON.stringify(value) + "' id='" + id + "'>库存信息</button>";
$.each(value, function(i, item) {
if (!isNull(item.depotMation)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册