Ver código fonte

信息修改

1002884655 3 anos atrás
pai
commit
dcf29d3ecf

+ 0
- 4
src/pages/mine/addCustomer/index.jsx Ver arquivo

109
     }).catch(() => {
109
     }).catch(() => {
110
       setLoading(false)
110
       setLoading(false)
111
     })
111
     })
112
-    // postSubmit(payload).then(() => {
113
-    // }).catch((err) => {
114
-    //   console.error(err)
115
-    // })
116
   }
112
   }
117
 
113
 
118
   const FormInput = (e) => {
114
   const FormInput = (e) => {

+ 1
- 1
src/subpackages/pages/marketing/changeVisit/index.jsx Ver arquivo

173
         }
173
         }
174
       }
174
       }
175
       params.dividendsName = `${FormData.dividendsName}|${FormData.dividendsPer}%`
175
       params.dividendsName = `${FormData.dividendsName}|${FormData.dividendsPer}%`
176
-      fetch({ url: API_SURE_SIGN, method: 'put', payload: { customerId: id, customerSignatory: { ...params, channelId: channelId === 'null' || channelId === null ? '' : channelId } } }).then(() => {
176
+      fetch({ url: API_SURE_SIGN, method: 'put', payload: { customerId: id, customerSignatory: { ...params, channelId: channelId === 'null' || channelId === null ? '' : channelId, channelCustomerId, } } }).then(() => {
177
         Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
177
         Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
178
         setTimeout(() => {
178
         setTimeout(() => {
179
           Taro.navigateBack({ delta: 1 })
179
           Taro.navigateBack({ delta: 1 })