123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- <!DOCTYPE html>
- <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
- <head>
- <th:block th:include="include :: header('发票管理表(开发票,发票查询)修改')" />
- </head>
- <body>
- <div class="ui-layout-center">
- <form id="form-SDdglFpglInvoiceinfo-edit" class="customize-search-form">
- <div class="customize-form-group-container">
- <input type="hidden" id="id" name="id" th:value="${id}">
- <div class="customize-form-group">
- <label>平台订单号:</label>
- <input name="platformOrderNo" placeholder="平台订单号" th:value="${platformOrderNo}" class="styled-input" type="text" disabled="true">
- </div>
- <div class="customize-form-group">
- <label>发票代码:</label>
- <input name="invoiceCode" placeholder="发票代码" th:value="${invoiceCode}" class="styled-input" type="text" disabled="true">
- </div>
- <div class="customize-form-group">
- <label>发票号码:</label>
- <input name="invoiceNumber" placeholder="发票号码" th:value="${invoiceNumber}" class="styled-input" type="text" disabled="true">
- </div>
- <div class="customize-form-group">
- <label>发票金额:</label>
- <input name="invoiceAmount" placeholder="发票金额" th:value="${invoiceAmount}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>渠道店铺:</label>
- <input name="channelStore" placeholder="渠道店铺" th:value="${channelStore}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>订单发票类型:</label>
- <select name="orderInvoiceType" class="styled-input" th:with="type=${@dict.getType('sys_select_ddgl_ddfplx')}">
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}"
- th:selected="${dict.dictLabel}==${orderInvoiceType}"></option>
- </select>
- </div>
- <div class="customize-form-group">
- <label>抬头类型:</label>
- <select name="headerType" class="styled-input" th:with="type=${@dict.getType('sys_select_ddgl_ttlx')}">
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}"
- th:selected="${dict.dictLabel}==${headerType}"></option>
- </select>
- </div>
- <div class="customize-form-group">
- <label>抬头名称:</label>
- <input name="headerName" placeholder="抬头名称" th:value="${headerName}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>发票类型:</label>
- <select name="billingType" class="styled-input" th:with="type=${@dict.getType('sys_select_ddgl_fplx')}">
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}"
- th:selected="${dict.dictLabel}==${billingType}"></option>
- </select>
- </div>
- <div class="customize-form-group select-time">
- <label>开票时间:</label>
- <input name="billingTime" placeholder="开票时间" th:value="${billingTime}" class="time-input time-input2" type="text">
- </div>
- <div class="customize-form-group">
- <label>邮寄信息:</label>
- <input name="mailingInfo" placeholder="邮寄信息" th:value="${mailingInfo}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>开票金额:</label>
- <input name="billingAmount" placeholder="开票金额" th:value="${billingAmount}" class="styled-input" type="text">
- </div>
- <div class="customize-form-group">
- <label>店铺名称:</label>
- <input name="storeName" onclick="selectDeptTree()" id="treeName" th:value="${storeName}" type="text" placeholder="请选择门店" class="styled-input">
- </div>
- <div class="customize-form-group">
- <label>审核类型:</label>
- <select name="auditType" class="styled-input" th:with="type=${@dict.getType('sys_select_ddgl_shlx')}">
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}"
- th:selected="${dict.dictLabel}==${auditType}"></option>
- </select>
- </div>
- <div class="customize-form-group">
- <label>审核状态:</label>
- <select name="auditStatus" class="styled-input" th:with="type=${@dict.getType('sys_select_ddgl_shzt')}">
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}"
- th:selected="${dict.dictLabel}==${auditStatus}"></option>
- </select>
- </div>
- <div class="customize-form-group">
- <label>订单号:</label>
- <input name="orderNo" placeholder="订单号" th:value="${orderNo}" class="styled-input" type="text" disabled="true">
- </div>
- <div class="customize-form-group">
- <label>开票状态:</label>
- <select name="billingStatus" class="styled-input" th:with="type=${@dict.getType('sys_select_ddgl_kpzt')}">
- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictLabel}"
- th:selected="${dict.dictLabel}==${billingStatus}"></option>
- </select>
- </div>
- <div class="customize-form-group select-time">
- <label>创建时间:</label>
- <input name="createTime" placeholder="创建时间" th:value="${createTime}" class="time-input time-input2" type="text">
- </div>
- </div>
- </form>
- </div>
- <div class="main-content">
- <div class="col-sm-offset-5 col-sm-10">
- </div>
- </div>
- <th:block th:include="include :: footer" />
- </body>
- </html>
- <script>
- function edit() {
- var data = $("#form-SDdglFpglInvoiceinfo-edit").serializeArray();
- $.ajax({
- cache : true,
- type : "POST",
- url : ctx + "ddgl/sddglfpglinvoiceinfo/sDdglFpglInvoiceinfoEdit",
- data : data,
- async : false,
- error : function(request) {
- $.modal.alertError("系统错误");
- },
- success : function(data) {
- $.operate.successCallback(data);
- }
- });
- }
- function submitHandler() {
- if ($.validate.form()) {
- edit();
- }
- }
- /* 用户管理-新增-选择门店树 */
- function selectDeptTree() {
- var treeId = $("#treeId").val();
- var deptId = $.common.isEmpty(treeId) ? "100" : $("#treeId").val();
- var url = ctx + "system/user/selectDeptTree/" + deptId;
- var options = {
- title: '选择门店',
- width: "380",
- url: url,
- callBack: doSubmit
- };
- $.modal.openOptions(options);
- }
- function doSubmit(index, layero){
- var body = $.modal.getChildFrame(index);
- $("#treeId").val(body.find('#treeId').val());
- $("#treeName").val(body.find('#treeName').val());
- $.modal.close(index);
- }
- </script>
|