Commit 6a623e37 by LJM

add

parent 02c7974b
Showing with 5 additions and 2 deletions
...@@ -467,8 +467,11 @@ ...@@ -467,8 +467,11 @@
this.isRequestSent = false; // 请求完成后重置标志 this.isRequestSent = false; // 请求完成后重置标志
if (res.code === 0) { if (res.code === 0) {
//如果后台搜索到型号则替换输入框的值 //如果后台搜索到型号则替换输入框的值
this.keyword = res.data.model || res.data.model2; //兼容TME let model = res.data.model || res.data.model2;
this.goods_type = res.data.model; //赋值检索出来的型号 if (model) {
this.keyword = model; //兼容TME
this.goods_type = model; //赋值检索出来的型号
}
this.getTallyData(); this.getTallyData();
} else { } else {
uni.showToast({ uni.showToast({
......
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 sign in to comment