|
|
@@ -126,14 +126,14 @@ async function tryCloseSale() {
|
|
|
let retGoodsDetail = await getMarketGoodsInfo(goodsItem.goodsId, 1);
|
|
|
let goodsBaseInfo = retGoodsDetail.data?.info;
|
|
|
if (goodsBaseInfo && goodsBaseInfo.lock) {
|
|
|
- magicJS.notification.appendNotifyInfo(`[${goodsItem.title}#${goodsItem.ver}]¥${goodsItem.price}锁定中,无法取消寄售!`);
|
|
|
+ magicJS.notification.appendNotifyInfo(`[${goodsItem.title.padStart(10)}#${goodsItem.ver.padEnd(6)}]¥${goodsItem.price.toFixed(2).padStart(6)}锁定中,无法取消寄售!`);
|
|
|
continue;
|
|
|
}
|
|
|
let retCancelOpt = await cancelConsignmentOrder(goodsItem.artId, goodsItem.goodsId);
|
|
|
if (retCancelOpt && retCancelOpt.code == 200) {
|
|
|
- magicJS.notification.appendNotifyInfo(`[${goodsItem.title}#${goodsItem.ver}]¥${goodsItem.price}寄售单取消成功!`);
|
|
|
+ magicJS.notification.appendNotifyInfo(`[${goodsItem.title.padStart(10)}#${goodsItem.ver.padEnd(6)}]¥${goodsItem.price.toFixed(2).padStart(6)}寄售单取消成功!`);
|
|
|
} else {
|
|
|
- magicJS.notification.appendNotifyInfo(`[${goodsItem.title}#${goodsItem.ver}]¥${goodsItem.price}寄售单取消失败,原因:${retCancelOpt?.msg}!`);
|
|
|
+ magicJS.notification.appendNotifyInfo(`[${goodsItem.title.padStart(10)}#${goodsItem.ver.padEnd(6)}]¥${goodsItem.price.toFixed(2).padStart(6)}寄售单取消失败,原因:${retCancelOpt?.msg}!`);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -149,11 +149,11 @@ async function tryCloseSale() {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- *
|
|
|
- * @param {*} type
|
|
|
+ *
|
|
|
+ * @param {*} type
|
|
|
* @param {*} state 1=收藏中 2=转让中 3=已转让
|
|
|
- * @param {*} page
|
|
|
- * @returns
|
|
|
+ * @param {*} page
|
|
|
+ * @returns
|
|
|
*/
|
|
|
async function queryUserCollectList(tenantId, type, state, page) {
|
|
|
const url = `https://api.wubian.pro/vmf/app/user/collect/list`;
|