Commit 09c999f85b50d53369a57adff91d7e5f156908ff
Exists in
master
and in
1 other branch
Merge branch 'master' into 货源管理
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
pages/order/add.vue
| ... | ... | @@ -425,6 +425,7 @@ export default { |
| 425 | 425 | }); |
| 426 | 426 | }, |
| 427 | 427 | choseProjectCode() { |
| 428 | + uni.$off('select-common'); | |
| 428 | 429 | uni.$once('select-common', option => { |
| 429 | 430 | this.form.projectCode = option.code; |
| 430 | 431 | this.form.projectName = option.name; |
| ... | ... | @@ -441,6 +442,7 @@ export default { |
| 441 | 442 | }); |
| 442 | 443 | }, |
| 443 | 444 | choseGoodsName() { |
| 445 | + uni.$off('select-common'); | |
| 444 | 446 | uni.$once('select-common', option => { |
| 445 | 447 | this.form.goodsName = option.name; |
| 446 | 448 | }); | ... | ... |