Browse Source

终极版

master
Lj 1 month ago
parent
commit
18d588a348
19 changed files with 119 additions and 180 deletions
  1. +17
    -13
      pages/index/PayPal.uvue
  2. +4
    -2
      pages/index/PayPal_pinpai.uvue
  3. +12
    -61
      pages/index/PayPal_xq.uvue
  4. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  5. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/PayPal.js.map
  6. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/PayPal_pinpai.js.map
  7. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/PayPal_xq.js.map
  8. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/3c3dba67c55be282cb78bd27c70bf208b4d492d1
  9. +0
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/4ee279dab313270bb284eca9665ba4917e328218
  10. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/5470b2afa961a227046edc9ab60f725b1f044795
  11. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/790bf2a27e474d4ba655ce06f835c644d5a4f907
  12. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/b950cf55ffdd7336a60fda082c88c00981e43532
  13. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/d1ad19d911a9fa8854abe5ac4469c6c3acfbc7fe
  14. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/eea436aa5a1159845a7f5b6a925300f23d7c447c
  15. +0
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/f3b613c2d7ee36bef922497cb2a6c03275155f1d
  16. +16
    -1
      unpackage/dist/dev/mp-weixin/common/vendor.js
  17. +21
    -19
      unpackage/dist/dev/mp-weixin/pages/index/PayPal.js
  18. +18
    -16
      unpackage/dist/dev/mp-weixin/pages/index/PayPal_pinpai.js
  19. +24
    -61
      unpackage/dist/dev/mp-weixin/pages/index/PayPal_xq.js

+ 17
- 13
pages/index/PayPal.uvue View File

