Ejemplo n.º 1
0
 private void txtconProtein_Click(object sender, EventArgs e)
 {
     if (_bll.Exists(txtCodeNum.Text))
     {
         FormPurchaseAppFishInfo form = new FormPurchaseAppFishInfo(txtCodeNum.Text);
         if (form.ShowDialog() != DialogResult.OK)
         {
             return;
         }
         FishEntity.PurchaseAppFishInfoEntity Caig = form.getModel;
         if (Caig == null)
         {
             return;
         }
         txtconProtein.Text = Caig.conProtein;
         txtconTVN.Text     = Caig.conTVN;
         txtconFFA.Text     = Caig.conFFA;
         txtconZF.Text      = Caig.conZF;
         txtconSHY.Text     = Caig.conSHY;
         txtconS.Text       = Caig.conS;
         txtconSF.Text      = Caig.conSF;
         txtconZA.Text      = Caig.conZA;
         txtconHF.Text      = Caig.conHF;
         txtconSJ.Text      = Caig.conSJ;
         txtconLAS.Text     = Caig.conLAS;
         txtconDAS.Text     = Caig.conDAS;
         txtDollar.Text     = Caig.priceMY.ToString();
         AddShuiYin.ClearWatermark(txtconProtein);
     }
     else
     {
         MessageBox.Show("采购申请单,订单明细无数据!");
     }
 }
Ejemplo n.º 2
0
        public FormPurcurementContract( )
        {
            InitializeComponent( );

            //InitDataUtil.BindComboBoxData(txtproName, FishEntity.Constant.Goods, true);
            _model = new FishEntity.PurcurementContractEntity( );
            _bll   = new FishBll.Bll.PurcurementContractBll( );
            _pic   = new FishEntity.PicInfoAll( );
            dicPic = new Dictionary <int, FishEntity.PicInfoAll> ( );
            AddShuiYin.SetWatermark(txtconProtein, "请选取指标或者填写");
        }