diff --git a/pages/home/factory-info/index.js b/pages/home/factory-info/index.js index cab3aae..ceff0f7 100644 --- a/pages/home/factory-info/index.js +++ b/pages/home/factory-info/index.js @@ -36,6 +36,8 @@ Scene({ var data = {settlePriceType: Number(this.data.settlePriceType), settleType: Number(this.data.settleType) } configFactory(data).then(result => { wx.hideLoading() + app.userInfo.factory.settlePriceType = Number(this.data.settlePriceType) + app.userInfo.factory.settleType = Number(this.data.settleType) util.showBackToast('保存成功') }).catch(err => { wx.hideLoading()