张洋 2 months ago
parent
commit
a894273e6d

+ 5 - 3
bin/Win32/Debug/zhipuzi_pos_windows/skin/saomashouyin_page.xml

@@ -6,8 +6,8 @@
 		<HorizontalLayout>
 			<Control width="1" bkcolor="#FFD1D1D1"></Control>
 
-			<HorizontalLayout width="490" bkcolor="#FFFFFFFF">					
-				<VerticalLayout width="490" padding="0,0,0,0">
+			<HorizontalLayout width="610" bkcolor="#FFFFFFFF">					
+				<VerticalLayout padding="0,0,0,0">
 					<Control height="1" bkcolor="#FFEBE8E8"></Control>
 
 					<HorizontalLayout name="btn_saomashouyin_qingkong" height="60">
@@ -38,8 +38,10 @@
 					<List name="list_saomashouyin_cart" padding="0,0,0,0" itemlinecolor="#FF000000" itemvalign="vcenter" vscrollbar="true">
 						<ListHeader inset="10,0,0,0" height="42">
 							<ListHeaderItem text="商品" width="220" align="left" />
+							<ListHeaderItem text="条码" width="80" align="center" />
+							<ListHeaderItem text="单价" width="80" align="center" />
 							<ListHeaderItem text="数量" width="80" align="center" />
-							<ListHeaderItem text="金额" width="80" align="center" />
+							<ListHeaderItem text="小计" width="80" align="center" />
 						</ListHeader>
 					</List>
 					

+ 3 - 3
zhipuzi_pos_windows/page/CSaomashouyinPageUI.cpp

@@ -283,15 +283,15 @@ void CSaomashouyinPageUI::UpdateJiesuanZhifuPos()
 	{
 		return;
 	}
-
+	
 	int nZhangdanWidth;
 	if (m_is_yincangyouhui == true)
 	{
-		nZhangdanWidth = nWidth - 491 - 5;
+		nZhangdanWidth = nWidth - 611 - 5;
 	}
 	else
 	{
-		nZhangdanWidth = nWidth - 491 - 331 - 5;
+		nZhangdanWidth = nWidth - 611 - 331 - 5;
 	}
 
 	if (nZhangdanWidth < 300)