弹窗输入
parent
57f5401fb9
commit
378ef3e760
|
@ -160,6 +160,15 @@ public class ProjectController extends BaseController{
|
||||||
projectService.budgetEditSave(project, budgetBean, InterfaceUtil.getAdmin(), ApproveStatusEnum.APPROVAL_UNCOMMIT);
|
projectService.budgetEditSave(project, budgetBean, InterfaceUtil.getAdmin(), ApproveStatusEnum.APPROVAL_UNCOMMIT);
|
||||||
return "redirect:/project/list";
|
return "redirect:/project/list";
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* 进行项目预算保存并提交审核
|
||||||
|
*/
|
||||||
|
@RequestMapping("/budgetEditSaveAndApprove")
|
||||||
|
public String budgetEditSaveAndApprove(Project project, BudgetBean budgetBean,
|
||||||
|
Map<String, Object> model) {
|
||||||
|
projectService.budgetEditSave(project, budgetBean, InterfaceUtil.getAdmin(), ApproveStatusEnum.APPROVAL_PENDING);
|
||||||
|
return "redirect:/project/list";
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 保存收入明细
|
* 保存收入明细
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
<div class="am-g am-form-group am-margin-top">
|
<div class="am-g am-form-group am-margin-top">
|
||||||
<div class="am-u-sm-4 am-u-md-2 am-text-right"><span style="color: red;">*</span>垫资模式</div>
|
<div class="am-u-sm-4 am-u-md-2 am-text-right"><span style="color: red;">*</span>垫资模式</div>
|
||||||
<div class="am-u-sm-6 am-u-md-6">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<select data-am-selected id="underwrittenMode" name="underwrittenMode" readonly="">
|
<select data-am-selected id="underwrittenMode" name="underwrittenMode" readonly>
|
||||||
<option value="1" <#if project.underwrittenMode=1>selected</#if>>A类-不垫资(战略合作)</option>
|
<option value="1" <#if project.underwrittenMode=1>selected</#if>>A类-不垫资(战略合作)</option>
|
||||||
<option value="2" <#if project.underwrittenMode=2>selected</#if>>B类-不垫资(背靠背)</option>
|
<option value="2" <#if project.underwrittenMode=2>selected</#if>>B类-不垫资(背靠背)</option>
|
||||||
<option value="3" <#if project.underwrittenMode=3>selected</#if>>C类-垫资(账期覆盖)</option>
|
<option value="3" <#if project.underwrittenMode=3>selected</#if>>C类-垫资(账期覆盖)</option>
|
||||||
|
@ -179,7 +179,7 @@
|
||||||
<div class="am-tabs-bd">
|
<div class="am-tabs-bd">
|
||||||
<div class="am-tab-panel am-fade am-in" id="tab2">
|
<div class="am-tab-panel am-fade am-in" id="tab2">
|
||||||
<span class="am-text-lg">收入</span>
|
<span class="am-text-lg">收入</span>
|
||||||
<span class="am-text-primary"><a>收入明细表</a></span>
|
<span class="am-text-primary"><a style="cursor: pointer" id="income-detail">收入明细表</a></span>
|
||||||
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
|
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="am-text-xl">
|
<tr class="am-text-xl">
|
||||||
|
@ -215,8 +215,8 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<span class="am-text-lg">成本</span>
|
<span class="am-text-lg">成本</span>
|
||||||
<span class="am-text-primary"><a>采购成本明细表</a></span>
|
<span class="am-text-primary"><a style="cursor: pointer">采购成本明细表</a></span>
|
||||||
<span class="am-text-primary"><a>项目管理成本表</a></span>
|
<span class="am-text-primary"><a style="cursor: pointer">项目管理成本表</a></span>
|
||||||
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
|
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="am-text-xl">
|
<tr class="am-text-xl">
|
||||||
|
@ -278,7 +278,7 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<span class="am-text-lg">管理</span>
|
<span class="am-text-lg">管理</span>
|
||||||
<span class="am-text-primary"><a>资金计划表</a></span>
|
<span class="am-text-primary"><a style="cursor: pointer">资金计划表</a></span>
|
||||||
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
|
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="am-text-xl">
|
<tr class="am-text-xl">
|
||||||
|
@ -321,7 +321,7 @@
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<span class="am-text-lg">现金流量表</span>
|
<span class="am-text-lg">现金流量表</span>
|
||||||
<span class="am-text-primary"><a>资金计划表</a></span>
|
<span class="am-text-primary"><a style="cursor: pointer">资金计划表</a></span>
|
||||||
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
|
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="am-text-xl">
|
<tr class="am-text-xl">
|
||||||
|
@ -391,6 +391,74 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="am-modal am-modal-prompt" style="width: 1000px;" tabindex="-1" id="my-prompt-income-detail">
|
||||||
|
<div class="am-modal-dialog">
|
||||||
|
<div class="am-modal-hd">新增销售收入明细表——${project.name}</div>
|
||||||
|
<div class="am-modal-bd">
|
||||||
|
<table class="am-table am-table-bordered am-table-radius table-main" style="padding:0;">
|
||||||
|
<tbody>
|
||||||
|
<tr class="am-text-xl">
|
||||||
|
<td>类别</td>
|
||||||
|
<td>名称</td>
|
||||||
|
<td>单位</td>
|
||||||
|
<td>数量</td>
|
||||||
|
<td>单价</td>
|
||||||
|
<td>税率(%)</td>
|
||||||
|
<td>含税总金额(元)</td>
|
||||||
|
<td>不含税金额(元)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<select data-am-selected>
|
||||||
|
<option value="1">设备类</option>
|
||||||
|
<option value="2">工程类</option>
|
||||||
|
<option value="3">服务类</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input"></td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input"></td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input"></td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input"></td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input"></td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input" readonly></td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input" readonly></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<select data-am-selected>
|
||||||
|
<option value="1">设备类</option>
|
||||||
|
<option value="2">工程类</option>
|
||||||
|
<option value="3">服务类</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input"></td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input"></td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input"></td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input"></td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input"></td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input" readonly></td>
|
||||||
|
<td><input type="text" class="am-modal-prompt-input" readonly></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div class="am-modal-footer">
|
||||||
|
<span class="am-modal-btn" data-am-modal-cancel>取消</span>
|
||||||
|
<span class="am-modal-btn" data-am-modal-confirm>提交</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--选项卡(tabs)end-->
|
<!--选项卡(tabs)end-->
|
||||||
<div class="am-margin">
|
<div class="am-margin">
|
||||||
<button type="button" class="am-btn am-btn-warning am-btn-xs" onclick="javascript:history.go(-1);">返回上一级</button>
|
<button type="button" class="am-btn am-btn-warning am-btn-xs" onclick="javascript:history.go(-1);">返回上一级</button>
|
||||||
|
@ -412,6 +480,18 @@
|
||||||
$("#pmsForm").attr("action","${base}/project/budgetEditSaveAndApprove");
|
$("#pmsForm").attr("action","${base}/project/budgetEditSaveAndApprove");
|
||||||
$("#pmsForm").submit();
|
$("#pmsForm").submit();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$("#income-detail").click(function () {
|
||||||
|
$('#my-prompt-income-detail').modal({
|
||||||
|
relatedTarget: this,
|
||||||
|
onConfirm: function(e) {
|
||||||
|
console.log(e);
|
||||||
|
alert('你输入的是:' + e.data || '')
|
||||||
|
},
|
||||||
|
onCancel: function(e) {
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</@defaultLayout.layout>
|
</@defaultLayout.layout>
|
||||||
|
|
Loading…
Reference in New Issue