记得上下班打卡 | git大法好,push需谨慎

Commit 82e85c44 authored by jiangxiulong's avatar jiangxiulong

快递方式

parent bae6ea6c
......@@ -62,16 +62,27 @@
<!-- 包含取消的3 未下单null 下单失败1 -->
<option value="1">未下单</option>
<option value="2">已下单</option>
<!-- <option value="50">已揽收</option>-->
<!-- <option value="50">已揽收</option>-->
<option value="70">运输中</option>
<option value="80">已签收</option>
</select>
</li>
<li>
<label>快递方式:</label>
<select name="prizeType"
th:with="type=${@dict.getType('zhengzai_kylin_express_type')}">
<option value="">全部</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
th:value="${dict.dictValue}"></option>
</select>
</li>
<li>
<label>票种:</label>
<select name="ticketsId">
<option value="">所有</option>
<option th:each="ticket : ${performancesTicketList}" th:text="${ticket.title +'/'+ ticket.timeTitle}" th:value="${ticket.ticketsId}"></option>
<option th:each="ticket : ${performancesTicketList}"
th:text="${ticket.title +'/'+ ticket.timeTitle}"
th:value="${ticket.ticketsId}"></option>
</select>
</li>
<li>
......@@ -112,6 +123,8 @@
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
var expressType = [[${@dict.getType('zhengzai_kylin_express_type')}]];
var placeOrderFlag = [[${@permission.hasPermi('kylin:performancesExpress:placeOrder')}]];
var cancelOrderFlag = [[${@permission.hasPermi('kylin:performancesExpress:cancelOrder')}]];
var getResultFlag = [[${@permission.hasPermi('kylin:performancesExpress:getResult')}]];
......@@ -428,19 +441,9 @@
{
field: '',
title: '快递方式',
formatter: function (value, row, index) {
var expressType = '';
var freightPrice = row.freightPrice;
if (row.expressType == 1) {
expressType = "寄付";
} else {
expressType = "到付";
}
if (null == freightPrice) {
freightPrice = '';
}
return expressType;
// return '快递方式:'+expressType+'<br>'+'已支付快递费:'+row.priceExpress+'<br>'+'预估快递费:'+freightPrice;
formatter: function (value, row) {
let dictLabel = $.table.selectDictLabel(prizeType, value);
return '快递方式:' + dictLabel + '<br>' + '已支付快递费:' + row.priceExpress;
}
},
{
......
......@@ -21,6 +21,7 @@ public class PerformanceExpressPerformanceOrderListAdminDao {
String expressAddress;
String expressPhone;
// 1寄付|2到付|3包邮
Integer expressType;
String orderExpressId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment