From 91c0e616fa4776b37facf7b086a67cdff9da2c32 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期五, 13 九月 2024 13:34:35 +0800 Subject: [PATCH] update --- jrj/project/business/QuoteFile.cpp | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/jrj/project/business/QuoteFile.cpp b/jrj/project/business/QuoteFile.cpp index 56de5c5..dba2d82 100644 --- a/jrj/project/business/QuoteFile.cpp +++ b/jrj/project/business/QuoteFile.cpp @@ -3015,14 +3015,14 @@ if (price.find(L"A") < 1 && price.find(L"B") < 1 && price.find(L"C") < 1 && price.find(L"a") < 1 && price.find(L"b") < 1 && price.find(L"b") < 1) { alert(L"价格中没指定ABC"); - if (pricea == L"") pricea = price; else pricea += L"+L" + price; + if (pricea == L"") pricea = price; else pricea += L"+" + price; } else if (price.find(L"A") > 0 || price.find(L"a") > 0) - if (pricea == L"") pricea = price; else pricea += L"+L" + price; + if (pricea == L"") pricea = price; else pricea += L"+" + price; else if (price.find(L"B") > 0 || price.find(L"b") > 0) - if (priceb == L"") priceb = price; else priceb += L"+L" + price; + if (priceb == L"") priceb = price; else priceb += L"+" + price; else if (price.find(L"C") > 0 || price.find(L"c") > 0) - if (pricec == L"") pricec = price; else pricec += L"+L" + price; + if (pricec == L"") pricec = price; else pricec += L"+" + price; } if (price1 != L"") { @@ -3030,14 +3030,14 @@ if (price.find(L"A") < 1 && price.find(L"B") < 1 && price.find(L"C") < 1 && price.find(L"a") < 1 && price.find(L"b") < 1 && price.find(L"b") < 1) { alert(L"价格中没指定ABC"); - if (pricea == L"") pricea = price; else pricea += L"+L" + price; + if (pricea == L"") pricea = price; else pricea += L"+" + price; } else if (price.find(L"A") > 0 || price.find(L"a") > 0) - if (pricea == L"") pricea = price; else pricea += L"+L" + price; + if (pricea == L"") pricea = price; else pricea += L"+" + price; else if (price.find(L"B") > 0 || price.find(L"b") > 0) - if (priceb == L"") priceb = price; else priceb += L"+L" + price; + if (priceb == L"") priceb = price; else priceb += L"+" + price; else if (price.find(L"C") > 0 || price.find(L"c") > 0) - if (pricec == L"") pricec = price; else pricec += L"+L" + price; + if (pricec == L"") pricec = price; else pricec += L"+" + price; } if (price2 != L"") { @@ -3045,14 +3045,14 @@ if (price.find(L"A") < 1 && price.find(L"B") < 1 && price.find(L"C") < 1 && price.find(L"a") < 1 && price.find(L"b") < 1 && price.find(L"b") < 1) { alert(L"价格中没指定ABC"); - if (pricea == L"") pricea = price; else pricea += L"+L" + price; + if (pricea == L"") pricea = price; else pricea += L"+" + price; } else if (price.find(L"A") > 0 || price.find(L"a") > 0) - if (pricea == L"") pricea = price; else pricea += L"+L" + price; + if (pricea == L"") pricea = price; else pricea += L"+" + price; else if (price.find(L"B") > 0 || price.find(L"b") > 0) - if (priceb == L"") priceb = price; else priceb += L"+L" + price; + if (priceb == L"") priceb = price; else priceb += L"+" + price; else if (price.find(L"C") > 0 || price.find(L"c") > 0) - if (pricec == L"") pricec = price; else pricec += L"+L" + price; + if (pricec == L"") pricec = price; else pricec += L"+" + price; } if (price3 != L"") { @@ -3060,14 +3060,14 @@ if (price.find(L"A") < 1 && price.find(L"B") < 1 && price.find(L"C") < 1 && price.find(L"a") < 1 && price.find(L"b") < 1 && price.find(L"b") < 1) { alert(L"价格中没指定ABC"); - if (pricea == L"") pricea = price; else pricea += L"+L" + price; + if (pricea == L"") pricea = price; else pricea += L"+" + price; } else if (price.find(L"A") > 0 || price.find(L"a") > 0) - if (pricea == L"") pricea = price; else pricea += L"+L" + price; + if (pricea == L"") pricea = price; else pricea += L"+" + price; else if (price.find(L"B") > 0 || price.find(L"b") > 0) - if (priceb == L"") priceb = price; else priceb += L"+L" + price; + if (priceb == L"") priceb = price; else priceb += L"+" + price; else if (price.find(L"C") > 0 || price.find(L"c") > 0) - if (pricec == L"") pricec = price; else pricec += L"+L" + price; + if (pricec == L"") pricec = price; else pricec += L"+" + price; } price = pricec; if (priceb != L"") @@ -3075,14 +3075,14 @@ if (price == L"") price = priceb; else - price += L"+L" + priceb; + price += L"+" + priceb; } if (pricea != L"") { if (price == L"") price = pricea; else - price += L"+L" + pricea; + price += L"+" + pricea; } dw_cell.SetItemString(row, colPrice, price); dw_cell.Redraw(); @@ -4492,7 +4492,7 @@ { alert(L"价格中没指定ABC"); } - price = price0 + L"+L" + price1; + price = price0 + L"+" + price1; } dw_cell.SetItemString(ARow, colPrice, price); } -- Gitblit v1.9.3