|  |  |  | 
|---|
|  |  |  | uModal: function () { | 
|---|
|  |  |  | return Promise.all(/*! import() | node-modules/uview-ui/components/u-modal/u-modal */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-modal/u-modal")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-modal/u-modal.vue */ 433)) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | uPopup: function () { | 
|---|
|  |  |  | return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 502)) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | "u-Form": function () { | 
|---|
|  |  |  | return Promise.all(/*! import() | node-modules/uview-ui/components/u--form/u--form */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u--form/u--form")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u--form/u--form.vue */ 449)) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | uFormItem: function () { | 
|---|
|  |  |  | return Promise.all(/*! import() | node-modules/uview-ui/components/u-form-item/u-form-item */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-form-item/u-form-item")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-form-item/u-form-item.vue */ 455)) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | "u-Input": function () { | 
|---|
|  |  |  | return Promise.all(/*! import() | node-modules/uview-ui/components/u--input/u--input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u--input/u--input")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u--input/u--input.vue */ 463)) | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } catch (e) { | 
|---|
|  |  |  | if ( | 
|---|
|  |  |  | 
|---|
|  |  |  | _vm.e2 = function ($event) { | 
|---|
|  |  |  | _vm.show1 = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e3 = function ($event) { | 
|---|
|  |  |  | _vm.show2 = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.$mp.data = Object.assign( | 
|---|
|  |  |  | {}, | 
|---|
|  |  |  | 
|---|
|  |  |  | info: null, | 
|---|
|  |  |  | show: false, | 
|---|
|  |  |  | show1: false, | 
|---|
|  |  |  | show2: false, | 
|---|
|  |  |  | height: 'auto', | 
|---|
|  |  |  | height1: 'auto', | 
|---|
|  |  |  | height2: 'auto', | 
|---|
|  |  |  | fileList: [] | 
|---|
|  |  |  | fileList: [], | 
|---|
|  |  |  | form: { | 
|---|
|  |  |  | receiveBank: '', | 
|---|
|  |  |  | receiveAccount: '', | 
|---|
|  |  |  | receiveUserName: '' | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | rules: { | 
|---|
|  |  |  | receiveBank: { | 
|---|
|  |  |  | type: 'string', | 
|---|
|  |  |  | required: true, | 
|---|
|  |  |  | message: '请输入开户银行', | 
|---|
|  |  |  | trigger: ['blur'] | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | receiveAccount: { | 
|---|
|  |  |  | type: 'string', | 
|---|
|  |  |  | required: true, | 
|---|
|  |  |  | message: '请输入账号', | 
|---|
|  |  |  | trigger: ['blur'] | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | receiveUserName: { | 
|---|
|  |  |  | type: 'string', | 
|---|
|  |  |  | required: true, | 
|---|
|  |  |  | message: '请输入户名', | 
|---|
|  |  |  | trigger: ['blur'] | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }; | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | onLoad: function onLoad(option) { | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | computed: _objectSpread({}, (0, _vuex.mapState)(['cookies'])), | 
|---|
|  |  |  | methods: { | 
|---|
|  |  |  | openInfo: function openInfo() { | 
|---|
|  |  |  | this.form.receiveBank = this.info.receiveBank; | 
|---|
|  |  |  | this.form.receiveAccount = this.info.receiveAccount; | 
|---|
|  |  |  | this.form.receiveUserName = this.info.receiveUserName; | 
|---|
|  |  |  | this.show2 = true; | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | submitInfo: function submitInfo() { | 
|---|
|  |  |  | var _this2 = this; | 
|---|
|  |  |  | this.$refs.uForm.validate().then(function (res) { | 
|---|
|  |  |  | _this2.$u.api.updReceiveInfo(_objectSpread(_objectSpread({}, _this2.form), {}, { | 
|---|
|  |  |  | id: _this2.id | 
|---|
|  |  |  | })).then(function (res) { | 
|---|
|  |  |  | _this2.show2 = false; | 
|---|
|  |  |  | uni.showToast({ | 
|---|
|  |  |  | title: '修改成功', | 
|---|
|  |  |  | icon: 'success' | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | _this2.getDetails(); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }).catch(function (errors) {}); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | queren: function queren() { | 
|---|
|  |  |  | this.show1 = true; | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | confirmPrice: function confirmPrice() { | 
|---|
|  |  |  | var _this2 = this; | 
|---|
|  |  |  | var _this3 = this; | 
|---|
|  |  |  | this.$u.api.confirmFee(this.id).then(function (res) { | 
|---|
|  |  |  | _this2.show1 = false; | 
|---|
|  |  |  | _this2.getDetails(); | 
|---|
|  |  |  | _this3.show1 = false; | 
|---|
|  |  |  | _this3.getDetails(); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | upload: function upload(type) { | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | // 删除附件 | 
|---|
|  |  |  | deleFile: function deleFile(id, objId) { | 
|---|
|  |  |  | var _this3 = this; | 
|---|
|  |  |  | var _this4 = this; | 
|---|
|  |  |  | this.$u.api.delFile(objId, id).then(function (res) { | 
|---|
|  |  |  | if (res.code === 200) { | 
|---|
|  |  |  | _this3.getDetails(); | 
|---|
|  |  |  | _this4.getDetails(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | 
|---|
|  |  |  | this.show = true; | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | confirm: function confirm() { | 
|---|
|  |  |  | var _this4 = this; | 
|---|
|  |  |  | var _this5 = this; | 
|---|
|  |  |  | if (this.fileList.length === 0) return uni.showToast({ | 
|---|
|  |  |  | title: '请先上传材料', | 
|---|
|  |  |  | icon: 'none' | 
|---|
|  |  |  | 
|---|
|  |  |  | supplementFileList: this.fileList | 
|---|
|  |  |  | }).then(function (res) { | 
|---|
|  |  |  | if (res.code === 200) { | 
|---|
|  |  |  | _this4.show = false; | 
|---|
|  |  |  | _this4.getDetails(); | 
|---|
|  |  |  | _this5.show = false; | 
|---|
|  |  |  | _this5.getDetails(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | getDetails: function getDetails() { | 
|---|
|  |  |  | var _this5 = this; | 
|---|
|  |  |  | var _this6 = this; | 
|---|
|  |  |  | this.$u.api.settleClaimsById(this.id).then(function (res) { | 
|---|
|  |  |  | if (res.code === 200) { | 
|---|
|  |  |  | _this5.info = res.data; | 
|---|
|  |  |  | _this6.info = res.data; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }, | 
|---|