From dd004276162a2bf9d042ff0aaa569dc30a95d827 Mon Sep 17 00:00:00 2001 From: binxie <137736985@qq.com> Date: 星期一, 26 六月 2023 14:23:26 +0800 Subject: [PATCH] newbackup0626 --- 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