Authored by weiqingting

订单确认

@@ -49,6 +49,9 @@ @@ -49,6 +49,9 @@
49 <li><label>发票抬头 :</label><input type="text" class="textbox" id="piaodesc" /></li> 49 <li><label>发票抬头 :</label><input type="text" class="textbox" id="piaodesc" /></li>
50 <li><label>发票类型 :</label> <select class="dropdown" id="piaotype"> 50 <li><label>发票类型 :</label> <select class="dropdown" id="piaotype">
51 <option value="-1">请选择</option> 51 <option value="-1">请选择</option>
  52 + {{#each piaotypes}}
  53 + <option value="{{value}}">{{name}}</option>
  54 + {{/each}}
52 </select> </li> 55 </select> </li>
53 </ul> 56 </ul>
54 </div> 57 </div>
@@ -9,13 +9,17 @@ class SaveController extends AbstractAction @@ -9,13 +9,17 @@ class SaveController extends AbstractAction
9 */ 9 */
10 public function indexAction() 10 public function indexAction()
11 { 11 {
12 - $src="http://img04.static.yohobuy.com/thumb/2015/08/25/08/012622ad14f32470d56a0b1da5d533a7e2-0060x0060-2-goodsimg.jpg" 12 + $src="http://img04.static.yohobuy.com/thumb/2015/08/25/08/012622ad14f32470d56a0b1da5d533a7e2-0060x0060-2-goodsimg.jpg";
13 $data = array( 13 $data = array(
14 'orderSavePage' => true, 14 'orderSavePage' => true,
15 'orderSave'=>array( 15 'orderSave'=>array(
16 'orderProducts'=>array( 16 'orderProducts'=>array(
17 - array('name' =>"Eight Guys 破洞束口牛仔裤",'tip'=>"颜色:蓝色 尺码:L",'src'=$src,'href'=>'','price'=>'179.00','coin'=>'0','count'=>'1'),  
18 - array('name' =>"Eight Guys 破洞束口牛仔裤",'tip'=>"颜色:蓝色 尺码:L",'src'=$src,'href'=>'','price'=>'179.00','coin'=>'0','count'=>'1') 17 + array('name' =>"Eight Guys 破洞束口牛仔裤",'tip'=>"颜色:蓝色 尺码:L",'src'=>$src,'href'=>'','price'=>'179.00','coin'=>'0','count'=>'1'),
  18 + array('name' =>"Eight Guys 破洞束口牛仔裤",'tip'=>"颜色:蓝色 尺码:L",'src'=>$src,'href'=>'','price'=>'179.00','coin'=>'0','count'=>'1')
  19 + ),
  20 + 'piaotypes'=>array(
  21 + array('name'=>'个人','value'=>'001'),
  22 + array('name'=>'公司','value'=>'002')
19 ) 23 )
20 ) 24 )
21 ); 25 );