Authored by caoyan

订单管理

@@ -349,14 +349,21 @@ function getAlreadyJudgedList(){ @@ -349,14 +349,21 @@ function getAlreadyJudgedList(){
349 349
350 columns: [[{ 350 columns: [[{
351 title: "平台快递单号", 351 title: "平台快递单号",
352 - field: "sellerWaybillCode", 352 + field: "platformWaybillCode",
353 width: 30, 353 width: 30,
354 align: "center" 354 align: "center"
355 }, { 355 }, {
356 title: "收货仓库", 356 title: "收货仓库",
357 field: "depotNo", 357 field: "depotNo",
358 width: 20, 358 width: 20,
359 - align: "center" 359 + align: "center",
  360 + formatter: function (value, rowData, rowIndex) {
  361 + if (value == 0) {
  362 + return "北京";
  363 + }else if(value == 1){
  364 + return "南京";
  365 + }
  366 + }
360 }, { 367 }, {
361 title: "商品件数", 368 title: "商品件数",
362 field: "productNum", 369 field: "productNum",
@@ -364,7 +371,7 @@ function getAlreadyJudgedList(){ @@ -364,7 +371,7 @@ function getAlreadyJudgedList(){
364 align: "center" 371 align: "center"
365 }, { 372 }, {
366 title: "SKU-P", 373 title: "SKU-P",
367 - field: "skuStr", 374 + field: "skup",
368 width: 20, 375 width: 20,
369 align: "center" 376 align: "center"
370 }, { 377 }, {
@@ -457,9 +464,9 @@ function addRejectPage(id) { @@ -457,9 +464,9 @@ function addRejectPage(id) {
457 } 464 }
458 465
459 function deliverGoods(id){ 466 function deliverGoods(id){
460 - var expressCompany = $("#expressCompany").myCombobox("getValue"); 467 + var expressCompanyId = $("#expressCompany").myCombobox("getValue");
461 var waybillCode = $("#waybillCode").textbox("getValue"); 468 var waybillCode = $("#waybillCode").textbox("getValue");
462 - if(expressCompany==''){ 469 + if(expressCompanyId==''){
463 alert("请选择快递公司!"); 470 alert("请选择快递公司!");
464 return; 471 return;
465 } 472 }
@@ -470,7 +477,7 @@ function deliverGoods(id){ @@ -470,7 +477,7 @@ function deliverGoods(id){
470 $.post(contextPath + "/buyerOrder/updateOrderStatus", { 477 $.post(contextPath + "/buyerOrder/updateOrderStatus", {
471 id : id, 478 id : id,
472 status : 4, 479 status : 4,
473 - expressCompay : expressCompany, 480 + expressCompanyId : expressCompanyId,
474 waybillCode : waybillCode 481 waybillCode : waybillCode
475 }, function(data) { 482 }, function(data) {
476 if (data.code == 200) { 483 if (data.code == 200) {