重新生成币种和价格

This commit is contained in:
2025-10-22 13:38:25 +08:00
parent f84002c861
commit aac1d599de
14 changed files with 1471 additions and 1477 deletions

View File

@ -9,6 +9,11 @@ enum Api {
LngBCurrency = '/mdm/currency',
Enable = '/mdm/currency/enable',
Disable= '/mdm/currency/disable',
DataLog = '/mdm/currency/datalog',
}
/**
@ -84,4 +89,51 @@ export async function deleteLngBCurrency(ids: string[], mode: ErrorMessageMode =
errorMessageMode: mode,
},
);
}
}
/**
* @description: 启用数据LngBCurrency
*/
export async function enableLngBCurrency(ids: string[], mode: ErrorMessageMode = 'modal') {
return defHttp.post<boolean>(
{
url: Api.Enable,
data: ids,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 作废数据LngBCurrency
*/
export async function disableLngBCurrency(ids: string[], mode: ErrorMessageMode = 'modal') {
return defHttp.post<boolean>(
{
url: Api.Disable,
data: ids,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 获取数据日志LngBCurrency
*/
export async function getDataLogLngBCurrency(id: string, mode: ErrorMessageMode = 'modal') {
return defHttp.post<boolean>(
{
url: Api.Datalog,
data: id,
},
{
errorMessageMode: mode,
},
);
}

View File

@ -4,18 +4,14 @@ import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
* @description: LngBCurrency分页参数 模型
*/
export interface LngBCurrencyPageParams extends BasicPageParams {
code: string;
fullName: string;
currSymbol: string;
valid: string;
code: string;
localSign: string;
sort: string;
valid: string;
note: string;
}
@ -29,12 +25,8 @@ export interface LngBCurrencyPageModel {
fullName: string;
currSymbol: string;
localSign: string;
sort: string;
valid: string;
note: string;

View File

@ -9,6 +9,11 @@ enum Api {
LngBPriceTerm = '/mdm/priceTerms',
Enable = '/mdm/priceTerms/enable',
Disable= '/mdm/priceTerms/disable',
DataLog = '/mdm/priceTerms/datalog',
}
/**
@ -84,4 +89,51 @@ export async function deleteLngBPriceTerm(ids: string[], mode: ErrorMessageMode
errorMessageMode: mode,
},
);
}
}
/**
* @description: 启用数据LngBPriceTerm
*/
export async function enableLngBPriceTerm(ids: string[], mode: ErrorMessageMode = 'modal') {
return defHttp.post<boolean>(
{
url: Api.Enable,
data: ids,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 作废数据LngBPriceTerm
*/
export async function disableLngBPriceTerm(ids: string[], mode: ErrorMessageMode = 'modal') {
return defHttp.post<boolean>(
{
url: Api.Disable,
data: ids,
},
{
errorMessageMode: mode,
},
);
}
/**
* @description: 获取数据日志LngBPriceTerm
*/
export async function getDataLogLngBPriceTerm(id: string, mode: ErrorMessageMode = 'modal') {
return defHttp.post<boolean>(
{
url: Api.Datalog,
data: id,
},
{
errorMessageMode: mode,
},
);
}

View File

@ -4,19 +4,9 @@ import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
* @description: LngBPriceTerm分页参数 模型
*/
export interface LngBPriceTermPageParams extends BasicPageParams {
code: string;
fullName: string;
freightSign: string;
insuranceSign: string;
sort: string;
valid: string;
note: string;
}
/**
@ -33,49 +23,12 @@ export interface LngBPriceTermPageModel {
insuranceSign: string;
sort: string;
valid: string;
note: string;
}
/**
* @description: LngBPriceTerm表类型
*/
export interface LngBPriceTermModel {
id: number;
code: string;
fullName: string;
freightSign: string;
insuranceSign: string;
sort: number;
valid: string;
note: string;
createUserId: number;
createDate: string;
modifyUserId: number;
modifyDate: string;
deleteMark: number;
tenantId: number;
deptId: number;
ruleUserId: number;
}
0;
/**
* @description: LngBPriceTerm分页返回值结构