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