Commit 5f3d1b98 by zhangquan

价格闭区间

1 parent d3fda3ec
...@@ -1772,12 +1772,12 @@ export default { ...@@ -1772,12 +1772,12 @@ export default {
}) })
}, },
// 改建议价,实际销售价 // 改建议价,实际销售价
packageToPrice() { packageToPrice(e) {
let _price = e?.target?.value || '' let _price = e?.target?.value || ''
if (_price && this.editForm.orderStatus != 2) { if (_price && this.editForm.orderStatus != 2) {
let _list = [] let _list = []
this.copyCustomProductList.forEach(item => { this.copyCustomProductList.forEach(item => {
if (!item.carHighestPrice || (item.carHighestPrice && _price < NP.divide(item.carHighestPrice || 0, 100) && _price > NP.divide(item.carLowestPrice || 0, 100))) { if (!item.carHighestPrice || (item.carHighestPrice && _price <= NP.divide(item.carHighestPrice || 0, 100) && _price >= NP.divide(item.carLowestPrice || 0, 100))) {
_list.push(item) _list.push(item)
} else { } else {
if (this.autoPackageCodeList.includes(item.packageCode)) { if (this.autoPackageCodeList.includes(item.packageCode)) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!