| | |
| | | </FormItem> |
| | | <FormItem label="配送员" prop="userId"> |
| | | <Select v-model="areaForm.userId" filterable> |
| | | <Option :value="0" :key="0" selected>请选择</Option> |
| | | <Option v-for="item in userList" :value="item.id">{{ item.nickname }}</Option> |
| | | </Select> |
| | | </FormItem> |
| | |
| | | this.roleModalVisible = false; |
| | | }, |
| | | submitArea() { |
| | | if(this.areaForm.userId==undefined){ |
| | | this.areaForm.userId=0; |
| | | } |
| | | if(this.areaForm.description==undefined){ |
| | | this.areaForm.description=""; |
| | | } |
| | | this.$refs.areaForm.validate((valid) => { |
| | | if (valid) { |
| | | if (this.modalType == 0) { |