| | |
| | | <head>
|
| | | <meta charset="utf-8">
|
| | | <title>到账数据预览</title>
|
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
| | | <meta name="viewport" content="width=device-width,viewport-fit=cover, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
| | | <link rel="stylesheet" type="text/css" href="./css/base.css" />
|
| | | <link rel="stylesheet" type="text/css" href="./css/receiveData.css" />
|
| | | <script>
|
| | |
| | | window.onresize();
|
| | | </script>
|
| | | <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
|
| | | <script src="http://img.flqapp.com/resource/js/app2019112217.js"></script>
|
| | | <script src="http://img.flqapp.com/resource/js/app20200227.js"></script>
|
| | | <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
|
| | | </head>
|
| | | <body>
|
| | |
| | | <div class="div_item">
|
| | | <div class="div_item_top">
|
| | | <div class="title">金额</div>
|
| | | <input id="inpunt_id" class="input" type="text" placeholder="不要超过7位数,支持小数点后两位" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1').replace(/^0{1,}/g,'')"
|
| | | <input id="inpunt_money" class="input" type="text" placeholder="不要超过7位数,支持小数点后两位" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1').replace(/^0{1,}/g,'')"
|
| | | maxlength="10">
|
| | | </div>
|
| | | <div style="height: 1px; background-color: #E0E0E0; margin-left: 0.3rem;"></div>
|
| | |
| | | <div class="div_item">
|
| | | <div class="div_item_top">
|
| | | <div class="title">创建时间</div>
|
| | | <input id="inpunt_id" class="input" type="text" placeholder="你可复制一个时间填写于此处">
|
| | | <input id="inpunt_date" class="input" type="text" placeholder="你可复制一个时间填写于此处">
|
| | | </div>
|
| | | <div style="height: 1px; background-color: #E0E0E0; margin-left: 0.3rem;"></div>
|
| | | </div>
|
| | |
| | | <div class="div_item">
|
| | | <div class="div_item_top">
|
| | | <div class="title">订单号</div>
|
| | | <input id="inpunt_id" class="input" type="text" placeholder="你可复制一个订单号填写于此处">
|
| | | <input id="inpunt_order" class="input" type="text" placeholder="你可复制一个订单号填写于此处">
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | |
| | |
|
| | | <script>
|
| | | // "http://api.flqapp.com";
|
| | | var host = "http://192.168.1.122:8080";
|
| | | var host = "http://192.168.1.253:8080";
|
| | | $(function() {
|
| | | var app = new Vue({
|
| | | el: '#root',
|
| | |
| | | watch: {},
|
| | | methods: {
|
| | | commitInfo: function() {
|
| | | var money = $('#inpunt_money').val();
|
| | | var dayTime = $('#inpunt_date').val();
|
| | | var orderNo = $('#inpunt_order').val();
|
| | |
|
| | | if (money.length == 0 || money == null ||
|
| | | dayTime.length == 0 || dayTime == null ||
|
| | | orderNo.length == 0 || orderNo == null) {
|
| | | yesApp.toast('请将信息填写完整')
|
| | | return;
|
| | | }
|
| | |
|
| | | yesApp.showLoading();
|
| | | var uid = yesApp.getUid();
|
| | | var params = {
|
| | | uid: uid,
|
| | | dayTime: dayTime,
|
| | | money: money,
|
| | | orderNo: orderNo
|
| | | };
|
| | | params = yesApp.getRequestBaseParams(params);
|
| | |
|
| | | $.ajax({
|
| | | type: "GET",
|
| | | data: JSON.parse(params),
|
| | | url: host + "/fanli/api/v2/preview/saveMoneyArrival",
|
| | | dataType: "jsonp",
|
| | | async: false,
|
| | | success: function(result) {
|
| | | if (result.code == 0) { |
| | | yesApp.hideLoading(); |
| | | yesApp.savePicture(result.data.link); |
| | | |
| | | } else { |
| | | yesApp.toast('222')
|
| | | yesApp.hideLoading();
|
| | | yesApp.toast(result.msg);
|
| | | }
|
| | | },
|
| | | error: function(XMLHttpRequest, textStatus, errorThrown) {
|
| | | yesApp.hideLoading();
|
| | | if (textStatus === 'timeout') {
|
| | | }
|
| | | }
|
| | | });
|
| | | },
|
| | |
|
| | | fetchMoneyArrivalImg: function() {
|
| | |
|
| | | }
|
| | | }
|
| | | });
|
| | |
|
| | | app.fetchMoneyArrivalImg();
|
| | | });
|
| | | </script>
|
| | | </html> |