|
|
|
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShopData.aspx.cs" Inherits="TradeManage.SysManage.ShopData" %>
|
|
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
|
<title>店铺数据</title>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../themes/default/easyui.css" />
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../themes/icon.css" />
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../themes/New.css" />
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../themes/DataGrid.css" />
|
|
|
|
|
<script src="../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/jquery.min.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/jquery.easyui.min.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/DataGrid.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/DataPager.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/jquery.url.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/jquery.bgiframe.min.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/Global.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/WindowLoad.js" type="text/javascript"></script>
|
|
|
|
|
<script src="../Scripts/MaskedTextBox.js" type="text/javascript"></script>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="../Scripts/fancybox/jquery.fancybox-1.3.4.css"
|
|
|
|
|
media="screen" />
|
|
|
|
|
<script type="text/javascript" src="../Scripts/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
|
|
|
|
|
<script type="text/javascript" src="../Scripts/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
|
|
var datagrid1 = new nblf.ui.DataGrid("DataGrid1");
|
|
|
|
|
var UserId = "<%=Session["UserId"]%>";
|
|
|
|
|
var WindowLoadModel = new WindowLoad();
|
|
|
|
|
var Id = 0;
|
|
|
|
|
$(document).ready(function () {
|
|
|
|
|
WindowLoadModel.ApplicationPath = "../";
|
|
|
|
|
WindowLoadModel.ControlID = "WindowLoad";
|
|
|
|
|
WindowLoadModel.Isbgiframe = true;
|
|
|
|
|
WindowLoadModel.Load();
|
|
|
|
|
ajaxInit(WindowLoadModel);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CreateDataGrid();
|
|
|
|
|
GetShopList();
|
|
|
|
|
if (UserId == 1) {
|
|
|
|
|
$("#txtRate7").removeAttr("disabled");
|
|
|
|
|
|
|
|
|
|
} $("#txtGoodRate,#txtODR,#txtDSRGoods,#txtDSRService,#txtDSRPost,#txtUSDUseMoney,#txtUSDNoMoney,#txtRMBUseMoney,#txtRMBNoMoney,#txtInfor,#txtProperty,#txtOther").MaskedTextBox();
|
|
|
|
|
ReadData();
|
|
|
|
|
$("#select_shop").bind("change", function () {
|
|
|
|
|
GetShopDayFee();
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
$("#" + datagrid1.TableID + " [CommandName='cmdEdit']").live("click", function () {
|
|
|
|
|
var RowIndex = $(this).parentsUntil("tr").parent().attr("index");
|
|
|
|
|
var model = datagrid1.Get_Model(RowIndex);
|
|
|
|
|
Id = model.Id;
|
|
|
|
|
Clear();
|
|
|
|
|
$("#select_shop").val(model.ShopId);
|
|
|
|
|
$("#txtGoodRate").val(model.GoodRate);
|
|
|
|
|
$("#txtODR").val(model.ODR);
|
|
|
|
|
$("#txtDSRGoods").val(model.DSRGoods);
|
|
|
|
|
$("#txtDSRService").val(model.DSRService);
|
|
|
|
|
$("#txtDSRPost").val(model.DSRPost);
|
|
|
|
|
$("#txtUSDUseMoney").val(model.USDUseMoney);
|
|
|
|
|
$("#txtUSDNoMoney").val(model.USDNoMoney);
|
|
|
|
|
$("#txtRMBUseMoney").val(model.RMBUseMoney);
|
|
|
|
|
$("#txtRMBNoMoney").val(model.RMBNoMoney);
|
|
|
|
|
$("#txtInfor").val(model.InforViolate);
|
|
|
|
|
if (model.InDate != null)
|
|
|
|
|
$("#txt_InDate").val(model.InDate.localeFormat("yyyy-MM-dd"));
|
|
|
|
|
$("#txtRate1").val(model.Rate1);
|
|
|
|
|
$("#txtRate2").val(model.Rate2);
|
|
|
|
|
$("#txtRate3").val(model.Rate3);
|
|
|
|
|
$("#txtRate4").val(model.Rate4);
|
|
|
|
|
$("#txtRate5").val(model.Rate5);
|
|
|
|
|
$("#txtRate6").val(model.Rate6);
|
|
|
|
|
$("#txtRate7").val(model.Rate7);
|
|
|
|
|
$("#txtProperty").val(model.PropertyViolate);
|
|
|
|
|
if(model.FeeDate!=null)
|
|
|
|
|
$("#txt_FeeDate").val(model.FeeDate.localeFormat("yyyy-MM-dd"));
|
|
|
|
|
if (model.TXFee != null)
|
|
|
|
|
$("#txt_TXFee").val(model.TXFee);
|
|
|
|
|
|
|
|
|
|
$("#txtOther").val(model.OtherViolate);
|
|
|
|
|
fopen();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#btn_add").bind("click", function () {
|
|
|
|
|
Clear();
|
|
|
|
|
Id = 0;
|
|
|
|
|
// var dd = new Date();
|
|
|
|
|
// $("#txt_InDate").val(dd.getFullYear() + "-" + (dd.getMonth() + 1) + "-" + dd.getDate());
|
|
|
|
|
fopen();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#btn_sch").bind("click", function () {
|
|
|
|
|
ReadData();
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function GetShopDayFee() {
|
|
|
|
|
|
|
|
|
|
var param = new Object();
|
|
|
|
|
|
|
|
|
|
param.ShopId = $("#select_shop").val();
|
|
|
|
|
|
|
|
|
|
WindowLoadModel.Show();
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "../BaseDataNew.asmx/GetListShopDayFee",
|
|
|
|
|
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
|
|
|
|
|
async:false,
|
|
|
|
|
success: function (data) {
|
|
|
|
|
WindowLoadModel.Hide();
|
|
|
|
|
|
|
|
|
|
if (data.d != null && data.d.Rate7 != null) {
|
|
|
|
|
|
|
|
|
|
$("#txtRate7").val(data.d.Rate7);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
$("#txtRate7").val("");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var ShopIds = "";
|
|
|
|
|
function GetShopList() {
|
|
|
|
|
$("#select_shop").append("<option value='0'>-选择-</option>");
|
|
|
|
|
$("#select_shop1").append("<option value='0'>全部</option>");
|
|
|
|
|
var param = new Object();
|
|
|
|
|
|
|
|
|
|
param.PlatType = 0;
|
|
|
|
|
|
|
|
|
|
WindowLoadModel.Show();
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "../BaseData.asmx/GetShopListForTM",
|
|
|
|
|
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
|
|
|
|
|
async:false,
|
|
|
|
|
success: function (data) {
|
|
|
|
|
WindowLoadModel.Hide();
|
|
|
|
|
|
|
|
|
|
if (data.d != null) {
|
|
|
|
|
$(data.d).each(function () {
|
|
|
|
|
ShopIds += this.ShopId + ",";
|
|
|
|
|
$("#select_shop,#select_shop1").append("<option value='" + this.ShopId + "'>" + this.ShopName + "</option>");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
function Clear()
|
|
|
|
|
{
|
|
|
|
|
$("#txt_FeeDate").val("");
|
|
|
|
|
$("#txt_TXFee").val("");
|
|
|
|
|
$("#select_shop").val("0");
|
|
|
|
|
$("#txtGoodRate").val("");
|
|
|
|
|
$("#txtODR").val("");
|
|
|
|
|
$("#txtDSRGoods").val("");
|
|
|
|
|
$("#txtDSRService").val("");
|
|
|
|
|
$("#txtDSRPost").val("");
|
|
|
|
|
$("#txtUSDUseMoney").val("");
|
|
|
|
|
$("#txtUSDNoMoney").val("");
|
|
|
|
|
$("#txtRMBUseMoney").val("");
|
|
|
|
|
$("#txtRMBNoMoney").val("");
|
|
|
|
|
$("#txtInfor").val("");
|
|
|
|
|
$("#txtProperty").val("");
|
|
|
|
|
$("#txtOther").val("");
|
|
|
|
|
$("#txtOtherViolate").val("");
|
|
|
|
|
$("#txtInforViolate").val("");
|
|
|
|
|
$("#txtRate1").val("");
|
|
|
|
|
$("#txtRate2").val("");
|
|
|
|
|
$("#txtRate3").val("");
|
|
|
|
|
$("#txtRate4").val("");
|
|
|
|
|
$("#txtRate5").val("");
|
|
|
|
|
$("#txtRate6").val("");
|
|
|
|
|
$("#txtRate7").val("");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function fopen() {
|
|
|
|
|
|
|
|
|
|
$.fancybox({
|
|
|
|
|
'width': '40%',
|
|
|
|
|
'height': '40%',
|
|
|
|
|
'autoScale': false,
|
|
|
|
|
'transitionIn': 'elastic',
|
|
|
|
|
'transitionOut': 'elastic',
|
|
|
|
|
'href': '#test',
|
|
|
|
|
'onComplete': function () {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function fopen() {
|
|
|
|
|
|
|
|
|
|
$.fancybox({
|
|
|
|
|
'width': '40%',
|
|
|
|
|
'height': '40%',
|
|
|
|
|
'autoScale': false,
|
|
|
|
|
'transitionIn': 'elastic',
|
|
|
|
|
'transitionOut': 'elastic',
|
|
|
|
|
'href': '#test',
|
|
|
|
|
'onComplete': function () {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//#endregion
|
|
|
|
|
//#region 初始化DataGrid
|
|
|
|
|
function CreateDataGrid() {
|
|
|
|
|
|
|
|
|
|
var col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "店铺";
|
|
|
|
|
col.CellTemplate = "<a>{Bind ShopName}</a>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
|
|
|
|
|
// col = new nblf.ui.DataGridColumn();
|
|
|
|
|
// col.HeaderText = "今天订单数";
|
|
|
|
|
// col.CellTemplate = "<a>{Bind InforViolate}</a>";
|
|
|
|
|
// Array.add(datagrid1.Columns, col);
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "好评率";
|
|
|
|
|
col.CellTemplate = "<a>{Bind GoodRate}</a>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "店铺评分";
|
|
|
|
|
col.CellTemplate = "<span>{Bind ODR}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "访客量";
|
|
|
|
|
col.CellTemplate = "<a>{Bind DSRGoods}</a>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "转化率";
|
|
|
|
|
col.CellTemplate = "<span>{Bind DSRService}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "订单缺陷率";
|
|
|
|
|
col.CellTemplate = "<span>{Bind Rate1}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "有效跟踪码率";
|
|
|
|
|
col.CellTemplate = "<span>{Bind Rate2}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "日广告投入";
|
|
|
|
|
col.CellTemplate = "<span>{Bind Rate3}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "月广告投入";
|
|
|
|
|
col.CellTemplate = "<span>{Bind Rate6}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "投入产出比";
|
|
|
|
|
col.CellTemplate = "<span>{Bind DSRPost}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "退款率";
|
|
|
|
|
col.CellTemplate = "<span>{Bind Rate4}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "取消率";
|
|
|
|
|
col.CellTemplate = "<span>{Bind Rate5}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "退款金额";
|
|
|
|
|
col.CellTemplate = "<span>{Bind PropertyViolate}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "迟发率/延迟发货率";
|
|
|
|
|
col.CellTemplate = "<span>{Bind OtherViolate}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "填写人";
|
|
|
|
|
col.CellTemplate = "<span>{Bind InName}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "填写日期";
|
|
|
|
|
col.CellTemplate = "<span>{Bind InDate,yyyy-MM-dd}</span>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
col = new nblf.ui.DataGridColumn();
|
|
|
|
|
col.HeaderText = "操作";
|
|
|
|
|
col.Width = "180px";
|
|
|
|
|
col.CellTemplate = "<input CommandName='cmdEdit' class='btnClass dgbtnEdit' type='button' value='编辑'></input> <input onclick='DelCol(this)' class='btnClass dgbtnDel' type='button' value='删除'></input>";
|
|
|
|
|
Array.add(datagrid1.Columns, col);
|
|
|
|
|
datagrid1.SetPageSize(30);
|
|
|
|
|
datagrid1.SetPageIndex(1);
|
|
|
|
|
datagrid1.IsFixHeader = false;
|
|
|
|
|
datagrid1.ShowIndexColumn = false;
|
|
|
|
|
datagrid1.AllowPaging = true;
|
|
|
|
|
datagrid1.Width = "100%";
|
|
|
|
|
datagrid1.SelectMode = nblf.ui.SelectMode.None;
|
|
|
|
|
datagrid1.Init();
|
|
|
|
|
datagrid1.add_PageIndexChanged(function () { ReadData(); });
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#endregion
|
|
|
|
|
//#region 读取数据
|
|
|
|
|
function ReadData() {
|
|
|
|
|
|
|
|
|
|
var param = new Object();
|
|
|
|
|
param.ShopId = $("#select_shop1").val();
|
|
|
|
|
param.ShopIds = ShopIds;
|
|
|
|
|
param.SDate = $("#txtSDate").val();
|
|
|
|
|
param.EDate = $("#txtEDate").val();
|
|
|
|
|
param.PageSize = datagrid1.Get_PageSize();
|
|
|
|
|
param.PageIndex = datagrid1.Get_PageIndex();
|
|
|
|
|
|
|
|
|
|
WindowLoadModel.Show();
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "../SysManageServiceNew.asmx/GetListJC_ShopData2",
|
|
|
|
|
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
|
|
|
|
|
success: function (data) {
|
|
|
|
|
WindowLoadModel.Hide();
|
|
|
|
|
datagrid1.Set_RowCount(data.d.RowCount);
|
|
|
|
|
datagrid1.DataBind(data.d.DataSource);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#endregion
|
|
|
|
|
//#region 删除
|
|
|
|
|
function DelCol(obj) {
|
|
|
|
|
if (window.confirm('确定要删除吗?') == false) return;
|
|
|
|
|
var rowindex = $(obj).parent().parent().attr("index");
|
|
|
|
|
var param = new Object();
|
|
|
|
|
var model = datagrid1.Get_Model(rowindex);
|
|
|
|
|
|
|
|
|
|
param.Id = model.Id;
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "SysManageService.asmx/DeleteShopData",
|
|
|
|
|
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
|
|
|
|
|
dataType: "json",
|
|
|
|
|
success: function (data) {
|
|
|
|
|
alert("删除成功");
|
|
|
|
|
ReadData();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
function save() {
|
|
|
|
|
|
|
|
|
|
if ($("#select_shop").val() == "0") {
|
|
|
|
|
alert("请选择店铺");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if ($("#txt_InDate").val() == "") {
|
|
|
|
|
alert("请填写数据日期");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
//if ($("#txtODR").val() == "") {
|
|
|
|
|
// alert("请填写ODR");
|
|
|
|
|
// return;
|
|
|
|
|
//}
|
|
|
|
|
//if ($("#txtDSRGoods").val() == "") {
|
|
|
|
|
// alert("请填写DSR商品");
|
|
|
|
|
// return;
|
|
|
|
|
//}
|
|
|
|
|
//if ($("#txtDSRService").val() == "") {
|
|
|
|
|
// alert("请填写DSR服务");
|
|
|
|
|
// return;
|
|
|
|
|
//}
|
|
|
|
|
//if ($("#txtDSRPost").val() == "") {
|
|
|
|
|
// alert("请填写DSR物流");
|
|
|
|
|
// return;
|
|
|
|
|
//}
|
|
|
|
|
// if ($("#txtUSDUseMoney").val() == "") {
|
|
|
|
|
// alert("请填写美金账户可用余额,没有填0");
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
// if ($("#txtUSDNoMoney").val() == "") {
|
|
|
|
|
// alert("请填写美金账户冻结余额,没有填0");
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
// if ($("#txtRMBUseMoney").val() == "") {
|
|
|
|
|
// alert("请填写人民币账户可用余额,没有填0");
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
// if ($("#txtRMBNoMoney").val() == "") {
|
|
|
|
|
// alert("请填写人民币账户冻结余额,没有填0");
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var md = new Object();
|
|
|
|
|
var param = new Object();
|
|
|
|
|
md.Id = Id;
|
|
|
|
|
md.InDate = $("#txt_InDate").val();
|
|
|
|
|
md.GoodRate = $("#txtGoodRate").val();
|
|
|
|
|
md.ODR = $("#txtODR").val();
|
|
|
|
|
md.DSRGoods = $("#txtDSRGoods").val();
|
|
|
|
|
md.DSRService = $("#txtDSRService").val();
|
|
|
|
|
md.DSRPost = $("#txtDSRPost").val();
|
|
|
|
|
md.USDUseMoney = $("#txtUSDUseMoney").val().replace(",", "").trim();
|
|
|
|
|
md.USDNoMoney = $("#txtUSDNoMoney").val().replace(",", "").trim();
|
|
|
|
|
md.RMBUseMoney = $("#txtRMBUseMoney").val().replace(",", "").trim();
|
|
|
|
|
md.RMBNoMoney = $("#txtRMBNoMoney").val().replace(",","").trim();
|
|
|
|
|
md.ShopId = $("#select_shop").val();
|
|
|
|
|
md.InforViolate = 0;
|
|
|
|
|
if ($("#txtInfor").val()!="")
|
|
|
|
|
md.InforViolate = $("#txtInfor").val();
|
|
|
|
|
md.PropertyViolate = 0;
|
|
|
|
|
if ($("#txtProperty").val()!="")
|
|
|
|
|
md.PropertyViolate = $("#txtProperty").val();
|
|
|
|
|
md.OtherViolate = 0;
|
|
|
|
|
if ($("#txtOther").val()!="")
|
|
|
|
|
md.OtherViolate = $("#txtOther").val();
|
|
|
|
|
if ($("#txtRate5").val() != "")
|
|
|
|
|
md.Rate5 = $("#txtRate5").val();
|
|
|
|
|
|
|
|
|
|
if ($("#txtRate6").val() != "")
|
|
|
|
|
md.Rate6 = $("#txtRate6").val();
|
|
|
|
|
md.Rate1 = $("#txtRate1").val();
|
|
|
|
|
md.Rate2 = $("#txtRate2").val();
|
|
|
|
|
md.Rate3 = $("#txtRate3").val();
|
|
|
|
|
md.Rate4 = $("#txtRate4").val();
|
|
|
|
|
md.FeeDate = $("#txt_FeeDate").val();
|
|
|
|
|
if ($("#txt_TXFee").val() != "")
|
|
|
|
|
md.TXFee = $("#txt_TXFee").val();
|
|
|
|
|
if ($("#txtRate7").val() != "")
|
|
|
|
|
md.Rate7 = $("#txtRate7").val();
|
|
|
|
|
param.Model = md;
|
|
|
|
|
WindowLoadModel.Show();
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: "../SysManageServiceNew.asmx/SaveShopData2",
|
|
|
|
|
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
|
|
|
|
|
dataType: "json",
|
|
|
|
|
success: function (data) {
|
|
|
|
|
WindowLoadModel.Hide();
|
|
|
|
|
|
|
|
|
|
alert("保存成功");
|
|
|
|
|
ReadData();
|
|
|
|
|
$.fancybox.close();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#endregion
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
<body class="headbody">
|
|
|
|
|
<div style="display: none">
|
|
|
|
|
<div id="test" title="供应商" style="width:680px; height:390px;">
|
|
|
|
|
<table width="95%" class="tableAll" border="1" ellspacing="0" cellpadding="2">
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 110px;" class="f1">
|
|
|
|
|
<font color="red" style="font-weight: bolder">*</font>店铺:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
|
|
<select id="select_shop" class="selectClass" name="D4" style="width:120px;">
|
|
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
</td>
|
|
|
|
|
<td style="width: 110px;" class="f1">
|
|
|
|
|
<font color="red" style="font-weight: bolder">*</font>数据日期:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txt_InDate" class="editTextbox" style="width: 120px;" type="text" onfocus="WdatePicker()"/>
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr style="display:none"> <td style="width: 110px;" class="f1">
|
|
|
|
|
今日订单数:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtInfor" min='0' max='10000' precision='2' class="editTextbox" style="width:95%;" type="text" />
|
|
|
|
|
</td><td></td><td></td></tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 110px;" class="f1">
|
|
|
|
|
好评率:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtGoodRate" min='0' max='100' precision='2' class="editTextbox" style="width:60%;" type="text" />%
|
|
|
|
|
|
|
|
|
|
</td> <td style="width: 110px;" class="f1">
|
|
|
|
|
店铺评分:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtODR" min='0' max='100' precision='2' class="editTextbox" style="width:75%;" type="text" />
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 110px;" class="f1">
|
|
|
|
|
访客量:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtDSRGoods" min='0' max='100000000' precision='0' class="editTextbox" style="width:75%;" type="text" />
|
|
|
|
|
|
|
|
|
|
</td> <td style="width: 110px;" class="f1">
|
|
|
|
|
转化率:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtDSRService" min='0' max='1000' precision='2' class="editTextbox" style="width:95%;" type="text" />
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 110px;" class="f1">
|
|
|
|
|
订单缺陷率:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtRate1" min='0' max='100' precision='2' class="editTextbox" style="width:60%;" type="text" />%
|
|
|
|
|
|
|
|
|
|
</td> <td style="width: 110px;" class="f1">
|
|
|
|
|
有效跟踪码率:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtRate2" min='0' max='1000' precision='2' class="editTextbox" style="width:75%;" type="text" /> %
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 110px;" class="f1">
|
|
|
|
|
日广告投入:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtRate3" min='0' max='100000000' precision='2' class="editTextbox" style="width:60%;" type="text" />
|
|
|
|
|
|
|
|
|
|
</td><td style="width: 110px;" class="f1">
|
|
|
|
|
月广告投入:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtRate6" min='0' max='1000000000' precision='2' class="editTextbox" style="width:75%;" type="text" />
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 110px;" class="f1">
|
|
|
|
|
投入产出比:
|
|
|
|
|
</td>
|
|
|
|
|
<td >
|
|
|
|
|
<input id="txtDSRPost" min='0' max='100000' precision='2' class="editTextbox" style="width:75%;" type="text" />
|
|
|
|
|
|
|
|
|
|
</td> <td style="width: 110px;" class="f1">
|
|
|
|
|
迟发率/延迟发货率:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtOther" min='0' max='100' precision='2' class="editTextbox" style="width:75%;" type="text" />%
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr> <td style="width: 110px;" class="f1">
|
|
|
|
|
退款率:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtRate4" min='0' max='1000' precision='2' class="editTextbox" style="width:75%;" type="text" /> %
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
<td style="width: 110px;" class="f1">
|
|
|
|
|
取消率:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtRate5" min='0' max='100' precision='2' class="editTextbox" style="width:60%;" type="text" />%
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr >
|
|
|
|
|
|
|
|
|
|
<td style="width: 110px;" class="f1">
|
|
|
|
|
退款金额
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtProperty" min='0' max='10000000' precision='2' class="editTextbox" style="width:75%;" type="text" />
|
|
|
|
|
</td>
|
|
|
|
|
<td style="width: 110px;" class="f1">
|
|
|
|
|
日费
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtRate7" class ="editTextbox" style="width:75%;" disabled="disabled" type="text" />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 110px;" class="f1">
|
|
|
|
|
<font color="red" style="font-weight: bolder">*</font> 速卖通美元账户可用:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtUSDUseMoney" min='0' max='10000000' precision='2' class="editTextbox" style="width:95%;" type="text" />
|
|
|
|
|
|
|
|
|
|
</td> <td style="width: 110px;" class="f1">
|
|
|
|
|
<font color="red" style="font-weight: bolder">*</font>速卖通美元账户冻结:
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtUSDNoMoney" class="editTextbox" style="width:95%;" type="text" />
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="width: 110px;" class="f1">
|
|
|
|
|
<font color="red" style="font-weight: bolder">*</font>速卖通人民币账户可用:
|
|
|
|
|
</td>
|
|
|
|
|
<td width="35%">
|
|
|
|
|
<input id="txtRMBUseMoney" min='0' max='10000000' precision='2' class="editTextbox" style="width:95%;" type="text" />
|
|
|
|
|
|
|
|
|
|
</td> <td style="width: 110px;" class="f1">
|
|
|
|
|
<font color="red" style="font-weight: bolder">*</font> 速卖通人民币账户冻结:
|
|
|
|
|
</td>
|
|
|
|
|
<td width="35%">
|
|
|
|
|
<input id="txtRMBNoMoney" min='0' max='10000000' precision='2' class="editTextbox" style="width:95%;" type="text" />
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
|
|
<td class="f1">上次提现日期:</td>
|
|
|
|
|
<td> <input id="txt_FeeDate" class="editTextbox" style="width: 120px;" type="text" onfocus="WdatePicker()"/></td> <td style="width: 110px;" class="f1">
|
|
|
|
|
提现金额
|
|
|
|
|
</td>
|
|
|
|
|
<td width="35%">
|
|
|
|
|
<input id="txt_TXFee" min='0' max='10000000' precision='2' class="editTextbox" style="width:85%;" type="text" />$
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="center" colspan="4">
|
|
|
|
|
<input id="btn_Save" type="button" class="btnClass btnClassSave" value="保 存" onclick="save();"/> <input
|
|
|
|
|
id="btn_Cancel" type="button" class="btnClass btnClassClose" value="关 闭" />
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="title_ico">
|
|
|
|
|
店铺数据
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<table id="tb1" class="tableAll" style="width: 100%;">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
|
|
<td class="f1" width="13%">店铺:</td>
|
|
|
|
|
<td width="15%">
|
|
|
|
|
<select id="select_shop1" class="selectClass" name="D5" style="width:120px;">
|
|
|
|
|
</select></td>
|
|
|
|
|
|
|
|
|
|
<td class="f1" width="13%">日期:</td>
|
|
|
|
|
<td>
|
|
|
|
|
<input id="txtSDate" class="editTextbox" style="width: 120px;" type="text" onfocus="WdatePicker()"/>-<input id="txtEDate" class="editTextbox" style="width: 120px;" type="text" onfocus="WdatePicker()"/></td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
<input id="btn_sch" class="btnClass btnClassFind" type="button" value="查询" /></td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="5" class="auto-style1">
|
|
|
|
|
<input id="btn_add" class="btnClass btnClassAdd" type="button" value="新增" />
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td valign="top" colspan="5">
|
|
|
|
|
<div id="DataGrid1" class="DataGridStyle"></div>
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|