BVB Source Codes

Easy website system v2.0 Show profit.html Source code

Return Download Easy website system v2.0: download profit.html Source code - Download Easy website system v2.0 Source code - Type:.html
  1. {// 引入标签库 }
  2. <tagLib name="sunnyi" />
  3. {// 加载头部公共文件 }
  4. <include file="Public:header" />
  5. <script type="text/javascript" src="/home/Tpl/default/ThemeFiles/Js/calendar.php?lang=zh-cn" ></script>
  6. <load href='/home/Tpl/default/ThemeFiles/Js/calendar/calendar.css' />
  7. <load href="/home/Tpl/default/ThemeFiles/Js/jquery.js" />
  8. <load href="/home/Tpl/default/ThemeFiles/Js/jquery.json.js" />
  9. <load href='/home/Tpl/default/ThemeFiles/Css/jqModal.css' />
  10. <load href='/home/Tpl/default/ThemeFiles/Js/jqModal.js' />
  11. <load href='/home/Tpl/default/ThemeFiles/Js/common.js' />
  12.  
  13. <div class="title">
  14.         付款状态:&nbsp;{$vo.money_status_name}&nbsp;&nbsp;&nbsp;发货状态:&nbsp;{$vo.goods_status_name}&nbsp;&nbsp;&nbsp;
  15. </div>
  16.  
  17. <FORM METHOD=POST id="form_profit" action="{:u('Order/save_profit')}">
  18. <TABLE cellpadding=3 cellspacing=3>
  19. <TR>
  20.         <TD class="tRight" >订单号:</TD>
  21.         <TD class="tLeft" >
  22.                 {$vo.sn}
  23.         </TD>
  24.        
  25.         <TD class="tRight" >下单日期:</TD>
  26.         <TD class="tLeft" >{$vo.create_time}</TD>      
  27. </TR>
  28.  
  29. <TR>
  30.         <TD class="tRight" >已收金额:</TD>
  31.         <TD class="tLeft" >
  32.                 <INPUT TYPE="text" NAME="order_incharge" id="order_incharge" readonly value="{$vo.order_incharge}">({$vo.order_total_price})
  33.         </TD>
  34.        
  35.         <TD class="tRight" >商品成本:</TD>
  36.         <TD class="tLeft" >
  37.                 <INPUT TYPE="text" NAME="cost_total_price" id="cost_total_price"  value="{$vo.cost_total_price}">
  38.         </TD>          
  39. </TR>
  40.  
  41. <TR>
  42.         <TD class="tRight" >配送成本:</TD>
  43.         <TD class="tLeft" >
  44.                 <INPUT TYPE="text" NAME="cost_delivery_fee" id="cost_delivery_fee" value="{$vo.cost_delivery_fee}" onblur = "calc_profit()" >
  45.         </TD>
  46.        
  47.         <TD class="tRight" >保价成本:</TD>
  48.         <TD class="tLeft" >
  49.                 <INPUT TYPE="text" NAME="cost_protect_fee" id="cost_protect_fee" value="{$vo.cost_protect_fee}" onblur = "calc_profit()">
  50.         </TD>  
  51. </TR>
  52.  
  53. <TR>
  54.         <TD class="tRight" >支付手续费:</TD>
  55.         <TD class="tLeft" >
  56.                 <INPUT TYPE="text" NAME="cost_payment_fee" id="cost_payment_fee" value="{$vo.cost_payment_fee}" onblur = "calc_profit()">
  57.         </TD>
  58.        
  59.         <TD class="tRight" >其它成本:</TD>
  60.         <TD class="tLeft" >
  61.                 <INPUT TYPE="text" NAME="cost_other_fee" id="cost_other_fee" value="{$vo.cost_other_fee}" onblur = "calc_profit()">
  62.         </TD>  
  63. </TR>
  64.  
  65. <TR>
  66.         <TD class="tRight" >成本合计:</TD>
  67.         <TD class="tLeft" >
  68.                 <INPUT TYPE="text" NAME="cost_total" id="cost_total"  readonly value="0">
  69.         </TD>
  70.        
  71.         <TD class="tRight" >本单利润:</TD>
  72.         <TD class="tLeft" >
  73.                 <INPUT TYPE="text" NAME="order_profit" id="order_profit" readonly value="{$vo.order_profit}">
  74.         </TD>  
  75. </TR>
  76.  
  77. <TR>
  78.         <TD class="tRight tTop" >备注:</TD>
  79.         <TD class="tLeft" colspan = 3 >
  80.                 <TEXTAREA class="large bLeft"  NAME="adm_memo" ROWS="3" COLS="70">{$vo.adm_memo}</TEXTAREA>
  81.         </TD>  
  82. </TR>
  83. <TR>
  84.         <TD class="center" colspan = 4>
  85.         <INPUT TYPE="hidden" name="id" value="{$vo.id}" >
  86.         <INPUT TYPE="submit" value="保 存" class="button">
  87.         <INPUT TYPE="button" class="button" onclick="javascript:history.back(1)" value="关闭" >
  88.         </TD>
  89. </TR>
  90. </TABLE>
  91. </FORM>
  92.  
  93. <script type="text/javascript">
  94.         function calc_profit(){
  95.                 $("#cost_total").attr("value", round($("#cost_total_price").val(), 3) + round($("#cost_delivery_fee").val(), 3) + round($("#cost_protect_fee").val(), 3)
  96.                                    + round($("#cost_payment_fee").val(), 3) + round($("#cost_other_fee").val(), 3));
  97.  
  98.                 $("#order_profit").attr("value", round($("#order_incharge").val(), 3) - round($("#cost_total").val(), 3));
  99.         }
  100.  
  101.         calc_profit(); 
  102. </script>
  103.  
downloadprofit.html Source code - Download Easy website system v2.0 Source code
Related Source Codes/Software:
Good business mall v2.0 open source edition - Good business, open source shopping mall, which is... 2016-10-23
Desert arashi v0.1.2 file operations procedures - Desert arashi file operations procedures is a simp... 2016-10-23
Ali cloud storage v1.1 PHP file upload system root directory - Aliyun stored SWFUPLOAD a simple file upload syste... 2016-10-23
Qr code generation V1.1 online - Directions for use: 2016-10-23
Short url program V1.2 (with black and white list function) - This short url program has three features: 2016-10-22
Emlog for SAE v4.2.1 - Emlog for SAE is suitable for SAE emlog used modif... 2016-10-23
Food science and technology chain edition v1.1 online reservation system - Treat chain version of the main functions of the o... 2016-10-23
MyProber PHP 0.26 a probe - MyProber v0.26 2016-10-23
Project management software KisProject v1.0.3 - Kis (Keep it simple) is a free WEB-based team coll... 2016-10-23
HP fetion automatic daily weather forecast v1.0 - HP fetion daily automated weather main uses 1. ac... 2016-10-23
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top