mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-03-23 00:47:21 +08:00
Merge branch 'dev' into 'master'
uniapp【优化】:优化商家管理查找需要核销券的提示 See merge request jianweie/coreshoppro!103
This commit is contained in:
@@ -107,12 +107,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const getServiceVerificationTicketInfo = async () => {
|
const getServiceVerificationTicketInfo = async () => {
|
||||||
|
if (!state.id) { return };
|
||||||
const ladingInfo : Response<any> = await queryServiceVerificationTicketInfo({ id: state.id });
|
const ladingInfo : Response<any> = await queryServiceVerificationTicketInfo({ id: state.id });
|
||||||
if (ladingInfo.status) {
|
if (ladingInfo.status) {
|
||||||
state.ticket = ladingInfo.data.ticket;
|
state.ticket = ladingInfo.data.ticket;
|
||||||
state.service = ladingInfo.data.service;
|
state.service = ladingInfo.data.service;
|
||||||
state.serviceOrder = ladingInfo.data.serviceOrder;
|
state.serviceOrder = ladingInfo.data.serviceOrder;
|
||||||
state.ticket['checkboxValue'] = [`${ladingInfo.data.ticket?.redeemCode}`];
|
state.ticket['checkboxValue'] = [`${ladingInfo.data.ticket?.redeemCode}`];
|
||||||
|
}else{
|
||||||
|
handleShowToast(ladingInfo.msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -97,12 +97,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const getLadingInfo = async () => {
|
const getLadingInfo = async () => {
|
||||||
|
if (!state.id) { return };
|
||||||
const ladingInfo : Response<any> = await queryLadingInfo({ id: state.id });
|
const ladingInfo : Response<any> = await queryLadingInfo({ id: state.id });
|
||||||
if (ladingInfo.status) {
|
if (ladingInfo.status) {
|
||||||
state.list = ladingInfo.data.map((item : any) => {
|
state.list = ladingInfo.data.map((item : any) => {
|
||||||
item['checkboxValue'] = [`${item.id}`];
|
item['checkboxValue'] = [`${item.id}`];
|
||||||
return item;
|
return item;
|
||||||
});
|
});
|
||||||
|
}else{
|
||||||
|
handleShowToast(ladingInfo.msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user