前端优化
This commit is contained in:
parent
8bf6b47212
commit
101d3c9536
|
|
@ -171,8 +171,8 @@
|
||||||
}, null);
|
}, null);
|
||||||
} else {
|
} else {
|
||||||
console.log('走的自己登录');
|
console.log('走的自己登录');
|
||||||
//login(miniAdmin);
|
login(miniAdmin);
|
||||||
window.location = 'page/welcome-1.html';
|
// window.location = 'page/welcome-1.html';
|
||||||
}
|
}
|
||||||
/* var options = {
|
/* var options = {
|
||||||
iniUrl: "api/init.json", // 初始化接口
|
iniUrl: "api/init.json", // 初始化接口
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ function setParams(params) {
|
||||||
objParam = JSON.parse(params);
|
objParam = JSON.parse(params);
|
||||||
console.error(objParam);
|
console.error(objParam);
|
||||||
|
|
||||||
$('#code').html(objParam.code);
|
$('#code').html(objParam.planCode);
|
||||||
$('#titleName').html('220kV奎福变电站工程');
|
$('#titleName').html(objParam.proName);
|
||||||
layui.use(["form", "table", 'upload', 'layer'], function () {
|
layui.use(["form", "table", 'upload', 'layer'], function () {
|
||||||
form = layui.form;
|
form = layui.form;
|
||||||
table = layui.table;
|
table = layui.table;
|
||||||
|
|
@ -40,7 +40,7 @@ function getPurchaseDetails() {
|
||||||
function setTableData(obj) {
|
function setTableData(obj) {
|
||||||
$('#planCode').html(obj.planCode);
|
$('#planCode').html(obj.planCode);
|
||||||
$('#cgNum').html(obj.cgNum);
|
$('#cgNum').html(obj.cgNum);
|
||||||
$('#money').html(obj.money);
|
$('#money').html('¥ ' + obj.money);
|
||||||
$('#lkNum').html(obj.lkNum);
|
$('#lkNum').html(obj.lkNum);
|
||||||
$('#fhDay').html(obj.fhDay);
|
$('#fhDay').html(obj.fhDay);
|
||||||
$('#jbUser').html(obj.jbUser);
|
$('#jbUser').html(obj.jbUser);
|
||||||
|
|
|
||||||
|
|
@ -301,6 +301,7 @@ function sendOutSuccess(data) {
|
||||||
|
|
||||||
// 详情
|
// 详情
|
||||||
function sendOutDetail(obj) {
|
function sendOutDetail(obj) {
|
||||||
|
obj.proName = objParam.proName;
|
||||||
openIframeByParamObj2("sendOutDetail", "详情", "../aq_demand_plan/child/send_out_detail.html", "92%", "95%", obj);
|
openIframeByParamObj2("sendOutDetail", "详情", "../aq_demand_plan/child/send_out_detail.html", "92%", "95%", obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ function initTable() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "jhNum",
|
field: "jhNum",
|
||||||
width: '10%',
|
width: '12%',
|
||||||
title: "需求计划编号数量",
|
title: "需求计划编号数量",
|
||||||
unresize: true,
|
unresize: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
|
|
@ -131,7 +131,7 @@ function initTable() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: "proNum",
|
field: "proNum",
|
||||||
width: '10%',
|
width: '8%',
|
||||||
title: "工程数量",
|
title: "工程数量",
|
||||||
unresize: true,
|
unresize: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
<div class="layui-inline">
|
<div class="layui-inline">
|
||||||
<div class="layui-input-inline" style="width: 300px;">
|
<div class="layui-input-inline" style="width: 300px;">
|
||||||
<input type="text" name="keyWord" id="keyWord" autocomplete="off"
|
<input type="text" name="keyWord" id="keyWord" autocomplete="off"
|
||||||
class="layui-input" lay-affix="clear" placeholder="输入关键字" maxlength="30">
|
class="layui-input" lay-affix="clear" placeholder="输入关键字(供应商)" maxlength="30">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-inline">
|
<div class="layui-inline">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue