40x40镀锌方管多少钱一米(40x40镀锌方管价格:查询、多少钱一米)
wujiai
|.
.
.col-
.col-
.col-
.col-
.price-
.price-box .
.price-box .price-
.price-box .price-
.price-box .price-
.
.custom-
.custom-options input[type="number"] {
width: 100%;
padding: 10px;
font-size: 16px;
}
.custom-options
.custom-options button:
.price-
.price-table th,
.price-table
.price-table
.price-table td:first-
.price-table td:last-
.price-table .price-
.price-table .price-
.
.footer
.error-
40x40镀锌方管价格查询
40x40镀锌方管价格
价格查询
价格变化
1200
元/米
8折优惠
8折优惠
900
元/米
7折优惠
1050
元/米
7折优惠
2022 ? 40x40镀锌方管价格查询
const form = document.getElementById("price-filter");
form.addEventListener("submit", event => {
event.preventDefault();
const price = document.getElementById("price").value;
const unit = document.getElementById("price-unit").value;
const priceElement = document.getElementById("price-price");
const unitElement = document.getElementById("price-unit");
const priceDiscount = document.getElementById("price-discount");
const priceSavings = document.getElementById("price-savings");
if (price !== "") {
priceElement.innerHTML = ${priceDiscount.innerText};
priceSavings.innerHTML = `
${(price * 0.1).toFixed(2)}
`;
}
const priceSavingsElement = document.getElementById("price-savings");
if (unit !== "") {
priceSavingsElement.innerHTML = `
${(price * 0.1).toFixed(2)}
`;
}
const price = parseFloat(price);
const unit = parseFloat(unit);
document.getElementById("price-price").innerHTML = ${price}元/${unit};
document.getElementById("price-unit").innerHTML = ${price}元/${unit};
const priceDiscount = document.getElementById("price-discount");
const priceSavings = document.getElementById("price-savings");
if (price !== "") {
priceDiscount.innerHTML = ${priceDiscount.innerText};
priceSavings.innerHTML = `
${(price * 0.1).toFixed(2)}
`;
}
const priceSavingsElement = document.getElementById("price-savings");
if (unit !== "") {
priceSavingsElement.innerHTML = `
${(price * 0.1).toFixed(2)}
`;
}
const price = parseFloat(price);
const unit = parseFloat(unit);
document.getElementById("price-price").innerHTML = ${price}元/${unit};
document.getElementById("price-unit").innerHTML = ${price}元/${unit};
const priceDiscount = document.getElementById("price-discount");
const priceSavings = document.getElementById("price-savings");
if (price !== "") {
priceDiscount.innerHTML = ${priceDiscount.innerText};
priceSavings.innerHTML = `
${(price * 0.1).toFixed(2)}
`;
}
const priceSavingsElement = document.getElementById("price-savings");
if (unit !== "") {
priceSavingsElement.innerHTML = `
${(price * 0.1).toFixed(2)}
`;
}
});