|
|
|
|
@ -505,19 +505,19 @@ 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 : '';
|
|
|
|
|
// 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);
|
|
|
|
|
that.G.Post("/yishoudan/common/order/addBatch", submitInfo, (res) => {
|
|
|
|
|
// uni.hideLoading();
|
|
|
|
|
|