zhangguidong il y a 2 ans
Parent
commit
e9d5873f98
1 fichiers modifiés avec 2 ajouts et 148 suppressions
  1. 2 148
      application/admin/view/order/edit.html

+ 2 - 148
application/admin/view/order/edit.html

@@ -1,91 +1,6 @@
 <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
 
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Order_no')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-order_no" data-rule="required" class="form-control" name="row[order_no]" type="text" value="{$row.order_no|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <div class="input-group">
-                <input id="c-image" data-rule="required" class="form-control" size="50" name="row[image]" type="text" value="{$row.image|htmlentities}">
-                <div class="input-group-addon no-border no-padding">
-                    <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
-                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
-                </div>
-                <span class="msg-box n-right" for="c-image"></span>
-            </div>
-            <ul class="row list-inline faupload-preview" id="p-image"></ul>
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Yutang')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-yutang" data-rule="required" class="form-control" name="row[yutang]" type="text" value="{$row.yutang|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('T_user_id')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-t_user_id" data-rule="required" data-source="t/user/index" class="form-control selectpage" name="row[t_user_id]" type="text" value="{$row.t_user_id|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Yutang_id')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-yutang_id" data-rule="required" data-source="yutang/index" class="form-control selectpage" name="row[yutang_id]" type="text" value="{$row.yutang_id|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_type')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-pay_type" data-rule="required" class="form-control" name="row[pay_type]" type="text" value="{$row.pay_type|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Item_money')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-item_money" data-rule="required" class="form-control" step="0.01" name="row[item_money]" type="number" value="{$row.item_money|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Wucan_money')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-wucan_money" data-rule="required" class="form-control" step="0.01" name="row[wucan_money]" type="number" value="{$row.wucan_money|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Yajin_money')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-yajin_money" data-rule="required" class="form-control" step="0.01" name="row[yajin_money]" type="number" value="{$row.yajin_money|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Youhui_money')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-youhui_money" data-rule="required" class="form-control" step="0.01" name="row[youhui_money]" type="number" value="{$row.youhui_money|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Order_money')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-order_money" data-rule="required" class="form-control" step="0.01" name="row[order_money]" type="number" value="{$row.order_money|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
-        </div>
-    </div>
+
     <div class="form-group">
         <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
         <div class="col-xs-12 col-sm-8">
@@ -98,68 +13,7 @@
 
         </div>
     </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_time')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-pay_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pay_time]" type="text" value="{:$row.pay_time?datetime($row.pay_time):''}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Reson_name')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-reson_name" class="form-control" name="row[reson_name]" type="text" value="{$row.reson_name|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Reson_desc')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-reson_desc" class="form-control" name="row[reson_desc]" type="text" value="{$row.reson_desc|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Reson_images')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <div class="input-group">
-                <input id="c-reson_images" class="form-control" size="50" name="row[reson_images]" type="text" value="{$row.reson_images|htmlentities}">
-                <div class="input-group-addon no-border no-padding">
-                    <span><button type="button" id="faupload-reson_images" class="btn btn-danger faupload" data-input-id="c-reson_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-reson_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
-                    <span><button type="button" id="fachoose-reson_images" class="btn btn-primary fachoose" data-input-id="c-reson_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
-                </div>
-                <span class="msg-box n-right" for="c-reson_images"></span>
-            </div>
-            <ul class="row list-inline faupload-preview" id="p-reson_images"></ul>
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Reson_money')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-reson_money" class="form-control" step="0.01" name="row[reson_money]" type="number" value="{$row.reson_money|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Reson_time')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-reson_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[reson_time]" type="text" value="{:$row.reson_time?datetime($row.reson_time):''}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-number" data-rule="required" class="form-control" name="row[number]" type="number" value="{$row.number|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-type" data-rule="required" class="form-control" name="row[type]" type="number" value="{$row.type|htmlentities}">
-        </div>
-    </div>
-    <div class="form-group">
-        <label class="control-label col-xs-12 col-sm-2">{:__('Moshi')}:</label>
-        <div class="col-xs-12 col-sm-8">
-            <input id="c-moshi" data-rule="required" class="form-control" name="row[moshi]" type="text" value="{$row.moshi|htmlentities}">
-        </div>
-    </div>
+
     <div class="form-group layer-footer">
         <label class="control-label col-xs-12 col-sm-2"></label>
         <div class="col-xs-12 col-sm-8">