Commit 16e7989c by 刘泽奇

123

parent 513c37ec
...@@ -1202,6 +1202,7 @@ ...@@ -1202,6 +1202,7 @@
nclones: that.nclOne, nclones: that.nclOne,
itemCode: that.itemCode, itemCode: that.itemCode,
}; };
this.$root.loading = true;
var channelOrderNo = this.$root.copyParams({ channelOrderNo: this.$route.query.channelOrderNo }, "get1688ChannelOrderInfo", "/action/tmOrder/springBoard", "yes", "yes"); var channelOrderNo = this.$root.copyParams({ channelOrderNo: this.$route.query.channelOrderNo }, "get1688ChannelOrderInfo", "/action/tmOrder/springBoard", "yes", "yes");
that.$root.postReq("/web/trademark/tmqueryCtl/doPost", channelOrderNo).then((d) => { that.$root.postReq("/web/trademark/tmqueryCtl/doPost", channelOrderNo).then((d) => {
console.log(d); console.log(d);
...@@ -1211,20 +1212,18 @@ ...@@ -1211,20 +1212,18 @@
console.log(that.orderSubInfo, '............................................'); console.log(that.orderSubInfo, '............................................');
var subInfo = that.$root.copyParams(that.orderSubInfo, "subExistTmOrder", "/action/tmOrder/springBoard", "yes", "yes"); var subInfo = that.$root.copyParams(that.orderSubInfo, "subExistTmOrder", "/action/tmOrder/springBoard", "yes", "yes");
that.$root.postReq("/web/trademark/tmqueryCtl/doPost", subInfo).then(function (d) { that.$root.postReq("/web/trademark/tmqueryCtl/doPost", subInfo).then(function (d) {
this.$root.loading = false;
console.log('nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn0', d); console.log('nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn0', d);
if (d.status == 0) { if (d.status == 0) {
var order = d.data; var order = d.data;
that.toTop(); that.toTop();
console.log(that.orderSubInfo,",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"); console.log(that.orderSubInfo,",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,");
that.$router.push({ that.$router.push({
path: "/1688/jdindentlist", path: "/1688/jdindentlist",
query: { query: {
channelUserId: that.$route.query.channelUserId, channelUserId: that.$route.query.channelUserId,
} }
}); });
that.$message.warning("订单提交成功"); that.$message.warning("订单提交成功");
} else { } else {
...@@ -1233,6 +1232,7 @@ ...@@ -1233,6 +1232,7 @@
}).catch(function (e) { }).catch(function (e) {
that.$message.warning("操作失败", e); that.$message.warning("操作失败", e);
this.$root.loading = false;
console.log(e); console.log(e);
}); });
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment