From f3a8b609580d160f2d15b0c2fab28784a38cba71 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@prec-tech.com>
Date: 星期二, 04 七月 2023 17:44:48 +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 9e49c47..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}></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