Browse Source
修改采购报价新增页面页面错乱问题;采购报价物料列表页面加上最新报价历史数据;新增批量插入物料数据,采用异步请求完成对最新报价数据的填充;新增 查找最新的报价数据前端方法;新增最新报价历史前端方法 采购报价Controller层新增 打开采购报价历史弹窗方法,新增 查询客户报价历史列表方法;新增查询最新报价历史数据方法, 采购报价实体类修复不含税单价和含税单价错乱问题 修复所有采购报价历史url错误问题 新增采购报价历史前端列表页面dev
liuxiaoxu
3 days ago
9 changed files with 280 additions and 65 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, |
|||
supplierQuoteCode: 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