/// <summary>
 /// 设置单据清单内容指定行的数据到控件
 /// </summary>
 /// <param name="row">盘亏单当前数据行</param>
 /// <param name="iRow">当前行的索引号</param>
 private void SetBillContent(DataSetMaterialLose.t_material_lose_contentRow row, int iRow)
 {
     //检测是否含有数据
     if (row == null)
     {
         //清空数据
         ClearBillContent(iRow);
     }
     else
     {
         //设置数据
         SetBillContent(
             iRow,
             row.supplier_code,
             row.supplier_name,
             row.material_code,
             row.material_name,
             row.Ismaterial_sizeNull() ? string.Empty : row.material_size,
             row.qty,
             row.unit,
             row.IspriceNull() ? 0m : row.price,
             row.IsremarkNull() ? string.Empty : row.remark
         );
     }
 }