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

📄 posqueryproduct.c

📁 一个不错的POS系统
💻 C
字号:
#include "posQueryProduct.h"
#include "posDeleteProduct.h"
#include "posAddProduct.h"
#include "posBackOracle.h"
int posQueryproduct()
{
	int n=-999,m=-999;
	barinfo barInfo;
	while(1)
	{
		char barcode[10];
		memset(barcode,0,sizeof(barcode));
		n=printProduct(3,barcode);
		if(n==1)
			break;
		n=QueryBarInfo(&barInfo,barcode);
		if(n==-1)
		{
			m=MessageBox2("没找到!是否继续查找?");
			if(m==1)
				return 1;
		}
		else if(n==0)
		{
			printAddproduct(3,&barInfo);
			m=MessageBox2("是否继续查找?");
			if(m==1)
				return 1;
		}
	}
	return 0;
}

⌨️ 快捷键说明

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