@ -521,21 +521,25 @@ export default {
}) })
}, },
get_to(){ get_to(){
console.log('suss', JSON.parse(JSON.stringify(this.clientInfo) ));
// console.log('suss', JSON.parse(JSON.stringify(this.clientInfo) ));
for (var i in this.clientInfo) { for (var i in this.clientInfo) {
if (typeof this.clientInfo[i] == 'object') { if (typeof this.clientInfo[i] == 'object') {
for (var j in this.clientInfo[i]) { for (var j in this.clientInfo[i]) {
if(!this.isEmpty(this.clientInfo[i][j])&& j!="carNo"&&j!="lender"&&j!="lenderMoney"&&j!="lenderYear"){
uni.showToast({
title: "提交失败,请检查字段是否未填!",
icon: 'error',
duration: 500,
success: (res) => {
},
fail: (res) => {
},
});
return false
for (var k in this.clientInfo[i][j]) {
console.log(k)
if(!this.isEmpty(this.clientInfo[i][j][k])&& k!="carNo"&&k!="lender"&&k!="lenderMoney"&&k!="lenderYear"){
uni.showToast({
title: "提交失败,请检查字段是否未填!",
icon: 'error',
duration: 500,
success: (res) => {
},
fail: (res) => {
},
});
return false
}
} }
} }
}else{ }else{
@ -682,7 +686,7 @@ export default {
changeTime(e){ changeTime(e){
console.log(e.detail.value) console.log(e.detail.value)
if(this.clientInfo.appOrderVoucherList[0].effectiveTime){ if(this.clientInfo.appOrderVoucherList[0].effectiveTime){
this.clientInfo.appOrderVoucherList[0].serviceYear = this.serviceAges[e.detail.value]
this.clientInfo.appOrderVoucherList[0].serviceYear = Number(e.detail.value) +1
this.serviceYear = this.serviceAges[e.detail.value] this.serviceYear = this.serviceAges[e.detail.value]
var dateTime = new Date(this.clientInfo.appOrderVoucherList[0].effectiveTime); var dateTime = new Date(this.clientInfo.appOrderVoucherList[0].effectiveTime);
let year = Number(dateTime.getFullYear()) + Number(e.detail.value) +1; let year = Number(dateTime.getFullYear()) + Number(e.detail.value) +1;


+ 4
- 2
pages/index/PayPal_pinpai.uvue View File

@ -419,7 +419,8 @@ export default {
for (var i in this.clientInfo) { for (var i in this.clientInfo) {
if (typeof this.clientInfo[i] == 'object') { if (typeof this.clientInfo[i] == 'object') {
for (var j in this.clientInfo[i]) { for (var j in this.clientInfo[i]) {
if(!this.isEmpty(this.clientInfo[i][j])&& j!="carNo"){
for (var k in this.clientInfo[i][j]) {
if(!this.isEmpty(this.clientInfo[i][j][k])&& k!="carNo"&&k!="lender"&&k!="lenderMoney"&&k!="lenderYear"){
uni.showToast({ uni.showToast({
title: "提交失败,请检查字段是否未填!", title: "提交失败,请检查字段是否未填!",
icon: 'error', icon: 'error',
@ -430,7 +431,8 @@ export default {
}, },
}); });
return false return false
}
}
}
} }
}else{ }else{
if(!this.isEmpty(this.clientInfo[i])){ if(!this.isEmpty(this.clientInfo[i])){


+ 12
- 61
pages/index/PayPal_xq.uvue View File

@ -236,69 +236,12 @@
</template> </template>
<script> <script>
import {isToken,list,queryAppOrderCarByMainId,queryAppOrderFinanceByMainId,queryAppOrderVoucherByMainId} from '@/api.uts'
import {isToken,list,queryAppOrderCarByMainId,queryAppOrderFinanceByMainId,queryAppOrderVoucherByMainId,queryDictItemsByCode} from '@/api.uts'
export default { export default {
data() { data() {
return { return {
records: [
{
id: "1897277583591075841",
orderNum: "CXSC20250305302395",
productName: "畅行无忧",
productServiceYear: "1",
productMoney: null,
productContractTemp: "https://img.augcl.com/temp/test_car_1741181182533.pdf",
productType: "普通产品",
storeName: "上海测试门店",
custName: "陈朋涛",
custAddress: "山东省滕州市龙阳镇",
custCardNo: "532101198906010015",
custPhone: "13456788765",
salePort: "售前",
createBy: "tanzs",
saleName: "lj",
payType: "全款",
custType: 0,
certFront: "https://img.augcl.com/cert/4uUVhHO3qByFbeb95285d2741f5437d370fea46a67b9_1740859563993.jpg",
certBack: "https://img.augcl.com/cert/J4X2ZFsgotLXdcc88281956f0b3fb63708bb497c1698_1740859570051.jpg",
carPic: "https://img.augcl.com/cert/w2Aoeo53vXfBb3f85e86690e90e240e1111c770e6f26_1740859575127.jpg",
busLicense: null,
createTime: "2025-03-05 21:26:39",
updateBy: null,
updateTime: null,
sysOrgCode: null,
status: 1,
contractUrl: "https://img.augcl.com/contract/CXSC20250305302395_1741181199845.pdf",
payee: "上海测试门店",
payeeTime: null,
payVoucherUrl: "https://img.augcl.com/test/F5n9sMOVIOBs363af867a4affb43fcf1cc64bb01916d_1740859625764.png",
salePort_dictText: "售前",
custType_dictText: "个人",
status_dictText: "已生效"
}
],
cars:[
{
id: "1897277583754653697",
carSeries: "比亚迪海狮05 EV2025款 低配版",
vin: "LC0CE6DB8S4040471",
carType: "燃油车",
useType: "非营运",
newCar: 1,
carModel: "BYD7008BEVB1",
carNo: "fg6545",
engineNo: "2V4003609",
mileage: "10000",
buyTime: "2025-03-02 04:06:50",
buyMoney: 10000,
buyTax: 885,
orderFkId: "1897277583591075841",
updateBy: null,
createTime: "2025-03-05 21:26:40",
updateTime: null,
sysOrgCode: null,
createBy: "tanzs"}
],
records: [],
cars:[],
vouchers:[], vouchers:[],
Finances:[], Finances:[],
productTypeFlag:true productTypeFlag:true
@ -310,6 +253,7 @@ export default {
list({id:getApp().id}).then((res)=>{ list({id:getApp().id}).then((res)=>{
this.records = res.result.records this.records = res.result.records
}) })
queryAppOrderCarByMainId({id:getApp().id}).then((res)=>{ queryAppOrderCarByMainId({id:getApp().id}).then((res)=>{
this.cars = res.result this.cars = res.result
}) })
@ -317,8 +261,15 @@ export default {
this.Finances = res.result this.Finances = res.result
}) })
queryAppOrderVoucherByMainId({id:getApp().id}).then((res)=>{ queryAppOrderVoucherByMainId({id:getApp().id}).then((res)=>{
this.vouchers = res.result this.vouchers = res.result
queryDictItemsByCode({code:"service_year"}).then((res)=>{
for (let s of res) {
if(s.value == String( this.vouchers[0].serviceYear)){
this.vouchers[0].serviceYear = s.text
}
}
})
}) })
console.log('111',JSON.parse(this.cars)); console.log('111',JSON.parse(this.cars));
this.productTypeFlag = getApp().productTypeFlag; this.productTypeFlag = getApp().productTypeFlag;


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/PayPal.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/PayPal_pinpai.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/PayPal_xq.js.map
File diff suppressed because it is too large
View File


+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/3c3dba67c55be282cb78bd27c70bf208b4d492d1
File diff suppressed because it is too large
View File


unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/650c952218f79b847cd71f2ae4f83de16bc00bab → unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/4ee279dab313270bb284eca9665ba4917e328218 View File


+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/5470b2afa961a227046edc9ab60f725b1f044795
File diff suppressed because it is too large
View File


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/790bf2a27e474d4ba655ce06f835c644d5a4f907
File diff suppressed because it is too large
View File


+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/b950cf55ffdd7336a60fda082c88c00981e43532
File diff suppressed because it is too large
View File


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/d1ad19d911a9fa8854abe5ac4469c6c3acfbc7fe
File diff suppressed because it is too large
View File


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/eea436aa5a1159845a7f5b6a925300f23d7c447c
File diff suppressed because it is too large
View File


unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/a167295c2a5dd1c6c1ecf3a5630293584f8ccacc → unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/f3b613c2d7ee36bef922497cb2a6c03275155f1d View File


+ 16
- 1
unpackage/dist/dev/mp-weixin/common/vendor.js View File

@ -7967,7 +7967,7 @@ function initOnError() {
function initRuntimeSocketService() { function initRuntimeSocketService() {
const hosts = "192.168.1.10,127.0.0.1"; const hosts = "192.168.1.10,127.0.0.1";
const port = "8090"; const port = "8090";
const id = "mp-weixin_9zYJZn";
const id = "mp-weixin_q1XQ5D";
const lazy = typeof swan !== "undefined"; const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => { let restoreError = lazy ? () => {
} : initOnError(); } : initOnError();
@ -9575,6 +9575,20 @@ function __awaiter(thisArg, _arguments, P, generator) {
step((generator = generator.apply(thisArg, _arguments || [])).next()); step((generator = generator.apply(thisArg, _arguments || [])).next());
}); });
} }
function __values(o2) {
var s2 = typeof Symbol === "function" && Symbol.iterator, m = s2 && o2[s2], i = 0;
if (m)
return m.call(o2);
if (o2 && typeof o2.length === "number")
return {
next: function() {
if (o2 && i >= o2.length)
o2 = void 0;
return { value: o2 && o2[i++], done: !o2 };
}
};
throw new TypeError(s2 ? "Object is not iterable." : "Symbol.iterator is not defined.");
}
function __read(o2, n2) { function __read(o2, n2) {
var m = typeof Symbol === "function" && o2[Symbol.iterator]; var m = typeof Symbol === "function" && o2[Symbol.iterator];
if (!m) if (!m)
@ -9602,6 +9616,7 @@ typeof SuppressedError === "function" ? SuppressedError : function(error, suppre
}; };
exports.__awaiter = __awaiter; exports.__awaiter = __awaiter;
exports.__read = __read; exports.__read = __read;
exports.__values = __values;
exports._export_sfc = _export_sfc; exports._export_sfc = _export_sfc;
exports.computed = computed; exports.computed = computed;
exports.createSSRApp = createSSRApp; exports.createSSRApp = createSSRApp;


+ 21
- 19
unpackage/dist/dev/mp-weixin/pages/index/PayPal.js View File

@ -204,21 +204,23 @@ const _sfc_main = common_vendor.defineComponent({
}); });
}, },
get_to() { get_to() {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:524", "suss", UTS.JSON.parse(UTS.JSON.stringify(this.clientInfo)));
for (var i in this.clientInfo) { for (var i in this.clientInfo) {
if (typeof this.clientInfo[i] == "object") { if (typeof this.clientInfo[i] == "object") {
for (var j in this.clientInfo[i]) { for (var j in this.clientInfo[i]) {
if (!this.isEmpty(this.clientInfo[i][j]) && j != "carNo" && j != "lender" && j != "lenderMoney" && j != "lenderYear") {
common_vendor.index.showToast({
title: "提交失败,请检查字段是否未填!",
icon: "error",
duration: 500,
success: (res) => {
},
fail: (res) => {
}
});
return false;
for (var k in this.clientInfo[i][j]) {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:530", k);
if (!this.isEmpty(this.clientInfo[i][j][k]) && k != "carNo" && k != "lender" && k != "lenderMoney" && k != "lenderYear") {
common_vendor.index.showToast({
title: "提交失败,请检查字段是否未填!",
icon: "error",
duration: 500,
success: (res) => {
},
fail: (res) => {
}
});
return false;
}
} }
} }
} else { } else {
@ -260,7 +262,7 @@ const _sfc_main = common_vendor.defineComponent({
}); });
} }
}).catch((err = null) => { }).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:583", "err", err);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:587", "err", err);
}); });
}, },
getCar() { getCar() {
@ -287,7 +289,7 @@ const _sfc_main = common_vendor.defineComponent({
// serviceYearChanges(e){ // serviceYearChanges(e){
// this.clientInfo.appOrderVoucherList[0].serviceYear = this.serviceAges[e.detail.value] // this.clientInfo.appOrderVoucherList[0].serviceYear = this.serviceAges[e.detail.value]
// this.serviceYear = this.serviceAges[e.detail.value] // this.serviceYear = this.serviceAges[e.detail.value]
// uni.__f__('log','at pages/index/PayPal.uvue:615',e.detail.value )
// uni.__f__('log','at pages/index/PayPal.uvue:619',e.detail.value )
// }, // },
// 修改车辆类型 // 修改车辆类型
binduseTypeChanges(e = null) { binduseTypeChanges(e = null) {
@ -333,9 +335,9 @@ const _sfc_main = common_vendor.defineComponent({
this.clientInfo.appOrderVoucherList[0].effectiveTime = this.msToDate(dateTime).withoutTime; this.clientInfo.appOrderVoucherList[0].effectiveTime = this.msToDate(dateTime).withoutTime;
}, },
changeTime(e = null) { changeTime(e = null) {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:683", e.detail.value);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:687", e.detail.value);
if (this.clientInfo.appOrderVoucherList[0].effectiveTime) { if (this.clientInfo.appOrderVoucherList[0].effectiveTime) {
this.clientInfo.appOrderVoucherList[0].serviceYear = this.serviceAges[e.detail.value];
this.clientInfo.appOrderVoucherList[0].serviceYear = Number(e.detail.value) + 1;
this.serviceYear = this.serviceAges[e.detail.value]; this.serviceYear = this.serviceAges[e.detail.value];
var dateTime = new Date(this.clientInfo.appOrderVoucherList[0].effectiveTime); var dateTime = new Date(this.clientInfo.appOrderVoucherList[0].effectiveTime);
let year = Number(dateTime.getFullYear()) + Number(e.detail.value) + 1; let year = Number(dateTime.getFullYear()) + Number(e.detail.value) + 1;
@ -435,7 +437,7 @@ const _sfc_main = common_vendor.defineComponent({
}); });
} }
}).catch((err = null) => { }).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:789", "catch: ", err);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:793", "catch: ", err);
}); });
} else if (type == "carCert") { } else if (type == "carCert") {
api.carCert(new UTSJSONObject({ "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => { api.carCert(new UTSJSONObject({ "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => {
@ -457,12 +459,12 @@ const _sfc_main = common_vendor.defineComponent({
}); });
} }
}).catch((err = null) => { }).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:816", "catch: ", err);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:820", "catch: ", err);
}); });
} }
}, },
fail: (err) => { fail: (err) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:823", err);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:827", err);
} }
}); });
}, },


