|
@@ -296,12 +296,13 @@ const onSubmit = () => {
|
|
|
const orderPrice = `定价价格:${formData.OrderPrice ?? 0}\n`
|
|
const orderPrice = `定价价格:${formData.OrderPrice ?? 0}\n`
|
|
|
const qty = `订单数量:${orderQty.value}${getGoodsUnitName(goodunitid)}\n`
|
|
const qty = `订单数量:${orderQty.value}${getGoodsUnitName(goodunitid)}\n`
|
|
|
const orderamount = `订单总额:${formatDecimal(totalamount)}\n`
|
|
const orderamount = `订单总额:${formatDecimal(totalamount)}\n`
|
|
|
|
|
+ console.log(marginalgorithm, transferdepositratio)
|
|
|
const margin = `预付定金:${marginalgorithm === 1 ? totalamount*transferdepositratio : orderQty.value*transferdepositratio}\n`
|
|
const margin = `预付定金:${marginalgorithm === 1 ? totalamount*transferdepositratio : orderQty.value*transferdepositratio}\n`
|
|
|
const message = orderPrice + qty + orderamount + margin
|
|
const message = orderPrice + qty + orderamount + margin
|
|
|
|
|
|
|
|
dialog({
|
|
dialog({
|
|
|
allowHtml: true,
|
|
allowHtml: true,
|
|
|
- title: '订单明细',
|
|
|
|
|
|
|
+ title: '定价明细',
|
|
|
message: message,
|
|
message: message,
|
|
|
showCancelButton: true,
|
|
showCancelButton: true,
|
|
|
}).then(() => {
|
|
}).then(() => {
|