Blame view

application/admin/view/antis/customer/billczgprz/detail2.html 3.09 KB
2db47680   hexiaodong   chore: 初始提交 php 遗...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
  

  

  <script></script>

  

  <form id="edit-form" class="form-horizontal col-sm-12" role="form" data-toggle="validator" method="POST" action="">

  

  

  

  

  

      <div class="form-group">

          <label class="control-label col-xs-12 col-sm-2">{:__('报价单名称')}:</label>

          <div class="col-xs-12 col-sm-8">

              <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">

          </div>

      </div>

  

  

      <div class="form-group">

          <label class="control-label col-xs-12 col-sm-2">{:__('关联客户')}:</label>

          <div class="col-xs-12 col-sm-8">

              <input id="c-customer_name"  class="form-control" name="row[customer_name]" type="text" value="{$row.customer_name|htmlentities}">

          </div>

      </div>

  

      <div class="form-group">

          <label class="control-label col-xs-12 col-sm-2">{:__('关联项目')}:</label>

          <div class="col-xs-12 col-sm-8">

              <input id="c-business_name" class="form-control" name="row[business_name]" type="text" value="{$row.business_name|htmlentities}">

          </div>

      </div>

  

  

      <div class="table-responsive">

          <table id="table"  class="table table-striped table-bordered table-hover table-nowrap">

              <thead>

              <td></td>

              <th>{:__('商品名称')}</th>

  

              <th>{:__('单位')}</th>

              <th>{:__('单价')}</th>

              <th>{:__('结算价')}</th>

              <th>{:__('成本价')}</th>

              <th>{:__('数量')}</th>

              <th>{:__('总价')}</th>

              </thead>

              <tbody>

              {volist name="row.goods_list" id="list" key="k"}

              <tr>

                  <td>{$key}</td>

              </tr>

              {volist name="$row.goods_list[$key]" id="vo" key="k"}

              <tr>

                  <td></td>

                  <td>{$vo.productName}</td>

                  <td>{$vo.unit}</td>

                  <td>{$vo.unitPrice}</td>

  

  

                  <td>{$vo.wholesale_price}</td>

                  <td>{$vo.cb_price}</td>

  

                  <td>{$vo.qty}</td>

                  <td>{$vo.amount}</td>

              </tr>

              {/volist}

              {/volist}

  

              <tr>

                  <td>合计</td>

                  <td></td>

                  <td></td>

                  <td></td>

                  <td></td>

                  <td></td>

                  <td></td>
  
                  <td>{$row.totalprice}</td>

              </tr>

  

              <tr>

                  <td>成本利润率</td>

                  <td></td>

                  <td></td>

                  <td></td>

                  <td></td>
  
                  <td></td>

                  <td></td>

                  <td>{$row.profit}</td>

              </tr>

              <tr>

                  <td>销售利润率</td>

                  <td></td>

                  <td></td>

                  <td></td>
  
                  <td></td>

                  <td></td>

                  <td></td>

                  <td>{$row.balance}</td>

              </tr>

  

  

              </tbody>

          </table>

      </div>

  

  

  

  

  

  

  

  </form>