Commit 2bf067e762487ef1a58921525834e2314bfacb61

Authored by lxf
1 parent a0868f00

fix: 下单选择器优化

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
pages/order/add.vue
... ... @@ -390,6 +390,7 @@ export default {
390 390 });
391 391 },
392 392 choseProjectCode() {
  393 + uni.$off('select-common');
393 394 uni.$once('select-common', option => {
394 395 this.form.projectCode = option.code;
395 396 this.form.projectName = option.name;
... ... @@ -406,6 +407,7 @@ export default {
406 407 });
407 408 },
408 409 choseGoodsName() {
  410 + uni.$off('select-common');
409 411 uni.$once('select-common', option => {
410 412 this.form.goodsName = option.name;
411 413 });
... ...