作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

物流单号

<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('物流公司')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-shipper_code" data-rule="required" class="form-control" name="row[shipper_code]" type="text">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('物流单号')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-logistic_code" data-rule="required" class="form-control" name="row[logistic_code]" type="text">
... ...
... ... @@ -503,7 +503,10 @@
配送费:¥{$data.postage_total}
</span>
<span>
运单号:¥{$data.logistic_code}
物流公司:¥{$data.shipper_code}
</span>
<span>
物流单号:¥{$data.logistic_code}
</span>
<span>
商品金额:¥{$data.goods_total}
... ...
... ... @@ -41,6 +41,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
{field: 'city_name', title: __('City_name')},
{field: 'county_name', title: __('County_name')},
{field: 'address', title: __('Address')},
{field: 'shipper_code', title: __('物流公司')},
{field: 'logistic_code', title: __('运单号')},
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
{field: 'paytime', title: __('Paytime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
... ...