WIN-2308041133\Administrator 5 月之前
父节点
当前提交
3d6d1f77bd

+ 0 - 1
application/admin/lang/zh-cn/wechat/plan.php

@@ -3,7 +3,6 @@
 return [
     'Cid'        => '单位编号',
     'Plan_id'    => '模板编号',
-//    'Price'      => '价格',
     'Image'      => '文章图片',
     'Title'      => '文章标题',
     'Num'        => '参与人数',

+ 0 - 1
application/admin/model/WechatPlan.php

@@ -29,7 +29,6 @@ class WechatPlan extends Model
         $order = "id desc";
         if (isset($where['cid']) && $where['cid'] > 0) $xwhere['cid'] = $where['cid'];
         if (isset($where['plan_id']) && $where['plan_id'] > 0) $xwhere['plan_id'] = $where['plan_id'];
-//        if (isset($where['price']) && $where['price'] > 0) $xwhere['price'] = $where['price'];
 //        if (isset($where['paid']) && $where['paid'] > -1) $xwhere['paid'] = $where['paid'];
 //        if (isset($where['help_id']) && $where['help_id'] > -1) $xwhere['help_id'] = $where['help_id'];
 //        if (isset($where['order']) && $where['order'] != '') $order = $where['order'];

+ 0 - 6
application/admin/view/wechat/plan/add.html

@@ -28,12 +28,6 @@
             <input id="c-plan_id" class="form-control" name="row[plan_id]" type="text" data-rule="required; remote(wechat/autoreply/check_text_unique)" >
         </div>
     </div>
-<!--    <div class="form-group">-->
-<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>-->
-<!--        <div class="col-xs-12 col-sm-8">-->
-<!--            <input id="c-price" class="form-control" name="row[price]" type="text">-->
-<!--        </div>-->
-<!--    </div>-->
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Hidedata')}:</label>
         <div class="col-xs-12 col-sm-8">

+ 0 - 6
application/admin/view/wechat/plan/edit.html

@@ -29,12 +29,6 @@
             <input type="text" name="row[plan_id]" value="{$row.plan_id}"  id="c-plan_id" class="form-control" data-rule="required" />
         </div>
     </div>
-<!--    <div class="form-group">-->
-<!--        <label for="c-price" class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>-->
-<!--        <div class="col-xs-12 col-sm-8">-->
-<!--            <input type="text" name="row[price]" value="{$row.price}"  id="c-price" class="form-control" data-rule="required" />-->
-<!--        </div>-->
-<!--    </div>-->
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Hidedata')}:</label>
         <div class="col-xs-12 col-sm-8">

+ 0 - 1
public/assets/js/backend/wechat/plan.js

@@ -27,7 +27,6 @@ define(['jquery', 'bootstrap', 'backend', 'form', 'table'], function ($, undefin
                         {field: 'plan_id', title: __('Plan_id')},
                         {field: 'image', title: __('Image'), operate: false, events: Table.api.events.image, formatter: Table.api.formatter.image},
                         {field: 'title', title: __('Title')},
-                        // {field: 'price', title: __('Price')},
                         {field: 'num', title: __('Num')},
                         {field: 'createtime', title: __('Create time'), formatter: Table.api.formatter.datetime, operate: 'RANGE', addclass: 'datetimerange', sortable: true},
                         // {field: 'updatetime', title: __('Update time'), formatter: Table.api.formatter.datetime, operate: 'RANGE', addclass: 'datetimerange', sortable: true},