From d533f39b6fa798e238810d17e928dee75d5b1af7 Mon Sep 17 00:00:00 2001
From: yumenghui <953181891@qq.com>
Date: 星期五, 11 八月 2023 16:02:17 +0800
Subject: [PATCH] 备注添加改造
---
force-app/main/default/lwc/customShippingUnitPriceComp/customShippingUnitPriceComp.html | 17 ++++++++++++++---
1 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/lwc/customShippingUnitPriceComp/customShippingUnitPriceComp.html b/force-app/main/default/lwc/customShippingUnitPriceComp/customShippingUnitPriceComp.html
index 87b0a65..68f1d77 100644
--- a/force-app/main/default/lwc/customShippingUnitPriceComp/customShippingUnitPriceComp.html
+++ b/force-app/main/default/lwc/customShippingUnitPriceComp/customShippingUnitPriceComp.html
@@ -1,5 +1,16 @@
<template>
- <lightning-input style="border:1px solid red" step="0.01" type="number" name="shipmentUnitPrice"
- label="deliveryOrderNo" variant="label-hidden" data-field="shipmentUnitPrice" value={shippingUnitPrice}
- onblur={shipmentUnitPriceBlur} class="inputFont"></lightning-input>
+ <lightning-input
+ style="border: 1px solid red; border-radius: 5px"
+ step="any"
+ type="number"
+ name="shipmentUnitPrice"
+ label="deliveryOrderNo"
+ variant="label-hidden"
+ data-field="shipmentUnitPrice"
+ value={shippingUnitPrice}
+ onblur={shipmentUnitPriceBlur}
+ min="0"
+ class="inputFont"
+ onchange={limitDecimals}
+ ></lightning-input>
</template>
\ No newline at end of file
--
Gitblit v1.9.1