1
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
if (typeof d[field] == "undefined") return "";
|
||||
let items = [];
|
||||
layui.each((d[field] + "").split(","), function (k , v) {
|
||||
items.push(v === 'port' ? translations.type_port : translations.type_warehouse);
|
||||
items.push(v === 'port' ? translations.type_port : (v === 'production' ? translations.production : translations.type_warehouse));
|
||||
});
|
||||
return util.escape(items.join(","));
|
||||
}
|
||||
|
||||
@@ -41,8 +41,21 @@
|
||||
<div class="layui-input-block">
|
||||
<input type="checkbox" name="type" value="port" title="<?= $translations['type_port'] ?? '港口' ?>" lay-skin="primary">
|
||||
<input type="checkbox" name="type" value="warehouse" title="<?= $translations['type_warehouse'] ?? '仓库' ?>" lay-skin="primary">
|
||||
<input type="checkbox" name="type" value="production" title="<?= $translations['production'] ?? '生产城市' ?>" lay-skin="primary">
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="layui-form-item">-->
|
||||
<!-- <label class="layui-form-label"><?= $translations['lng'] ?? '经度' ?></label>-->
|
||||
<!-- <div class="layui-input-block">-->
|
||||
<!-- <input type="text" name="lng" placeholder="<?= $translations['lng_placeholder'] ?? '请输入经度' ?>" autocomplete="off" class="layui-input">-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="layui-form-item">-->
|
||||
<!-- <label class="layui-form-label"><?= $translations['lat'] ?? '维度' ?></label>-->
|
||||
<!-- <div class="layui-input-block">-->
|
||||
<!-- <input type="text" name="lat" placeholder="<?= $translations['lat_placeholder'] ?? '请输入维度' ?>" autocomplete="off" class="layui-input">-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
|
||||
<div class="layui-form-item">
|
||||
<div class="layui-input-block">
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
<div class="layui-input-block">
|
||||
<input type="checkbox" name="type" value="port" title="<?= $translations['type_port'] ?? '港口' ?>" lay-skin="primary">
|
||||
<input type="checkbox" name="type" value="warehouse" title="<?= $translations['type_warehouse'] ?? '仓库' ?>" lay-skin="primary">
|
||||
<input type="checkbox" name="type" value="production" title="<?= $translations['production'] ?? '生产城市' ?>" lay-skin="primary">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user