|
|
@ -170,19 +170,19 @@ namespace Win.Sfs.SettleAccount.Bases |
|
|
|
switch (businessType) |
|
|
|
{ |
|
|
|
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; |
|
|
|
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; |
|
|
|
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; |
|
|
|
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; |
|
|
|
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; |
|
|
|
case EnumBusinessType.JisBBAC: |
|
|
|
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); |
|
|
|
break; |
|
|
|
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; |
|
|
|
} |
|
|
|
//var ls= await _invmng.SecInvoice(p_list,p_adjlist,p_tmplist,p_version, p_InvGroupNum, p_parentInvBillNum, businessType);
|
|
|
|