Authored by LUOXC

添加银行卡选项

@@ -82,12 +82,12 @@ @@ -82,12 +82,12 @@
82 <label>订 单 编 号:</label> 82 <label>订 单 编 号:</label>
83 <input id="mark_paid_orderCode" type="text" class="easyui-textbox" style="width:250px" readonly disabled/> 83 <input id="mark_paid_orderCode" type="text" class="easyui-textbox" style="width:250px" readonly disabled/>
84 84
85 - <!--  
86 <br/><br/> 85 <br/><br/>
87 - <label>支付宝账号:</label>  
88 - -->  
89 - <input id="mark_paid_alipayAccount" type="hidden" />  
90 - 86 + <label>付款渠道:</label>
  87 + <select class="easyui-combobox" id="mark_paid_sceneId" style="width:250px">
  88 + <option value="102" selected>支付宝</option>
  89 + <option value="103">银行卡</option>
  90 + </select>
91 <br/><br/> 91 <br/><br/>
92 <label>打 款 金 额:</label> 92 <label>打 款 金 额:</label>
93 <input id="mark_paid_amount" type="text" class="easyui-textbox" style="width:250px" readonly disabled/> 93 <input id="mark_paid_amount" type="text" class="easyui-textbox" style="width:250px" readonly disabled/>
@@ -263,7 +263,7 @@ function openMarkPaidConfirmDialog(id,uid,orderCode,alipayAccount,amount) { @@ -263,7 +263,7 @@ function openMarkPaidConfirmDialog(id,uid,orderCode,alipayAccount,amount) {
263 $("#mark_paid_tradeBillsId").val(id); 263 $("#mark_paid_tradeBillsId").val(id);
264 $("#mark_paid_uid").val(uid); 264 $("#mark_paid_uid").val(uid);
265 $("#mark_paid_orderCode").textbox('setValue',orderCode); 265 $("#mark_paid_orderCode").textbox('setValue',orderCode);
266 - $("#mark_paid_alipayAccount").val(alipayAccount); 266 +
267 $("#mark_paid_amount").textbox('setValue',amount); 267 $("#mark_paid_amount").textbox('setValue',amount);
268 268
269 $("#markPaidConfirmDialog").dialog('open'); 269 $("#markPaidConfirmDialog").dialog('open');
@@ -307,11 +307,11 @@ function refundGo() { @@ -307,11 +307,11 @@ function refundGo() {
307 307
308 function markPaidGo() { 308 function markPaidGo() {
309 var param={}; 309 var param={};
310 - param.sceneId = 10; 310 + param.sceneId = $("#mark_paid_sceneId").val();
311 param.tradeBillsId = $("#mark_paid_tradeBillsId").val(); 311 param.tradeBillsId = $("#mark_paid_tradeBillsId").val();
312 param.uid=$("#mark_paid_uid").val(); 312 param.uid=$("#mark_paid_uid").val();
313 param.orderCode=$("#mark_paid_orderCode").val(); 313 param.orderCode=$("#mark_paid_orderCode").val();
314 - param.alipayAccount=$("#mark_paid_alipayAccount").val() || "0"; 314 + param.alipayAccount="0";
315 param.amount=$("#mark_paid_amount").val(); 315 param.amount=$("#mark_paid_amount").val();
316 316
317 //发送请求 317 //发送请求