|
@ -170,19 +170,19 @@ namespace Win.Sfs.SettleAccount.Bases |
|
|
switch (businessType) |
|
|
switch (businessType) |
|
|
{ |
|
|
{ |
|
|
case EnumBusinessType.MaiDanJianHBPO: |
|
|
case EnumBusinessType.MaiDanJianHBPO: |
|
|
invlist = await _invmng.MakeInvoice(p_list, p_adjlist, dtos, p_version, p_InvGroupNum, string.Empty, businessType, true); |
|
|
invlist = await _invmng.MakeInvoice(p_list, p_adjlist, dtos, p_version, p_InvGroupNum, string.Empty, businessType, false); |
|
|
break; |
|
|
break; |
|
|
case EnumBusinessType.MaiDanJianBBAC: |
|
|
case EnumBusinessType.MaiDanJianBBAC: |
|
|
invlist = await _invmng.MakeInvoice(p_list, p_adjlist, dtos, p_version, p_InvGroupNum, string.Empty, businessType, true); |
|
|
invlist = await _invmng.MakeInvoice(p_list, p_adjlist, dtos, p_version, p_InvGroupNum, string.Empty, businessType, false); |
|
|
break; |
|
|
break; |
|
|
case EnumBusinessType.ZhiGongJianBBAC: |
|
|
case EnumBusinessType.ZhiGongJianBBAC: |
|
|
invlist = await _invmng.JITInvoice(p_list, p_adjlist, dtos, new List<TEMP_NOT_SA_DETAIL>(), p_version, p_InvGroupNum, string.Empty, businessType, true);//重开可以变多张发票
|
|
|
invlist = await _invmng.JITInvoice(p_list, p_adjlist, dtos, new List<TEMP_NOT_SA_DETAIL>(), p_version, p_InvGroupNum, string.Empty, businessType, false);//重开可以变多张发票
|
|
|
break; |
|
|
break; |
|
|
case EnumBusinessType.ZhiGongJianHBPO: |
|
|
case EnumBusinessType.ZhiGongJianHBPO: |
|
|
invlist = await _invmng.JITInvoice(p_list, p_adjlist, dtos, new List<TEMP_NOT_SA_DETAIL>(), p_version, p_InvGroupNum, string.Empty, businessType, true);//重开可以变多张发票
|
|
|
invlist = await _invmng.JITInvoice(p_list, p_adjlist, dtos, new List<TEMP_NOT_SA_DETAIL>(), p_version, p_InvGroupNum, string.Empty, businessType, false);//重开可以变多张发票
|
|
|
break; |
|
|
break; |
|
|
case EnumBusinessType.BeiJian: |
|
|
case EnumBusinessType.BeiJian: |
|
|
invlist = await _invmng.BJInvoice(p_list, p_adjlist, dtos, new List<TEMP_NOT_SA_DETAIL>(), p_version, p_InvGroupNum, string.Empty, businessType, true); |
|
|
invlist = await _invmng.BJInvoice(p_list, p_adjlist, dtos, new List<TEMP_NOT_SA_DETAIL>(), p_version, p_InvGroupNum, string.Empty, businessType, false); |
|
|
break; |
|
|
break; |
|
|
case EnumBusinessType.JisBBAC: |
|
|
case EnumBusinessType.JisBBAC: |
|
|
invlist = await _invmng.SecInvoice(p_list, p_adjlist, dtos, p_version, p_InvGroupNum, string.Empty, businessType); |
|
|
invlist = await _invmng.SecInvoice(p_list, p_adjlist, dtos, p_version, p_InvGroupNum, string.Empty, businessType); |
|
@ -191,7 +191,7 @@ namespace Win.Sfs.SettleAccount.Bases |
|
|
invlist = await _invmng.SecInvoice(p_list, p_adjlist, dtos, p_version, p_InvGroupNum, string.Empty, businessType); |
|
|
invlist = await _invmng.SecInvoice(p_list, p_adjlist, dtos, p_version, p_InvGroupNum, string.Empty, businessType); |
|
|
break; |
|
|
break; |
|
|
case EnumBusinessType.YinDuJian: |
|
|
case EnumBusinessType.YinDuJian: |
|
|
invlist = await _invmng.JITInvoice(p_list, p_adjlist, dtos, new List<TEMP_NOT_SA_DETAIL>(), p_version, p_InvGroupNum, string.Empty, businessType, true);//重开可以变多张发票
|
|
|
invlist = await _invmng.JITInvoice(p_list, p_adjlist, dtos, new List<TEMP_NOT_SA_DETAIL>(), p_version, p_InvGroupNum, string.Empty, businessType, false);//重开可以变多张发票
|
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
//var ls= await _invmng.SecInvoice(p_list,p_adjlist,p_tmplist,p_version, p_InvGroupNum, p_parentInvBillNum, businessType);
|
|
|
//var ls= await _invmng.SecInvoice(p_list,p_adjlist,p_tmplist,p_version, p_InvGroupNum, p_parentInvBillNum, businessType);
|
|
|