Commit 57c27763 by tang

feat: 境外码查询无结果逻辑修改

parent 1b10f6a2
......@@ -102,8 +102,12 @@ export default {
const searchGlnRes = await this.$api.search.searchGln(params);
const { returnCode, data } = searchGlnRes;
if (returnCode === "0") {
if (data.returnCode === '0') {
this.result = [data];
} else {
this.errorMsg = "暂无数据";
}
} else {
this.errorMsg =
searchGlnRes.returnMsg ||
"您输入的商品条码格式不正确,请确认后重试。";
......
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