Commit b6ba66f1 authored by chuan.liu's avatar chuan.liu

月度调整批导联调

parent 46d20eba
...@@ -105,11 +105,9 @@ export default { ...@@ -105,11 +105,9 @@ export default {
initDetail() { initDetail() {
const params = { const params = {
id: this.conditions.id, id: this.conditions.id,
type: this.this.$route.query.type type: this.$route.query.type
} }
apiMonthplanAdjustFindById(params).then(res => { apiMonthplanAdjustFindById(params).then(res => {
console.log(res.data)
res.data.pyear += ''
this.conditions = { ...this.conditions, ...res.data } this.conditions = { ...this.conditions, ...res.data }
}) })
}, },
...@@ -134,6 +132,8 @@ export default { ...@@ -134,6 +132,8 @@ export default {
console.log('22asssssss', res) console.log('22asssssss', res)
if (res.status === 1) { if (res.status === 1) {
Toast('提交成功') Toast('提交成功')
window.opener = null
window.open('', '_self', '')
window.close() window.close()
} }
} }
......
...@@ -18,6 +18,7 @@ module.exports = { ...@@ -18,6 +18,7 @@ module.exports = {
proxy: { proxy: {
'/huigou': { '/huigou': {
target: 'http://10.0.135.139', target: 'http://10.0.135.139',
// target: 'http://10.2.7.85',
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
'^/huigou': '/crm-app' // 重写, '^/huigou': '/crm-app' // 重写,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment