| | |
| | | </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) { |
| | |
| | | </FormItem> |
| | | <FormItem label="司机" prop="userId"> |
| | | <Select v-model="carForm.userId" filterable> |
| | | <Option :value="0">请选择</Option> |
| | | <Option v-for="item in userList" :value="item.id" :key="item.id">{{ item.nickname }}</Option> |
| | | </Select> |
| | | </FormItem> |
| | | <FormItem label="配送员" prop="followUserId"> |
| | | <Select v-model="carForm.followUserId" filterable> |
| | | <Option :value="0" :key="0">请选择</Option> |
| | | <Option v-for="item in driverList" :value="item.id" :key="item.id">{{ item.nickname }}</Option> |
| | | </Select> |
| | | </FormItem> |
| | |
| | | this.roleModalVisible = false; |
| | | }, |
| | | submitCar() { |
| | | if(this.carForm.userId==undefined || this.carForm.userId==0){ |
| | | this.carForm.userId=""; |
| | | } |
| | | if(this.carForm.followUserId==undefined || this.carForm.followUserId==0){ |
| | | this.carForm.followUserId=""; |
| | | } |
| | | this.carForm.buyYear = this.buyYear; |
| | | this.$refs.carForm.validate((valid) => { |
| | | if (valid) { |
| | |
| | | { |
| | | title: "反馈时间", |
| | | key: "createTime", |
| | | width: 200, |
| | | sortable: true, |
| | | width: 110, |
| | | render: (h, params) => { |
| | | return h("div",params.row.createTime.substr(0,10)); |
| | | } |
| | |
| | | { |
| | | title: "反馈商户", |
| | | key: "name", |
| | | tooltip:true, |
| | | width: 260, |
| | | }, |
| | | { |
| | | title: "回复内容", |
| | | key: "replyContent", |
| | | tooltip:true, |
| | | width: 260, |
| | | width: 300, |
| | | }, |
| | | { |
| | | title: "操作", |
| | | key: "action", |
| | | align: "center", |
| | | width: 150, |
| | | render: (h, params) => { |
| | | return h("div", [ |
| | | h( |