From 744f42c5496e656a1f9927740a3b37c0b97a6cba Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期五, 14 七月 2023 14:34:12 +0800 Subject: [PATCH] lexcommunityupload0714 --- force-app/main/default/lwc/customShippingUnitPriceComp/customShippingUnitPriceComp.html | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/lwc/customShippingUnitPriceComp/customShippingUnitPriceComp.html b/force-app/main/default/lwc/customShippingUnitPriceComp/customShippingUnitPriceComp.html index 87b0a65..b573650 100644 --- a/force-app/main/default/lwc/customShippingUnitPriceComp/customShippingUnitPriceComp.html +++ b/force-app/main/default/lwc/customShippingUnitPriceComp/customShippingUnitPriceComp.html @@ -1,5 +1,5 @@ <template> - <lightning-input style="border:1px solid red" step="0.01" type="number" name="shipmentUnitPrice" + <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} class="inputFont"></lightning-input> + onblur={shipmentUnitPriceBlur} min="0" class="inputFont" onchange={limitDecimals}></lightning-input> </template> \ No newline at end of file -- Gitblit v1.9.1