| | |
| | | <u-button type="primary" |
| | | shape="circle" |
| | | text="提交" |
| | | @click.stop="formHandle"></u-button> |
| | | @click.native.stop="formHandle"></u-button> |
| | | </view> |
| | | <!-- 煤场 --> |
| | | <u-action-sheet :actions="firstClassActionsList" |
| | |
| | | this.selectedCoal = e |
| | | }, |
| | | formHandle() { |
| | | if (!this.dataForm.firstClass || !this.dataForm.secondClass) return this.$u.toast('请选择煤场或者煤仓') |
| | | if (!this.dataForm.firstClass || !this.dataForm.secondClass || !this.dataForm.orderType) return this.$u.toast('请选择煤场或者煤仓和磅单类型') |
| | | if (this.selectedCoal.length === 0) return this.$u.toast('请选择煤种') |
| | | this.$reqPost('updateUser', Object.assign(this.userInfo, { |
| | | responsibilityCoal: this.selectedCoal.join(), |