unis_sip/ruoyi-admin/src/main/resources/templates/manage/delivery/selectOrder.html

56 lines
1.2 KiB
HTML
Raw Normal View History

2025-04-23 03:55:11 +00:00
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('关联合同')" />
</head>
<body class="gray-bg">
<div class="col-sm-12 select-table table-striped" >
<table id="bootstrap-table"></table>
</div>
<th:block th:include="include :: footer" />
<script>
var prefixOrder = ctx + "manage/order";
$(function() {
var options = {
url: prefixOrder + "/list",
showSearch:false,
showColumns:false,
showToggle:false,
showPageGo:true,
params:{
},
onClickRow:function (row,event) {
$(parent[parent.length-2].document).find("input[name='orderId']").val(row.id)
$(parent[parent.length-2].document).find("input[name='orderName']").val(row.orderName)
$.modal.close();
},
columns: [{
checkbox: false,
},
{
field: 'id',
title: '主键',
},
{
field: 'orderCode',
title: '合同编号'
},
{
field: 'orderName',
title: '合同名称'
},
]
};
$.table.init(options);
});
</script>
</body>
</html>