合同小程序前端代码仓库
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.

679 lines
24 KiB

1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month 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. for (var k in this.clientInfo[i][j]) {
  183. if (!this.isEmpty(this.clientInfo[i][j][k]) && k != "carNo" && k != "lender" && k != "lenderMoney" && k != "lenderYear") {
  184. common_vendor.index.showToast({
  185. title: "提交失败,请检查字段是否未填!",
  186. icon: "error",
  187. duration: 500,
  188. success: (res) => {
  189. },
  190. fail: (res) => {
  191. }
  192. });
  193. return false;
  194. }
  195. }
  196. }
  197. } else {
  198. if (!this.isEmpty(this.clientInfo[i])) {
  199. common_vendor.index.showToast({
  200. title: "提交失败,请检查字段是否未填!",
  201. icon: "error",
  202. duration: 500,
  203. success: (res) => {
  204. },
  205. fail: (res) => {
  206. }
  207. });
  208. return false;
  209. }
  210. }
  211. }
  212. api.add(this.clientInfo).then((res = null) => {
  213. if (res.success) {
  214. common_vendor.index.showToast({
  215. title: "提交成功",
  216. icon: "success",
  217. duration: 500,
  218. success: (res2) => {
  219. },
  220. fail: (res2) => {
  221. }
  222. });
  223. common_vendor.index.switchTab({ url: "/pages/index/dingdan" });
  224. } else {
  225. common_vendor.index.showToast({
  226. title: "提交失败,请检查格式!",
  227. icon: "error",
  228. duration: 500,
  229. success: (res2) => {
  230. },
  231. fail: (res2) => {
  232. }
  233. });
  234. }
  235. }).catch((err = null) => {
  236. common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:479", "err", err);
  237. });
  238. },
  239. getCar() {
  240. getApp().flag = 1;
  241. common_vendor.index.navigateTo({
  242. url: "/pages/views/carOne?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
  243. });
  244. getApp().certFront = this.certFront;
  245. getApp().carPic = this.carPic;
  246. getApp().certBack = this.certBack;
  247. },
  248. toBack() {
  249. common_vendor.index.navigateBack({ delta: 1 });
  250. },
  251. handleDepartmentChange(e = null) {
  252. this.clientInfo.salePort = e;
  253. },
  254. // 修改车辆类型
  255. bindCarBrandChanges(e = null) {
  256. this.clientInfo.appOrderCarList[0].carType = this.carType[e.detail.value];
  257. },
  258. // 修改车辆类型
  259. binduseTypeChanges(e = null) {
  260. this.clientInfo.appOrderCarList[0].useType = this.useType[e.detail.value];
  261. },
  262. // 取服务年限
  263. bindServiceAgeChange(e = null) {
  264. this.serviceAgeIndex = e.detail.value;
  265. if (this.serviceAges[e.detail.value] == "1年") {
  266. this.clientInfo.productServiceYear = 1;
  267. } else if (this.serviceAges[e.detail.value] == "2年") {
  268. this.clientInfo.productServiceYear = 2;
  269. } else {
  270. this.clientInfo.productServiceYear = 3;
  271. }
  272. },
  273. // 选择收款方
  274. bindPayeeChange(e = null) {
  275. this.payeeIndex = e.detail.value;
  276. this.clientInfo.payee = this.payees[e.detail.value];
  277. },
  278. msToDate(msec = null) {
  279. let datetime = new Date(msec);
  280. let year = datetime.getFullYear();
  281. let month = datetime.getMonth();
  282. let date = datetime.getDate();
  283. let hour = datetime.getHours();
  284. let minute = datetime.getMinutes();
  285. let second = datetime.getSeconds();
  286. 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);
  287. let result2 = year + "-" + (month + 1 >= 10 ? month + 1 : "0" + (month + 1)) + "-" + (date + 1 < 10 ? "0" + date : date);
  288. let result = new UTSJSONObject({
  289. hasTime: result1,
  290. withoutTime: result2
  291. });
  292. return result;
  293. },
  294. // 修改生效时间
  295. changeEffectiveTime(e = null) {
  296. var dateTime = new Date(e);
  297. dateTime.setDate(dateTime.getDate() + 2);
  298. dateTime = new Date(dateTime);
  299. this.clientInfo.appOrderVoucherList[0].effectiveTime = this.msToDate(dateTime).withoutTime;
  300. },
  301. changeTime(e = null) {
  302. common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:571", e);
  303. if (this.clientInfo.appOrderVoucherList[0].effectiveTime) {
  304. var dateTime = new Date(this.clientInfo.appOrderVoucherList[0].effectiveTime);
  305. let year = Number(dateTime.getFullYear()) + Number(e.detail.value);
  306. dateTime.setFullYear(year);
  307. dateTime = new Date(dateTime);
  308. this.clientInfo.appOrderVoucherList[0].endTime = this.msToDate(dateTime).withoutTime;
  309. } else {
  310. common_vendor.index.showToast({
  311. title: "请先选择生效时间!",
  312. icon: "error",
  313. duration: 500,
  314. success: (res) => {
  315. },
  316. fail: (res) => {
  317. }
  318. });
  319. }
  320. },
  321. changebuyTax() {
  322. this.clientInfo.appOrderCarList[0].buyTax = (this.clientInfo.appOrderCarList[0].buyMoney / 11.3).toFixed(2);
  323. },
  324. // 身份证正面上传
  325. uploadPositive() {
  326. common_vendor.index.chooseImage({
  327. count: 1,
  328. sizeType: ["original", "compressed"],
  329. sourceType: ["album", "camera"],
  330. success: (res) => {
  331. let filePath = res.tempFilePaths[0];
  332. let token = common_vendor.index.getStorageSync("token");
  333. this.uploadIdentify(token, "front", filePath, "sfz");
  334. }
  335. });
  336. },
  337. // 身份证反面上传
  338. uploadReverse() {
  339. common_vendor.index.chooseImage({
  340. count: 1,
  341. sizeType: ["original", "compressed"],
  342. sourceType: ["album", "camera"],
  343. success: (res) => {
  344. let filePath = res.tempFilePaths[0];
  345. let token = common_vendor.index.getStorageSync("token");
  346. this.uploadIdentify(token, "back", filePath, "sfz");
  347. }
  348. });
  349. },
  350. uploadCarCert() {
  351. common_vendor.index.chooseImage({
  352. count: 1,
  353. sizeType: ["original", "compressed"],
  354. sourceType: ["album", "camera"],
  355. success: (res) => {
  356. let filePath = res.tempFilePaths[0];
  357. let token = common_vendor.index.getStorageSync("token");
  358. this.uploadIdentify(token, "", filePath, "carCert");
  359. }
  360. });
  361. },
  362. // 上传识别
  363. uploadIdentify(token = null, side = null, filePath = null, type = null) {
  364. common_vendor.index.uploadFile({
  365. url: "https://www.shengchuangyunkong.com/contract/miniapp/file/upload",
  366. filePath,
  367. name: "file",
  368. formData: new UTSJSONObject({
  369. "biz": "cert"
  370. }),
  371. header: new UTSJSONObject({
  372. "X-Access-Token": token
  373. }),
  374. success: (res) => {
  375. let image = UTS.JSON.parse(res.data).message;
  376. if (type == "sfz") {
  377. api.idCardInfo(new UTSJSONObject({ "side": side, "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => {
  378. if (res2.success) {
  379. if (side == "front") {
  380. this.clientInfo.custName = res2.result.name;
  381. this.clientInfo.appOrderVoucherList[0].firstBeneficiary = res2.result.name;
  382. this.clientInfo.custAddress = res2.result.address;
  383. this.clientInfo.custCardNo = res2.result.idCard;
  384. this.clientInfo.certFront = image;
  385. this.certFront = filePath;
  386. } else {
  387. this.clientInfo.certBack = image;
  388. this.certBack = filePath;
  389. }
  390. } else {
  391. common_vendor.index.showToast({
  392. title: "身份证识别错误,请重新上传!",
  393. icon: "error",
  394. duration: 500,
  395. success: (res3) => {
  396. },
  397. fail: (res3) => {
  398. }
  399. });
  400. }
  401. }).catch((err = null) => {
  402. common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:675", "catch: ", err);
  403. });
  404. } else if (type == "carCert") {
  405. api.carCert(new UTSJSONObject({ "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => {
  406. if (res2.success) {
  407. this.clientInfo.appOrderCarList[0].vin = res2.result.VinNo;
  408. this.clientInfo.carPic = image;
  409. this.carPic = filePath;
  410. this.clientInfo.appOrderCarList[0].engineNo = res2.result.EngineNo;
  411. this.clientInfo.appOrderCarList[0].carModel = res2.result.CarModel;
  412. } else {
  413. common_vendor.index.showToast({
  414. title: "识别错误,请重新上传!",
  415. icon: "error",
  416. duration: 500,
  417. success: (res3) => {
  418. },
  419. fail: (res3) => {
  420. }
  421. });
  422. }
  423. }).catch((err = null) => {
  424. common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:702", "catch: ", err);
  425. });
  426. }
  427. },
  428. fail: (err) => {
  429. common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:709", err);
  430. }
  431. });
  432. },
  433. onChange(e = null) {
  434. if (e == "个人") {
  435. this.clientInfo.custType = 0;
  436. } else {
  437. this.clientInfo.custType = 1;
  438. }
  439. },
  440. onChanges(e = null) {
  441. if (e == "是") {
  442. this.clientInfo.appOrderCarList[0].newCar = 1;
  443. } else {
  444. this.clientInfo.appOrderCarList[0].newCar = 0;
  445. }
  446. }
  447. }
  448. });
  449. if (!Array) {
  450. const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
  451. const _easycom_l_radio2 = common_vendor.resolveComponent("l-radio");
  452. const _easycom_l_radio_group2 = common_vendor.resolveComponent("l-radio-group");
  453. const _easycom_uv_upload2 = common_vendor.resolveComponent("uv-upload");
  454. (_easycom_uni_icons2 + _easycom_l_radio2 + _easycom_l_radio_group2 + _easycom_uv_upload2)();
  455. }
  456. const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
  457. const _easycom_l_radio = () => "../../uni_modules/lime-radio/components/l-radio/l-radio.js";
  458. const _easycom_l_radio_group = () => "../../uni_modules/lime-radio/components/l-radio-group/l-radio-group.js";
  459. const _easycom_uv_upload = () => "../../uni_modules/uv-upload/components/uv-upload/uv-upload.js";
  460. if (!Math) {
  461. (_easycom_uni_icons + _easycom_l_radio + _easycom_l_radio_group + _easycom_uv_upload)();
  462. }
  463. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  464. return common_vendor.e({
  465. a: common_vendor.p({
  466. type: "left",
  467. size: "30",
  468. color: "#c2d4de"
  469. }),
  470. b: common_vendor.o((...args) => $options.toBack && $options.toBack(...args)),
  471. c: common_vendor.w(({
  472. checked
  473. }, s0, i0) => {
  474. return {
  475. a: checked,
  476. b: !checked,
  477. c: i0,
  478. d: s0
  479. };
  480. }, {
  481. name: "icon",
  482. path: "c",
  483. vueId: "2d7e3f76-1"
  484. }),
  485. d: common_assets._imports_0$4,
  486. e: common_assets._imports_1$3,
  487. f: common_vendor.p({
  488. checked: $data.clientInfo.payType === "全款",
  489. label: "全款",
  490. fontSize: "1rem"
  491. }),
  492. g: common_vendor.w(({
  493. checked
  494. }, s0, i0) => {
  495. return {
  496. a: checked,
  497. b: !checked,
  498. c: i0,
  499. d: s0
  500. };
  501. }, {
  502. name: "icon",
  503. path: "g",
  504. vueId: "2d7e3f76-3,2d7e3f76-2"
  505. }),
  506. h: common_assets._imports_0$4,
  507. i: common_assets._imports_1$3,
  508. j: common_vendor.p({
  509. checked: $data.clientInfo.custType == 0 ? true : false,
  510. value: "个人",
  511. label: "个人",
  512. fontSize: "1rem"
  513. }),
  514. k: common_vendor.w(({
  515. checked
  516. }, s0, i0) => {
  517. return {
  518. a: checked,
  519. b: !checked,
  520. c: i0,
  521. d: s0
  522. };
  523. }, {
  524. name: "icon",
  525. path: "k",
  526. vueId: "2d7e3f76-4,2d7e3f76-2"
  527. }),
  528. l: common_assets._imports_0$4,
  529. m: common_assets._imports_1$3,
  530. n: common_vendor.p({
  531. checked: $data.clientInfo.custType == 1 ? true : false,
  532. value: "公司",
  533. label: "公司",
  534. fontSize: "1rem"
  535. }),
  536. o: common_vendor.o($options.onChange),
  537. p: $data.clientInfo.certFront == "" ? $data.positiveImg : $data.certFront,
  538. q: $data.certFront == "" ? true : false
  539. }, ($data.certFront == "" ? true : false) ? {} : {}, {
  540. r: common_vendor.o((...args) => $options.uploadPositive && $options.uploadPositive(...args)),
  541. s: $data.clientInfo.certBack == "" ? $data.reverseImg : $data.certBack,
  542. t: $data.certBack == "" ? true : false
  543. }, ($data.certBack == "" ? true : false) ? {} : {}, {
  544. v: common_vendor.o((...args) => $options.uploadReverse && $options.uploadReverse(...args)),
  545. w: $data.clientInfo.carPic == "" ? $data.carImg : $data.carPic,
  546. x: $data.carPic == "" ? true : false
  547. }, ($data.carPic == "" ? true : false) ? {} : {}, {
  548. y: common_vendor.o((...args) => $options.uploadCarCert && $options.uploadCarCert(...args)),
  549. z: common_assets._imports_3,
  550. A: common_vendor.t($data.clientInfo.productName),
  551. B: common_vendor.t($data.clientInfo.storeName),
  552. C: $data.clientInfo.custName,
  553. D: common_vendor.o(($event) => $data.clientInfo.custName = $event.detail.value),
  554. E: $data.clientInfo.custAddress,
  555. F: common_vendor.o(($event) => $data.clientInfo.custAddress = $event.detail.value),
  556. G: $data.clientInfo.custCardNo,
  557. H: common_vendor.o(($event) => $data.clientInfo.custCardNo = $event.detail.value),
  558. I: $data.clientInfo.custPhone,
  559. J: common_vendor.o(($event) => $data.clientInfo.custPhone = $event.detail.value),
  560. K: common_vendor.f($data.departments, (item, k0, i0) => {
  561. return {
  562. a: common_vendor.w(({
  563. checked
  564. }, s1, i1) => {
  565. return {
  566. a: checked,
  567. b: !checked,
  568. c: i1,
  569. d: s1
  570. };
  571. }, {
  572. name: "icon",
  573. path: "K[" + i0 + "].a",
  574. vueId: "2d7e3f76-6-" + i0 + ",2d7e3f76-5"
  575. }),
  576. b: "2d7e3f76-6-" + i0 + ",2d7e3f76-5",
  577. c: common_vendor.p({
  578. value: item,
  579. checked: $data.clientInfo.salePort === item
  580. }),
  581. d: common_vendor.t(item),
  582. e: item
  583. };
  584. }),
  585. L: common_assets._imports_0$4,
  586. M: common_assets._imports_1$3,
  587. N: common_vendor.o($options.handleDepartmentChange),
  588. O: $data.clientInfo.saleName,
  589. P: common_vendor.o(($event) => $data.clientInfo.saleName = $event.detail.value),
  590. Q: common_assets._imports_3,
  591. R: common_vendor.t($data.clientInfo.appOrderCarList[0].carSeries || "请选择车辆品牌 >"),
  592. S: common_vendor.o((...args) => $options.getCar && $options.getCar(...args)),
  593. T: $data.clientInfo.appOrderCarList[0].carModel,
  594. U: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].carModel = $event.detail.value),
  595. V: $data.clientInfo.appOrderCarList[0].vin,
  596. W: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].vin = $event.detail.value),
  597. X: common_vendor.t($data.clientInfo.appOrderCarList[0].carType || "请选择车辆类型 >"),
  598. Y: common_vendor.o((...args) => $options.bindCarBrandChanges && $options.bindCarBrandChanges(...args)),
  599. Z: $data.carBrandIndex,
  600. aa: $data.carType,
  601. ab: common_vendor.t($data.clientInfo.appOrderCarList[0].useType || "请选择使用性质 >"),
  602. ac: common_vendor.o((...args) => $options.binduseTypeChanges && $options.binduseTypeChanges(...args)),
  603. ad: $data.useTypeIndex,
  604. ae: $data.useType,
  605. af: common_vendor.w(({
  606. checked
  607. }, s0, i0) => {
  608. return {
  609. a: checked,
  610. b: !checked,
  611. c: i0,
  612. d: s0
  613. };
  614. }, {
  615. name: "icon",
  616. path: "af",
  617. vueId: "2d7e3f76-8,2d7e3f76-7"
  618. }),
  619. ag: common_assets._imports_0$4,
  620. ah: common_assets._imports_1$3,
  621. ai: common_vendor.p({
  622. checked: $data.clientInfo.appOrderCarList[0].newCar == 1 ? true : false,
  623. value: "是",
  624. label: "是",
  625. fontSize: "1rem"
  626. }),
  627. aj: common_vendor.w(({
  628. checked
  629. }, s0, i0) => {
  630. return {
  631. a: checked,
  632. b: !checked,
  633. c: i0,
  634. d: s0
  635. };
  636. }, {
  637. name: "icon",
  638. path: "aj",
  639. vueId: "2d7e3f76-9,2d7e3f76-7"
  640. }),
  641. ak: common_assets._imports_0$4,
  642. al: common_assets._imports_1$3,
  643. am: common_vendor.p({
  644. checked: $data.clientInfo.appOrderCarList[0].newCar == 0 ? true : false,
  645. value: "否",
  646. label: "否",
  647. fontSize: "1rem"
  648. }),
  649. an: common_vendor.o($options.onChanges),
  650. ao: $data.clientInfo.appOrderCarList[0].carNo,
  651. ap: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].carNo = $event.detail.value),
  652. aq: $data.clientInfo.appOrderCarList[0].engineNo,
  653. ar: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].engineNo = $event.detail.value),
  654. as: common_assets._imports_3,
  655. at: common_assets._imports_6,
  656. av: common_vendor.o($options.afterRead),
  657. aw: common_vendor.o($options.deletePic),
  658. ax: common_vendor.p({
  659. fileList: $data.fileList1,
  660. name: "1",
  661. multiple: true,
  662. maxCount: 1
  663. }),
  664. ay: common_assets._imports_6,
  665. az: common_vendor.o($options.afterRead),
  666. aA: common_vendor.o($options.deletePic),
  667. aB: common_vendor.p({
  668. fileList: $data.fileList2,
  669. name: "2",
  670. multiple: true,
  671. maxCount: 1
  672. }),
  673. aC: common_vendor.o((...args) => $options.get_to && $options.get_to(...args)),
  674. aD: common_vendor.sei(_ctx.virtualHostId, "view")
  675. });
  676. }
  677. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2d7e3f76"]]);
  678. wx.createPage(MiniProgramPage);
  679. //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/PayPal_pinpai.js.map