diff --git a/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiAdd.vue b/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiAdd.vue index ff43fb24e3..d7bacf52e8 100644 --- a/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiAdd.vue +++ b/anrui-base/anrui-base-ui/src/views/guakaogongsi/guakaogongsiguanli/guakaogongsiAdd.vue @@ -612,67 +612,69 @@ export default { // this.registProvince = response.data.registAddressProvince // this.registcity = response.data.registAddressCity // this.registcount = response.data.registAddressCounty - const managementcount_codes = this.temp.managementAddressCode.split('') - this.managementProvinceCode = managementcount_codes[0] + managementcount_codes[1] + '0000' - getProvince().then((res) => { - if (res.code === '200') { - this.inputProvinceList02 = res.data - console.log('回显省02', this.inputProvinceList02) - let bb = '' - this.inputProvinceList02.forEach((e) => { - if (e.districtCode === this.managementProvinceCode) { - bb = { - name: e.name, - districtCode: e.districtCode, - sid: e.sid + if (this.temp.managementAddressCode !== '') { + const managementcount_codes = this.temp.managementAddressCode.split('') + this.managementProvinceCode = managementcount_codes[0] + managementcount_codes[1] + '0000' + getProvince().then((res) => { + if (res.code === '200') { + this.inputProvinceList02 = res.data + console.log('回显省02', this.inputProvinceList02) + let bb = '' + this.inputProvinceList02.forEach((e) => { + if (e.districtCode === this.managementProvinceCode) { + bb = { + name: e.name, + districtCode: e.districtCode, + sid: e.sid + } } + }) + this.managementProvince = bb.name + var sid = { + sid: bb.sid } - }) - this.managementProvince = bb.name - var sid = { - sid: bb.sid - } - getCity(sid).then((res) => { - if (res.code === '200') { - this.inputCityList02 = res.data - console.log('回显市02', this.inputCityList02) - this.managementcityCode = managementcount_codes[0] + managementcount_codes[1] + managementcount_codes[2] + managementcount_codes[3] + '00' - let cc = '' - this.inputCityList02.forEach((e) => { - if (e.districtCode === this.managementcityCode) { - cc = { - name: e.name, - districtCode: e.districtCode, - sid: e.sid + getCity(sid).then((res) => { + if (res.code === '200') { + this.inputCityList02 = res.data + console.log('回显市02', this.inputCityList02) + this.managementcityCode = managementcount_codes[0] + managementcount_codes[1] + managementcount_codes[2] + managementcount_codes[3] + '00' + let cc = '' + this.inputCityList02.forEach((e) => { + if (e.districtCode === this.managementcityCode) { + cc = { + name: e.name, + districtCode: e.districtCode, + sid: e.sid + } } + }) + this.managementcity = cc.name + var sid02 = { + sid: cc.sid } - }) - this.managementcity = cc.name - var sid02 = { - sid: cc.sid - } - getCounty(sid02).then((res) => { - if (res.code === '200') { - this.inputCountyList02 = res.data - console.log('回显市03', this.inputCountyList02) - this.managementcountCode = this.temp.managementAddressCode - let dd = '' - this.inputCountyList02.forEach((e) => { - if (e.districtCode === this.managementcountCode) { - dd = { - name: e.name, - districtCode: e.districtCode, - sid: e.sid + getCounty(sid02).then((res) => { + if (res.code === '200') { + this.inputCountyList02 = res.data + console.log('回显市03', this.inputCountyList02) + this.managementcountCode = this.temp.managementAddressCode + let dd = '' + this.inputCountyList02.forEach((e) => { + if (e.districtCode === this.managementcountCode) { + dd = { + name: e.name, + districtCode: e.districtCode, + sid: e.sid + } } - } - }) - this.managementcount = dd.name - } - }) - } - }) - } - }) + }) + this.managementcount = dd.name + } + }) + } + }) + } + }) + } this.getLevelList(sids) } }) diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/billingmanagement/billingmanagementAdd.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/billingmanagement/billingmanagementAdd.vue index 4560ac0a98..7e86449ac5 100644 --- a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/billingmanagement/billingmanagementAdd.vue +++ b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/finginvoiceapply/billingmanagement/billingmanagementAdd.vue @@ -7,6 +7,8 @@
保存 + 确认 + 关闭
@@ -170,7 +172,8 @@ export default { filePaths: [], bitlingFilePaths: [], certificatePaths: [], - vinNo: '' + vinNo: '', + tempSave: '' }, rules: {} } @@ -200,6 +203,7 @@ export default { if (valid) { this.getUrl() this.submitdisabled = true + this.formobj.tempSave = true saveOrUpdate(this.formobj).then((res) => { if (res.success) { this.$message({ showClose: true, type: 'success', message: '保存成功' }) @@ -213,6 +217,25 @@ export default { } }) }, + handleSubmit() { + this.$refs['form_obj'].validate((valid) => { + if (valid) { + this.getUrl() + this.submitdisabled = true + this.formobj.tempSave = false + saveOrUpdate(this.formobj).then((res) => { + if (res.success) { + this.$message({ showClose: true, type: 'success', message: '操作陈工' }) + this.handleReturn('true') + } else { + this.submitdisabled = false + } + }).catch(() => { + this.submitdisabled = false + }) + } + }) + }, getUrl() { if (this.diploma_list.length > 0) { const aa = [] @@ -241,7 +264,8 @@ export default { invoiceNo: '', invoiceCode: '', filePaths: [], - vinNo: '' + vinNo: '', + tempSave: '' } this.diploma_list = [] this.submitdisabled = false diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/acknowledgementReceipt.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/acknowledgementReceipt.vue index d523610dff..e0d9fab6cd 100644 --- a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/acknowledgementReceipt.vue +++ b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/acknowledgementReceipt.vue @@ -41,14 +41,13 @@ @@ -151,8 +150,8 @@ 取消 - - + + @@ -386,12 +385,8 @@ export default { this.visibleDisabled = false }) }, - toEdit(row) { - this.viewState = 3 - this.$refs['divAdd'].showEdit(row) - }, handLook(row) { - this.viewState = 4 + this.viewState = 3 this.$refs['divInfo'].showInfo(row) }, resetState() {