123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- {layout name="layout" /}
- <link rel="stylesheet" href="/static/css/bootstrap-select.min.css">
- <script src="/static/js/bootstrap-select.min.js"></script>
- <nav class="breadcrumb">
- <span><a href="/" class="maincolor">首页</a></span>
- <span>></span>
- <span><a href="/order/lists/{$year}">销售订单</a></span>
- <span>></span>
- <span><a href="javascript:void(0);">{empty name="data.id"}新增{else/}修改{/empty}</a></span>
- </nav>
- <div class="content">
- <div class="row">
- <div class="blank">
- </div>
- </div>
- <div class="col-md-10 col-md-offset-1">
- <form role="form" id="form-order" action="" method="POST">
- <input type="hidden" name="id" id="id" value="{$data.id}">
- <div class="row">
- <div class="col-md-3">
- <div class="form-group">
- <label for="name">序号</label>
- <input type="text" class="form-control" name="no" id="no" value="{$data.no}"
- placeholder="序号, 格式 MHTxx">
- </div>
- </div>
- <div class="col-md-3">
- <div class="form-group">
- <label for="name">合同号</label>
- <input type="text" class="form-control" name="contract_no" id="contract_no"
- value="{$data.contract_no}" placeholder="合同号">
- </div>
- </div>
- <div class="col-md-3">
- <div class="form-group">
- <label for="name">销售时间</label>
- <input type="date" class="form-control" name="contract_time" id="contract_time"
- value="{$data.contract_time}" placeholder="销售时间">
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-3">
- <div class="form-group">
- <label for="name">购货单位</label>
-
- value="{//$data.company_name}" placeholder="购货单位"> -->
- <select class="selectpicker form-control" data-live-search="true" name="company_id"
- id="company_id">
- <option value="0">请选择公司</option>
- {foreach $companies as $key=>$value}
- <option value="{$key}" {eq name="key" value="$data.company_id"}selected{/eq}>{$value}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="col-md-3">
- <div class="form-group">
- <label for="name">销售员</label>
-
- <select class="form-control" data-live-search="true" name="seller_id" id="seller_id">
- <option value="0">请选择销售员</option>
- {foreach $sellers as $key=>$value}
- <option value="{$key}" {eq name="key" value="$data.seller_id"}selected{/eq}>{$value}</option>
- {/foreach}
- </select>
- </div>
- </div>
-
- <div class="form-group">
- <label for="name">合同金额</label>
- <input type="text" class="form-control" name="contract_money" id="contract_money"
- value="{$data.consignor}" placeholder="发货人">
- </div>
- </div> -->
- </div>
- <div class="row">
- <div class="col-md-3">
- <div class="form-group">
- <label for="name">发货人</label>
- <input type="text" class="form-control" name="consignor" id="consignor"
- value="{$data.consignor}" placeholder="发货人">
- </div>
- </div>
- <div class="col-md-3">
- <div class="form-group">
- <label for="name">运费</label>
- <input type="number" class="form-control" name="fare" id="fare" value="{$data.fare|number_money}"
- placeholder="运费">
- </div>
- </div>
- <div class="col-md-3">
- <div class="form-group">
- <label for="name">代理费</label>
- <input type="number" class="form-control" name="agency" id="agency" value="{$data.agency|number_money}"
- placeholder="代理费">
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-9">
- <div class="form-group">
- <label for="name">备注</label>
- <textarea class="form-control" name="remark" id="remark" rows="3">{$data.remark}</textarea>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-3">
- <div class="form-group">
- <label for="name">付款方式</label>
- <input type="text" class="form-control" name="pay_type" id="pay_type"
- value="{$data.pay_type}" placeholder="款到发货/月结/...">
- </div>
- </div>
- <div class="col-md-3">
- <div class="form-group">
- <label for="name">到款金额</label>
- <input type="number" class="form-control" name="payment" id="payment" value="{$data.payment|number_money}"
- placeholder="运费">
- </div>
- </div>
- <div class="col-md-3">
- <div class="form-group">
- <label for="name">到款时间</label>
- <input type="date" class="form-control" name="pay_time" id="pay_time" value="{$data.pay_time}" placeholder="到款时间">
- </div>
- </div>
- </div>
- <div class="row mt-20">
- <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
- <input class="btn btn-default radius" type="button" value=" 取消 "
- onClick="window.history.back();">
- <input class="btn btn-success radius ml-10" type="submit" value=" 保存 ">
- </div>
- </div>
- </form>
- </div>
- </div>
- <script>
- </script>
|