diff --git a/root/home/quickApplication.vue b/root/home/quickApplication.vue index 1e50e9a..26fd13e 100644 --- a/root/home/quickApplication.vue +++ b/root/home/quickApplication.vue @@ -192,6 +192,7 @@ export default { }, data() { return { + detailRes:{}, IS_CREATOR: false, jobType: 2, isFans: 2, @@ -241,6 +242,7 @@ export default { id: $data.leafCateId, }, (res) => { + that.detailRes = res.record; let policyStr; if (that.isFans == 2) { policyStr = "1. 佣金:" + (res.record.returnFeeType !== "" ? that.G.setReturnFee(res.record.returnFee, res.record.returnFeeType) : "详询客服") + " \n\n" + "2. 佣金详情:" + (res.record.returnFeeDesp || "详询客服") + " \n\n" + "3. 薪资待遇:" + (res.record.salaryDetail || "详询客服") + "\n\n"; @@ -503,8 +505,20 @@ export default { }; }) ); + let _upAgencyName = ''; + if (that.detailRes.status == 0) { + _upAgencyName = that.detailRes.fullName; + } else if (that.detailRes.status == 1) { + if (that.detailRes.providerNameAll) { + _upAgencyName = `${that.detailRes.providerName}(${that.detailRes.providerNameAll})`; + } else { + _upAgencyName = that.detailRes.providerName; + } + } else { + _upAgencyName = that.detailRes.userName; + } + submitInfo.upAgencyName = _upAgencyName ? _upAgencyName : ''; console.log("submitInfo", submitInfo); - // return that.G.Post("/yishoudan/common/order/addBatch", submitInfo, (res) => { // uni.hideLoading(); uni.showToast({