368 lines
31 KiB
HTML
368 lines
31 KiB
HTML
<!-- 规格快捷操作 -->
|
|
<div class="spec-quick am-margin-bottom-lg">
|
|
<div class="am-flex am-gap-32">
|
|
<!-- 规格模板 -->
|
|
<div class="am-inline-block business-operations-submit" id="specifications-quick-container"
|
|
data-spec-template-tips="{{:MyLang('common_service.goods.form_spec_template_tips')}}"
|
|
data-spec-template-name-tips="{{:MyLang('common_service.goods.form_spec_template_name_exist_tips')}}"
|
|
>
|
|
<select class="am-radius chosen-select" data-placeholder="{{:MyLang('common_service.goods.form_spec_template_placeholder')}}" data-validation-message="{{:MyLang('common_service.goods.form_spec_template_message')}}">
|
|
<option value="">{{:MyLang('common_service.goods.form_spec_template_placeholder')}}</option>
|
|
{{if !empty($goods_base_template) and !empty($goods_base_template['spec']) and is_array($goods_base_template['spec'])}}
|
|
{{foreach $goods_base_template.spec as $v}}
|
|
<option value="{{$v.content}}" data-origin-name="{{$v.name}}">{{$v.name}}</option>
|
|
{{/foreach}}
|
|
{{/if}}
|
|
</select>
|
|
</div>
|
|
<div class="am-flex am-gap-2">
|
|
<span class="business-operations-submit quick-spec-title-add">
|
|
<i class="iconfont icon-add"></i>
|
|
{{:MyLang('common_service.goods.form_spec_quick_add_title')}}
|
|
</span>
|
|
<span class="business-operations-submit quick-spec-created">
|
|
<i class="iconfont icon-check"></i>
|
|
{{:MyLang('common_service.goods.form_spec_quick_generate_title')}}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="goods-specifications am-margin-top-sm" {{if empty($data['spec_base'])}}style="display: none;"{{/if}}>
|
|
<table class="am-table am-table-bordered am-table-centered am-table-striped am-table-hover table-thead-beautify am-border-0">
|
|
<thead>
|
|
<tr>
|
|
<th class="spec-quick-th-title">{{:MyLang('common_service.goods.form_spec_type_title')}}</th>
|
|
<th class="spec-quick-th-value">{{:MyLang('common_service.goods.form_spec_value_title')}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{if !empty($data['spec_base'])}}
|
|
{{foreach $data.spec_base as $spec_base_key=>$spec_base}}
|
|
<tr>
|
|
<td class="am-text-middle">
|
|
<div class="am-flex am-flex-items-center am-gap-1">
|
|
<input type="text" value="{{$spec_base.title}}" name="spec_base_title_{{$spec_base_key}}" placeholder="{{:MyLang('common_service.goods.form_spec_type_title')}}" class="am-radius" />
|
|
<i class="am-close quick-title-remove iconfont icon-delete am-text-primary"></i>
|
|
</div>
|
|
</td>
|
|
<td class="spec-quick-td-value am-cf">
|
|
<div class="am-flex am-flex-warp am-gap-1">
|
|
{{if !empty($spec_base['value'])}}
|
|
{{foreach $spec_base.value as $value}}
|
|
<div class="am-fl value-item">
|
|
<div class="am-flex am-flex-items-center am-gap-1">
|
|
<input type="text" class="am-fl am-radius" name="spec_base_value_{{$spec_base_key}}[]" value="{{$value}}" placeholder="{{:MyLang('common_service.goods.form_spec_value_title')}}" />
|
|
<i class="am-close quick-value-remove iconfont icon-delete am-text-primary"></i>
|
|
</div>
|
|
</div>
|
|
{{/foreach}}
|
|
{{/if}}
|
|
<div class="am-fl value-item am-text-left"><span class="business-operations-submit quick-spec-value-add" data-index="{{$spec_base_key}}">+ {{:MyLang('common_service.goods.form_spec_value_add_title')}}</span>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
{{/foreach}}
|
|
{{/if}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 规格常规操作 -->
|
|
<div class="am-form-group am-padding-0">
|
|
<label>批量设置<a href="javascript:;" class="am-icon-question-circle am-margin-left-xs" data-am-popover="{content: '{{:MyLang('common_service.goods.form_spec_list_content_tips')}}', trigger: 'hover focus', theme: 'sm'}"></a></label>
|
|
<div>
|
|
<span class="business-operations-submit specifications-nav-title-add">
|
|
<i class="iconfont icon-add"></i>
|
|
{{:MyLang('common_service.goods.form_spec_add_column_title')}}
|
|
</span>
|
|
<span class="business-operations-submit am-margin-left-sm specifications-nav-set-all" data-am-modal="{target: '#spec-popup-all-operation'}">
|
|
<i class="iconfont icon-cog"></i>
|
|
{{:MyLang('common_service.goods.form_spec_advanced_batch_setup_title')}}
|
|
</span>
|
|
<span class="am-text-warning am-margin-left-sm"></span>
|
|
</div>
|
|
<div class="goods-specifications">
|
|
<!-- 规格列表 -->
|
|
<div class="specifications-container am-scrollable-horizontal">
|
|
<table class="am-table am-table-bordered am-table-centered specifications-table am-margin-bottom-sm am-table-striped am-table-hover table-thead-beautify am-margin-bottom-0"
|
|
data-spec-add-max-number="{{:MyC('common_spec_add_max_number', 3, true)}}"
|
|
data-spec-max-error="{{:MyLang('common_service.goods.form_spec_max_error')}}"
|
|
data-spec-type-name="{{:MyLang('common_service.goods.form_spec_type_title')}}"
|
|
data-spec-value-name="{{:MyLang('common_service.goods.form_spec_value_title')}}"
|
|
data-spec-type-message="{{:MyLang('common_service.goods.form_spec_type_message')}}"
|
|
data-spec-value-message="{{:MyLang('common_service.goods.form_spec_value_message')}}"
|
|
data-spec-empty-data-tips="{{:MyLang('common_service.goods.form_spec_empty_data_tips')}}"
|
|
data-spec-empty-fill-tips="{{:MyLang('common_service.goods.form_spec_empty_fill_tips')}}"
|
|
data-spec-images-name="{{:MyLang('form_upload_images_title')}}"
|
|
data-spec-images-message="{{:MyLang('common_service.goods.form_spec_images_message')}}"
|
|
data-spec-add-value-message="{{:MyLang('common_service.goods.form_spec_value_add_title')}}"
|
|
data-spec-min-tips-message="{{:MyLang('common_service.goods.form_spec_min_tips_message')}}"
|
|
data-spec-all-name="{{:MyLang('all_title')}}"
|
|
data-spec-quick-error="{{:MyLang('common_service.goods.form_spec_quick_error')}}"
|
|
data-spec-quick-tips-title="{{:MyLang('reminder_title')}}"
|
|
data-spec-quick-tips-msg="{{:MyLang('common_service.goods.form_spec_quick_tips_msg')}}"
|
|
data-spec-quick-success="{{:MyLang('created_success')}}"
|
|
data-move-type-tips="{{:MyLang('common_service.goods.form_spec_move_type_tips')}}"
|
|
data-move-top-tips="{{:MyLang('common_service.goods.form_spec_move_top_tips')}}"
|
|
data-move-bottom-tips="{{:MyLang('common_service.goods.form_spec_move_bottom_tips')}}"
|
|
>
|
|
<thead class="title-nav">
|
|
<tr>
|
|
{{if !empty($specifications['type'])}}
|
|
{{foreach $specifications.type as $type_v}}
|
|
<th class="table-title table-title-{{$type_v.id}}">
|
|
<div class="am-flex am-am-flex-items-center am-gap-1">
|
|
<input type="text" name="specifications_name_{{$type_v.id}}" placeholder="{{:MyLang('common_service.goods.form_spec_type_title')}}" value="{{$type_v.name}}" data-validation-message="{{:MyLang('common_service.goods.form_spec_type_message')}}" class="am-radius" data-is-clearout="0" required />
|
|
<i class="am-close title-nav-remove iconfont icon-delete am-text-primary" data-index="{{$type_v.id}}"></i>
|
|
</div>
|
|
</th>
|
|
{{/foreach}}
|
|
{{/if}}
|
|
<th class="title-start">
|
|
<span>{{:MyLang('common_service.goods.form_spec_thead_price_title')}}</span>
|
|
<i class="iconfont icon-edit am-fr"></i>
|
|
</th>
|
|
<th>
|
|
<span>{{:MyLang('common_service.goods.form_spec_thead_original_price_title')}}</span>
|
|
<i class="iconfont icon-edit am-fr"></i>
|
|
</th>
|
|
<th>
|
|
<span>{{:MyLang('common_service.goods.form_spec_thead_buy_min_number_title')}}</span>
|
|
<i class="iconfont icon-edit am-fr"></i>
|
|
</th>
|
|
<th>
|
|
<span>{{:MyLang('common_service.goods.form_spec_thead_buy_max_number_title')}}</span>
|
|
<i class="iconfont icon-edit am-fr"></i>
|
|
</th>
|
|
<th>
|
|
<span>{{:MyLang('common_service.goods.form_spec_thead_weight_title')}}</span>
|
|
<i class="iconfont icon-edit am-fr"></i>
|
|
</th>
|
|
<th>
|
|
<span>{{:MyLang('common_service.goods.form_spec_thead_volume_title')}}</span>
|
|
<i class="iconfont icon-edit am-fr"></i>
|
|
</th>
|
|
<th>
|
|
<span>{{:MyLang('common_service.goods.form_spec_thead_coding_title')}}</span>
|
|
<i class="iconfont icon-edit am-fr"></i>
|
|
</th>
|
|
<th>
|
|
<span>{{:MyLang('common_service.goods.form_spec_thead_barcode_title')}}</span>
|
|
<i class="iconfont icon-edit am-fr"></i>
|
|
</th>
|
|
<th class="extend-btn">{{:MyLang('extend_title')}}</th>
|
|
<th class="operation-btn">{{:MyLang('operate_title')}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{if empty($specifications['value'])}}
|
|
<tr class="line-0" data-line-tag=".line-0">
|
|
<td class="am-text-middle value-start">
|
|
<input type="text" name="specifications_price[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_price_title')}}" class="am-radius" pattern="{{$default_price_regex}}" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_price_message')}}" data-is-clearout="0" required />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="text" name="specifications_original_price[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_original_price_title')}}" class="am-radius" pattern="{{$default_price_regex}}" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_original_price_message')}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="number" name="specifications_buy_min_number[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_buy_min_number_title')}}" class="am-radius" min="0" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_buy_min_number_message')}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="number" name="specifications_buy_max_number[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_buy_max_number_title')}}" class="am-radius" min="0" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_buy_max_number_message')}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="number" name="specifications_weight[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_weight_title')}}" class="am-radius" min="0.00" max="100000000.00" step="0.01" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_weight_message')}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="number" name="specifications_volume[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_volume_title')}}" class="am-radius" min="0.00" max="100000000.00" step="0.01" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_volume_message')}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="text" name="specifications_coding[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_coding_title')}}" class="am-radius" maxlength="60" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_coding_message')}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="text" name="specifications_barcode[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_barcode_title')}}" class="am-radius" maxlength="60" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_barcode_message')}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="hidden" name="specifications_extends[]" class="line-extend-input" />
|
|
<a href="javascript:;" class="am-text-xs am-text-primary line-extend-btn">{{:MyLang('edit_title')}}</a>
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<a href="javascript:;" class="am-text-xs am-text-primary am-margin-right-sm line-move" data-type="top">{{:MyLang('moveup_title')}}</a>
|
|
<a href="javascript:;" class="am-text-xs am-text-primary am-margin-right-sm line-move" data-type="bottom">{{:MyLang('movedown_title')}}</a>
|
|
<a href="javascript:;" class="am-text-xs am-text-primary am-margin-right-xs line-copy">{{:MyLang('copy_title')}}</a>
|
|
<a href="javascript:;" class="am-text-xs am-text-danger line-remove">{{:MyLang('remove_title')}}</a>
|
|
</td>
|
|
</tr>
|
|
{{/if}}
|
|
|
|
{{if !empty($specifications['value'])}}
|
|
{{foreach $specifications.value as $line_k=>$line_v}}
|
|
<tr class="line-{{$line_k}} {{if $line_k gt 0}} line-not-first{{/if}}" data-line-tag=".line-{{$line_k}}">
|
|
{{foreach $line_v as $v}}
|
|
{{if isset($v['data_type'])}}
|
|
{{switch v.data_type}}
|
|
{{case spec}}
|
|
<td class="am-text-middle table-value table-value-{{$v.data.key}}">
|
|
<input type="text" name="specifications_value_{{$v.data.key}}[]" placeholder="{{:MyLang('common_service.goods.form_spec_value_title')}}" value="{{$v.data.value}}" data-validation-message="{{:MyLang('common_service.goods.form_spec_value_message')}}" class="am-radius" data-is-clearout="0" required />
|
|
</td>
|
|
{{/case}}
|
|
|
|
{{case base}}
|
|
<td class="am-text-middle value-start">
|
|
<input type="text" name="specifications_price[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_price_title')}}" class="am-radius" pattern="{{$default_price_regex}}" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_price_message')}}" value="{{if isset($v['data']['price'])}}{{$v.data.price}}{{/if}}" data-is-clearout="0" required />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="text" name="specifications_original_price[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_original_price_title')}}" class="am-radius" pattern="{{$default_price_regex}}" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_original_price_message')}}" value="{{if $v['data']['original_price'] gt 0}}{{$v.data.original_price}}{{/if}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="number" name="specifications_buy_min_number[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_buy_min_number_title')}}" class="am-radius" min="0" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_buy_min_number_message')}}" value="{{if !empty($v['data']['buy_min_number'])}}{{$v.data.buy_min_number}}{{/if}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="number" name="specifications_buy_max_number[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_buy_max_number_title')}}" class="am-radius" min="0" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_buy_max_number_message')}}" value="{{if !empty($v['data']['buy_max_number'])}}{{$v.data.buy_max_number}}{{/if}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="number" name="specifications_weight[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_weight_title')}}" class="am-radius" min="0.00" max="100000000.00" step="0.01" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_weight_message')}}" value="{{if isset($v['data']['weight']) and $v['data']['weight'] gt 0}}{{$v.data.weight}}{{/if}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="number" name="specifications_volume[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_volume_title')}}" class="am-radius" max="100000000" min="0.00" max="100000000.00" step="0.01" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_volume_message')}}" value="{{if isset($v['data']['volume']) and $v['data']['volume'] gt 0}}{{$v.data.volume}}{{/if}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="text" name="specifications_coding[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_coding_title')}}" class="am-radius" maxlength="60" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_coding_message')}}" value="{{if isset($v['data']['coding'])}}{{$v.data.coding}}{{/if}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="text" name="specifications_barcode[]" placeholder="{{:MyLang('common_service.goods.form_spec_thead_barcode_title')}}" class="am-radius" maxlength="60" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_barcode_message')}}" value="{{if isset($v['data']['barcode'])}}{{$v.data.barcode}}{{/if}}" data-is-clearout="0" />
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<input type="hidden" name="specifications_extends[]" value="{{if !empty($v['data']['extends'])}}{{$v.data.extends}}{{/if}}" class="line-extend-input" />
|
|
<a href="javascript:;" class="am-text-xs am-text-primary line-extend-btn">{{:MyLang('edit_title')}}</a>
|
|
</td>
|
|
<td class="am-text-middle">
|
|
<a href="javascript:;" class="am-text-xs am-text-primary am-margin-right-sm line-move" data-type="top">{{:MyLang('moveup_title')}}</a>
|
|
<a href="javascript:;" class="am-text-xs am-text-primary am-margin-right-sm line-move" data-type="bottom">{{:MyLang('movedown_title')}}</a>
|
|
<a href="javascript:;" class="am-text-xs am-text-primary am-margin-right-xs line-copy">{{:MyLang('copy_title')}}</a>
|
|
<a href="javascript:;" class="am-text-xs am-text-primary line-remove">{{:MyLang('remove_title')}}</a>
|
|
</td>
|
|
{{/case}}
|
|
{{/switch}}
|
|
{{/if}}
|
|
{{/foreach}}
|
|
</tr>
|
|
{{/foreach}}
|
|
{{/if}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="am-margin-top-sm">
|
|
<span class="business-operations-submit specifications-line-add am-border-0 am-text-sm">
|
|
<i class="iconfont icon-add"></i>
|
|
{{:MyLang('common_service.goods.form_spec_row_add_title')}}
|
|
</span>
|
|
</div>
|
|
<div class="spec-images-list">
|
|
<div class="am-alert am-radius">
|
|
<span>{{:MyLang('common_service.goods.form_spec_images_tips')}}</span>
|
|
<span class="business-operations-submit specifications-line-images-add">
|
|
<i class="iconfont icon-add"></i>
|
|
{{:MyLang('common_service.goods.form_spec_images_add_title')}}
|
|
</span>
|
|
<span class="business-operations-submit specifications-line-images-auto-add am-margin-left-sm am-icon-dot-circle-o"> {{:MyLang('common_service.goods.form_spec_images_add_auto_first')}}<input type="text" class="am-inline-block am-text-center am-margin-horizontal-xs am-radius" value="1" data-is-clearout="0" />{{:MyLang('common_service.goods.form_spec_images_add_auto_last')}}</span>
|
|
</div>
|
|
<ul class="spec-images-content am-margin-top-sm">
|
|
{{if !empty($specifications['type'])}}
|
|
{{foreach $specifications.type as $type}}
|
|
{{if !empty($type['value'])}}
|
|
{{foreach $type.value as $spec_key=>$spec}}
|
|
{{if !empty($spec['images'])}}
|
|
<li class="spec-images-items spec-images-items-{{$type.id}}{{$spec_key}}">
|
|
<input type="text" name="spec_images_name[{{$type.id}}{{$spec_key}}]" placeholder="{{:MyLang('common_service.goods.form_spec_images_type_title')}}" class="am-radius am-text-center" data-validation-message="{{:MyLang('common_service.goods.form_spec_images_type_message')}}" value="{{$spec.name}}" data-is-clearout="0" required >
|
|
<ul class="plug-file-upload-view spec-images-view-{{$type.id}}{{$spec_key}}" data-form-name="spec_images[{{$type.id}}{{$spec_key}}]" data-max-number="1" data-dialog-type="images">
|
|
<li>
|
|
<input type="hidden" name="spec_images[{{$type.id}}{{$spec_key}}]" value="{{$spec.images_old}}" data-validation-message="{{:MyLang('common_service.goods.form_spec_images_images_message')}}" required />
|
|
<img src="{{$spec.images}}" />
|
|
<i class="iconfont icon-close"></i>
|
|
</li>
|
|
</ul>
|
|
<div class="plug-file-upload-submit" data-view-tag="ul.spec-images-view-{{$type.id}}{{$spec_key}}">+ {{:MyLang('form_upload_images_title')}}</div>
|
|
</li>
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
{{/foreach}}
|
|
{{/if}}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 所有规格批量操作弹层 -->
|
|
<div class="am-popup am-radius" id="spec-popup-all-operation">
|
|
<div class="am-popup-inner">
|
|
<div class="am-popup-hd">
|
|
<h4 class="am-popup-title">{{:MyLang('common_service.goods.form_spec_advanced_batch_setup_title')}}</h4>
|
|
<span data-am-modal-close class="am-close">×</span>
|
|
</div>
|
|
<div class="am-popup-bd">
|
|
<div class="form-content">
|
|
<div class="am-alert spec-title-container"></div>
|
|
<div class="am-form-group">
|
|
<label class="am-block">{{:MyLang('common_service.goods.form_spec_thead_price_title')}}</label>
|
|
<input type="text" placeholder="{{:MyLang('common_service.goods.form_spec_thead_price_title')}}" class="am-radius popup_all_price" pattern="{{$default_price_regex}}" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_price_message')}}" />
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-block">{{:MyLang('common_service.goods.form_spec_thead_original_price_title')}}</label>
|
|
<input type="text" placeholder="{{:MyLang('common_service.goods.form_spec_thead_original_price_title')}}" class="am-radius popup_all_original_price" pattern="{{$default_price_regex}}" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_original_price_message')}}" />
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-block">{{:MyLang('common_service.goods.form_spec_thead_buy_min_number_title')}}</label>
|
|
<input type="number" placeholder="{{:MyLang('common_service.goods.form_spec_thead_buy_min_number_title')}}" class="am-radius popup_all_buy_min_number" min="0" max="100000000" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_buy_min_number_message')}}" />
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-block">{{:MyLang('common_service.goods.form_spec_thead_buy_max_number_title')}}</label>
|
|
<input type="number" placeholder="{{:MyLang('common_service.goods.form_spec_thead_buy_max_number_title')}}" class="am-radius popup_all_buy_max_number" min="0" max="100000000" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_buy_max_number_message')}}" />
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-block">{{:MyLang('common_service.goods.form_spec_thead_weight_title')}}</label>
|
|
<input type="number" placeholder="{{:MyLang('common_service.goods.form_spec_thead_weight_title')}}" class="am-radius popup_all_weight" min="0.00" max="100000000.00" step="0.01" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_weight_message')}}" />
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-block">{{:MyLang('common_service.goods.form_spec_thead_volume_title')}}</label>
|
|
<input type="number" placeholder="{{:MyLang('common_service.goods.form_spec_thead_volume_title')}}" class="am-radius popup_all_volume" min="0.00" max="100000000.00" step="0.01" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_volume_message')}}" />
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-block">{{:MyLang('common_service.goods.form_spec_thead_coding_title')}}</label>
|
|
<input type="text" placeholder="{{:MyLang('common_service.goods.form_spec_thead_coding_title')}}" class="am-radius popup_all_coding" maxlength="80" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_coding_message')}}" />
|
|
</div>
|
|
<div class="am-form-group">
|
|
<label class="am-block">{{:MyLang('common_service.goods.form_spec_thead_barcode_title')}}</label>
|
|
<input type="text" placeholder="{{:MyLang('common_service.goods.form_spec_thead_barcode_title')}}" class="am-radius popup_all_barcode" maxlength="80" data-validation-message="{{:MyLang('common_service.goods.form_spec_thead_barcode_message')}}" />
|
|
</div>
|
|
</div>
|
|
<div class="am-form-popup-submit">
|
|
<div class="am-flex am-flex-justify-right am-flex-items-center am-gap-2">
|
|
<button type="button" class="am-btn am-btn-warning am-radius am-btn-xs" data-am-modal-close>{{:MyLang('cancel_title')}}</button>
|
|
<button type="button" class="am-btn am-btn-primary am-radius am-btn-xs spec-all-submit">{{:MyLang('confirm_title')}}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 单个规格批量操作弹层 -->
|
|
<div class="am-modal am-modal-no-btn" tabindex="-1" id="spec-modal-all-operation">
|
|
<div class="am-modal-dialog">
|
|
<div class="am-modal-hd am-radius">
|
|
<span>{{:MyLang('common_service.goods.form_spec_all_operate_title')}}</span>
|
|
<a href="javascript: void(0)" class="am-close" data-am-modal-close>×</a>
|
|
</div>
|
|
<div class="am-modal-bd">
|
|
<div class="am-padding-top am-padding-horizontal-sm">
|
|
<div class="am-input-group am-input-group-sm">
|
|
<input type="text" class="am-form-field am-radius" placeholder="{{:MyLang('common_service.goods.form_spec_all_operate_placeholder')}}" data-is-clearout="0" />
|
|
<span class="am-input-group-btn">
|
|
<button type="button" class="am-btn am-btn-default am-radius">{{:MyLang('confirm_title')}}</button>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |