Browse Source

修改出库申请时开放仓库的问题

lwx_dev
erdanergou 3 years ago
parent
commit
bb29df56b4
  1. 8
      src/main/resources/static/js/JcPrinter/layer/layer.js
  2. 13
      src/main/resources/static/lib/layui-v2.6.3/layui.js
  3. 5
      src/main/resources/templates/pages/application/my-task.html
  4. 20
      src/main/resources/templates/pages/other/welcome_mobile.html
  5. 29
      src/main/resources/templates/pages/self/message.html

8
src/main/resources/static/js/JcPrinter/layer/layer.js

@ -81,10 +81,14 @@
}, n)) }, n))
} }
}, s = function (e) { }, s = function (e) {
var t = this, a = function () { var t = this,
a = function () {
t.creat() t.creat()
}; };
t.index = ++r.index, t.config.maxWidth = i(n).width() - 30, t.config = i.extend({}, t.config, o.config, e), document.body ? a() : setTimeout(function () { t.index = ++r.index,
t.config.maxWidth = i(n).width() - 30,
t.config = i.extend({}, t.config, o.config, e),
document.body ? a() : setTimeout(function () {
a() a()
}, 30) }, 30)
}; };

13
src/main/resources/static/lib/layui-v2.6.3/layui.js

@ -3698,12 +3698,20 @@ layui.define(function (e) {
}, n)) }, n))
} }
}, s = function (e) { }, s = function (e) {
var t = this, a = function () {
var t = this,
a = function () {
r.ready(function () { r.ready(function () {
t.creat() t.creat()
}) })
}; };
t.index = ++r.index, t.config.maxWidth = i(n).width() - 30, t.config = i.extend({}, t.config, o.config, e), document.body ? a() : setTimeout(function () {
t.index = ++r.index,
t.config.maxWidth = i(n).width() - 30,
t.config = i.extend({}, t.config, o.config, e),
document.body ? a() : setTimeout(function () {
a() a()
}, 30) }, 30)
}; };
@ -4136,6 +4144,7 @@ layui.define(function (e) {
}, o.run = function (t) { }, o.run = function (t) {
i = t, n = i(e), l.html = i("html"), r.open = function (e) { i = t, n = i(e), l.html = i("html"), r.open = function (e) {
var t = new s(e); var t = new s(e);
console.log(t)
return t.index return t.index
} }
}, e.layui && layui.define ? (r.ready(), layui.define("jquery", function (t) { }, e.layui && layui.define ? (r.ready(), layui.define("jquery", function (t) {

5
src/main/resources/templates/pages/application/my-task.html

@ -26,7 +26,9 @@
} }
</style> </style>
<div class="layui-tab layui-tab-card"> <body>
<div class="layuimini-container">
<div class="layuimini-main">
<ul class="layui-tab-title"> <ul class="layui-tab-title">
@ -68,6 +70,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</body> </body>
<script src="/static/lib/layui-v2.6.3/layui.js" charset="utf-8"></script> <script src="/static/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>

20
src/main/resources/templates/pages/other/welcome_mobile.html

@ -466,7 +466,8 @@
$(window).on("resize", function () { $(window).on("resize", function () {
layer.full(index); layer.full(index);
}); });
} else if (type === "物料出库请求") { }
else if (type === "物料出库请求") {
var index = layer.open({ var index = layer.open({
title: '请求详情', title: '请求详情',
type: 2, type: 2,
@ -497,25 +498,20 @@
area: ['100%', '100%'], area: ['100%', '100%'],
content: '/noticeAll', content: '/noticeAll',
}); });
} };
showAllMyTask = function () { showAllMyTask = function () {
layer.open({ var index = layer.open({
title: '我的任务',
type: 2, type: 2,
title: '弹窗内容', shade: 0.2,
skin: 'layui-layer-rim',
maxmin: true, maxmin: true,
shadeClose: true, //点击遮罩关闭层 shadeClose: true,
area: ['100%', '100%'], area: ['100%', '100%'],
move: '.layui-layer-title',
fixed: false,
content: '/my_task', content: '/my_task',
}); });
} };
$('body').on('click', '[data-refresh]', function () {
location.reload();
})
}); });
</script> </script>
</body> </body>

29
src/main/resources/templates/pages/self/message.html

@ -435,36 +435,31 @@
}; };
showAllMyTask = function () { showAllMyTask = function () {
layer.open({ var index = layer.open({
type: 2,
title: '我的任务', title: '我的任务',
skin: 'layui-layer-rim', type: 2,
shade: 0.2,
maxmin: true, maxmin: true,
shadeClose: true, //点击遮罩关闭层 shadeClose: true,
area: ['100%', '100%'], area: ['100%', '100%'],
move: '.layui-layer-title',
fixed: false,
content: '/my_task', content: '/my_task',
}); });
} };
showAllMyApply = function () { showAllMyApply = function () {
layer.open({
var index = layer.open({
title: '我的任务',
type: 2, type: 2,
title: '我的申请', shade: 0.2,
skin: 'layui-layer-rim',
maxmin: true, maxmin: true,
shadeClose: true, //点击遮罩关闭层 shadeClose: true,
area: ['100%', '100%'], area: ['100%', '100%'],
move: '.layui-layer-title',
fixed: false,
content: '/my_apply', content: '/my_apply',
}); });
} };
$('body').on('click', '[data-refresh]', function () {
location.reload();
})
}); });

Loading…
Cancel
Save