|
|
|
@ -160,6 +160,9 @@ Component({ |
|
|
|
}, |
|
|
|
//*************************************************fetchAgentList************************************************//
|
|
|
|
fetchAgentList: function () { |
|
|
|
if(this.data.requesting || util.isEmpty(form.categoryId)){ |
|
|
|
return |
|
|
|
} |
|
|
|
this.setData({ requesting: true, orderList: [] }) |
|
|
|
getMomentList(form).then(result => { |
|
|
|
if (result.data.records.length) { |
|
|
|
|