Commit c024c7b7 by 张立顺

fix bug

1 parent b87d56d1
......@@ -24,10 +24,12 @@ Page({
timer = setInterval(() => {
let objNameStr = 'textNameObj.confirmName'
// const str = '前往提单(10s)'
that.setData({
[objNameStr]: `${zyFlag ? '下一步·上传协议(4/4)' : '下一步·去签名(4/4)'}(${sec}s)`,
showBtnFlag: true
})
if (zyFlag) {
that.setData({
[objNameStr]: `下一步·上传协议(4/4)(${sec}s)`,
showBtnFlag: true
})
}
sec--
if (sec == -1) {
clearInterval(timer) // 清除定时器
......@@ -36,8 +38,8 @@ Page({
if (zyFlag) { // 需要上传合同协议
return this.setData({ showZyPopup: true }) // 上传合同协议弹窗
}
// 跳转签名页面
wx.$router.redirectTo('signature', { id, orderId })
// 跳转列表页面
wx.$router.reLaunch("packageEquity.equityPage?tabIndex=1");
}
}, 1000)
this.setData({timer})
......@@ -74,9 +76,7 @@ Page({
})
if (code == 0) {
// 返回到报价单列表
wx.$router.reLaunch("packageEquity.equityPage", {
tabIndex: 1,
})
wx.$router.reLaunch("packageEquity.equityPage?tabIndex=1");
} else {
wx.$util.showToast(message)
}
......
......@@ -255,7 +255,7 @@ SubmitContext.prototype.prepareSubmitData = function (save) {
const orderCreateType = data.orderCreateType
// 深拷贝
let submitObj = wx.$util.deepClone(orderObj)
let submitObj = JSON.parse(JSON.stringify(orderObj))
// 数据清洗逻辑
if (!scene) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!