+ 18
- 16
unpackage/dist/dev/mp-weixin/pages/index/PayPal_pinpai.js View File

@ -179,17 +179,19 @@ const _sfc_main = common_vendor.defineComponent({
for (var i in this.clientInfo) { for (var i in this.clientInfo) {
if (typeof this.clientInfo[i] == "object") { if (typeof this.clientInfo[i] == "object") {
for (var j in this.clientInfo[i]) { for (var j in this.clientInfo[i]) {
if (!this.isEmpty(this.clientInfo[i][j]) && j != "carNo") {
common_vendor.index.showToast({
title: "提交失败,请检查字段是否未填!",
icon: "error",
duration: 500,
success: (res) => {
},
fail: (res) => {
}
});
return false;
for (var k in this.clientInfo[i][j]) {
if (!this.isEmpty(this.clientInfo[i][j][k]) && k != "carNo" && k != "lender" && k != "lenderMoney" && k != "lenderYear") {
common_vendor.index.showToast({
title: "提交失败,请检查字段是否未填!",
icon: "error",
duration: 500,
success: (res) => {
},
fail: (res) => {
}
});
return false;
}
} }
} }
} else { } else {
@ -231,7 +233,7 @@ const _sfc_main = common_vendor.defineComponent({
}); });
} }
}).catch((err = null) => { }).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:477", "err", err);
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:479", "err", err);
}); });
}, },
getCar() { getCar() {
@ -297,7 +299,7 @@ const _sfc_main = common_vendor.defineComponent({
this.clientInfo.appOrderVoucherList[0].effectiveTime = this.msToDate(dateTime).withoutTime; this.clientInfo.appOrderVoucherList[0].effectiveTime = this.msToDate(dateTime).withoutTime;
}, },
changeTime(e = null) { changeTime(e = null) {
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:569", e);
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:571", e);
if (this.clientInfo.appOrderVoucherList[0].effectiveTime) { if (this.clientInfo.appOrderVoucherList[0].effectiveTime) {
var dateTime = new Date(this.clientInfo.appOrderVoucherList[0].effectiveTime); var dateTime = new Date(this.clientInfo.appOrderVoucherList[0].effectiveTime);
let year = Number(dateTime.getFullYear()) + Number(e.detail.value); let year = Number(dateTime.getFullYear()) + Number(e.detail.value);
@ -397,7 +399,7 @@ const _sfc_main = common_vendor.defineComponent({
}); });
} }
}).catch((err = null) => { }).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:673", "catch: ", err);
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:675", "catch: ", err);
}); });
} else if (type == "carCert") { } else if (type == "carCert") {
api.carCert(new UTSJSONObject({ "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => { api.carCert(new UTSJSONObject({ "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => {
@ -419,12 +421,12 @@ const _sfc_main = common_vendor.defineComponent({
}); });
} }
}).catch((err = null) => { }).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:700", "catch: ", err);
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:702", "catch: ", err);
}); });
} }
}, },
fail: (err) => { fail: (err) => {
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:707", err);
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:709", err);
} }
}); });
}, },


