合同小程序前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

677 lines
23 KiB

1 year ago
  1. "use strict";
  2. const common_vendor = require("../../common/vendor.js");
  3. const api = require("../../api.js");
  4. const common_assets = require("../../common/assets.js");
  5. const _sfc_main = common_vendor.defineComponent({
  6. data() {
  7. return {
  8. uploadConfig: new UTSJSONObject({
  9. // 上传地址
  10. url: "https://gpt.aiym.run/contract/miniapp/file/upload",
  11. // 文件字段名
  12. name: "file",
  13. // 请求头
  14. header: new UTSJSONObject({}),
  15. // 附带的表单数据
  16. formData: new UTSJSONObject({
  17. "biz": "cert"
  18. }),
  19. // 是否开启实际上传
  20. enabled: true
  21. }),
  22. clientInfo: new UTSJSONObject({
  23. appOrderCarList: [
  24. new UTSJSONObject({
  25. buyMoney: 0,
  26. buyTax: 0,
  27. carModel: "",
  28. carNo: "",
  29. carSeries: "",
  30. carType: "",
  31. engineNo: "",
  32. newCar: 0,
  33. useType: "",
  34. vin: ""
  35. })
  36. ],
  37. appOrderVoucherList: [
  38. new UTSJSONObject({
  39. dealerAddress: "",
  40. firstBeneficiary: "",
  41. packageMoney: 0,
  42. serviceMoney: 0
  43. })
  44. ],
  45. carPic: "",
  46. certBack: "",
  47. certFront: "",
  48. custAddress: "",
  49. custCardNo: "",
  50. custName: "",
  51. custPhone: "",
  52. custType: 0,
  53. invoiceUrl: "",
  54. payType: "全款",
  55. payVoucherUrl: "",
  56. payee: "",
  57. productName: "自动填写所选商品服务分类",
  58. productServiceYear: 1,
  59. saleName: "",
  60. salePort: "售前",
  61. status: 0,
  62. storeName: "自动填写所选择的门店"
  63. }),
  64. fileList1: [],
  65. fileList2: [],
  66. departments: ["售前", "售后", "二网车"],
  67. carType: ["燃油车", "新能源"],
  68. useType: ["非营运", "营运"],
  69. carBrandIndex: -1,
  70. useTypeIndex: -1,
  71. serviceAges: ["1年", "2年", "3年"],
  72. serviceAgeIndex: -1,
  73. payees: [],
  74. payeeIndex: -1,
  75. screenHeight: 0,
  76. curHeight: 0,
  77. // 扫描
  78. positiveImg: "/static/image/组件 4 – 1.png",
  79. certFront: "",
  80. carPic: "",
  81. certBack: "",
  82. // 反面身份证
  83. reverseImg: "/static/image/组 71663.png",
  84. // 行车驾驶证
  85. carImg: "/static/image/组件 2 – 1.png"
  86. //自己图片路径
  87. };
  88. },
  89. onLoad(options) {
  90. api.isToken();
  91. this.clientInfo.storeName = getApp().storeName || "自动填写所选择的门店";
  92. this.clientInfo.productName = getApp().productName || "自动填写所选商品服务分类";
  93. this.clientInfo.appOrderVoucherList[0].dealerAddress = getApp().dealerAddress;
  94. for (var index = 0; index < getApp().allMsg.length; index++) {
  95. this.payees.push(getApp().allMsg[index].storeName);
  96. }
  97. this.clientInfo.payee = getApp().storeName;
  98. this.uploadConfig.header = new UTSJSONObject({
  99. "X-Access-Token": common_vendor.index.getStorageSync("token")
  100. });
  101. let clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));
  102. if (clientInfo) {
  103. this.clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));
  104. this.certFront = getApp().certFront;
  105. this.carPic = getApp().carPic;
  106. this.certBack = getApp().certBack;
  107. }
  108. },
  109. onUpload() {
  110. common_vendor.index.offKeyboardHeightChange();
  111. },
  112. methods: {
  113. // 凭证上传函数
  114. deletePic(event = null) {
  115. this[`fileList${event.name}`].splice(event.index, 1);
  116. },
  117. // 新增图片
  118. afterRead(event = null) {
  119. return common_vendor.__awaiter(this, void 0, void 0, function* () {
  120. let lists = [].concat(event.file);
  121. let fileListLen = this[`fileList${event.name}`].length;
  122. lists.map((item) => {
  123. this[`fileList${event.name}`].push(new UTSJSONObject(Object.assign(Object.assign({}, item), { status: "uploading", message: "上传中" })));
  124. });
  125. for (let i = 0; i < lists.length; i++) {
  126. const result = yield this.uploadFilePromise(lists[i].url, event.name);
  127. let item = this[`fileList${event.name}`][fileListLen];
  128. this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
  129. status: "success",
  130. message: "",
  131. url: result
  132. }));
  133. fileListLen++;
  134. }
  135. });
  136. },
  137. uploadFilePromise(url = null, name = null) {
  138. let token = common_vendor.index.getStorageSync("token");
  139. return new Promise((resolve, reject) => {
  140. common_vendor.index.uploadFile({
  141. url: "https://www.shengchuangyunkong.com/contract/miniapp/file/upload",
  142. filePath: url,
  143. name: "file",
  144. formData: new UTSJSONObject({
  145. biz: "test"
  146. }),
  147. header: new UTSJSONObject({
  148. "X-Access-Token": token
  149. }),
  150. success: (res) => {
  151. if (name == "1") {
  152. this.clientInfo.payVoucherUrl = UTS.JSON.parse(res.data).message;
  153. setTimeout(() => {
  154. resolve(res.data.data);
  155. }, 1e3);
  156. } else {
  157. this.clientInfo.invoiceUrl = UTS.JSON.parse(res.data).message;
  158. setTimeout(() => {
  159. resolve(res.data.data);
  160. }, 1e3);
  161. }
  162. }
  163. });
  164. });
  165. },
  166. isEmpty(value = null) {
  167. if (value === null || value === void 0)
  168. return false;
  169. if (typeof value === "string" && value.trim() === "")
  170. return false;
  171. if (Array.isArray(value) && value.length === 0)
  172. return false;
  173. if (typeof value === "object" && Object.keys(value).length === 0)
  174. return false;
  175. return true;
  176. },
  177. get_to() {
  178. common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:418", "suss", UTS.JSON.parse(UTS.JSON.stringify(this.clientInfo)));
  179. for (var i in this.clientInfo) {
  180. if (typeof this.clientInfo[i] == "object") {
  181. for (var j in this.clientInfo[i]) {
  182. if (!this.isEmpty(this.clientInfo[i][j]) && j != "carNo") {
  183. common_vendor.index.showToast({
  184. title: "提交失败,请检查字段是否未填!",
  185. icon: "error",
  186. duration: 500,
  187. success: (res) => {
  188. },
  189. fail: (res) => {
  190. }
  191. });
  192. return false;
  193. }
  194. }
  195. } else {
  196. if (!this.isEmpty(this.clientInfo[i])) {
  197. common_vendor.index.showToast({
  198. title: "提交失败,请检查字段是否未填!",
  199. icon: "error",
  200. duration: 500,
  201. success: (res) => {
  202. },
  203. fail: (res) => {
  204. }
  205. });
  206. return false;
  207. }
  208. }
  209. }
  210. api.add(this.clientInfo).then((res = null) => {
  211. if (res.success) {
  212. common_vendor.index.showToast({
  213. title: "提交成功",
  214. icon: "success",
  215. duration: 500,
  216. success: (res2) => {
  217. },
  218. fail: (res2) => {
  219. }
  220. });
  221. common_vendor.index.switchTab({ url: "/pages/index/dingdan" });
  222. } else {
  223. common_vendor.index.showToast({
  224. title: "提交失败,请检查格式!",
  225. icon: "error",
  226. duration: 500,
  227. success: (res2) => {
  228. },
  229. fail: (res2) => {
  230. }
  231. });
  232. }
  233. }).catch((err = null) => {
  234. common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:477", "err", err);
  235. });
  236. },
  237. getCar() {
  238. getApp().flag = 1;
  239. common_vendor.index.navigateTo({
  240. url: "/pages/views/carOne?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
  241. });
  242. getApp().certFront = this.certFront;
  243. getApp().carPic = this.carPic;
  244. getApp().certBack = this.certBack;
  245. },
  246. toBack() {
  247. common_vendor.index.navigateBack({ delta: 1 });
  248. },
  249. handleDepartmentChange(e = null) {
  250. this.clientInfo.salePort = e;
  251. },
  252. // 修改车辆类型
  253. bindCarBrandChanges(e = null) {
  254. this.clientInfo.appOrderCarList[0].carType = this.carType[e.detail.value];
  255. },
  256. // 修改车辆类型
  257. binduseTypeChanges(e = null) {
  258. this.clientInfo.appOrderCarList[0].useType = this.useType[e.detail.value];
  259. },
  260. // 取服务年限
  261. bindServiceAgeChange(e = null) {
  262. this.serviceAgeIndex = e.detail.value;
  263. if (this.serviceAges[e.detail.value] == "1年") {
  264. this.clientInfo.productServiceYear = 1;
  265. } else if (this.serviceAges[e.detail.value] == "2年") {
  266. this.clientInfo.productServiceYear = 2;
  267. } else {
  268. this.clientInfo.productServiceYear = 3;
  269. }
  270. },
  271. // 选择收款方
  272. bindPayeeChange(e = null) {
  273. this.payeeIndex = e.detail.value;
  274. this.clientInfo.payee = this.payees[e.detail.value];
  275. },
  276. msToDate(msec = null) {
  277. let datetime = new Date(msec);
  278. let year = datetime.getFullYear();
  279. let month = datetime.getMonth();
  280. let date = datetime.getDate();
  281. let hour = datetime.getHours();
  282. let minute = datetime.getMinutes();
  283. let second = datetime.getSeconds();
  284. let result1 = year + "-" + (month + 1 >= 10 ? month + 1 : "0" + (month + 1)) + "-" + (date + 1 < 10 ? "0" + date : date) + " " + (hour + 1 < 10 ? "0" + hour : hour) + ":" + (minute + 1 < 10 ? "0" + minute : minute) + ":" + (second + 1 < 10 ? "0" + second : second);
  285. let result2 = year + "-" + (month + 1 >= 10 ? month + 1 : "0" + (month + 1)) + "-" + (date + 1 < 10 ? "0" + date : date);
  286. let result = new UTSJSONObject({
  287. hasTime: result1,
  288. withoutTime: result2
  289. });
  290. return result;
  291. },
  292. // 修改生效时间
  293. changeEffectiveTime(e = null) {
  294. var dateTime = new Date(e);
  295. dateTime.setDate(dateTime.getDate() + 2);
  296. dateTime = new Date(dateTime);
  297. this.clientInfo.appOrderVoucherList[0].effectiveTime = this.msToDate(dateTime).withoutTime;
  298. },
  299. changeTime(e = null) {
  300. common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:569", e);
  301. if (this.clientInfo.appOrderVoucherList[0].effectiveTime) {
  302. var dateTime = new Date(this.clientInfo.appOrderVoucherList[0].effectiveTime);
  303. let year = Number(dateTime.getFullYear()) + Number(e.detail.value);
  304. dateTime.setFullYear(year);
  305. dateTime = new Date(dateTime);
  306. this.clientInfo.appOrderVoucherList[0].endTime = this.msToDate(dateTime).withoutTime;
  307. } else {
  308. common_vendor.index.showToast({
  309. title: "请先选择生效时间!",
  310. icon: "error",
  311. duration: 500,
  312. success: (res) => {
  313. },
  314. fail: (res) => {
  315. }
  316. });
  317. }
  318. },
  319. changebuyTax() {
  320. this.clientInfo.appOrderCarList[0].buyTax = (this.clientInfo.appOrderCarList[0].buyMoney / 11.3).toFixed(2);
  321. },
  322. // 身份证正面上传
  323. uploadPositive() {
  324. common_vendor.index.chooseImage({
  325. count: 1,
  326. sizeType: ["original", "compressed"],
  327. sourceType: ["album", "camera"],
  328. success: (res) => {
  329. let filePath = res.tempFilePaths[0];
  330. let token = common_vendor.index.getStorageSync("token");
  331. this.uploadIdentify(token, "front", filePath, "sfz");
  332. }
  333. });
  334. },
  335. // 身份证反面上传
  336. uploadReverse() {
  337. common_vendor.index.chooseImage({
  338. count: 1,
  339. sizeType: ["original", "compressed"],
  340. sourceType: ["album", "camera"],
  341. success: (res) => {
  342. let filePath = res.tempFilePaths[0];
  343. let token = common_vendor.index.getStorageSync("token");
  344. this.uploadIdentify(token, "back", filePath, "sfz");
  345. }
  346. });
  347. },
  348. uploadCarCert() {
  349. common_vendor.index.chooseImage({
  350. count: 1,
  351. sizeType: ["original", "compressed"],
  352. sourceType: ["album", "camera"],
  353. success: (res) => {
  354. let filePath = res.tempFilePaths[0];
  355. let token = common_vendor.index.getStorageSync("token");
  356. this.uploadIdentify(token, "", filePath, "carCert");
  357. }
  358. });
  359. },
  360. // 上传识别
  361. uploadIdentify(token = null, side = null, filePath = null, type = null) {
  362. common_vendor.index.uploadFile({
  363. url: "https://www.shengchuangyunkong.com/contract/miniapp/file/upload",
  364. filePath,
  365. name: "file",
  366. formData: new UTSJSONObject({
  367. "biz": "cert"
  368. }),
  369. header: new UTSJSONObject({
  370. "X-Access-Token": token
  371. }),
  372. success: (res) => {
  373. let image = UTS.JSON.parse(res.data).message;
  374. if (type == "sfz") {
  375. api.idCardInfo(new UTSJSONObject({ "side": side, "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => {
  376. if (res2.success) {
  377. if (side == "front") {
  378. this.clientInfo.custName = res2.result.name;
  379. this.clientInfo.appOrderVoucherList[0].firstBeneficiary = res2.result.name;
  380. this.clientInfo.custAddress = res2.result.address;
  381. this.clientInfo.custCardNo = res2.result.idCard;
  382. this.clientInfo.certFront = image;
  383. this.certFront = filePath;
  384. } else {
  385. this.clientInfo.certBack = image;
  386. this.certBack = filePath;
  387. }
  388. } else {
  389. common_vendor.index.showToast({
  390. title: "身份证识别错误,请重新上传!",
  391. icon: "error",
  392. duration: 500,
  393. success: (res3) => {
  394. },
  395. fail: (res3) => {
  396. }
  397. });
  398. }
  399. }).catch((err = null) => {
  400. common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:673", "catch: ", err);
  401. });
  402. } else if (type == "carCert") {
  403. api.carCert(new UTSJSONObject({ "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => {
  404. if (res2.success) {
  405. this.clientInfo.appOrderCarList[0].vin = res2.result.VinNo;
  406. this.clientInfo.carPic = image;
  407. this.carPic = filePath;
  408. this.clientInfo.appOrderCarList[0].engineNo = res2.result.EngineNo;
  409. this.clientInfo.appOrderCarList[0].carModel = res2.result.CarModel;
  410. } else {
  411. common_vendor.index.showToast({
  412. title: "识别错误,请重新上传!",
  413. icon: "error",
  414. duration: 500,
  415. success: (res3) => {
  416. },
  417. fail: (res3) => {
  418. }
  419. });
  420. }
  421. }).catch((err = null) => {
  422. common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:700", "catch: ", err);
  423. });
  424. }
  425. },
  426. fail: (err) => {
  427. common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:707", err);
  428. }
  429. });
  430. },
  431. onChange(e = null) {
  432. if (e == "个人") {
  433. this.clientInfo.custType = 0;
  434. } else {
  435. this.clientInfo.custType = 1;
  436. }
  437. },
  438. onChanges(e = null) {
  439. if (e == "是") {
  440. this.clientInfo.appOrderCarList[0].newCar = 1;
  441. } else {
  442. this.clientInfo.appOrderCarList[0].newCar = 0;
  443. }
  444. }
  445. }
  446. });
  447. if (!Array) {
  448. const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
  449. const _easycom_l_radio2 = common_vendor.resolveComponent("l-radio");
  450. const _easycom_l_radio_group2 = common_vendor.resolveComponent("l-radio-group");
  451. const _easycom_uv_upload2 = common_vendor.resolveComponent("uv-upload");
  452. (_easycom_uni_icons2 + _easycom_l_radio2 + _easycom_l_radio_group2 + _easycom_uv_upload2)();
  453. }
  454. const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
  455. const _easycom_l_radio = () => "../../uni_modules/lime-radio/components/l-radio/l-radio.js";
  456. const _easycom_l_radio_group = () => "../../uni_modules/lime-radio/components/l-radio-group/l-radio-group.js";
  457. const _easycom_uv_upload = () => "../../uni_modules/uv-upload/components/uv-upload/uv-upload.js";
  458. if (!Math) {
  459. (_easycom_uni_icons + _easycom_l_radio + _easycom_l_radio_group + _easycom_uv_upload)();
  460. }
  461. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  462. return common_vendor.e({
  463. a: common_vendor.p({
  464. type: "left",
  465. size: "30",
  466. color: "#c2d4de"
  467. }),
  468. b: common_vendor.o((...args) => $options.toBack && $options.toBack(...args)),
  469. c: common_vendor.w(({
  470. checked
  471. }, s0, i0) => {
  472. return {
  473. a: checked,
  474. b: !checked,
  475. c: i0,
  476. d: s0
  477. };
  478. }, {
  479. name: "icon",
  480. path: "c",
  481. vueId: "2d7e3f76-1"
  482. }),
  483. d: common_assets._imports_0$4,
  484. e: common_assets._imports_1$3,
  485. f: common_vendor.p({
  486. checked: $data.clientInfo.payType === "全款",
  487. label: "全款",
  488. fontSize: "1rem"
  489. }),
  490. g: common_vendor.w(({
  491. checked
  492. }, s0, i0) => {
  493. return {
  494. a: checked,
  495. b: !checked,
  496. c: i0,
  497. d: s0
  498. };
  499. }, {
  500. name: "icon",
  501. path: "g",
  502. vueId: "2d7e3f76-3,2d7e3f76-2"
  503. }),
  504. h: common_assets._imports_0$4,
  505. i: common_assets._imports_1$3,
  506. j: common_vendor.p({
  507. checked: $data.clientInfo.custType == 0 ? true : false,
  508. value: "个人",
  509. label: "个人",
  510. fontSize: "1rem"
  511. }),
  512. k: common_vendor.w(({
  513. checked
  514. }, s0, i0) => {
  515. return {
  516. a: checked,
  517. b: !checked,
  518. c: i0,
  519. d: s0
  520. };
  521. }, {
  522. name: "icon",
  523. path: "k",
  524. vueId: "2d7e3f76-4,2d7e3f76-2"
  525. }),
  526. l: common_assets._imports_0$4,
  527. m: common_assets._imports_1$3,
  528. n: common_vendor.p({
  529. checked: $data.clientInfo.custType == 1 ? true : false,
  530. value: "公司",
  531. label: "公司",
  532. fontSize: "1rem"
  533. }),
  534. o: common_vendor.o($options.onChange),
  535. p: $data.clientInfo.certFront == "" ? $data.positiveImg : $data.certFront,
  536. q: $data.certFront == "" ? true : false
  537. }, ($data.certFront == "" ? true : false) ? {} : {}, {
  538. r: common_vendor.o((...args) => $options.uploadPositive && $options.uploadPositive(...args)),
  539. s: $data.clientInfo.certBack == "" ? $data.reverseImg : $data.certBack,
  540. t: $data.certBack == "" ? true : false
  541. }, ($data.certBack == "" ? true : false) ? {} : {}, {
  542. v: common_vendor.o((...args) => $options.uploadReverse && $options.uploadReverse(...args)),
  543. w: $data.clientInfo.carPic == "" ? $data.carImg : $data.carPic,
  544. x: $data.carPic == "" ? true : false
  545. }, ($data.carPic == "" ? true : false) ? {} : {}, {
  546. y: common_vendor.o((...args) => $options.uploadCarCert && $options.uploadCarCert(...args)),
  547. z: common_assets._imports_3,
  548. A: common_vendor.t($data.clientInfo.productName),
  549. B: common_vendor.t($data.clientInfo.storeName),
  550. C: $data.clientInfo.custName,
  551. D: common_vendor.o(($event) => $data.clientInfo.custName = $event.detail.value),
  552. E: $data.clientInfo.custAddress,
  553. F: common_vendor.o(($event) => $data.clientInfo.custAddress = $event.detail.value),
  554. G: $data.clientInfo.custCardNo,
  555. H: common_vendor.o(($event) => $data.clientInfo.custCardNo = $event.detail.value),
  556. I: $data.clientInfo.custPhone,
  557. J: common_vendor.o(($event) => $data.clientInfo.custPhone = $event.detail.value),
  558. K: common_vendor.f($data.departments, (item, k0, i0) => {
  559. return {
  560. a: common_vendor.w(({
  561. checked
  562. }, s1, i1) => {
  563. return {
  564. a: checked,
  565. b: !checked,
  566. c: i1,
  567. d: s1
  568. };
  569. }, {
  570. name: "icon",
  571. path: "K[" + i0 + "].a",
  572. vueId: "2d7e3f76-6-" + i0 + ",2d7e3f76-5"
  573. }),
  574. b: "2d7e3f76-6-" + i0 + ",2d7e3f76-5",
  575. c: common_vendor.p({
  576. value: item,
  577. checked: $data.clientInfo.salePort === item
  578. }),
  579. d: common_vendor.t(item),
  580. e: item
  581. };
  582. }),
  583. L: common_assets._imports_0$4,
  584. M: common_assets._imports_1$3,
  585. N: common_vendor.o($options.handleDepartmentChange),
  586. O: $data.clientInfo.saleName,
  587. P: common_vendor.o(($event) => $data.clientInfo.saleName = $event.detail.value),
  588. Q: common_assets._imports_3,
  589. R: common_vendor.t($data.clientInfo.appOrderCarList[0].carSeries || "请选择车辆品牌 >"),
  590. S: common_vendor.o((...args) => $options.getCar && $options.getCar(...args)),
  591. T: $data.clientInfo.appOrderCarList[0].carModel,
  592. U: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].carModel = $event.detail.value),
  593. V: $data.clientInfo.appOrderCarList[0].vin,
  594. W: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].vin = $event.detail.value),
  595. X: common_vendor.t($data.clientInfo.appOrderCarList[0].carType || "请选择车辆类型 >"),
  596. Y: common_vendor.o((...args) => $options.bindCarBrandChanges && $options.bindCarBrandChanges(...args)),
  597. Z: $data.carBrandIndex,
  598. aa: $data.carType,
  599. ab: common_vendor.t($data.clientInfo.appOrderCarList[0].useType || "请选择使用性质 >"),
  600. ac: common_vendor.o((...args) => $options.binduseTypeChanges && $options.binduseTypeChanges(...args)),
  601. ad: $data.useTypeIndex,
  602. ae: $data.useType,
  603. af: common_vendor.w(({
  604. checked
  605. }, s0, i0) => {
  606. return {
  607. a: checked,
  608. b: !checked,
  609. c: i0,
  610. d: s0
  611. };
  612. }, {
  613. name: "icon",
  614. path: "af",
  615. vueId: "2d7e3f76-8,2d7e3f76-7"
  616. }),
  617. ag: common_assets._imports_0$4,
  618. ah: common_assets._imports_1$3,
  619. ai: common_vendor.p({
  620. checked: $data.clientInfo.appOrderCarList[0].newCar == 1 ? true : false,
  621. value: "是",
  622. label: "是",
  623. fontSize: "1rem"
  624. }),
  625. aj: common_vendor.w(({
  626. checked
  627. }, s0, i0) => {
  628. return {
  629. a: checked,
  630. b: !checked,
  631. c: i0,
  632. d: s0
  633. };
  634. }, {
  635. name: "icon",
  636. path: "aj",
  637. vueId: "2d7e3f76-9,2d7e3f76-7"
  638. }),
  639. ak: common_assets._imports_0$4,
  640. al: common_assets._imports_1$3,
  641. am: common_vendor.p({
  642. checked: $data.clientInfo.appOrderCarList[0].newCar == 0 ? true : false,
  643. value: "否",
  644. label: "否",
  645. fontSize: "1rem"
  646. }),
  647. an: common_vendor.o($options.onChanges),
  648. ao: $data.clientInfo.appOrderCarList[0].carNo,
  649. ap: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].carNo = $event.detail.value),
  650. aq: $data.clientInfo.appOrderCarList[0].engineNo,
  651. ar: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].engineNo = $event.detail.value),
  652. as: common_assets._imports_3,
  653. at: common_assets._imports_6,
  654. av: common_vendor.o($options.afterRead),
  655. aw: common_vendor.o($options.deletePic),
  656. ax: common_vendor.p({
  657. fileList: $data.fileList1,
  658. name: "1",
  659. multiple: true,
  660. maxCount: 1
  661. }),
  662. ay: common_assets._imports_6,
  663. az: common_vendor.o($options.afterRead),
  664. aA: common_vendor.o($options.deletePic),
  665. aB: common_vendor.p({
  666. fileList: $data.fileList2,
  667. name: "2",
  668. multiple: true,
  669. maxCount: 1
  670. }),
  671. aC: common_vendor.o((...args) => $options.get_to && $options.get_to(...args)),
  672. aD: common_vendor.sei(_ctx.virtualHostId, "view")
  673. });
  674. }
  675. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2d7e3f76"]]);
  676. wx.createPage(MiniProgramPage);
  677. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/PayPal_pinpai.js.map