采运销接口
This commit is contained in:
@ -10,6 +10,7 @@ enum Api {
|
||||
LngContractSalesPngPoint = '/contract/contractSalesPngPur',
|
||||
selectPcPageList = '/magic-api/contract/contractSalesPngPoint/selectPcPageList',
|
||||
selectScPageList = '/magic-api/contract/contractSalesPngPoint/selectScPageList',
|
||||
selectTcPageList = '/magic-api/contract/contractSalesPngPoint/selectTcPageList',
|
||||
|
||||
|
||||
DataLog = '/contract/contractSalesPngPur/datalog',
|
||||
@ -26,6 +27,19 @@ export async function getContractScPageList(ksppId: String, mode: ErrorMessageMo
|
||||
},
|
||||
);
|
||||
}
|
||||
// 管输合同
|
||||
export async function getContractSalesPngPointTc(params: LngContractSalesPngPointPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngContractSalesPngPointPageResult>(
|
||||
{
|
||||
url: Api.selectTcPageList,
|
||||
params,
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
},
|
||||
);
|
||||
}
|
||||
// 采购合同
|
||||
export async function getContractSalesPngPoint(params: LngContractSalesPngPointPageParams, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngContractSalesPngPointPageResult>(
|
||||
{
|
||||
@ -55,11 +69,11 @@ export async function getLngContractSalesPngPointPage(params: LngContractSalesPn
|
||||
/**
|
||||
* @description: 获取LngContractSalesPngPoint信息
|
||||
*/
|
||||
export async function getLngContractSalesPngPoint(ksppId: String, mode: ErrorMessageMode = 'modal') {
|
||||
export async function getLngContractSalesPngPoint(id: String, mode: ErrorMessageMode = 'modal') {
|
||||
return defHttp.get<LngContractSalesPngPointPageModel>(
|
||||
{
|
||||
url: Api.Info,
|
||||
params: { ksppId },
|
||||
params: { id },
|
||||
},
|
||||
{
|
||||
errorMessageMode: mode,
|
||||
|
||||
Reference in New Issue
Block a user