运费模板
parent
6c622fcdaa
commit
4905972568
|
|
@ -10,6 +10,7 @@
|
|||
// +----------------------------------------------------------------------
|
||||
namespace app\plugins\freightfee;
|
||||
|
||||
use think\Db;
|
||||
use think\Controller;
|
||||
use app\service\PluginsService;
|
||||
use app\service\RegionService;
|
||||
|
|
@ -36,6 +37,15 @@ class Admin extends Controller
|
|||
$ret = PluginsService::PluginsData('freightfee');
|
||||
if($ret['code'] == 0)
|
||||
{
|
||||
// 数据处理
|
||||
if(!empty($ret['data']['data']))
|
||||
{
|
||||
foreach($ret['data']['data'] as &$v)
|
||||
{
|
||||
$v['region_names'] = empty($v['region_show']) ? '' : implode('、', Db::name('Region')->where('id', 'in', explode('-', $v['region_show']))->column('name'));
|
||||
}
|
||||
}
|
||||
|
||||
$this->assign('data', $ret['data']);
|
||||
return $this->fetch('../../../plugins/view/freightfee/admin/index');
|
||||
} else {
|
||||
|
|
@ -73,7 +83,14 @@ class Admin extends Controller
|
|||
}, $region);
|
||||
}
|
||||
|
||||
//print_r($ret['data']);
|
||||
// 数据处理
|
||||
if(!empty($ret['data']['data']))
|
||||
{
|
||||
foreach($ret['data']['data'] as &$v)
|
||||
{
|
||||
$v['region_names'] = empty($v['region_show']) ? '' : implode('、', Db::name('Region')->where('id', 'in', explode('-', $v['region_show']))->column('name'));
|
||||
}
|
||||
}
|
||||
|
||||
$this->assign('region_list', $region);
|
||||
$this->assign('is_whether_list', $is_whether_list);
|
||||
|
|
|
|||
|
|
@ -10,61 +10,63 @@
|
|||
|
||||
<div class="freightfee-content">
|
||||
<div class="items">
|
||||
<label>应用导航名称</label>
|
||||
<label>计价方式</label>
|
||||
<div>
|
||||
{{if !empty($data['application_name'])}}
|
||||
{{$data.application_name}}
|
||||
{{if isset($data['valuation']) and $data['valuation'] eq 0}}
|
||||
按件数
|
||||
{{else /}}
|
||||
无
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="items">
|
||||
<label>登录入口名称</label>
|
||||
<div>
|
||||
{{if !empty($data['login_name'])}}
|
||||
{{$data.login_name}}
|
||||
{{else /}}
|
||||
游客登录
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="items">
|
||||
<label>游客用户名</label>
|
||||
<div>
|
||||
{{if !empty($data['nickname'])}}
|
||||
{{$data.nickname}}
|
||||
{{else /}}
|
||||
游客
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="items">
|
||||
<label>订单查询提示</label>
|
||||
<div>
|
||||
{{if !empty($data['query_tips'])}}
|
||||
{{$data.query_tips}}
|
||||
{{else /}}
|
||||
无
|
||||
按重量
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="items">
|
||||
<label>默认游客登录</label>
|
||||
<div>
|
||||
{{if isset($data['is_default_tourist']) and $data['is_default_tourist'] eq 1}}
|
||||
是
|
||||
{{else /}}
|
||||
否
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="items">
|
||||
<label>订单查询地址</label>
|
||||
<div>
|
||||
<a href="{{:PluginsHomeUrl('freightfee', 'index', 'index')}}" target="_blank">{{:PluginsHomeUrl('freightfee', 'index', 'index')}}</a>
|
||||
<label>运费模板</label>
|
||||
<div class="freightfee-rules">
|
||||
<table class="am-table am-table-striped">
|
||||
{{if empty($data['data'])}}
|
||||
没有配置
|
||||
{{else /}}
|
||||
{{if isset($data['valuation']) and $data['valuation'] eq 0}}
|
||||
<thead>
|
||||
<tr>
|
||||
<th>运送到</th>
|
||||
<th>首件数(件)</th>
|
||||
<th>首费(元)</th>
|
||||
<th>续件数(件)</th>
|
||||
<th>续费(元)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{{else /}}
|
||||
<thead>
|
||||
<tr>
|
||||
<th>运送到</th>
|
||||
<th>首件数(kg)</th>
|
||||
<th>首费(元)</th>
|
||||
<th>续件数(kg)</th>
|
||||
<th>续费(元)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{{/if}}
|
||||
<tbody>
|
||||
{{foreach $data.data as $k=>$v}}
|
||||
<tr class="data-list-{{$k}}">
|
||||
<td class="first">
|
||||
{{if $v['region'] eq 'default'}}
|
||||
默认运费
|
||||
{{else /}}
|
||||
<div class="region-td">{{$v.region_names}}</div>
|
||||
{{/if}}
|
||||
</td>
|
||||
<td>{{$v.first}}</td>
|
||||
<td>{{$v.first_price}}</td>
|
||||
<td>{{$v.continue}}</td>
|
||||
<td>{{$v.continue_price}}</td>
|
||||
</tr>
|
||||
{{/foreach}}
|
||||
</tbody>
|
||||
{{/if}}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -23,37 +23,138 @@
|
|||
|
||||
<div class="business-form-block freightfee-rules">
|
||||
<table class="am-table am-table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>运送到</th>
|
||||
<th>首件数(件)</th>
|
||||
<th>首费(元)</th>
|
||||
<th>续件数(件)</th>
|
||||
<th>续费(元)</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div class="region-td none"></div>默认运费
|
||||
<input type="text" class="am-radius region-name" name="region_name[0]['region']" data-validation-message="请选择地区" value="default" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius first-name" name="first_name[0]['first']" min="1" max="9999" data-validation-message="输入 1~9999 的整数" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius first-price-name" name="first_price_name[0]['first_price']" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,小数保留两位" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius continue-name" name="continue_name[0]['continue']" min="1" max="9999" data-validation-message="输入 1~9999 的整数" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius continue-price-name" name="continue_price_name[0]['continue_price']" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,且不能大于首费,小数保留两位" required />
|
||||
</td>
|
||||
<td><!--operation--></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
{{if empty($data['data'])}}
|
||||
<thead>
|
||||
<tr>
|
||||
<th>运送到</th>
|
||||
<th>首件数(件)</th>
|
||||
<th>首费(元)</th>
|
||||
<th>续件数(件)</th>
|
||||
<th>续费(元)</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="first">
|
||||
<div class="region-td none"></div>默认运费
|
||||
<input type="text" class="am-radius region-name" name="data[0][region]" data-validation-message="请选择地区" value="default" required />
|
||||
<input type="hidden" class="am-radius region-name-show" name="data[0][region_show]" value="" />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius first-name" name="data[0][first]" min="1" max="9999" data-validation-message="输入 1~9999 的整数" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius first-price-name" name="data[0][first_price]" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,小数保留两位" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius continue-name" name="data[0][continue]" min="1" max="9999" data-validation-message="输入 1~9999 的整数" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius continue-price-name" name="data[0][continue_price]" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,且不能大于首费,小数保留两位" required />
|
||||
</td>
|
||||
<td><!--operation--></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
{{else /}}
|
||||
{{if isset($data['valuation']) and $data['valuation'] eq 0}}
|
||||
<thead>
|
||||
<tr>
|
||||
<th>运送到</th>
|
||||
<th>首件数(件)</th>
|
||||
<th>首费(元)</th>
|
||||
<th>续件数(件)</th>
|
||||
<th>续费(元)</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{foreach $data.data as $k=>$v}}
|
||||
<tr class="data-list-{{$k}}">
|
||||
<td class="first">
|
||||
{{if $v['region'] eq 'default'}}
|
||||
<div class="region-td none"></div>默认运费
|
||||
<input type="text" class="am-radius region-name" name="data[{{$k}}][region]" data-validation-message="请选择地区" value="default" required />
|
||||
<input type="hidden" class="am-radius region-name-show" name="data[{{$k}}][region_show]" value="{{$v.region}}" />
|
||||
{{else /}}
|
||||
<div class="region-td">{{$v.region_names}}</div>
|
||||
<span class="fs-12 cr-blue c-p line-edit" data-index="{{$k}}">添加地区</span>
|
||||
<input type="text" class="am-radius region-name" name="data[{{$k}}][region]" data-validation-message="请选择地区" value="{{$v.region}}" required />
|
||||
<input type="hidden" class="am-radius region-name-show" name="data[{{$k}}][region_show]" value="{{$v.region}}" />
|
||||
{{/if}}
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius first-name" name="data[{{$k}}][first]" min="1" max="9999" data-validation-message="输入 1~9999 的整数" value="{{$v.first}}" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius first-price-name" name="data[{{$k}}][first_price]" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,小数保留两位" value="{{$v.first_price}}" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius continue-name" name="data[{{$k}}][continue]" min="1" max="9999" data-validation-message="输入 1~9999 的整数" value="{{$v.continue}}" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius continue-price-name" name="data[{{$k}}][continue_price]" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,且不能大于首费,小数保留两位" value="{{$v.continue_price}}" required />
|
||||
</td>
|
||||
{{if $v['region'] eq 'default'}}
|
||||
<td><!--operation--></td>
|
||||
{{else /}}
|
||||
<td>
|
||||
<span class="fs-12 cr-red c-p line-remove">删除</span>
|
||||
</td>
|
||||
{{/if}}
|
||||
</tr>
|
||||
{{/foreach}}
|
||||
</tbody>
|
||||
{{else /}}
|
||||
<thead>
|
||||
<tr>
|
||||
<th>运送到</th>
|
||||
<th>首件数(kg)</th>
|
||||
<th>首费(元)</th>
|
||||
<th>续件数(kg)</th>
|
||||
<th>续费(元)</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{foreach $data.data as $k=>$v}}
|
||||
<tr class="data-list-{{$k}}">
|
||||
<td class="first">
|
||||
{{if $v['region'] eq 'default'}}
|
||||
<div class="region-td none"></div>默认运费
|
||||
<input type="text" class="am-radius region-name" name="data[{{$k}}][region]" data-validation-message="请选择地区" value="default" required />
|
||||
<input type="hidden" class="am-radius region-name-show" name="data[{{$k}}][region_show]" value="{{$v.region}}" />
|
||||
{{else /}}
|
||||
<div class="region-td">{{$v.region_names}}</div>
|
||||
<span class="fs-12 cr-blue c-p line-edit" data-index="{{$k}}">添加地区</span>
|
||||
<input type="text" class="am-radius region-name" name="data[{{$k}}][region]" data-validation-message="请选择地区" value="{{$v.region}}" required />
|
||||
<input type="hidden" class="am-radius region-name-show" name="data[{{$k}}][region_show]" value="{{$v.region}}" />
|
||||
{{/if}}
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius first-name" name="data[{{$k}}][first]" min="0.1" max="9999.0" step="0.1" data-validation-message="输入 0.1~9999.9 的数字,小数保留1位" value="{{$v.first}}" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius first-price-name" name="data[{{$k}}][first_price]" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,小数保留两位" value="{{$v.first_price}}" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius continue-name" name="data[{{$k}}][continue]" min="0.1" max="9999.0" step="0.1" data-validation-message="输入 0.1~9999.9 的数字,小数保留1位"value="{{$v.continue}}" required />
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="am-radius continue-price-name" name="data[{{$k}}][continue_price]" min="0.00" max="999.99" step="0.01" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,且不能大于首费,小数保留两位" value="{{$v.continue_price}}" required />
|
||||
</td>
|
||||
{{if $v['region'] eq 'default'}}
|
||||
<td><!--operation--></td>
|
||||
{{else /}}
|
||||
<td>
|
||||
<span class="fs-12 cr-red c-p line-remove">删除</span>
|
||||
</td>
|
||||
{{/if}}
|
||||
</tr>
|
||||
{{/foreach}}
|
||||
</tbody>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</table>
|
||||
<span class="business-operations-submit rules-submit-add">+为指定地区城市设置运费</span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* 编辑页面
|
||||
* 运费模板
|
||||
*/
|
||||
.freightfee-rules table.am-table {
|
||||
margin-bottom: 10px;
|
||||
|
|
|
|||
|
|
@ -38,18 +38,20 @@ $(function()
|
|||
case 0 :
|
||||
html += '<tr>';
|
||||
html += '<td class="first"><div class="region-td none"></div>默认运费';
|
||||
html += '<input type="text" class="am-radius region-name" name="region_name[0][\'region\']" data-validation-message="请选择地区" value="default" required /></td>';
|
||||
html += '<td>';
|
||||
html += '<input type="number" class="am-radius first-name" name="first_name[0][\'first\']" min="1" max="9999" data-validation-message="输入 1~9999 的整数" required />';
|
||||
html += '<input type="text" class="am-radius region-name" name="data[0][region]" data-validation-message="请选择地区" value="default" required />';
|
||||
html += '<input type="hidden" class="am-radius region-name-show" name="data[0][region_show]" value="" />';
|
||||
html += '</td>';
|
||||
html += '<td>';
|
||||
html += '<input type="number" class="am-radius first-price-name" name="first_price_name[0][\'first_price\']" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,小数保留两位" required />';
|
||||
html += '<input type="number" class="am-radius first-name" name="data[0][first]" min="1" max="9999" data-validation-message="输入 1~9999 的整数" required />';
|
||||
html += '</td>';
|
||||
html += '<td>';
|
||||
html += '<input type="number" class="am-radius continue-name" name="continue_name[0][\'continue\']" min="1" max="9999" data-validation-message="输入 1~9999 的整数" required />';
|
||||
html += '<input type="number" class="am-radius first-price-name" name="data[0][first_price]" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,小数保留两位" required />';
|
||||
html += '</td>';
|
||||
html += '<td>';
|
||||
html += '<input type="number" class="am-radius continue-price-name" name="continue_price_name[0][\'continue_price\']" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,且不能大于首费,小数保留两位" required />';
|
||||
html += '<input type="number" class="am-radius continue-name" name="data[0][continue]" min="1" max="9999" data-validation-message="输入 1~9999 的整数" required />';
|
||||
html += '</td>';
|
||||
html += '<td>';
|
||||
html += '<input type="number" class="am-radius continue-price-name" name="data[0][continue_price]" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,且不能大于首费,小数保留两位" required />';
|
||||
html += '</td>';
|
||||
html += '<td><!--operation--></td>';
|
||||
html += '</tr>';
|
||||
|
|
@ -59,18 +61,20 @@ $(function()
|
|||
case 1 :
|
||||
html += '<tr>';
|
||||
html += '<td class="first"><div class="region-td none"></div>默认运费';
|
||||
html += '<input type="text" class="am-radius region-name" name="region_name[0][\'region\']" data-validation-message="请选择地区" value="default" required /></td>';
|
||||
html += '<td>';
|
||||
html += '<input type="number" class="am-radius first-name" name="first_name[0][\'first\']" min="0.1" max="9999.0" step="0.1" data-validation-message="输入 0.1~9999.9 的数字,小数保留1位" required />';
|
||||
html += '<input type="text" class="am-radius region-name" name="data[0][region]" data-validation-message="请选择地区" value="default" required />';
|
||||
html += '<input type="hidden" class="am-radius region-name-show" name="data[0][region_show]" value="" />';
|
||||
html += '</td>';
|
||||
html += '<td>';
|
||||
html += '<input type="number" class="am-radius first-price-name" name="first_price_name[0][\'first_price\']" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,小数保留两位" required />';
|
||||
html += '<input type="number" class="am-radius first-name" name="data[0][first]" min="0.1" max="9999.0" step="0.1" data-validation-message="输入 0.1~9999.9 的数字,小数保留1位" required />';
|
||||
html += '</td>';
|
||||
html += '<td>';
|
||||
html += '<input type="number" class="am-radius continue-name" name="continue_name[0][\'continue\']" min="0.1" max="9999.0" step="0.1" data-validation-message="输入 0.1~9999.9 的数字,小数保留1位" required />';
|
||||
html += '<input type="number" class="am-radius first-price-name" name="data[0][first_price]" min="0.00" max="999.99" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,小数保留两位" required />';
|
||||
html += '</td>';
|
||||
html += '<td>';
|
||||
html += '<input type="number" class="am-radius continue-price-name" name="continue_price_name[0][\'continue_price\']" min="0.00" max="999.99" step="0.01" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,且不能大于首费,小数保留两位" required />';
|
||||
html += '<input type="number" class="am-radius continue-name" name="data[0][continue]" min="0.1" max="9999.0" step="0.1" data-validation-message="输入 0.1~9999.9 的数字,小数保留1位" required />';
|
||||
html += '</td>';
|
||||
html += '<td>';
|
||||
html += '<input type="number" class="am-radius continue-price-name" name="data[0][continue_price]" min="0.00" max="999.99" step="0.01" step="0.01" data-validation-message="应输入 0.00~999.99 的数字,且不能大于首费,小数保留两位" required />';
|
||||
html += '</td>';
|
||||
html += '<td><!--operation--></td>';
|
||||
html += '</tr>';
|
||||
|
|
@ -121,11 +125,12 @@ $(function()
|
|||
$('.freightfee-rules table.am-table').find('tbody tr:last').removeClass().addClass('data-list-'+index);
|
||||
|
||||
// name名称设置
|
||||
$('.freightfee-rules table.am-table').find('tbody tr:last .region-name').attr('name', 'region_name['+index+'][\'region\']');
|
||||
$('.freightfee-rules table.am-table').find('tbody tr:last .first-name').attr('name', 'first_name['+index+'][\'first\']');
|
||||
$('.freightfee-rules table.am-table').find('tbody tr:last .first-price-name').attr('name', 'first_price_name['+index+'][\'first_price\']');
|
||||
$('.freightfee-rules table.am-table').find('tbody tr:last .continue-name').attr('name', 'continue_name['+index+'][\'continue\']');
|
||||
$('.freightfee-rules table.am-table').find('tbody tr:last .continue-price-name').attr('name', 'continue_price_name['+index+'][\'continue_price\']');
|
||||
$('.freightfee-rules table.am-table').find('tbody tr:last .region-name').attr('name', 'data['+index+'][region]');
|
||||
$('.freightfee-rules table.am-table').find('tbody tr:last .region-name-show').attr('name', 'data['+index+'][region_show]');
|
||||
$('.freightfee-rules table.am-table').find('tbody tr:last .first-name').attr('name', 'data['+index+'][first]');
|
||||
$('.freightfee-rules table.am-table').find('tbody tr:last .first-price-name').attr('name', 'data['+index+'][first_price]');
|
||||
$('.freightfee-rules table.am-table').find('tbody tr:last .continue-name').attr('name', 'data['+index+'][continue]');
|
||||
$('.freightfee-rules table.am-table').find('tbody tr:last .continue-price-name').attr('name', 'data['+index+'][continue_price]');
|
||||
});
|
||||
|
||||
// 行移除
|
||||
|
|
@ -141,7 +146,7 @@ $(function()
|
|||
$('#freightfee-region-popup').modal();
|
||||
$('#freightfee-region-popup').attr('data-index', index);
|
||||
|
||||
// 清楚选中
|
||||
// 清除选中
|
||||
$('#freightfee-region-popup').find('.province-name').removeClass('selected').removeClass('selected-may');
|
||||
$('#freightfee-region-popup').find('.city-name').parent('li').removeClass('selected');
|
||||
|
||||
|
|
@ -216,6 +221,7 @@ $(function()
|
|||
{
|
||||
var name_all = [];
|
||||
var ids_all = [];
|
||||
var show_ids_all = [];
|
||||
var city_index = 0;
|
||||
var province_index = 0;
|
||||
var province_id = 0;
|
||||
|
|
@ -229,12 +235,14 @@ $(function()
|
|||
{
|
||||
province_id = temp_province_id;
|
||||
name_all[province_index] = $(this).parent('.city-list').prev('.province-name').text();
|
||||
show_ids_all[province_index] = temp_province_id;
|
||||
province_index++;
|
||||
}
|
||||
} else {
|
||||
if($(this).hasClass('selected'))
|
||||
{
|
||||
name_all[province_index] = $(this).find('.city-name').text();
|
||||
show_ids_all[province_index] = $(this).find('.city-name').data('city-id');
|
||||
province_index++;
|
||||
}
|
||||
}
|
||||
|
|
@ -253,7 +261,8 @@ $(function()
|
|||
$content.addClass('none');
|
||||
}
|
||||
|
||||
$('.data-list-'+$('#freightfee-region-popup').attr('data-index')+' td.first input').val(ids_all.join('-'));
|
||||
$('.data-list-'+$('#freightfee-region-popup').attr('data-index')+' td.first input.region-name').val(ids_all.join('-'));
|
||||
$('.data-list-'+$('#freightfee-region-popup').attr('data-index')+' td.first input.region-name-show').val(show_ids_all.join('-'));
|
||||
|
||||
$('#freightfee-region-popup').modal('close');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue