Commit b3d57bda by LJM

单个上架时,按上架规则推荐的库位时,直接自动将库位编码填入【库位】输入框中

parent 4f431fe7
Showing with 4 additions and 0 deletions
...@@ -363,6 +363,10 @@ ...@@ -363,6 +363,10 @@
if (res.data.list.length > 0) { if (res.data.list.length > 0) {
this.workingRuleList = res.data; this.workingRuleList = res.data;
this.workingRule = res.data.list.map(item => item.position_code).join(','); this.workingRule = res.data.list.map(item => item.position_code).join(',');
//默认自动填充到库位
if (this.workingRule) {
this.formParams.position_code = this.workingRule;
}
} else { } else {
this.workingRuleList = ''; this.workingRuleList = '';
this.workingRule = ''; this.workingRule = '';
......
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