| | |
| | | ,{field: 'number', align: 'center',title: '销售单号'} |
| | | ,{field: 'billDate', align: 'center',title: '单据日期'} |
| | | ,{field: 'btypeId', align: 'center',title: '客户编号'} |
| | | ,{field: 'etypeId', align: 'center',title: '经手人编号'} |
| | | ,{field: 'etypeId', align: 'center',title: '经手人编号', hide: true} |
| | | ,{field: 'userCode', align: 'center',title: '商品编号'} |
| | | ,{field: 'qty', align: 'center',title: '商品数量'} |
| | | ,{field: 'price', align: 'center',title: '商品单价'} |
| | | ,{field: 'comment', align: 'center',title: '商品备注'} |
| | | ,{field: 'price', align: 'center',title: '商品单价', hide: true} |
| | | ,{field: 'comment', align: 'center',title: '商品备注', hide: true} |
| | | ,{field: 'status$', align: 'center',title: '状态'} |
| | | // ,{field: 'createTime$', align: 'center',title: '添加时间'} |
| | | ,{field: 'updateTime$', align: 'center',title: '修改时间'} |
| | |
| | | <iframe id="detail-iframe" scrolling="auto" style="display:none;"></iframe> |
| | | |
| | | </body> |
| | | |
| | | <script type="text/template" id="parentNodeGroup"> |
| | | <option value="">选择库区</option> |
| | | {{#each data}} |
| | | <option value="{{this.key}}">{{this.val}}</option> |
| | | {{/each}} |
| | | </script> |
| | | <script type="text/javascript"> |
| | | getParentNode(); |
| | | function getParentNode(el) { |
| | | http.post(baseUrl + "/parent/node/group", {type: 2}, function (res) { |
| | | if (res.data != null) { |
| | | var tpl = $("#parentNodeGroup").html(); |
| | | var template = Handlebars.compile(tpl); |
| | | var html = template(res); |
| | | $('#parentId').append(html); |
| | | } |
| | | }); |
| | | } |
| | | </script> |
| | | </html> |
| | | |
| | |
| | | <option value="{{this.key}}">{{this.val}}</option> |
| | | {{/each}} |
| | | </script> |
| | | <script type="text/javascript"> |
| | | getParentNode(); |
| | | function getParentNode(el) { |
| | | http.post(baseUrl + "/parent/node/group", {type: 1}, function (res) { |
| | | if (res.data != null) { |
| | | var tpl = $("#parentNodeGroup").html(); |
| | | var template = Handlebars.compile(tpl); |
| | | var html = template(res); |
| | | $('#parentId').append(html); |
| | | } |
| | | }); |
| | | } |
| | | </script> |
| | | </html> |
| | | |
| | |
| | | <input class="layui-input" type="text" name="number" placeholder="销售单号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" type="text" name="user_code" placeholder="商品编号" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class="layui-input-inline"> |
| | | <select name="status"> |
| | | <option value="" style="display: none">选择状态</option> |
| | | <option value="1">待处理</option> |
| | | <option value="2">已完成</option> |
| | | <option value="3">取消</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <!-- 待添加 --> |
| | | <div id="data-search-btn" class="layui-btn-container layui-form-item"> |
| | | <button id="search" class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="search">搜索</button> |