⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 poshang.c

📁 一个不错的POS系统
💻 C
字号:
#include "posHang.h"
#include "posOracle.h"
#include "posPublic.h"
#include "pub.h"
#include "posPublic.h"
int hangSale()
{	
	int n;
	char tmp[40]={0};
	sprintf(tmp,"hang=%d",barInfoList.count);
	makelog("debug.log","barinfolist.count=");
	makelog("debug.log",tmp);
	if(barInfoList.count>0)
	{
		if(barHang.count>=5)
		{
			MessageBox("挂单数已满!",0);
		}
		else
		{
			n=MessageBox2("确定要挂单吗?");
			if(n==0)
			{
				g_sale_state=1;
				hang();
				barInfoList.del(&barInfoList);		
				return 0;
			}
		}
	}

	else 
	{
		MessageBox("没有记录",0);
	}
	return 1;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -