Commit 29e68692 by linjinhong

fix:修改问题

parent b62a4708
......@@ -407,10 +407,10 @@ const renderItemBox = (bool: boolean) => {
if (currentCode) {
const parts = currentCode.split('_')
currentCode =
parts.length > 0
? parts[3].startsWith('USPSC')
? parts[3]
: parts[1]
parts.length > 3 && parts[3].startsWith('USPSC')
? parts[3]
: parts.length > 1
? parts[1]
: parts[0]
for (const product of productList) {
if (product.podJomallUsNo === currentCode) {
......
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