| | |
| | | <view class="coal-name" |
| | | v-show="coalList.length!==0"> |
| | | <u-checkbox-group v-model="checkedCoal" |
| | | placement="row" |
| | | placement="column" |
| | | @change="checkboxChange" |
| | | size="30"> |
| | | <u-checkbox :customStyle="{marginBottom: '8px',fontSize:'20px'}" |
| | |
| | | checked: false |
| | | } |
| | | }) |
| | | console.log(this.coalList); |
| | | }, |
| | | checkboxChange(e) { |
| | | this.selectedCoal = e |
| | | }, |
| | | formHandle() { |
| | | if (!this.dataForm.firstClass || !this.dataForm.secondClass) return this.$u.toast('请选择煤场或者煤仓') |
| | | if (this.selectedCoal.length === 0) return this.$u.toast('请选择煤种') |
| | | this.$reqPost('updateUser', Object.assign(this.userInfo, { |
| | | responsibilityCoal: this.selectedCoal.join(), |
| | | filedId: this |