Commit 2ae532b5 by 蒋勇

d

parent b11affbb
......@@ -38,7 +38,7 @@ class ProductpriceService extends ServiceBase {
}
})
let codeval = String(areainfos[0].code).padEnd(6, '0')
if (productname.indexOf("icp") < 0 && productname.indexOf("edi") < 0 && areainfos[0].name.indexOf("天津") >= 0 || areainfos[0].name.indexOf("北京") >= 0 || areainfos[0].name.indexOf("上海") >= 0 || areainfos[0].name.indexOf("重庆") >= 0) {
if ((productname.indexOf("icp") < 0 && productname.indexOf("edi") < 0) && (areainfos[0].name.indexOf("天津") >= 0 || areainfos[0].name.indexOf("北京") >= 0 || areainfos[0].name.indexOf("上海") >= 0 || areainfos[0].name.indexOf("重庆") >= 0)) {
codeval = String(areainfos[0].code + "01").padEnd(6, '0')
}
if (!cacheregions[codeval]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment