Commit a630e73a7fa5ccfb777ba9c6bcc0418157f53087

Authored by 史婷婷
1 parent 30399c1b

feat: 变更单-新增暂存

Showing 1 changed file with 1 additions and 1 deletions
@@ -247,7 +247,7 @@ export default { @@ -247,7 +247,7 @@ export default {
247 const payload = { ...this.form } 247 const payload = { ...this.form }
248 console.log('onSubmit__payload', payload) 248 console.log('onSubmit__payload', payload)
249 try { 249 try {
250 - await updateApi(payload) 250 + await createApi(payload)
251 uni.showToast({ title: '保存成功', icon: 'success' }) 251 uni.showToast({ title: '保存成功', icon: 'success' })
252 setTimeout(() => { uni.redirectTo({ url: '/pages/order_list/index' }) }, 300) 252 setTimeout(() => { uni.redirectTo({ url: '/pages/order_list/index' }) }, 300)
253 } catch (e) { 253 } catch (e) {