瀏覽代碼

信息修改

1002884655 3 年之前
父節點
當前提交
dcf29d3ecf
共有 2 個檔案被更改,包括 1 行新增5 行删除
  1. 0
    4
      src/pages/mine/addCustomer/index.jsx
  2. 1
    1
      src/subpackages/pages/marketing/changeVisit/index.jsx

+ 0
- 4
src/pages/mine/addCustomer/index.jsx 查看文件

@@ -109,10 +109,6 @@ export default withLayout((props) => {
109 109
     }).catch(() => {
110 110
       setLoading(false)
111 111
     })
112
-    // postSubmit(payload).then(() => {
113
-    // }).catch((err) => {
114
-    //   console.error(err)
115
-    // })
116 112
   }
117 113
 
118 114
   const FormInput = (e) => {

+ 1
- 1
src/subpackages/pages/marketing/changeVisit/index.jsx 查看文件

@@ -173,7 +173,7 @@ export default withLayout((props) => {
173 173
         }
174 174
       }
175 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 177
         Taro.showToast({ title: '修改成功', icon: 'none', duration: 2000 })
178 178
         setTimeout(() => {
179 179
           Taro.navigateBack({ delta: 1 })