| | |
| | | <u-button text="提交" |
| | | type="primary" |
| | | @click.stop="submitOriginInfo" |
| | | :disabled="isModifyoriginInfo"></u-button> |
| | | :disabled="isModifyoriginInfo" |
| | | :loading="submitOriginInfoLoading"></u-button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | timeout: '0', |
| | | wsgShow: false, |
| | | timeLineStatus: null, |
| | | originInfoNotice: '填写原发信息后可上磅计量' |
| | | originInfoNotice: '填写原发信息后可上磅计量', |
| | | submitOriginInfoLoading: false |
| | | }; |
| | | }, |
| | | watch: { |
| | |
| | | if (this.originInfoForm.coalContactSkin && this.originInfoForm.coalContactHair && this |
| | | .originInfoForm |
| | | .contactPicture) { |
| | | this.submitOriginInfoLoading = true |
| | | this.$reqPost('appSaveContact', form, 'json').then(res => { |
| | | if (res.code === 0) { |
| | | this.$u.toast('提交成功') |
| | | this.submitOriginInfoLoading = false |
| | | } else { |
| | | this.submitOriginInfoLoading = false |
| | | this.isModifyoriginInfo = true |
| | | this.$u.toast(res.msg ? res.msg : '提交失败') |
| | | |