食蔬宝分拣系统V1.0 单机版 免费向全社会开放免费使用
对接各大厂家的电子称 欢迎电子称厂家来合作对接
食蔬宝分拣系统是杭州新耀科技有限公司 历时3年开发初步版本 主要是服务于农产品生鲜称重分拣出库操作 对接外部订单 出库配送到签收。
/// <summary>
/// 按订单客户
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void UCChSortingbyorder_CheckedChangeEvent(object sender, EventArgs e)
{
if (UCChSortingbyorder.Checked)
{
//购物车清空
this.SortingOrderCartListPage.DataSource = null;
this.UCSortingLeftClientListView.DataSource = null;
GridSearchProduct.DataSource = null;
//扫码模式 切换到表格显示模式
BtnSortingOK.Visible = !UCChSortingbyorder.Checked;
btnSelectAll.Visible = !UCChSortingbyorder.Checked;//全选
btnInvertSelect.Visible = !UCChSortingbyorder.Checked;//反选
ucSwitchSorting.Texts[0] = "订单";
ucSwitchSorting.Texts[1] = "客户";
ucSwitchSorting.Visible = UCChSortingbyorder.Checked;//汇总单品
ucSwitchSorting.Update();
label3.Text = "订单号:";
label3.Visible = UCChSortingbyorder.Checked;
label2.Visible = UCChSortingbyorder.Checked;
label4.Visible = UCChSortingbyorder.Checked;
LabCount.Visible = UCChSortingbyorder.Checked;
LabOrdernoMsg.Visible = UCChSortingbyorder.Checked;
UCSwitchPricetagData.Visible = !UCChSortingbyorder.Checked;
labelControl2.Visible = !UCChSortingbyorder.Checked;
label4.Text = "队列数";
LabSortingquantity.Text = "";
//触发一下
ucSwitchSorting.Checked = true;
UCChBysummaryorder.Checked = !UCChSortingbyorder.Checked;//按汇总分拣
UCChBydistributionoute.Checked = !UCChSortingbyorder.Checked;//按路线
UCChByitem.Checked = !UCChSortingbyorder.Checked;//按扫码单品分拣
UCChCustomers.Checked = !UCChSortingbyorder.Checked;//散客式分拣
ucBtnOutOrder.Visible = !UCChSortingbyorder.Checked;//出库单
ucChWmsPickingState.Visible = !UCChSortingbyorder.Checked;//显示全部
//显示右边汇总分拣称重模式
this.ucRightSortingdetailsWeighing.Visible = !UCChSortingbyorder.Checked; //订单汇总商品不显示
this.UCBasicCustomerComSelect.Visible = !UCChSortingbyorder.Checked;//客户列表
this.ucRouteSummarizationSorting.Visible = !UCChSortingbyorder.Checked;//配送线路
this.UCCateidSelect.Visible = !UCChSortingbyorder.Checked;//类别
//显示为表格
GridSearchProduct.Visible = !UCChSortingbyorder.Checked;//扫码分拣是不显示
BaseSystemInfoClient.CurrentSelectedSortingCartSourceClear();//清空购物车
//追加订单汇总
BtnSortingOK.Visible = UCChSortingbyorder.Checked;
BtnSortingOK.BtnText = "追加订单汇总";
//订单客户右边显示
ucSortingCustomerbyOrderWeighing.Visible = UCChSortingbyorder.Checked;
ucSortingCustomerbyOrderWeighing.Dock = DockStyle.Fill;
ucSortingCustomerbyOrderWeighing.Refresh();
if (ucSortingCustomerbyOrderWeighing.CurrentExSortingCustomerbyOrderInfo != null)
{
LabSortingquantity.Visible = UCChSortingbyorder.Checked;
StringBuilder sb = new StringBuilder();
sb.AppendFormat("{0}/{1}", ucSortingCustomerbyOrderWeighing.PageIndex.ToString(), ucSortingCustomerbyOrderWeighing.Pagecount.ToString());
LabSortingquantity.Text = sb.ToString();
LabOrdernoMsg.Text = ucSortingCustomerbyOrderWeighing.CurrentExSortingCustomerbyOrderInfo.OrderNo;
ucSortingCustomerbyOrderWeighing.UCSwitchSorting = ucSwitchSorting.Checked;
ucSortingCustomerbyOrderWeighing.Search = PsnSearch;
}
SetControlState();
}
UCChSortingbyorder.Checked = (UCChByitem.Checked == false && UCChBysummaryorder.Checked == false && UCChBydistributionoute.Checked == false && UCChCustomers.Checked == false);//取消其他分拣
}
/// <summary>
/// 按扫码单品 可以对称重好的商品进行扫描式分拣。确认当前需要分拣的订单完成分拣任务操作 扫描分拣好的订单进行分拣对比需求完成分拣。如果有需求单则显示,无则提示无需求订单。
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void UCChByitem_CheckedChangeEvent(object sender, EventArgs e)
{
if (UCChByitem.Checked)
{
UCChBysummaryorder.Checked = !UCChByitem.Checked;//按汇总分拣
UCChSortingbyorder.Checked = !UCChByitem.Checked;//按订单客户
UCChBydistributionoute.Checked = !UCChByitem.Checked;//按路线
UCChCustomers.Checked = !UCChByitem.Checked;//散客式分拣
this.BtnSortingOK.BtnText = "转销售出货单";
txtSearch.Visible = UCChByitem.Checked;
BtnSortingOK.Visible = UCChByitem.Checked;
SortingOrderCartListPage.DataSource = null;//扫码分拣清空当前的购物车
ucSwitchSorting.Visible = !UCChByitem.Checked;//汇总单品
ucChWmsPickingState.Visible = !UCChByitem.Checked;//显示已分拣
UCCateidSelect.Visible = !UCChByitem.Checked;//类别列表
UCBasicCustomerComSelect.Visible = UCChByitem.Checked;//客户列表
btnSelectAll.Visible = UCChByitem.Checked;//全选
btnInvertSelect.Visible = UCChByitem.Checked;//反选
ucBtnOutOrder.Visible = UCChByitem.Checked;//出库单
labelControl2.Visible = UCChByitem.Checked; //类别列表
labelControl2.Text = UCChByitem.Checked == true ? "客户" : "类别";//标签
UCSwitchPricetagData.Checked = false;//
UCSwitchPricetagData.Visible = UCChByitem.Checked;//标价签数据
label3.Text = UCSwitchPricetagData.Checked ? "本地标价签数据" : "开始扫码数据";
label3.Visible = UCChByitem.Checked;
LabOrdernoMsg.Text = "";
label2.Visible = !UCChByitem.Checked;
label4.Text = "记录数";
label4.Visible = UCChByitem.Checked;
LabSortingquantity.Visible = UCChByitem.Checked;
//扫码模式 切换到表格显示模式
this.ucRightSortingdetailsWeighing.Visible = !UCChByitem.Checked;//
this.ucSortingCustomerbyOrderWeighing.Visible = !UCChByitem.Checked; //订单客户客而不显示
this.ucCustomersSortingWeighingRight.Visible = !UCChByitem.Checked;//散货分拣
this.ucRouteSummarizationSorting.Visible = !UCChByitem.Checked;//配送线路
BaseSystemInfoClient.CurrentSelectedSortingCartSourceClear();//清空购物车
SortingOrderCartListPage.DataSource = null;
GridSearchProduct.DataSource = null;
//显示为表格
GridSearchProduct.Dock = DockStyle.Fill;
GridSearchProduct.Refresh();
GridSearchProduct.Visible = UCChByitem.Checked;//表格显示
SetControlState();
}
UCChByitem.Checked = (UCChBysummaryorder.Checked == false && UCChSortingbyorder.Checked == false && UCChBydistributionoute.Checked == false && UCChCustomers.Checked == false);//
}
/// <summary>
/// 配送路线
/// </summary>
/// <param name="selectedId"></param>
private void UCDeliveryCycleSelect_SelectedIndexChanged(string selectedId)
{
//配送线路
if (UCChBydistributionoute.Checked)
{
UCChBydistributionoute_CheckedChangeEvent(null, null);
}
}
/// <summary>
/// 按配送线路 选择客户线路进行出所需分拣商品订单
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void UCChBydistributionoute_CheckedChangeEvent(object sender, EventArgs e)
{
if (UCChBydistributionoute.Checked)
{
SelectTag = 0;
UCChBysummaryorder.Checked = !UCChBydistributionoute.Checked;//按汇总订单
UCChSortingbyorder.Checked = !UCChBydistributionoute.Checked;//按订单客户
UCChByitem.Checked = !UCChBydistributionoute.Checked;//按路线
UCChCustomers.Checked = !UCChBydistributionoute.Checked;//散客式分拣
btnSelectAll.Visible = !UCChBydistributionoute.Checked;//全选
btnInvertSelect.Visible = !UCChBydistributionoute.Checked;//反选
ucBtnOutOrder.Visible = !UCChBydistributionoute.Checked;//出库单
this.BtnSortingOK.BtnText = "按路线汇总分拣";
txtSearch.Visible = UCChBydistributionoute.Checked;
BtnSortingOK.Visible = UCChBydistributionoute.Checked;
this.UCDeliveryCycleSelect.Visible = UCChBydistributionoute.Checked;
labelControl2.Visible = !UCChBydistributionoute.Checked; //类别列表
labelControl2.Text = UCChCustomers.Checked == true ? "客户" : "类别";//标签
UCCateidSelect.Visible = !UCChBydistributionoute.Checked;//类别列表
UCBasicCustomerComSelect.Visible = !UCChBydistributionoute.Checked;//客户列表
UCSwitchPricetagData.Visible = !UCChBydistributionoute.Checked;//标价签数据
ucSwitchSorting.Visible = false;//汇总单品
ucChWmsPickingState.Visible = UCChBydistributionoute.Checked;//显示已分拣
label2.Visible = UCChBydistributionoute.Checked;
label3.Text = "分拣单号:";
LabOrdernoMsg.Text = "";
ucSortingCustomerbyOrderWeighing.Visible = !UCChBydistributionoute.Checked; //订单客户客而不显示
sortingWeighingClientInfo = null;
ucRouteSummarizationSorting.SetSortingWeighingSummaryClient(sortingWeighingClientInfo);
SortingOrderCartListPage.DataSource = null;//扫码分拣清空当前的购物车
GridSearchProduct.Visible = !UCChBydistributionoute.Checked;//表格不显示
//显示右边分拣称重模式
ucRouteSummarizationSorting.Dock = DockStyle.Fill;
ucRouteSummarizationSorting.Visible = UCChBydistributionoute.Checked;
ucRouteSummarizationSorting.Refresh();
//显示配送线路汇总商品数据
DeskRouteSummarizationDataBind();
ucRouteSummarizationSorting.DoEnter();//第一次加载后执行一下加载数据 加载数据再进行左边的数据显示
}
else
{
this.UCDeliveryCycleSelect.Visible = !UCChBydistributionoute.Checked;
}
UCChBydistributionoute.Checked = (UCChBysummaryorder.Checked == false && UCChSortingbyorder.Checked == false && UCChByitem.Checked == false && UCChCustomers.Checked == false);//按配送线路
}
/// <summary>
/// 散客式分拣
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void ucChCustomers_CheckedChangeEvent(object sender, EventArgs e)
{
if (UCChCustomers.Checked)
{
UCChBysummaryorder.Checked = !UCChCustomers.Checked;//按汇总订单
UCChSortingbyorder.Checked = !UCChCustomers.Checked;//按订单客户
UCChByitem.Checked = !UCChCustomers.Checked;//扫式分拣
UCChBydistributionoute.Checked = !UCChCustomers.Checked;//按路线
btnSelectAll.Visible = !UCChCustomers.Checked;//全选
btnInvertSelect.Visible = !UCChCustomers.Checked;//反选
ucBtnOutOrder.Visible = UCChCustomers.Checked;//出库单
labelControl2.Visible = !UCChCustomers.Checked; //类别列表
this.txtSearch.Visible = UCChCustomers.Checked;//显示条码扫码
ucSwitchSorting.Visible = !UCChCustomers.Checked;//汇总按钮
BtnSortingOK.Visible = !UCChCustomers.Checked;//重建分拣任务订单 主要用于线路重建汇总分拣
SortingOrderCartListPage.DataSource = null;//扫码分拣清空当前的购物车
ucChWmsPickingState.Visible = !UCChCustomers.Checked;//显示已分拣
UCSwitchPricetagData.Visible = !UCChCustomers.Checked;//标价签数据
ucSortingCustomerbyOrderWeighing.Visible = !UCChCustomers.Checked; //订单客户客而不显示
this.ucCustomersSortingWeighingRight.Visible = UCChCustomers.Checked;//散客式分拣
ucCustomersSortingWeighingRight.Dock = DockStyle.Fill;
ucCustomersSortingWeighingRight.Refresh();
GridSearchProduct.Visible = !UCChCustomers.Checked;//表格不显示
UCBasicCustomerComSelect.Visible = UCChCustomers.Checked;//客户列表显示
UCCateidSelect.Visible = !UCChCustomers.Checked; //分类不显示
SetControlState();
}
else
{
this.UCDeliveryCycleSelect.Visible = false;
}
UCChCustomers.Checked = (UCChBysummaryorder.Checked == false && UCChSortingbyorder.Checked == false && UCChByitem.Checked == false && UCChBydistributionoute.Checked == false);//散客式分拣
}

一、食蔬宝分拣标签打印V1.0


二、商品综合报表

三、汇总需求单
单机版免费使用
下载地址:http://sdkjt.kjtcn.net/CrossBorderKcy/Downloadlist/downloadSortingSoftwareSetup
加我QQ :183840232,手机:15557148372,微信号:15557148372
浙公网安备 33010602011771号