王晓迪
2 days ago
23 changed files with 537 additions and 134 deletions
@ -0,0 +1,74 @@ |
|||
<!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="container-div"> |
|||
<div class="row"> |
|||
<div class="col-sm-12 select-table table-striped"> |
|||
<table id="bootstrap-table"></table> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
<th:block th:include="include :: footer" /> |
|||
<script th:inline="javascript"> |
|||
var auditStatusDatas = [[${@dict.getType('auditStatus')}]]; |
|||
var isLatestDatas = [[${@dict.getType('is_latest')}]]; |
|||
var materialCode = /*[[${materialCode}]]*/ ''; |
|||
var supplierQuoteCode = /*[[${supplierQuoteCode}]]*/ ''; |
|||
|
|||
var prefix = ctx + "purchase/purchaseQuote"; |
|||
|
|||
$(function() { |
|||
var options = { |
|||
url: prefix + "/recentQuotationHistoryList", |
|||
modalName: "采购报价历史", |
|||
showSearch: false, |
|||
showRefresh: false, |
|||
showToggle: false, |
|||
queryParams: { |
|||
materialCode: materialCode, |
|||
supplierCode: supplierQuoteCode |
|||
}, |
|||
columns: [{ |
|||
checkbox: true |
|||
}, |
|||
{ |
|||
title: '报价历史id', |
|||
field: 'purchaseQuoteChildId', |
|||
visible: false |
|||
}, |
|||
{ |
|||
title: '报价时间', |
|||
field: 'createTime', |
|||
}, |
|||
{ |
|||
title: '物料的含税单价(RMB)', |
|||
field: 'materialRmb', |
|||
}, |
|||
{ |
|||
title: '物料的不含税单价(RMB)', |
|||
field: 'materialNormb', |
|||
}, |
|||
{ |
|||
title: '审核状态', |
|||
field: 'auditStatus', |
|||
formatter: function(value, row, index) { |
|||
return $.table.selectDictLabel(auditStatusDatas, value); |
|||
} |
|||
}, |
|||
{ |
|||
title: '是否是最新报价', |
|||
field: 'isLatest', |
|||
formatter: function(value, row, index) { |
|||
return $.table.selectDictLabel(isLatestDatas, value); |
|||
} |
|||
},] |
|||
}; |
|||
$.table.init(options); |
|||
}); |
|||
|
|||
</script> |
|||
</body> |
|||
</html> |
Loading…
Reference in new issue