#
whycq
2023-11-21 a5db2271c2d82cdfe04205cf7ed3c82ed47b6e54
#
2个文件已修改
34 ■■■■ 已修改文件
pages.json 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/business/plan/modiPlan.vue 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json
@@ -218,14 +218,6 @@
            }
        },
        {
            "path" : "pages/business/goBusiness/test",
            "style" :
            {
                "navigationBarTitleText" : "测试",
                "enablePullDownRefresh" : false
            }
        },
        {
            "path" : "pages/business/goBusiness/modiReimburseOnlineDetl",
            "style" : 
            {
pages/business/plan/modiPlan.vue
@@ -142,8 +142,10 @@
                    changeTime: '',
                    planBonus: '',
                    planLeaderBonus: '',
                    userXmlSelPhone: ''
                    userXmlSelPhone: '',
                    beItem: null
                },
                beItem: 0,
                selList: ['横梁式','驶入式','悬梁式','流利式','重力式','其他'],
                rules: {
                    name: {
@@ -301,25 +303,25 @@
                // 单选数据源
                beItem$: [{
                    text: '是',
                    value: '1'
                    value: 1
                }, {
                    text: '否(需售前技术跟进项目,与客户直接沟通等)',
                    value: '0'
                    value: 0
                }],
                citysData: [],
                citysDataTemp: '',
                planNeeds: [
                    {
                        text: '系统 方案规划设计',
                        value: 1
                        value: '1'
                    }, 
                    {
                        text: '提供选材清单',
                        value: 2
                        value: '2'
                    },
                    {
                        text: '立体库设计方案',
                        value: 3
                        value: '3'
                    }
                ]
                
@@ -336,10 +338,10 @@
            this.getDetail()
        },
        onLoad(option) {
            this.$nextTick(() => {
            if (JSON.stringify(option) != "{}") {
                this.id = option.id
                this.init()
                this.autoLoad('follower','')
            } else {
                let _this = this
                const eventChannel = this.getOpenerEventChannel();
@@ -347,8 +349,9 @@
                    _this.id = data.data
                    _this.init()
                })
                this.autoLoad('follower','')
            }
            })
            
        },
        methods: {
@@ -361,6 +364,12 @@
                    success(res) {
                        res = res.data
                        if (res.code === 200) {
                            let planNeed = res.data.planNeed.split('-')
                            res.data.planNeed = []
                            for (let k of planNeed) {
                                res.data.planNeed.push(k)
                            }
                            // planNeed.push()
                            that.baseFormData = res.data
                        }
                        // that.saleManage = res.data
@@ -477,7 +486,6 @@
                        }
                    }
                    res['id'] = that.baseFormData.id
                    // return
                    uni.request({
                        url: that.baseUrl + '/plan/update/auth',
                        header:{