修改折扣小计计算方式
This commit is contained in:
@@ -29,10 +29,10 @@ VITE_API_KP_URL = 'https://invoice.sxczgkj.cn/api'
|
|||||||
# VITE_API_URL = 'http://192.168.1.34:10589/cashier-client'
|
# VITE_API_URL = 'http://192.168.1.34:10589/cashier-client'
|
||||||
|
|
||||||
# 测试
|
# 测试
|
||||||
# VITE_API_URL = 'https://cashier-client.sxczgkj.cn/cashier-client'
|
VITE_API_URL = 'https://cashier-client.sxczgkj.cn/cashier-client'
|
||||||
|
|
||||||
# 预发布
|
# 预发布
|
||||||
VITE_API_URL = 'https://pre-cashierclient.sxczgkj.cn/cashier-client'
|
# VITE_API_URL = 'https://pre-cashierclient.sxczgkj.cn/cashier-client'
|
||||||
|
|
||||||
# VITE_API_URL = 'https://36z1017t45.goho.co/cashier-client'
|
# VITE_API_URL = 'https://36z1017t45.goho.co/cashier-client'
|
||||||
|
|
||||||
|
|||||||
@@ -278,7 +278,7 @@ async function printOrderLable() {
|
|||||||
number: item.num,
|
number: item.num,
|
||||||
skuName: item.productSkuName,
|
skuName: item.productSkuName,
|
||||||
salePrice: formatDecimal(item.price),
|
salePrice: formatDecimal(item.price),
|
||||||
totalAmount: formatDecimal(item.priceAmount)
|
totalAmount: formatDecimal(item.num * item.price)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -513,7 +513,7 @@ const print = lodash.throttle(
|
|||||||
number: item.num,
|
number: item.num,
|
||||||
skuName: item.productSkuName,
|
skuName: item.productSkuName,
|
||||||
salePrice: formatDecimal(item.price),
|
salePrice: formatDecimal(item.price),
|
||||||
totalAmount: formatDecimal(item.priceAmount)
|
totalAmount: formatDecimal(item.num * item.price)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user