| | |
| | | <div class="row btn-group-m-t"> |
| | | <div class="col-sm-10 col-sm-offset-5"> |
| | | <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="addTaxiSubmit()"/> |
| | | <!-- <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TSystemPriceInfoDlg.close()"/>--> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | }); |
| | | waitFee = waitFee.substring(0,waitFee.length-1); |
| | | waitFee += '}'; |
| | | console.log(waitFee); |
| | | console.log(btoa(waitFee)); |
| | | |
| | | |
| | | |
| | | //提交信息 |
| | | var ajax = new $ax(Feng.ctxPath + "/tSystemPrice/taxiSet", function(data){ |
| | | if (500 == data.code){ |
| | | Feng.error(data.message); |
| | | return; |
| | | }else{ |
| | | Feng.success("添加成功!"); |
| | | window.parent.TSystemPrice.table.refresh(); |
| | | TSystemPriceInfoDlg.close(); |
| | | } |
| | | },function(data){ |
| | | Feng.error("添加失败!" + data.responseJSON.message + "!"); |
| | | }); |
| | | ajax.setData({ |
| | | content: waitFee |
| | | }) |
| | | ajax.start(); |
| | | window.parent.document.getElementById("zc_price").value = btoa(waitFee); |
| | | window.parent.document.getElementById("czc_status").innerText = "已设置"; |
| | | window.parent.document.getElementById("czc_set").innerText = "修改"; |
| | | parent.layer.close(window.parent.TOpenCityInfoDlg.layerIndex); |
| | | } |
| | | |
| | | laydate.render({ |