本地生活订单结账状态显示
This commit is contained in:
parent
6f3efaf9a3
commit
f6b6423fbb
@ -152,15 +152,14 @@ class LocalStoreLogic extends Logic
|
||||
foreach ($lists as &$v) {
|
||||
$v['bank_card'] = $v['bank_card'] . ' ';
|
||||
$v['large_number'] = $v['large_number'] . ' ';
|
||||
if ($v['payment_type'] == 1) {
|
||||
$v['payment_type'] = self::$PAYMENT_TYPE[$v['payment_type']];
|
||||
} else {
|
||||
// 对私银行账户
|
||||
if ($v['payment_type'] == 2) {
|
||||
$res = LocalStore::where('lstore_id', $v['lstore_id'])->field('bank_user_name')->find();
|
||||
$v['payment_type'] = $res['bank_user_name'];
|
||||
$v['account_name'] = $res['bank_user_name'];
|
||||
}
|
||||
}
|
||||
$v['payment_type'] = self::$PAYMENT_TYPE[$v['payment_type']];
|
||||
|
||||
}
|
||||
|
||||
$excelFields = [
|
||||
'payment_type' => '收款方类型',
|
||||
'account_name' => '户名',
|
||||
|
||||
@ -25,6 +25,13 @@
|
||||
</div>
|
||||
|
||||
<table id="like-table-lists" lay-filter="like-table-lists"></table>
|
||||
<script type="text/html" id="is-checkout">
|
||||
{{# if(d.is_checkout == 1){ }}
|
||||
<span style="font-weight: bold;color: green;">已结账</span>
|
||||
{{# } else { }}
|
||||
未结账
|
||||
{{# } }}
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -41,6 +48,7 @@
|
||||
, {field: "bank_card", width: 240, align: "center", title: "银行卡号"}
|
||||
, {field: "large_number", width: 300, align: "center", title: "大额行号"}
|
||||
, {field: "separate_account", width: 300, align: "center", title: "分账金额"}
|
||||
, {field: "is_checkout", width: 300, align: "center", title: "是否结账", templet: '#is-checkout'}
|
||||
, {field: "tips", width: 300, align: "center", title: "交易附言"}
|
||||
, {field: "notes", width: 300, align: "center", title: "备注"}
|
||||
, {field: "create_time", width: 300, align: "center", title: "创建时间"}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user