+ 24
- 61
unpackage/dist/dev/mp-weixin/pages/index/PayPal_xq.js View File

@ -5,66 +5,8 @@ const common_assets = require("../../common/assets.js");
const _sfc_main = common_vendor.defineComponent({ const _sfc_main = common_vendor.defineComponent({
data() { data() {
return { return {
records: [
new UTSJSONObject({
id: "1897277583591075841",
orderNum: "CXSC20250305302395",
productName: "畅行无忧",
productServiceYear: "1",
productMoney: null,
productContractTemp: "https://img.augcl.com/temp/test_car_1741181182533.pdf",
productType: "普通产品",
storeName: "上海测试门店",
custName: "陈朋涛",
custAddress: "山东省滕州市龙阳镇",
custCardNo: "532101198906010015",
custPhone: "13456788765",
salePort: "售前",
createBy: "tanzs",
saleName: "lj",
payType: "全款",
custType: 0,
certFront: "https://img.augcl.com/cert/4uUVhHO3qByFbeb95285d2741f5437d370fea46a67b9_1740859563993.jpg",
certBack: "https://img.augcl.com/cert/J4X2ZFsgotLXdcc88281956f0b3fb63708bb497c1698_1740859570051.jpg",
carPic: "https://img.augcl.com/cert/w2Aoeo53vXfBb3f85e86690e90e240e1111c770e6f26_1740859575127.jpg",
busLicense: null,
createTime: "2025-03-05 21:26:39",
updateBy: null,
updateTime: null,
sysOrgCode: null,
status: 1,
contractUrl: "https://img.augcl.com/contract/CXSC20250305302395_1741181199845.pdf",
payee: "上海测试门店",
payeeTime: null,
payVoucherUrl: "https://img.augcl.com/test/F5n9sMOVIOBs363af867a4affb43fcf1cc64bb01916d_1740859625764.png",
salePort_dictText: "售前",
custType_dictText: "个人",
status_dictText: "已生效"
})
],
cars: [
new UTSJSONObject({
id: "1897277583754653697",
carSeries: "比亚迪海狮05 EV2025款 低配版",
vin: "LC0CE6DB8S4040471",
carType: "燃油车",
useType: "非营运",
newCar: 1,
carModel: "BYD7008BEVB1",
carNo: "fg6545",
engineNo: "2V4003609",
mileage: "10000",
buyTime: "2025-03-02 04:06:50",
buyMoney: 1e4,
buyTax: 885,
orderFkId: "1897277583591075841",
updateBy: null,
createTime: "2025-03-05 21:26:40",
updateTime: null,
sysOrgCode: null,
createBy: "tanzs"
})
],
records: [],
cars: [],
vouchers: [], vouchers: [],
Finances: [], Finances: [],
productTypeFlag: true productTypeFlag: true
@ -83,8 +25,29 @@ const _sfc_main = common_vendor.defineComponent({
}); });
api.queryAppOrderVoucherByMainId(new UTSJSONObject({ id: getApp().id })).then((res = null) => { api.queryAppOrderVoucherByMainId(new UTSJSONObject({ id: getApp().id })).then((res = null) => {
this.vouchers = res.result; this.vouchers = res.result;
api.queryDictItemsByCode(new UTSJSONObject({ code: "service_year" })).then((res2 = null) => {
var e_1, _a;
try {
for (var res_1 = common_vendor.__values(res2), res_1_1 = res_1.next(); !res_1_1.done; res_1_1 = res_1.next()) {
var s = res_1_1.value;
if (s.value == String(this.vouchers[0].serviceYear)) {
this.vouchers[0].serviceYear = s.text;
}
}
} catch (e_1_1) {
e_1 = { error: e_1_1 };
} finally {
try {
if (res_1_1 && !res_1_1.done && (_a = res_1.return))
_a.call(res_1);
} finally {
if (e_1)
throw e_1.error;
}
}
});
}); });
common_vendor.index.__f__("log", "at pages/index/PayPal_xq.uvue:323", "111", UTS.JSON.parse(this.cars));
common_vendor.index.__f__("log", "at pages/index/PayPal_xq.uvue:274", "111", UTS.JSON.parse(this.cars));
this.productTypeFlag = getApp().productTypeFlag; this.productTypeFlag = getApp().productTypeFlag;
}, },
onUpload() { onUpload() {


Loading…
Cancel
Save