优化订单退款

This commit is contained in:
gyq
2025-03-12 09:55:07 +08:00
parent 1e66b2ad1f
commit 48c9f24d4c
17 changed files with 191 additions and 16211 deletions

View File

@@ -18,7 +18,7 @@ export function RandomNumBoth(Max, Min = 0) {
* 去除字符串中除了数字和点以外的其他字符
* @param {Object} obj
*/
export function clearNoNum(obj) {
export function clearNoNum(obj) {
// 如果用户第一位输入的是小数点,则重置输入框内容
if (obj.value != "" && obj.value.substr(0, 1) == ".") {
obj.value = "";
@@ -139,7 +139,7 @@ export async function getOrderByIdAjax(orderId) {
arr = arr.flat();
arr.map((item) => {
if (item.productType == "package") {
if (item.productType == "package" && item.proGroupInfo) {
item.proGroupInfo = JSON.parse(item.proGroupInfo).flat();
}
});