diff --git a/app/data/view/shop_truck_template/form.html b/app/data/view/shop_truck_template/form.html
index 0d87b272e..e6f97e329 100644
--- a/app/data/view/shop_truck_template/form.html
+++ b/app/data/view/shop_truck_template/form.html
@@ -23,8 +23,7 @@
-
- ({{ShowProvinceCityName(province)}})
+ ({{ShowProvinceCityName(province)}})
编辑
删除
@@ -104,7 +103,7 @@
$rootScope.rules = [];
$rootScope.city = {subs: []};
$rootScope.citys = angular.fromJson(_data) || [];
- /*! 默认显示所有城市 */
+ /*! 默认显示城市 */
$rootScope.citys.forEach(function (item) {
delete item.id, delete item.pid;
item.subs.forEach(function (item) {
@@ -116,7 +115,7 @@
$rootScope.AddRuleItem = function () {
$rootScope.rule = angular.fromJson(angular.toJson(_rule));
$rootScope.rules.push($rootScope.rule);
- $rootScope.showDailog();
+ $rootScope.showDialog();
};
/*! 编辑规则选项 */
$rootScope.EditRuleItem = function (rule) {
@@ -126,7 +125,7 @@
});
});
$rootScope.rule = rule;
- $rootScope.showDailog();
+ $rootScope.showDialog();
}
/*! 删除规则选项 */
$rootScope.RemoveRuleItem = function (rule) {
@@ -192,7 +191,7 @@
if (item.show) item.status = !!province.status;
});
};
- $rootScope.showDailog = function () {
+ $rootScope.showDialog = function () {
layui.layer.open({
type: 1, shade: false, area: '800px', title: '选择配送区域',
content: $('#RegionDialog').removeClass('layui-hide'), end: function () {
@@ -238,5 +237,4 @@
}
});
-
{/block}
|