浏览代码

主键20位

zthwr 1 年之前
父节点
当前提交
188151678f
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      mmpac/mmpac/src/client/u8c/ui/mmpac/action/ToSaleOutDialog.java

+ 1 - 2
mmpac/mmpac/src/client/u8c/ui/mmpac/action/ToSaleOutDialog.java

@@ -124,7 +124,6 @@ public class ToSaleOutDialog extends UIDialog implements ActionListener,BillEdit
 		setSize(dimension.width-100,dimension.height-200);
 		int width=dimension.width;
 		int height=dimension.height;
-		MessageDialog.showHintDlg(mainpanel, "成功", width+"功!"+height);
 		this.setResizable(true);
 		add(getUIPanel0(), BorderLayout.NORTH);
 		add(getUIPanel2(), BorderLayout.CENTER);
@@ -583,7 +582,7 @@ public class ToSaleOutDialog extends UIDialog implements ActionListener,BillEdit
 						sbvo.setTconsigntime("00:00:00");//发货时间
 						sbvo.setTdelivertime("00:00:00");//到货时间
 		//				sbvo.setVreceiveaddress(pk_corp);	//收货地址
-						String bidpk=UUID.randomUUID().toString().substring(0, 19);
+						String bidpk=UUID.randomUUID().toString().substring(0, 20);
 						sbvo.setCorder_bid(bidpk);//主键
 						sbvo.setVfree1(vector.get(12)==null?null:vector.get(12).toString());//颜色
 						sbvo.setVfree2(vector.get(14)==null?null:vector.get(14).toString());//合金