Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 3.81 KB | None | 0 0
  1. <div class="container cart-product-box col-lg-12 col-md-12 col-sm-12 col-xs-12" v-for="(merchant, index) in merchant_list" v-bind:key="index">
  2.             <div class="table-responsive">
  3.               <table class="table">
  4.                 <thead>
  5.                   <!-- Cart Product Header <img src="images/flaticon/store.png" class="img-circle" alt="" height="20px">-->
  6.                   <tr class="cart-product-header">
  7.                     <th width="47%" style="padding:25px 15px 25px 0"><a href="#"> {{ merchant.mn }}</a></th>
  8.                     <th class="text-center" width="20%" style="padding:25px 15px">Harga Satuan</th>
  9.                     <th class="text-center" width="15%" style="padding:25px 15px">Kuantitas</th>
  10.                     <th class="text-center" width="15%" style="padding:25px 15px">Total Harga</th>
  11.                     <th class="text-center" width="3%" style="padding:25px 0 25px 15px">Ubah</th>
  12.                   </tr>
  13.                 </thead>
  14.                 <tbody>
  15.                   <!-- Cart Product Item -->
  16.                   <tr class="cart-product-item" style="border-bottom:1px solid #ddd" v-for="item in merchant.getdata_merchant">
  17.                     <td style="padding:20px 15px 25px 0"><a href="#">
  18.                       <div class="media">
  19.                         <div class="media-left">
  20.                           <img :src="item.image" class="media-object" :alt="item.pn" width="75px">
  21.                         </div>
  22.                         <div class="media-body">
  23.                           <p>{{ item.pn }}</p>
  24.                         </div>
  25.                       </div></a>
  26.                     </td>
  27.                     <td class="text-center" style="padding:25px 15px">{{ item.price }}</td>
  28.                     <td class="text-center" style="padding:25px 15px">{{ item.qty}}</td>
  29.                     <td class="text-center" style="padding:25px 15px">{{ item.grand_total}}</td>
  30.                     <td class="edit-cart-item text-center" style="padding:25px 0 25px 15px"><a href="#" data-toggle="modal" data-target="#noteModal"><i class="far fa-edit"></i></a>
  31.                       <i class="far fa-trash-alt"></i>
  32.                     </td>
  33.                   </tr>
  34.                 </tbody>
  35.                 <tfoot>
  36.                   <tr>
  37.                     <td colspan="5" style="padding:20px 0;border-bottom:1px solid #ddd">
  38.                      
  39.                       <select class="form-control" style="width:100%" v-on:change="change_address()" v-model="address">
  40.                         <option disabled value="">- Pilih Alamat -</option>
  41.                         <option v-bind:value="merchant.mi">Rumah {{ index }}</option>
  42.                         <option value="2">Kantor</option>
  43.                       </select>
  44.                     </td>
  45.                   </tr>
  46.                   <tr>
  47.                     <td colspan="2" style="padding:20px 10px 0 0">
  48.                       <select class="form-control" style="width:100%" v-on:change="change_courier()" v-model="courier">
  49.                         <option value="default">- Pilih Kurir -</option>
  50.                         <option v-for="kurir in merchant.kurir" v-bind:value="kurir.kode_kurir">{{ kurir.name_kurir }}</option>
  51.                        
  52.                       </select>
  53.                     </td>
  54.                     <td colspan="3" style="padding:20px 0 0 10px">
  55.                       <select class="form-control" style="width:100%">
  56.                         <option value="default">- Pilih Layanan -</option>
  57.                         <option v-for="service in service_list" v-bind:value="service.service">{{service.service}}</option>
  58.                        
  59.                       </select>
  60.                     </td>
  61.                   </tr>
  62.                 </tfoot>
  63.               </table>
  64.             </div>
  65.           </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement