有谁能告诉我物流公司的运费结算作业流程谢谢,急用

有谁能告诉我物流公司的运费结算作业流程谢谢,急用,第1张

物流公司运费结算是各项工作中最为重要的。运费的结算共分为分为两个程序:第一是物流公司向托运方(客户,发货方)结算运费的流程。第二是物流公司对挂靠车辆或自有车辆的运费结算的流程。这两个流程是不同的,也是有较大差别的。

1物流公司所面对的客户不外乎是长期和短期之分。长期客户与物流公司一般都是签定的“年运输合同”,对于运费的结算都是采用的是按月结算一次运费;在每月约定的日期以前把前月所拉运的每车的《货运回执单》收集后,随同当月的《货运清单》交给客户的相关人员,经托运方的审核后,再开具正式的运输发票,在运输合同约定的时间里就可以结算到上月的运费了。

短期客户的运费结算,绝大多数是每一单签定一份运输合同,每完成一单业务说结算一次,叫做“手手清”。

2物流公司对挂靠车辆的运费结算就比较简单了,凡是完成了每车运输业务的车辆,驾驶员只要凭着没有货损货差的《货运回执单》,就能很顺利的在公司领到运费了。

#include <string>

#include<iostream>

using namespace std;

const int Password = 1234;

typedef struct Node

{

int no;

char owner[20];

float weight, money;

struct Node next;

}Goods;

//验证管理员密码

int pass( )

{

int count, pw;

count = 0;

while (count < 3)

{

cout<<endl;

cout<<"请您输入 *** 作密码:";

cin>>pw;

if (pw != Password)

{

count++;

cout<<" *** 作密码错误!"<<endl;

}

else

{

break;

}

}

if (count== 3)

{

count=0;

}

else{

count=1;

}

return count;

}

// *** 作菜单

int menu( )

{

int selected;

while (true)

{

cout<<endl;

cout<<"1.货物数据录入"<<endl;

cout<<"2.计算运费"<<endl;

cout<<"3.货物信息显示"<<endl;

cout<<"0. 退出程序"<<endl<<endl;

cout<<"请输入你的选择:(0~3) ";

cin>>selected;

if (selected > 3 ||

selected < 0)

{

cout<<"输入错误,请您重新输入!"<<endl;

}

else

{

break;

}

}

return selected;

}

void input(int &n, char o,float &w)

{

cout<<endl;

cout << "请输入货物的编号:";

cin>>n;

cout << "请输入货物所有者:";

cin>>o;

cout << "请输入货物的重量:";

cin>>w;

}

float calCharge(float weight)

{

float money;

money = 0;

if (weight > 80)

{

money = (weight - 80) 30;

}

if (weight >45)

{

money += (weight - 45) 20;

}

if (weight >25)

{

money += (weight - 25) 15;

}

if (weight >15)

{

money += (weight - 15) 12;

}

return money;

}

int main()

{

int selected;

Goods head, s;

head = new Goods();

head->next= NULL;

cout<<"欢迎使用航空货物运费计算系统!"<<endl<<endl;

if (!pass())

{

cout<<"你已联系3次输入错误!系统即将退出…"<<endl;

system("pause");

return 0;

}

while (true)

{

switch (selected = menu())

{

case 1:

s = new Goods();

input(s->no, s->owner, s->weight);

s->next = head->next;

head->next = s;

break;

case 2:

s = head->next;

while (s)

{

s->money = calCharge(s->weight);

s = s->next;

}

cout << "计算完成"<<endl;

break;

case 3:

s = head->next;

printf("打印货物信息:\n");

printf("------------------------------------------------\n");

printf("编号 货物所有者 重量 运费\n");

while (s)

{

printf("%-10d%-16s%-102f%-102f\n",

s->no, s->owner, s->weight,s->money);

s = s->next;

}

printf("------------------------------------------------\n");

break;

default:

break;

}

if (selected==0)

{

cout<<"欢迎下次使用!再见…"<<endl;

break;

}

}

system("pause");

return;

}

以上就是关于有谁能告诉我物流公司的运费结算作业流程谢谢,急用全部的内容,包括:有谁能告诉我物流公司的运费结算作业流程谢谢,急用、C++航空货物托运费用计算程序!高手进来帮我,明天要交作业啦!、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zz/9326535.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-27
下一篇 2023-04-27

发表评论

登录后才能评论

评论列表(0条)

保存