Browse Source

终极版

master
Lj 1 year ago
parent
commit
15b2301fa9
93 changed files with 3785 additions and 518 deletions
  1. +3
    -0
      App.uvue
  2. +22
    -0
      api.uts
  3. +42
    -5
      pages.json
  4. +23
    -24
      pages/home/home.uvue
  5. +222
    -157
      pages/index/PayPal.uvue
  6. +888
    -0
      pages/index/PayPal_pinpai.uvue
  7. +509
    -0
      pages/index/PayPal_xq.uvue
  8. +46
    -5
      pages/index/dingdan.uvue
  9. +1
    -1
      pages/index/login.uvue
  10. +10
    -3
      pages/views/car.uvue
  11. +149
    -0
      pages/views/carFinal.uvue
  12. +6
    -6
      pages/views/carOne.uvue
  13. +22
    -11
      pages/views/carTwo.uvue
  14. +18
    -10
      pages/views/dingDanCreate.uvue
  15. +1
    -0
      unpackage/dist/dev/.sourcemap/mp-weixin-devtools/app.js.map
  16. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/home/home.js.map
  17. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/index/PayPal.js.map
  18. +1
    -0
      unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/index/PayPal_pinpai.js.map
  19. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/index/dingdan.js.map
  20. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/index/wode.js.map
  21. +1
    -0
      unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/views/carFinal.js.map
  22. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/views/carOne.js.map
  23. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/views/carTwo.js.map
  24. +1
    -0
      unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/views/dingDanCreate.js.map
  25. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/api.js.map
  26. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map
  27. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/home.js.map
  28. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/PayPal.js.map
  29. +1
    -0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/PayPal_pinpai.js.map
  30. +1
    -0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/PayPal_xq.js.map
  31. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/dingdan.js.map
  32. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/login.js.map
  33. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/views/car.js.map
  34. +1
    -0
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/views/carFinal.js.map
  35. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/views/carOne.js.map
  36. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/views/carTwo.js.map
  37. +1
    -1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/views/dingDanCreate.js.map
  38. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/3c3dba67c55be282cb78bd27c70bf208b4d492d1
  39. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/3f5c8317f89ea864e4fc8f633d806e0101913bdd
  40. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/5470b2afa961a227046edc9ab60f725b1f044795
  41. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/5b013d7282400ec6b3805c1006894f209eff6d8e
  42. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/5b43e5c4d2656216b3c77a0dfafba1e3553e8533
  43. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/5c53960a95089c4040f7caedc80484247101ab94
  44. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/650c952218f79b847cd71f2ae4f83de16bc00bab
  45. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/6510d6f9a7ab2674acecf47d6ba789dafb220107
  46. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/66cb5d4494ce71d13ef72f914e2b20b8e410643f
  47. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/7c5c9bc1d8f5f3d1ccc69d6c58eaaabf981f00b2
  48. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/899f4d45d95139902720977f361ac747df2bb2d4
  49. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/90ff9d28fcded1acc1a32156ef58370dcf375ada
  50. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/92d69c9ca1821d3d21d1b32758554f49f6eddd77
  51. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/94dcb6b8f2d5db72d73d3631bb69bbf9b6c84ea6
  52. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/9b866f81fb2e94c457b8f535dbbbf5b9b2df8b76
  53. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/a167295c2a5dd1c6c1ecf3a5630293584f8ccacc
  54. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/a505becbe32617b058d8c61a1b4c2ee716b5788e
  55. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/a56bdbf91244d4e266e5d5dafd8fdc8b632914ca
  56. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/b950cf55ffdd7336a60fda082c88c00981e43532
  57. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/c9e6466d612ee0d33c87d8c4d805c22b17dab66b
  58. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/db31e8d6baccfb17ca0c5ca29b271ea4101487b0
  59. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/dd1c698154e2a23f5a21026939a4e05fb4750ed7
  60. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/f52ee3cafedc222655426fe20b4e028f0913b243
  61. +1
    -0
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_58fbbb521c888d32e837e15fe95c67e15d2bc2ac/code/cache/3c3dba67c55be282cb78bd27c70bf208b4d492d1
  62. +0
    -1
      unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_58fbbb521c888d32e837e15fe95c67e15d2bc2ac/code/cache/c9e6466d612ee0d33c87d8c4d805c22b17dab66b
  63. +16
    -0
      unpackage/dist/dev/mp-weixin/api.js
  64. +10
    -4
      unpackage/dist/dev/mp-weixin/app.js
  65. +4
    -1
      unpackage/dist/dev/mp-weixin/app.json
  66. +3
    -3
      unpackage/dist/dev/mp-weixin/common/assets.js
  67. +1
    -1
      unpackage/dist/dev/mp-weixin/common/vendor.js
  68. +28
    -19
      unpackage/dist/dev/mp-weixin/pages/home/home.js
  69. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/home/home.wxml
  70. +6
    -14
      unpackage/dist/dev/mp-weixin/pages/home/home.wxss
  71. +242
    -187
      unpackage/dist/dev/mp-weixin/pages/index/PayPal.js
  72. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/index/PayPal.wxml
  73. +4
    -1
      unpackage/dist/dev/mp-weixin/pages/index/PayPal.wxss
  74. +677
    -0
      unpackage/dist/dev/mp-weixin/pages/index/PayPal_pinpai.js
  75. +10
    -0
      unpackage/dist/dev/mp-weixin/pages/index/PayPal_pinpai.json
  76. +1
    -0
      unpackage/dist/dev/mp-weixin/pages/index/PayPal_pinpai.wxml
  77. +160
    -0
      unpackage/dist/dev/mp-weixin/pages/index/PayPal_pinpai.wxss
  78. +213
    -0
      unpackage/dist/dev/mp-weixin/pages/index/PayPal_xq.js
  79. +7
    -0
      unpackage/dist/dev/mp-weixin/pages/index/PayPal_xq.json
  80. +1
    -0
      unpackage/dist/dev/mp-weixin/pages/index/PayPal_xq.wxml
  81. +159
    -0
      unpackage/dist/dev/mp-weixin/pages/index/PayPal_xq.wxss
  82. +35
    -11
      unpackage/dist/dev/mp-weixin/pages/index/dingdan.js
  83. +1
    -1
      unpackage/dist/dev/mp-weixin/pages/index/dingdan.wxml
  84. +17
    -3
      unpackage/dist/dev/mp-weixin/pages/index/dingdan.wxss
  85. +1
    -0
      unpackage/dist/dev/mp-weixin/pages/index/login.js
  86. +5
    -1
      unpackage/dist/dev/mp-weixin/pages/views/car.js
  87. +95
    -0
      unpackage/dist/dev/mp-weixin/pages/views/carFinal.js
  88. +7
    -0
      unpackage/dist/dev/mp-weixin/pages/views/carFinal.json
  89. +1
    -0
      unpackage/dist/dev/mp-weixin/pages/views/carFinal.wxml
  90. +48
    -0
      unpackage/dist/dev/mp-weixin/pages/views/carFinal.wxss
  91. +4
    -6
      unpackage/dist/dev/mp-weixin/pages/views/carOne.js
  92. +19
    -8
      unpackage/dist/dev/mp-weixin/pages/views/carTwo.js
  93. +10
    -7
      unpackage/dist/dev/mp-weixin/pages/views/dingDanCreate.js

+ 3
- 0
App.uvue View File

@ -10,9 +10,12 @@
dealerAddress:'',
pid:'',
pid_1:'',
orderCount:'',
certFront:'',
carPic:'',
certBack:'',
id:'',
flag:0,
onLaunch: function () {
console.log('App Launch')
},


+ 22
- 0
api.uts View File

@ -119,3 +119,25 @@ export const getList = () => {
export const childList = (id) => {
return request(`/contract/miniapp/car/childList`, 'GET',id)
}
export const queryAppOrderCarByMainId = (id) => {
return request(`/contract/miniapp/order/queryAppOrderCarByMainId`, 'GET',id)
}
export const queryDictItemsByCode = (id) => {
return request(`/contract/miniapp/dict/queryDictItemsByCode`, 'GET',id)
}
export const queryAppOrderFinanceByMainId = (id) => {
return request(`/contract/miniapp/order/queryAppOrderFinanceByMainId`, 'GET',id)
}
export const queryAppOrderVoucherByMainId = (id) => {
return request(`/contract/miniapp/order/queryAppOrderVoucherByMainId`, 'GET',id)
}

+ 42
- 5
pages.json View File

@ -9,7 +9,7 @@
"app-plus": {
"titleNView":false,
"scrollIndicator":"none",
"softinputMode": "adjustResize"
"softinputMode": "adjustPan"
}
}
},
@ -21,7 +21,7 @@
"app-plus": {
"titleNView":false,
"scrollIndicator":"none",
"softinputMode": "adjustResize"
"softinputMode": "adjustPan"
}
},
"needLogin": true
@ -34,7 +34,7 @@
"app-plus": {
"titleNView":false,
"scrollIndicator":"none",
"softinputMode": "adjustResize"
"softinputMode": "adjustPan"
}
},
"needLogin": true
@ -47,7 +47,7 @@
"app-plus": {
"titleNView":false,
"scrollIndicator":"none",
"softinputMode": "adjustResize"
"softinputMode": "adjustPan"
}
},
"needLogin": true
@ -70,11 +70,39 @@
"app-plus": {
"titleNView":false,
"scrollIndicator":"none",
"softinputMode": "adjustResize"
"softinputMode": "adjustPan"
}
},
"needLogin": true
},
{
"path" : "pages/index/PayPal_pinpai",
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle":"custom",
"app-plus": {
"titleNView":false,
"scrollIndicator":"none",
"softinputMode": "adjustPan"
}
},
"needLogin": true
},
{
"path" : "pages/index/PayPal_xq",
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle":"custom",
"app-plus": {
"titleNView":false,
"scrollIndicator":"none",
"softinputMode": "adjustPan"
}
},
"needLogin": true
},
{
"path" : "pages/views/carOne",
"style" :
@ -101,6 +129,15 @@
"navigationStyle":"custom"
},
"needLogin": true
},
{
"path" : "pages/views/carFinal",
"style" :
{
"navigationBarTitleText" : "",
"navigationStyle":"custom"
},
"needLogin": true
}
],
"globalStyle": {


+ 23
- 24
pages/home/home.uvue View File

@ -17,15 +17,20 @@
<image class="swiper-image" src="/static/image/组 71699.png"></image>
</view>
<view class="sales">
<view class="sales_left ">
{{orderCount}}
<text>本月订单</text>
<text>总订单</text>
<text>本月订单 : {{orderCount}}</text>
<text>销售额:{{totalMoney}}</text>
</view>
<view class="sales_right">
{{totalMoney}}
<text>销售额</text>
</view>
<view class="sales">
<view class="sales_left " v-for="(item,index) in orderTypeCount">
<text>{{item.productType}}</text>
<text>本月订单 : {{item.orderCount}}</text>
<text>销售额:{{item.totalMoney}}</text>
</view>
</view>
@ -68,6 +73,7 @@ export default {
isshow_1:false,
newListData:[],
textcontent: [],
orderTypeCount:[],
orderCount:0,
totalMoney:0
};
@ -83,9 +89,10 @@ export default {
}
);
statistics().then((res)=>{
console.log('res',res)
this.orderCount = res.result[0].orderCount
this.totalMoney = res.result[0].totalMoney
console.log(res.result);
this.orderCount = res.result.orderCount
this.totalMoney = res.result.totalMoney
this.orderTypeCount = res.result.orderTypeCount
})
},
methods: {
@ -161,7 +168,7 @@ export default {
display: flex;
flex-direction: row;
align-items: center;
margin-top: 10%;
margin-top: 5%;
}
.order_Entry_image{
width: 10%;
@ -333,9 +340,9 @@ export default {
flex-direction: row;
width: 100%;
height: 10%;
margin-top: 5%;
align-items: center;
justify-content: center;
/* background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%); */
}
.sales_left{
/* background-color: red ; */
@ -344,20 +351,12 @@ export default {
display: flex;
align-items: center;
justify-content: center;
/* flex: 1; */
margin: 1rem 2rem 1rem 1rem;
}
.sales_left text{
font-size: 1rem;
}
.sales_right{
/* background-color: red ; */
width: 25%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.sales_right text{
font-size: 1rem;
font-size: 0.7rem;
}
</style>

+ 222
- 157
pages/index/PayPal.uvue View File

@ -5,7 +5,7 @@
<view class="header_info_icon" @click.native.stop.prevent="toBack" style="display: flex; justify-content: center; align-items: center;">
<uni-icons type="left" size="30" color="#c2d4de" > </uni-icons>
</view>
<text class="header_text">付款信息</text>
<text class="header_text">信息录入</text>
</view>
</view>
@ -75,22 +75,22 @@
<view class="form-item">
<text class="labels">*</text>
<text class="label">客户姓名</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.custName" placeholder="请输入客户姓名" />
<textarea auto-height :adjust-position="true" :disabled='isTrue' class="input" v-model="clientInfo.custName" placeholder="请输入客户姓名" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">居住地址</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.custAddress" placeholder="请输入居住地址" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.custAddress" placeholder="请输入居住地址" />
</view>
<view class="form-item">
<view class="form-item" :style="{ paddingBottom: keyboardHeight + 'px' }">
<text class="labels">*</text>
<text class="label">身份证号码</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.custCardNo" placeholder="请输入身份证号码" />
<textarea auto-height :adjust-position="true" @focus="handleFocus" class="input" v-model="clientInfo.custCardNo" placeholder="请输入身份证号码" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">联系方式</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.custPhone" placeholder="请输入联系方式" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.custPhone" placeholder="请输入联系方式" />
</view>
<view class="form-item">
<text class="labels">*</text>
@ -110,7 +110,7 @@
<view class="form-item">
<text class="labels">*</text>
<text class="label">店端销售顾问</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.saleName" placeholder="请输入店铺销售顾问" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.saleName" placeholder="请输入店铺销售顾问" />
</view>
</view>
@ -128,14 +128,14 @@
<view class="form-item">
<text class="labels">*</text>
<text class="label">车辆型号</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.appOrderCarList[0].carModel" placeholder="请输入车辆型号" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderCarList[0].carModel" placeholder="请输入车辆型号" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车架号</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.appOrderCarList[0].vin" placeholder="请输入车架号" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderCarList[0].vin" placeholder="请输入车架号" />
</view>
<view class="form-item">
@ -173,35 +173,34 @@
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车牌号</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.appOrderCarList[0].carNo" placeholder="请输入车牌号" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderCarList[0].carNo" placeholder="请输入车牌号" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">发动机号</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.appOrderCarList[0].engineNo" placeholder="请输入发动机号" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderCarList[0].engineNo" placeholder="请输入发动机号" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">里程</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.appOrderCarList[0].mileage" placeholder="请输入里程" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderCarList[0].mileage" placeholder="请输入里程" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">购车时间</text>
<uni-datetime-picker type="datetime" v-model="clientInfo.appOrderCarList[0].buyTime" @change = 'changeEffectiveTime' :clearIcon="false" :border="false">
<uni-datetime-picker v-model="clientInfo.appOrderCarList[0].buyTime" @change = 'changeEffectiveTime' :clearIcon="false" :border="false" >
</uni-datetime-picker>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车辆购置价</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.appOrderCarList[0].buyMoney" @input= 'changebuyTax' placeholder="请输入车辆购置价" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderCarList[0].buyMoney" @input= 'changebuyTax' placeholder="请输入车辆购置价" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">购置税</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.appOrderCarList[0].buyTax" placeholder="请输入购置税" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderCarList[0].buyTax" placeholder="请输入购置税" />
</view>
</view>
@ -213,29 +212,31 @@
<view class="form-item">
<text class="labels">*</text>
<text class="label">第一受益人</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.appOrderVoucherList[0].firstBeneficiary" placeholder="请输入第一受益人" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderVoucherList[0].firstBeneficiary" placeholder="请输入第一受益人" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">服务费</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.appOrderVoucherList[0].serviceMoney" placeholder="请输入服务费" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderVoucherList[0].serviceMoney" placeholder="请输入服务费" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">生效时间</text>
<uni-datetime-picker type="datetime" v-model="clientInfo.appOrderVoucherList[0].effectiveTime" :clearIcon="false" :border="false">
<uni-datetime-picker v-model="clientInfo.appOrderVoucherList[0].effectiveTime" type="date" :clearIcon="false" :border="false" >
</uni-datetime-picker>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">失效时间</text>
<uni-datetime-picker type="datetime" v-model="clientInfo.appOrderVoucherList[0].endTime" :clearIcon="false" :border="false">
<uni-datetime-picker v-model="clientInfo.appOrderVoucherList[0].endTime" type="date" :clearIcon="false" :border="false" >
</uni-datetime-picker>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">服务年限</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" @input='changeTime' class="input" v-model="clientInfo.appOrderVoucherList[0].serviceYear" placeholder="请输入服务年限" />
<picker class="picker" @change="changeTime" :value="serviceAgeIndex" :range="serviceAges">
<view class="picker-text">{{ serviceYear || '请选择服务年限类型 >' }}</view>
</picker>
</view>
<view class="form-item">
@ -262,6 +263,23 @@
></image></uv-upload>
</view>
<view class="con_size">
<text class="labels">*</text>
<text class="label">发票信息 </text>
<uv-upload
:fileList="fileList2"
name="2"
multiple
:maxCount="1"
@afterRead="afterRead"
@delete="deletePic"
><image
src="/static/image/组件 5 – 1.png"
mode="widthFix"
style="width: 100px;height: 150px;"
></image></uv-upload>
</view>
</view>
@ -271,61 +289,19 @@
<image src="/static/image/矩形 5315.png" class='con_size_img' ></image>金融信息</view>
<view class="form-item">
<text class="label">贷款机构</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.appOrderFinanceList[0].lender" placeholder="请输入贷款机构" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderFinanceList[0].lender" placeholder="请输入贷款机构" />
</view>
<view class="form-item">
<text class="label">贷款金额</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.appOrderFinanceList[0].lenderMoney" placeholder="请输入贷款金额" />
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderFinanceList[0].lenderMoney" placeholder="请输入贷款金额" />
</view>
<view class="form-item">
<text class="label">贷款期限</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.appOrderFinanceList[0].lenderYear" placeholder="请输入贷款期限" />
<textarea :adjust-position="true" class="input" v-model="clientInfo.appOrderFinanceList[0].lenderYear" placeholder="请输入贷款期限" />
</view>
</view>
<!-- 产品描述
<view class="section">
<view class="con_size">
<image src="/static/image/矩形 5315.png" class='con_size_img' ></image>产品信息</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">产品名称</text>
<text class="value">{{ clientInfo.productName }}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">服务年龄</text>
<picker class="picker" @change="bindServiceAgeChange" :value="serviceAgeIndex" :range="serviceAges">
<view class="picker-text">{{ serviceAges[serviceAgeIndex] || '请选择服务年限 >' }}</view>
</picker>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">销售金额</text>
<input adjust-position="false" @keyboardheightchange="keyboardheightchange" class="input" v-model="clientInfo.productMoney" placeholder="请输入销售金额" />
</view>
</view> -->
<!-- 付款信息
<view class="section">
<view class="con_size">
<image src="/static/image/矩形 5315.png" class='con_size_img' ></image>付款信息</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">收款方</text>
<picker class="picker" @change="bindPayeeChange" :value="payeeIndex" :range="payees">
<view class="picker-text">{{ this.clientInfo.payee || '请选择收款方 >' }}</view>
</picker>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">付款时间</text>
<uni-datetime-picker type="datetime" v-model="clientInfo.payeeTime" :clearIcon="false" :border="false">
</uni-datetime-picker>
</view>
</view> -->
<view class="sections">
<view class="form-button">
@ -338,7 +314,7 @@
</template>
<script>
import {idCardInfo,carCert,upload,getChildListBatch,add,isToken} from '@/api.uts'
import {idCardInfo,carCert,upload,getChildListBatch,add,isToken,queryDictItemsByCode} from '@/api.uts'
export default {
data() {
return {
@ -361,102 +337,68 @@ export default {
{
buyMoney: 0,
buyTax: 0,
buyTime: "",
buyTime: null,
carModel: "",
carNo: "",
carSeries: "",
carType: "",
createBy: "",
createTime: "",
engineNo: "",
id: "",
mileage: "",
newCar: 0,
orderFkId: "",
sysOrgCode: "",
updateBy: "",
updateTime: "",
useType: "",
vin: ""
}
],
appOrderFinanceList: [
{
createBy: "",
createTime: "",
id: "",
lender: "",
lenderMone: 0,
lenderYear: "",
orderFkId: "",
sysOrgCode: "",
updateBy: "",
updateTime: ""
lenderMoney:""
}
],
appOrderVoucherList: [
{
assigneeCardNo: "",
assigneeName: "",
assigneePhone: "",
carInsuranceNo: "",
createBy: "",
createTime: "",
dealerAddress: "",
effectiveTime: "",
endTime: "",
equityPackage: "",
effectiveTime: null,
endTime: null,
firstBeneficiary: "",
id: "",
insuranceName: "",
orderFkId: "",
packageMoney: 0,
payTime: "",
registeredCity: "",
serviceMoney: 0,
serviceYear: "",
sysOrgCode: "",
updateBy: "",
updateTime: ""
serviceYear: ""
}
],
busLicense: "",
carPic: "",
certBack: "",
certFront: "",
contractUrl: "",
createBy: "",
createTime: "",
custAddress: "",
custCardNo: "",
custName: "",
custPhone: "",
custType: 0,
id: "",
orderNum: "",
invoiceUrl:"",
payType: '全款', // 默认选中全款
payVoucherUrl: "",
payee: "",
payeeTime: "",
productContractTemp: "",
productMone : null,
productName: "自动填写所选商品服务分类",
productServiceYear: 1,
saleName: "",
salePort: ''||"售前",
status: 0,
storeName: "自动填写所选择的门店",
sysOrgCode: "",
updateBy: "",
updateTime: ""
storeName: "自动填写所选择的门店"
},
fileList1:[],
keyboardHeight:0,
fileList1:[],
fileList2:[],
departments: ['售前', '售后', '二网车'],
carType : ['燃油车','新能源'],
useType : ['非营运','营运'],
serviceYear:'',
isTrue:false,
carBrandIndex: -1,
useTypeIndex: -1,
serviceAges: ['1年', '2年', '3年'],
serviceAges: [],
serviceAgeIndex: -1,
payees: [],
payeeIndex: -1,
@ -486,14 +428,20 @@ export default {
this.uploadConfig.header = {
'X-Access-Token':uni.getStorageSync('token')
}
queryDictItemsByCode({code:"service_year"}).then((res)=>{
console.log(res);
for (var i = 0; i < res.length; i++) {
this.serviceAges.unshift(res[i].text)
}
})
let clientInfo = JSON.parse(decodeURIComponent(options.clientInfo));
console.log('5',clientInfo)
// console.log('5',clientInfo)
if(clientInfo){
this.clientInfo= JSON.parse(decodeURIComponent(options.clientInfo))
this.certFront = getApp().certFront;
this.carPic =getApp().carPic;
this.certBack = getApp().certBack;
console.log('111',this.certFront ,this.carPic,this.certBack)
// console.log('111',this.certFront ,this.carPic,this.certBack)
}
},
@ -502,15 +450,25 @@ export default {
uni.offKeyboardHeightChange();
},
methods: {
keyboardheightchange(e){
// this.changeBottomVal = e.detail.height + 'px'
},
isEmpty(value) {
if (value === null || value === undefined ) return false;
if (typeof value === "string" && value.trim() === "") return false;
if (Array.isArray(value) && value.length === 0) return false;
if (typeof value === "object" && Object.keys(value).length === 0) return false;
return true;
},
handleFocus() {
uni.onKeyboardHeightChange(res => {
this.keyboardHeight = res.height;
});
},
// 凭证上传函数
deletePic(event) {
this[`fileList${event.name}`].splice(event.index, 1)
},
// 新增图片
async afterRead(event) {
async afterRead(event) {
// console.log(event);
// 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
let lists = [].concat(event.file)
let fileListLen = this[`fileList${event.name}`].length
@ -522,7 +480,7 @@ export default {
})
})
for (let i = 0; i < lists.length; i++) {
const result = await this.uploadFilePromise(lists[i].url)
const result = await this.uploadFilePromise(lists[i].url,event.name)
let item = this[`fileList${event.name}`][fileListLen]
this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
status: 'success',
@ -532,7 +490,7 @@ export default {
fileListLen++
}
},
uploadFilePromise(url) {
uploadFilePromise(url,name) {
let token = uni.getStorageSync('token')
return new Promise((resolve, reject) => {
let a = uni.uploadFile({
@ -546,26 +504,87 @@ export default {
'X-Access-Token':token
},
success: (res) => {
this.clientInfo.payVoucherUrl = JSON.parse(res.data).message;
setTimeout(() => {
resolve(res.data.data)
}, 1000)
if(name == '1'){
this.clientInfo.payVoucherUrl = JSON.parse(res.data).message;
setTimeout(() => {
resolve(res.data.data)
}, 1000)
}else{
this.clientInfo.invoiceUrl = JSON.parse(res.data).message;
setTimeout(() => {
resolve(res.data.data)
}, 1000)
}
}
});
})
},
get_to(){
console.log('suss',this.clientInfo);
add(JSON.parse(JSON.stringify(this.clientInfo))).then((res)=>{
console.log(res)
console.log('suss', JSON.parse(JSON.stringify(this.clientInfo) ));
for (var i in this.clientInfo) {
if (typeof this.clientInfo[i] == 'object') {
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
}
}
}else{
if(!this.isEmpty(this.clientInfo[i])){
uni.showToast({
title: "提交失败,请检查字段是否未填!",
icon: 'error',
duration: 500,
success: (res) => {
},
fail: (res) => {
},
});
return false
}
}
}
add(this.clientInfo).then((res)=>{
if(res.success){
uni.showToast({
title: "提交成功",
icon: 'success',
duration: 500,
success: (res) => {
},
fail: (res) => {
},
});
uni.switchTab (
{ url: '/pages/index/dingdan' }
)
}else{
uni.showToast({
title: "提交失败,请检查格式!",
icon: 'error',
duration: 500,
success: (res) => {
},
fail: (res) => {
},
});
}
}).catch((err)=>{
console.log('err',err);
})
uni.switchTab (
{ url: '/pages/index/dingdan' }
)
},
getCar(){
getApp().flag = 0;
uni.navigateTo(
{
url: '/pages/views/carOne?clientInfo=' + encodeURIComponent(JSON.stringify(this.clientInfo))
@ -576,13 +595,11 @@ export default {
getApp().certBack =this.certBack;
},
toBack(){
console.log('111')
let canNavBack = getCurrentPages()
if( canNavBack && canNavBack.length>1) {
uni.navigateBack()
} else {
history.back();
}
uni.redirectTo(
{
url: '/pages/views/dingDanCreate'
}
)
},
handleDepartmentChange(e) {
this.clientInfo.salePort = e;
@ -591,43 +608,88 @@ export default {
bindCarBrandChanges(e){
this.clientInfo.appOrderCarList[0].carType = this.carType[e.detail.value];
},
// serviceYearChanges(e){
// this.clientInfo.appOrderVoucherList[0].serviceYear = this.serviceAges[e.detail.value]
// this.serviceYear = this.serviceAges[e.detail.value]
// console.log(e.detail.value )
// },
// 修改车辆类型
binduseTypeChanges(e){
this.clientInfo.appOrderCarList[0].useType = this.useType[e.detail.value];
},
// 取服务年限
bindServiceAgeChange(e) {
this.serviceAgeIndex = e.detail.value
if(this.serviceAges[e.detail.value] == '1年'){
this.clientInfo.productServiceYear = 1;
}else if(this.serviceAges[e.detail.value] == '2年' ){
this.clientInfo.productServiceYear = 2;
}else{
this.clientInfo.productServiceYear = 3;
};
// // 取服务年限
// bindServiceAgeChange(e) {
// this.serviceAgeIndex = e.detail.value
// if(this.serviceAges[e.detail.value] == '1年'){
// this.clientInfo.productServiceYear = 1;
// }else if(this.serviceAges[e.detail.value] == '2年' ){
// this.clientInfo.productServiceYear = 2;
// }else{
// this.clientInfo.productServiceYear = 3;
// };
},
// },
// 选择收款方
bindPayeeChange(e) {
this.payeeIndex = e.detail.value
this.clientInfo.payee= this.payees[e.detail.value];
},
msToDate (msec) {
let datetime = new Date(msec);
let year = datetime.getFullYear();
let month = datetime.getMonth();
let date = datetime.getDate();
let hour = datetime.getHours();
let minute = datetime.getMinutes();
let second = datetime.getSeconds();
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);
let result2 = year +
'-' +
((month + 1) >= 10 ? (month + 1) : '0' + (month + 1)) +
'-' +
((date + 1) < 10 ? '0' + date : date);
let result = {
hasTime: result1,
withoutTime: result2
};
return result;
},
// 修改生效时间
changeEffectiveTime(e){
var dateTime = new Date(e);
dateTime.setDate(dateTime.getDate() + 2);
dateTime = new Date(dateTime);
this.clientInfo.appOrderVoucherList[0].effectiveTime = dateTime
// console.log(this.msToDate(dateTime).withoutTime);
this.clientInfo.appOrderVoucherList[0].effectiveTime = this.msToDate(dateTime).withoutTime
},
changeTime(e){
console.log(e)
console.log(e.detail.value)
if(this.clientInfo.appOrderVoucherList[0].effectiveTime){
this.clientInfo.appOrderVoucherList[0].serviceYear = this.serviceAges[e.detail.value]
this.serviceYear = this.serviceAges[e.detail.value]
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) +1;
dateTime.setFullYear(year);
dateTime = new Date(dateTime);
this.clientInfo.appOrderVoucherList[0].endTime = dateTime
// console.log(this.msToDate(dateTime).withoutTime);
this.clientInfo.appOrderVoucherList[0].endTime = this.msToDate(dateTime).withoutTime
}else{
uni.showToast({
title: "请先选择生效时间!",
@ -696,7 +758,7 @@ export default {
},
success: (res) => {
let image = JSON.parse(res.data).message;
console.log(image);
// console.log(image);
if(type == "sfz"){
idCardInfo({'side':side,'url':JSON.parse(res.data).message}).then((res)=>{
if(res.success){
@ -763,7 +825,7 @@ export default {
});
},
onChange(e){
console.log(e);
// console.log(e);
if(e == '个人'){
this.clientInfo.custType = 0;
}else{
@ -783,7 +845,7 @@ export default {
<style scoped lang="scss">
.containers {
height: 100%;
height: 100vh;
width: 100%;
background-color: #fff;
overflow-y:scroll;
@ -815,6 +877,8 @@ export default {
padding: 0.5rem 0;
border-bottom: 0.1rem solid #f2f2f2;
color: #767676;
flex-grow:1;
overflow-y:auto
}
.labels{
color: red;
@ -833,6 +897,7 @@ export default {
text-align: right;
font-size: 28rpx;
color: #737373;
height: 100%;
}
.picker {


+ 888
- 0
pages/index/PayPal_pinpai.uvue View File

@ -0,0 +1,888 @@
<template>
<view class="containers" >
<view class="header">
<view class="header_info">
<view class="header_info_icon" @click.native.stop.prevent="toBack" style="display: flex; justify-content: center; align-items: center;">
<uni-icons type="left" size="30" color="#c2d4de" > </uni-icons>
</view>
<text class="header_text">信息录入</text>
</view>
</view>
<view class="section" style="margin-top: 5%;">
<view class="form-item">
<text class="label">付款方式</text>
<l-radio :checked="clientInfo.payType === '全款'" label="全款" fontSize="1rem" style="transform: scale(0.7);">
<template #icon="{checked}">
<image v-show="checked" style="width:1.2rem; height:1.2rem;" src="/static/image/xuanzhong.png"></image>
<image v-show="!checked" style="width:1.2rem; height:1.2rem" src="/static/image/weixuanzhong.png"></image>
</template>
</l-radio>
</view>
<view class="form-item">
<text class="label">客户类型</text>
<l-radio-group @change="onChange" class="radio-group" >
<l-radio :checked= "clientInfo.custType == 0?true:false" value="个人" label="个人" fontSize="1rem" style="margin-right: 1rem; transform: scale(0.7);">
<template #icon="{checked}">
<image v-show="checked" style="width:1.2rem; height:1.2rem;" src="/static/image/xuanzhong.png"></image>
<image v-show="!checked" style="width:1.2rem; height:1.2rem" src="/static/image/weixuanzhong.png"></image>
</template>
</l-radio>
<l-radio :checked= "clientInfo.custType == 1?true:false" value="公司" label="公司" fontSize="1rem" style="transform: scale(0.7);">
<template #icon="{checked}">
<image v-show="checked" style="width:1.2rem; height:1.2rem;" src="/static/image/xuanzhong.png"></image>
<image v-show="!checked" style="width:1.2rem; height:1.2rem" src="/static/image/weixuanzhong.png"></image>
</template>
</l-radio>
</l-radio-group>
</view>
</view>
<view class="idCard-box">
<view class="reverse" @tap.prevent="uploadPositive">
<image :src="clientInfo.certFront == ''?positiveImg:certFront" >
</image>
<text v-if="certFront == ''?true:false">身份证人像面</text>
</view>
<view class="reverse" @tap.prevent="uploadReverse">
<image :src="clientInfo.certBack == ''?reverseImg:certBack" >
</image>
<text v-if="certBack == ''?true:false">身份证国徽面</text>
</view>
<view class="reverse" @tap.prevent="uploadCarCert">
<image :src="clientInfo.carPic == ''?carImg:carPic" >
</image>
<text v-if="carPic == ''?true:false">车辆合格证</text>
</view>
</view>
<!-- 客户基本信息 -->
<view class="section">
<view class="con_size">
<image src="/static/image/矩形 5315.png" class='con_size_img' ></image>
客户基本信息
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">产品名称</text>
<text class="value">{{ clientInfo.productName }}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">经销商</text>
<text class="value">{{ clientInfo.storeName }}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">客户姓名</text>
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.custName" placeholder="请输入客户姓名" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">居住地址</text>
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.custAddress" placeholder="请输入居住地址" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">身份证号码</text>
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.custCardNo" placeholder="请输入身份证号码" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">联系方式</text>
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.custPhone" placeholder="请输入联系方式" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">销售端口</text>
<l-radio-group class="radio-group" @change="handleDepartmentChange">
<label class="radio-label" v-for="item in departments" :key="item">
<l-radio :value="item" :checked="clientInfo.salePort === item" >
<template #icon="{checked}">
<image v-show="checked" style="width:1.2rem; height:1.2rem;" src="/static/image/xuanzhong.png"></image>
<image v-show="!checked" style="width:1.2rem; height:1.2rem" src="/static/image/weixuanzhong.png"></image>
</template>
</l-radio>
<text style="margin-left:0.2rem;">{{ item }}</text>
</label>
</l-radio-group>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">店端销售顾问</text>
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.saleName" placeholder="请输入店铺销售顾问" />
</view>
</view>
<!-- 车辆信息 -->
<view class="section">
<view class="con_size">
<image src="/static/image/矩形 5315.png" class='con_size_img' ></image>车辆信息</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车牌车系</text>
<view class="picker" @click="getCar">
<view class="picker-text">{{ clientInfo.appOrderCarList[0].carSeries || '请选择车辆品牌 >' }}</view>
</view>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车辆型号</text>
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderCarList[0].carModel" placeholder="请输入车辆型号" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车架号</text>
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderCarList[0].vin" placeholder="请输入车架号" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车辆类型</text>
<picker class="picker" @change="bindCarBrandChanges" :value="carBrandIndex" :range="carType">
<view class="picker-text">{{ clientInfo.appOrderCarList[0].carType || '请选择车辆类型 >' }}</view>
</picker>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">使用性质</text>
<picker class="picker" @change="binduseTypeChanges" :value="useTypeIndex" :range="useType">
<view class="picker-text">{{ clientInfo.appOrderCarList[0].useType || '请选择使用性质 >' }}</view>
</picker>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">是否新车</text>
<l-radio-group @change="onChanges" class="radio-group" >
<l-radio :checked= "clientInfo.appOrderCarList[0].newCar == 1?true:false" value="是" label="是" fontSize="1rem" style="margin-right: 1rem; transform: scale(0.7);">
<template #icon="{checked}">
<image v-show="checked" style="width:1.2rem; height:1.2rem;" src="/static/image/xuanzhong.png"></image>
<image v-show="!checked" style="width:1.2rem; height:1.2rem" src="/static/image/weixuanzhong.png"></image>
</template>
</l-radio>
<l-radio :checked= "clientInfo.appOrderCarList[0].newCar == 0?true:false" value="否" label="否" fontSize="1rem" style="transform: scale(0.7);">
<template #icon="{checked}">
<image v-show="checked" style="width:1.2rem; height:1.2rem;" src="/static/image/xuanzhong.png"></image>
<image v-show="!checked" style="width:1.2rem; height:1.2rem" src="/static/image/weixuanzhong.png"></image>
</template>
</l-radio>
</l-radio-group>
</view>
<view class="form-item">
<text class="label">车牌号</text>
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderCarList[0].carNo" placeholder="请输入车牌号" />
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">发动机号</text>
<textarea auto-height :adjust-position="true" class="input" v-model="clientInfo.appOrderCarList[0].engineNo" placeholder="请输入发动机号" />
</view>
</view>
<!-- 凭证信息 -->
<view class="section">
<view class="con_size">
<image src="/static/image/矩形 5315.png" class='con_size_img' ></image>凭证信息</view>
<view class="con_size">
<text class="labels">*</text>
<text class="label">支付凭证</text>
<uv-upload
:fileList="fileList1"
name="1"
multiple
:maxCount="1"
@afterRead="afterRead"
@delete="deletePic"
><image
src="/static/image/组件 5 – 1.png"
mode="widthFix"
style="width: 100px;height: 150px;"
></image></uv-upload>
</view>
<view class="con_size">
<text class="labels">*</text>
<text class="label">发票信息</text>
<uv-upload
:fileList="fileList2"
name="2"
multiple
:maxCount="1"
@afterRead="afterRead"
@delete="deletePic"
><image
src="/static/image/组件 5 – 1.png"
mode="widthFix"
style="width: 100px;height: 150px;"
></image></uv-upload>
</view>
</view>
<view class="sections">
<view class="form-button">
<button class=" button" @click="get_to" style="width: 60%;">提交去录单</button>
</view>
</view>
</view>
</template>
<script>
import {idCardInfo,carCert,upload,getChildListBatch,add,isToken} from '@/api.uts'
export default {
data() {
return {
uploadConfig:{
// 上传地址
url:'https://gpt.aiym.run/contract/miniapp/file/upload',
// 文件字段名
name: 'file',
// 请求头
header: {},
// 附带的表单数据
formData: {
'biz': 'cert'
},
// 是否开启实际上传
enabled: true
},
clientInfo: {
appOrderCarList: [
{
buyMoney: 0,
buyTax: 0,
carModel: "",
carNo: "",
carSeries: "",
carType: "",
engineNo: "",
newCar: 0,
useType: "",
vin: ""
}
],
appOrderVoucherList: [
{
dealerAddress: "",
firstBeneficiary: "",
packageMoney: 0,
serviceMoney: 0
}
],
carPic: "",
certBack: "",
certFront: "",
custAddress: "",
custCardNo: "",
custName: "",
custPhone: "",
custType: 0,
invoiceUrl:"",
payType: '全款', // 默认选中全款
payVoucherUrl: "",
payee: "",
productName: "自动填写所选商品服务分类",
productServiceYear: 1,
saleName: "",
salePort: ''||"售前",
status: 0,
storeName: "自动填写所选择的门店"
},
fileList1:[],
fileList2:[],
departments: ['售前', '售后', '二网车'],
carType : ['燃油车','新能源'],
useType : ['非营运','营运'],
carBrandIndex: -1,
useTypeIndex: -1,
serviceAges: ['1年', '2年', '3年'],
serviceAgeIndex: -1,
payees: [],
payeeIndex: -1,
screenHeight: 0, //屏幕可视高度
curHeight: 0, //页面需要的动态高
// 扫描
positiveImg: '/static/image/组件 4 – 1.png',//自己图片路径
certFront:'',
carPic:'',
certBack:'',
// 反面身份证
reverseImg: '/static/image/组 71663.png', //自己图片路径
// 行车驾驶证
carImg: '/static/image/组件 2 – 1.png' //自己图片路径
}
},
onLoad(options) {
isToken();
this.clientInfo.storeName = getApp().storeName || "自动填写所选择的门店";
this.clientInfo.productName = getApp().productName || "自动填写所选商品服务分类";
this.clientInfo.appOrderVoucherList[0].dealerAddress = getApp().dealerAddress;
for (var index = 0; index < getApp().allMsg.length; index++) {
this.payees.push(getApp().allMsg[index].storeName);
}
this.clientInfo.payee = getApp().storeName;
this.uploadConfig.header = {
'X-Access-Token':uni.getStorageSync('token')
}
let clientInfo = JSON.parse(decodeURIComponent(options.clientInfo));
// console.log('5',clientInfo)
if(clientInfo){
this.clientInfo= JSON.parse(decodeURIComponent(options.clientInfo))
this.certFront = getApp().certFront;
this.carPic =getApp().carPic;
this.certBack = getApp().certBack;
// console.log('111',this.certFront ,this.carPic,this.certBack)
}
},
onUpload() {
// 页面销毁时移除监听
uni.offKeyboardHeightChange();
},
methods: {
// 凭证上传函数
deletePic(event) {
this[`fileList${event.name}`].splice(event.index, 1)
},
// 新增图片
async afterRead(event) {
// 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
let lists = [].concat(event.file)
let fileListLen = this[`fileList${event.name}`].length
lists.map((item) => {
this[`fileList${event.name}`].push({
...item,
status: 'uploading',
message: '上传中'
})
})
for (let i = 0; i < lists.length; i++) {
const result = await this.uploadFilePromise(lists[i].url,event.name)
let item = this[`fileList${event.name}`][fileListLen]
this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
status: 'success',
message: '',
url: result
}))
fileListLen++
}
},
uploadFilePromise(url,name) {
let token = uni.getStorageSync('token')
return new Promise((resolve, reject) => {
let a = uni.uploadFile({
url: 'https://www.shengchuangyunkong.com/contract/miniapp/file/upload', // 仅为示例,非真实的接口地址
filePath: url,
name: 'file',
formData: {
biz: 'test'
},
header:{
'X-Access-Token':token
},
success: (res) => {
if(name == '1'){
this.clientInfo.payVoucherUrl = JSON.parse(res.data).message;
setTimeout(() => {
resolve(res.data.data)
}, 1000)
}else{
this.clientInfo.invoiceUrl = JSON.parse(res.data).message;
setTimeout(() => {
resolve(res.data.data)
}, 1000)
}
}
});
})
},
isEmpty(value) {
if (value === null || value === undefined ) return false;
if (typeof value === "string" && value.trim() === "") return false;
if (Array.isArray(value) && value.length === 0) return false;
if (typeof value === "object" && Object.keys(value).length === 0) return false;
return true;
},
get_to(){
console.log('suss', JSON.parse(JSON.stringify(this.clientInfo) ));
for (var i in this.clientInfo) {
if (typeof this.clientInfo[i] == 'object') {
for (var j in this.clientInfo[i]) {
if(!this.isEmpty(this.clientInfo[i][j])&& j!="carNo"){
uni.showToast({
title: "提交失败,请检查字段是否未填!",
icon: 'error',
duration: 500,
success: (res) => {
},
fail: (res) => {
},
});
return false
}
}
}else{
if(!this.isEmpty(this.clientInfo[i])){
uni.showToast({
title: "提交失败,请检查字段是否未填!",
icon: 'error',
duration: 500,
success: (res) => {
},
fail: (res) => {
},
});
return false
}
}
}
add(this.clientInfo).then((res)=>{
if(res.success){
uni.showToast({
title: "提交成功",
icon: 'success',
duration: 500,
success: (res) => {
},
fail: (res) => {
},
});
uni.switchTab (
{ url: '/pages/index/dingdan' }
)
}else{
uni.showToast({
title: "提交失败,请检查格式!",
icon: 'error',
duration: 500,
success: (res) => {
},
fail: (res) => {
},
});
}
}).catch((err)=>{
console.log('err',err);
})
},
getCar(){
getApp().flag = 1;
uni.navigateTo(
{
url: '/pages/views/carOne?clientInfo=' + encodeURIComponent(JSON.stringify(this.clientInfo))
}
)
getApp().certFront = this.certFront;
getApp().carPic = this.carPic;
getApp().certBack =this.certBack;
},
toBack(){
// console.log('111')
uni.navigateBack({delta: 1})
},
handleDepartmentChange(e) {
this.clientInfo.salePort = e;
},
// 修改车辆类型
bindCarBrandChanges(e){
this.clientInfo.appOrderCarList[0].carType = this.carType[e.detail.value];
},
// 修改车辆类型
binduseTypeChanges(e){
this.clientInfo.appOrderCarList[0].useType = this.useType[e.detail.value];
},
// 取服务年限
bindServiceAgeChange(e) {
this.serviceAgeIndex = e.detail.value
if(this.serviceAges[e.detail.value] == '1年'){
this.clientInfo.productServiceYear = 1;
}else if(this.serviceAges[e.detail.value] == '2年' ){
this.clientInfo.productServiceYear = 2;
}else{
this.clientInfo.productServiceYear = 3;
};
},
// 选择收款方
bindPayeeChange(e) {
this.payeeIndex = e.detail.value
this.clientInfo.payee= this.payees[e.detail.value];
},
msToDate (msec) {
let datetime = new Date(msec);
let year = datetime.getFullYear();
let month = datetime.getMonth();
let date = datetime.getDate();
let hour = datetime.getHours();
let minute = datetime.getMinutes();
let second = datetime.getSeconds();
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);
let result2 = year +
'-' +
((month + 1) >= 10 ? (month + 1) : '0' + (month + 1)) +
'-' +
((date + 1) < 10 ? '0' + date : date);
let result = {
hasTime: result1,
withoutTime: result2
};
return result;
},
// 修改生效时间
changeEffectiveTime(e){
var dateTime = new Date(e);
dateTime.setDate(dateTime.getDate() + 2);
dateTime = new Date(dateTime);
// console.log(this.msToDate(dateTime).withoutTime);
this.clientInfo.appOrderVoucherList[0].effectiveTime = this.msToDate(dateTime).withoutTime
},
changeTime(e){
console.log(e)
if(this.clientInfo.appOrderVoucherList[0].effectiveTime){
var dateTime = new Date(this.clientInfo.appOrderVoucherList[0].effectiveTime);
let year = Number(dateTime.getFullYear()) + Number(e.detail.value);
dateTime.setFullYear(year);
dateTime = new Date(dateTime);
// console.log(this.msToDate(dateTime).withoutTime);
this.clientInfo.appOrderVoucherList[0].endTime = this.msToDate(dateTime).withoutTime
}else{
uni.showToast({
title: "请先选择生效时间!",
icon: 'error',
duration: 500,
success: (res) => {
},
fail: (res) => {
},
})
}
},
changebuyTax(){
this.clientInfo.appOrderCarList[0].buyTax = (this.clientInfo.appOrderCarList[0].buyMoney/11.3).toFixed(2)
},
// 身份证正面上传
uploadPositive() {
uni.chooseImage({
count: 1,
sizeType: ['original', 'compressed'],
sourceType: ['album', 'camera'],
success: (res) => {
let filePath = res.tempFilePaths[0];
let token = uni.getStorageSync('token');
this.uploadIdentify(token,'front',filePath,'sfz');
}
})
},
// 身份证反面上传
uploadReverse() {
uni.chooseImage({
count: 1,
sizeType: ['original', 'compressed'],
sourceType: ['album', 'camera'],
success: (res) => {
let filePath = res.tempFilePaths[0];
let token = uni.getStorageSync('token');
this.uploadIdentify(token,'back',filePath,'sfz')
}
})
},
uploadCarCert() {
uni.chooseImage({
count: 1,
sizeType: ['original', 'compressed'],
sourceType: ['album', 'camera'],
success: (res) => {
let filePath = res.tempFilePaths[0];
let token = uni.getStorageSync('token');
this.uploadIdentify(token,'',filePath,'carCert')
}
})
},
// 上传识别
uploadIdentify(token,side,filePath,type) {
uni.uploadFile({
url: 'https://www.shengchuangyunkong.com/contract/miniapp/file/upload', //仅为示例,非真实的接口地址
filePath:filePath,
name: 'file',
formData: {
'biz': 'cert'
},
header:{
'X-Access-Token':token
},
success: (res) => {
let image = JSON.parse(res.data).message;
// console.log(image);
if(type == "sfz"){
idCardInfo({'side':side,'url':JSON.parse(res.data).message}).then((res)=>{
if(res.success){
if(side == 'front'){
this.clientInfo.custName =res.result.name;
this.clientInfo.appOrderVoucherList[0].firstBeneficiary = res.result.name;
this.clientInfo.custAddress= res.result.address;
this.clientInfo.custCardNo = res.result.idCard ;
this.clientInfo.certFront = image;
this.certFront=filePath;
}else {
this.clientInfo.certBack=image;
this.certBack=filePath;
}
}else{
uni.showToast({
title: "身份证识别错误,请重新上传!",
icon: 'error',
duration: 500,
success: (res) => {
},
fail: (res) => {
},
})
}
}).catch(err => {
console.log("catch: ", err);
})
}else if(type == 'carCert' ){
// 处理车辆信息
carCert({'url':JSON.parse(res.data).message}).then((res)=>{
if(res.success){
// 车架号
this.clientInfo.appOrderCarList[0].vin = res.result.VinNo;
this.clientInfo.carPic = image;
this.carPic = filePath;
// 发动机号
this.clientInfo.appOrderCarList[0].engineNo = res.result.EngineNo;
// 车辆型号
this.clientInfo.appOrderCarList[0].carModel = res.result.CarModel;
}else{
uni.showToast({
title: "识别错误,请重新上传!",
icon: 'error',
duration: 500,
success: (res) => {
},
fail: (res) => {
},
})
}
}).catch((err)=>{
console.log("catch: ", err);
})
}
},
fail:(err)=>{
console.log(err)
}
});
},
onChange(e){
// console.log(e);
if(e == '个人'){
this.clientInfo.custType = 0;
}else{
this.clientInfo.custType = 1;
}
},
onChanges(e){
if(e == '是'){
this.clientInfo.appOrderCarList[0].newCar = 1;
}else{
this.clientInfo.appOrderCarList[0].newCar = 0;
}
}
}
}
</script>
<style scoped lang="scss">
.containers {
height: 100vh;
width: 100%;
background-color: #fff;
overflow-y:scroll;
}
.footer {
position: fixed;
bottom: 0;
left: 0;
}
.container::-webkit-scrollbar {
display: none;
}
.section {
// margin-bottom: 30rpx;
border-bottom: 1rpx solid #eee;
margin: 0 1rem 0 1rem;
}
.sections{
margin: 0 1rem 1rem 1rem;
}
.form-item {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 0.5rem 0;
border-bottom: 0.1rem solid #f2f2f2;
color: #767676;
}
.labels{
color: red;
display: flex;
justify-content: center;
align-items: center;
}
.label {
font-size: 28rpx;
color: #666;
width: 200rpx;
}
.input {
flex: 1;
text-align: right;
font-size: 28rpx;
color: #737373;
height: 100%;
}
.picker {
flex: 1;
}
.picker-text {
text-align: right;
color: #737373;
font-size: 0.8rem;
}
.radio-group {
display: flex;
flex: 1;
justify-content: flex-end;
flex-direction: row;
}
.radio-label {
padding: 0;
margin-left: 10rpx;
display: flex;
flex-direction: row;
font-size: 1rem;
transform: scale(0.7);
}
.value {
flex: 1;
text-align: right;
color: #737373;
font-size: 0.8rem;
}
// .timePiker{
// display: flex;
// justify-content: center;
// align-items: center;
// color: #3f3f3f;
// }
.idCard-box {
margin-top: 10%;
width: 100%;
height: 50%;
display: flex;
flex-direction: row;
/* background-color: red; */
flex-wrap: wrap;
.reverse {
height: 30%;
width: 40%;
display: flex;
align-items: center;
justify-content: center;
// background-color: blue;
margin: 0 5% 0 5%;
image {
width: 100%;
height: 100%;
}
text{
position: absolute;
text-shadow: 1px 1px black, -1px -1px black, 1px -1px black, -1px 1px black;
font-size: 0.8rem;
color:#fff;
}
}
}
/* 表单分区样式 */
.con_size {
font-size: 1rem;
font-weight: bold;
margin: 1rem 0;
color: #000000;
display: flex;
flex-direction: row;
align-items: center;
}
.con_size_img{
height: 100%;
width: 2%;
margin-right: 2%;
}
.form-button{
width: 100%;
height:100%;
// background-color: #000000;
display: flex;
align-items: center;
justify-content: center;
}
.button{
height: 100%;
width: 100%;
background-color: #044f7a;
color: #ffffff;
border-radius: 1rem;
}
</style>

+ 509
- 0
pages/index/PayPal_xq.uvue View File

@ -0,0 +1,509 @@
<template>
<view class="containers" >
<view class="header">
<view class="header_info">
<view class="header_info_icon" @click.native.stop.prevent="toBack" style="display: flex; justify-content: center; align-items: center;">
<uni-icons type="left" size="30" color="#c2d4de" > </uni-icons>
</view>
<text class="header_text">信息录入</text>
</view>
</view>
<view class="section" style="margin-top: 5%;">
<view class="form-item">
<text class="label">付款方式</text>
<text>
{{records[0].payType}}
</text>
</view>
<view class="form-item">
<text class="label">客户类型</text>
<text @change="onChange" class="radio-group" >
{{records[0].custType == 0 ? "个人" : "公司"}}
</text>
</view>
</view>
<view class="idCard-box">
<view class="reverse" @tap.prevent="uploadPositive">
<image :src="records[0].certFront" >
</image>
</view>
<view class="reverse" @tap.prevent="uploadReverse">
<image :src="records[0].certBack" >
</image>
</view>
<view class="reverse" @tap.prevent="uploadCarCert">
<image :src="records[0].carPic" >
</image>
</view>
</view>
<!-- 客户基本信息 -->
<view class="section">
<view class="con_size">
<image src="/static/image/矩形 5315.png" class='con_size_img' ></image>
客户基本信息
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">产品名称</text>
<text class="value">{{ records[0].productName }}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">经销商</text>
<text class="value">{{ records[0].storeName }}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">客户姓名</text>
<text class="value">{{ records[0].custName }}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">居住地址</text>
<text class="value">{{ records[0].custAddress }}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">身份证号码</text>
<text class="value">{{ records[0].custCardNo }}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">联系方式</text>
<text class="value">{{ records[0].custPhone }}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">销售端口</text>
<text class="value">{{ records[0].storeName }}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">店端销售顾问</text>
<text class="value">{{ records[0].saleName }}</text>
</view>
</view>
<!-- 车辆信息 -->
<view class="section">
<view class="con_size">
<image src="/static/image/矩形 5315.png" class='con_size_img' ></image>车辆信息</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车牌车系</text>
<text class="value">{{cars[0].saleName}}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车辆型号</text>
<text class="value">{{cars[0].carModel}}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车架号</text>
<text class="value">{{cars[0].vin}}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">车辆类型</text>
<text class="value">{{cars[0].carType}}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">使用性质</text>
<text class="value">{{cars[0].useType}}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">是否新车</text>
<text class="value">{{cars[0].newCar==0?"否":"是" }}</text>
</view>
<view class="form-item">
<text class="label">车牌号</text>
<text class="value">{{cars[0].carNo}}</text>
</view>
<view class="form-item">
<text class="labels">*</text>
<text class="label">发动机号</text>
<text class="value">{{cars[0].engineNo}}</text>
</view>
<view class="form-item" v-if="productTypeFlag">
<text class="labels">*</text>
<text class="label">里程</text>
<text class="value">{{cars[0].mileage}}</text>
</view>
<view class="form-item" v-if="productTypeFlag">
<text class="labels">*</text>
<text class="label">购车时间</text>
<text class="value">{{cars[0].buyTime}}</text>
</view>
<view class="form-item" v-if="productTypeFlag">
<text class="labels">*</text>
<text class="label">车辆购置价</text>
<text class="value">{{cars[0].buyMoney}}</text>
</view>
<view class="form-item" v-if="productTypeFlag">
<text class="labels">*</text>
<text class="label">购置税</text>
<text class="value">{{cars[0].buyTax}}</text>
</view>
</view>
<!-- 凭证信息 -->
<view class="section">
<view class="con_size">
<image src="/static/image/矩形 5315.png" class='con_size_img' ></image>凭证信息</view>
<view class="form-item" v-if="productTypeFlag">
<text class="labels">*</text>
<text class="label">第一受益人</text>
<text class="value">{{vouchers[0].firstBeneficiary}}</text>
</view>
<view class="form-item" v-if="productTypeFlag">
<text class="labels">*</text>
<text class="label">服务费</text>
<text class="value">{{vouchers[0].serviceMoney}}</text>
</view>
<view class="form-item" v-if="productTypeFlag">
<text class="labels">*</text>
<text class="label">生效时间</text>
<text class="value">{{vouchers[0].effectiveTime}}</text>
</view>
<view class="form-item" v-if="productTypeFlag">
<text class="labels">*</text>
<text class="label">失效时间</text>
<text class="value">{{vouchers[0].endTime}}</text>
</view>
<view class="form-item" v-if="productTypeFlag">
<text class="labels">*</text>
<text class="label">服务年限</text>
<text class="value">{{vouchers[0].serviceYear}}</text>
</view>
<view class="form-item" v-if="productTypeFlag">
<text class="labels">*</text>
<text class="label">付款时间</text>
<text class="value">{{vouchers[0].payTime}}</text>
</view>
<view class="con_size" >
<text class="labels">*</text>
<text class="label">支付凭证</text><image
:src="records[0].payVoucherUrl"
mode="widthFix"
style="width: 100px;height: 150px;"
@click="clickImg"
></image>
</view>
<view class="con_size">
<text class="labels">*</text>
<text class="label">发票信息</text><image
:src="records[0].invoiceUrl"
mode="widthFix"
style="width: 100px;height: 150px;"
@click="clickImg"
></image>
</view>
</view>
<view class="section" v-if="productTypeFlag">
<view class="con_size">
<image src="/static/image/矩形 5315.png" class='con_size_img' ></image>金融信息</view>
<view class="form-item">
<text class="label">贷款机构</text>
<text class="value">{{Finances[0].lender||0}}</text>
</view>
<view class="form-item">
<text class="label">贷款金额</text>
<text class="value">{{Finances[0].lenderMoney||0}}</text>
</view>
<view class="form-item">
<text class="label">贷款期限</text>
<text class="value">{{Finances[0].lenderYear||0}}</text>
</view>
</view>
</view>
</template>
<script>
import {isToken,list,queryAppOrderCarByMainId,queryAppOrderFinanceByMainId,queryAppOrderVoucherByMainId} from '@/api.uts'
export default {
data() {
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"}
],
vouchers:[],
Finances:[],
productTypeFlag:true
}
},
onLoad(options) {
isToken();
list({id:getApp().id}).then((res)=>{
this.records = res.result.records
})
queryAppOrderCarByMainId({id:getApp().id}).then((res)=>{
this.cars = res.result
})
queryAppOrderFinanceByMainId({id:getApp().id}).then((res)=>{
this.Finances = res.result
})
queryAppOrderVoucherByMainId({id:getApp().id}).then((res)=>{
this.vouchers = res.result
})
console.log('111',JSON.parse(this.cars));
this.productTypeFlag = getApp().productTypeFlag;
},
onUpload() {
// 页面销毁时移除监听
uni.offKeyboardHeightChange();
},
methods: {
keyboardheightchange(e){
// this.changeBottomVal = e.detail.height + 'px'
},
clickImg(){
uni.previewImage({
urls: [this.records[0].payVoucherUrl], //需要预览的图片http链接列表,多张的时候,url直接写在后面就行了
current: '', // 当前显示图片的http链接,默认是第一个
success: function(res) {},
fail: function(res) {},
complete: function(res) {},
})
},
toBack(){
// console.log('111')
uni.navigateBack({delta: 1})
}
}
}
</script>
<style scoped lang="scss">
.containers {
height: 100%;
width: 100%;
background-color: #fff;
overflow-y:scroll;
}
.footer {
position: fixed;
bottom: 0;
left: 0;
}
.container::-webkit-scrollbar {
display: none;
}
.section {
// margin-bottom: 30rpx;
border-bottom: 1rpx solid #eee;
margin: 0 1rem 0 1rem;
}
.sections{
margin: 0 1rem 1rem 1rem;
}
.form-item {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 0.5rem 0;
border-bottom: 0.1rem solid #f2f2f2;
color: #767676;
}
.labels{
color: red;
display: flex;
justify-content: center;
align-items: center;
}
.label {
font-size: 28rpx;
color: #666;
width: 200rpx;
}
.input {
flex: 1;
text-align: right;
font-size: 28rpx;
color: #737373;
}
.picker {
flex: 1;
}
.picker-text {
text-align: right;
color: #737373;
font-size: 0.8rem;
}
.radio-group {
display: flex;
flex: 1;
justify-content: flex-end;
flex-direction: row;
}
.radio-label {
padding: 0;
margin-left: 10rpx;
display: flex;
flex-direction: row;
font-size: 1rem;
transform: scale(0.7);
}
.value {
flex: 1;
text-align: right;
color: #737373;
font-size: 0.8rem;
}
// .timePiker{
// display: flex;
// justify-content: center;
// align-items: center;
// color: #3f3f3f;
// }
.idCard-box {
margin-top: 10%;
width: 100%;
height: 50%;
display: flex;
flex-direction: row;
/* background-color: red; */
flex-wrap: wrap;
.reverse {
height: 30%;
width: 40%;
display: flex;
align-items: center;
justify-content: center;
// background-color: blue;
margin: 0 5% 0 5%;
image {
width: 100%;
height: 100%;
}
text{
position: absolute;
text-shadow: 1px 1px black, -1px -1px black, 1px -1px black, -1px 1px black;
font-size: 0.8rem;
color:#fff;
}
}
}
/* 表单分区样式 */
.con_size {
font-size: 1rem;
font-weight: bold;
margin: 1rem 0;
color: #000000;
display: flex;
flex-direction: row;
align-items: center;
}
.con_size_img{
height: 100%;
width: 2%;
margin-right: 2%;
}
.form-button{
width: 100%;
height:100%;
// background-color: #000000;
display: flex;
align-items: center;
justify-content: center;
}
.button{
height: 100%;
width: 100%;
background-color: #044f7a;
color: #ffffff;
border-radius: 1rem;
}
</style>

+ 46
- 5
pages/index/dingdan.uvue View File

@ -50,7 +50,8 @@
<text>门店名称:{{ order.storeName }}</text>
</view>
<button class="download-btn" @tap="downloadPDF(order.contractUrl)" v-if='order.status == 1 ? true : false'>PDF下载</button>
<button class="download-btn" @tap="downloadPDF(order.contractUrl)" v-if='order.status == 1 && order.productType == "普通产品" ? true : false'>PDF下载</button>
<button class="download-btns" @tap="look(order.id,order.productType)" >查看详情</button>
<image src="/static/image/组 71693.png" v-if='order.status == 1 ? true : false' class="status"></image>
<image src="/static/image/组 71697.png" v-if='order.status == 1 ? false : true' class="status"></image>
</view>
@ -86,6 +87,19 @@ export default {
uni.hideLoading();
}, 1000)
},
onShow() {
this.orders.splice(0);
uni.showLoading({ title: '查询中...' })
setTimeout(() => { //打开文档查看
list({pageNo:1,pageSize:10}).then((res)=>{
for (var index = 0; index < res.result.records.length; index++) {
this.orders.push( res.result.records[index])
}
})
uni.hideLoading();
}, 1000)
},
computed: {
filteredOrders() {
@ -260,7 +274,20 @@ export default {
});
},
});
}
},
look(id,productType){
getApp().id = id;
if(productType == "普通产品"){
getApp().productTypeFlag = true
}else{
getApp().productTypeFlag = false
};
uni.navigateTo(
{
url: '/pages/index/PayPal_xq'
}
)
}
}
}
</script>
@ -378,12 +405,12 @@ export default {
}
.download-btn {
width: 35%;
height: 15%;
width: 30%;
height: 10%;
background-color: #044f7a;
position: absolute;
color: #ffffff;
bottom: 10%;
bottom: 8%;
right: 7%;
font-size: 0.4rem;
display: flex;
@ -391,6 +418,20 @@ export default {
align-items: center;
border-radius: 1rem;
}
.download-btns{
width: 30%;
height: 10%;
background-color: #044f7a;
position: absolute;
color: #ffffff;
bottom: 20%;
right: 7%;
font-size: 0.4rem;
display: flex;
justify-content: center;
align-items: center;
border-radius: 1rem;
}
}
.status{


+ 1
- 1
pages/index/login.uvue View File

@ -109,7 +109,7 @@ getInfoList().then((res)=>{
}
login(usr).then((res)=>{
uni.setStorageSync('token',res.result.token);
// console.log(res.result.token);
console.log(res.result.token);
getApp().usrInfo = res.result.userInfo;
if(res.success){
uni.showToast({


+ 10
- 3
pages/views/car.uvue View File

@ -54,9 +54,16 @@
getName(name){
this.clientInfo.appOrderCarList[0].carSeries = this.clientInfo.appOrderCarList[0].carSeries + name;
console.log('3',this.clientInfo.appOrderCarList[0].carSeries);
uni.navigateTo (
{url:'/pages/index/PayPal?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))}
)
if(getApp().flag != 1){
uni.redirectTo (
{url:'/pages/index/PayPal?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))}
)
}else{
uni.redirectTo (
{url:'/pages/index/PayPal_pinpai?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))}
)
}
}
}
}


+ 149
- 0
pages/views/carFinal.uvue View File

@ -0,0 +1,149 @@
<template>
<view class="container">
<view class="header_infos">
<view class="header_info_left" @click="getBack">
<uni-icons type="left" size="30">
</uni-icons>
</view>
<text class="header_info_right">
选择车系
</text>
</view>
<view class="contents">
<scroll-view scroll-y="true" class="scroll-view" :scroll-into-view="currentIndex">
<view class="content" v-for="(item, index) in list" :key="index" @click="getPid(item.id,item.name)">
<text class="content-left">
{{item.name}}
</text>
<uni-icons class="content-right" type="right" color="#c0c0c0"></uni-icons>
</view>
</scroll-view>
</view>
</view>
</template>
<script>
import {childList} from '@/api.uts'
export default {
data() {
return {
list:[],
currentIndex: '',
clientInfo:{},
certFront:'',
carPic:'',
certBack:'',
}
},
onLoad(options) {
this.clientInfo = JSON.parse(decodeURIComponent(options.clientInfo));
console.log(this.clientInfo.appOrderCarList[0].carSeries);
},
mounted() {
childList({pid:getApp().pid}).then((res)=>{
this.list =res.result.records
})
},
methods: {
getBack(){
uni.navigateBack(
{delta:1}
)
},
getPid(id,name){
this.clientInfo.appOrderCarList[0].carSeries = this.clientInfo.appOrderCarList[0].carSeries + name;
childList({pid:id}).then((res)=>{
console.log(res.result.records);
if(res.result.records.length == 0){
if(this.pagesCount >= 10){
if(getApp().flag == 0){
uni.redirectTo (
{url:'/pages/index/PayPal?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))}
)
}else{
uni.redirectTo (
{url:'/pages/index/PayPal_pinpai?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))}
)
}
}else{
if(getApp().flag == 0){
uni.navigateTo (
{url:'/pages/index/PayPal?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))}
)
}else{
uni.navigateTo (
{url:'/pages/index/PayPal_pinpai?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))}
)
}
}
}else{
getApp().pid_1 = id;
if(this.pagesCount >= 10){
// 使用重定向跳转页面
uni.redirectTo(
{url:'/pages/views/car?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))
})
}else{
uni.navigateTo(
{url:'/pages/views/car?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))
})
}
}
})
}
}
}
</script>
<style scss>
.header_infos{
height: 10%;
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
background-color: #f8f8f8;
}
.header_info_right{
width: 80%;
display: flex;
align-items: center;
justify-content: center;
/* left: 40%; */
}
.contents{
height: 100%;
width: 100%;
}
.scroll-view {
flex: 1;
height: 100%;
/* margin-top: 10%; */
background-color: #ffffff;
}
.content{
height: 5%;
display: flex;
flex-direction: row;
border-bottom: 0.01rem solid #e0e0e0;
/* height: 15%; */
}
.content-left{
font-size: 0.8rem;
display: flex;
align-items: center;
justify-content: center;
}
.content-right{
margin-left: auto;
display: flex;
align-items: center;
justify-content: center;
}
</style>

+ 6
- 6
pages/views/carOne.uvue View File

@ -52,7 +52,6 @@ export default {
console.log(this.clientInfo.appOrderCarList[0].carSeries);
},
mounted() {
getList().then((res)=>{
let list = transformBrands(res.result)
this.indexList = list;
@ -64,15 +63,16 @@ export default {
this.currentIndex = letter;
},
getID(id,name){
console.log(id);
this.clientInfo.appOrderCarList[0].carSeries = name;
console.log('1',this.clientInfo.appOrderCarList[0].carSeries );
childList({pid:id}).then((res)=>{
getApp().pid = res.result.records[0].id;
uni.navigateTo(
// console.log('1',this.clientInfo.appOrderCarList[0].carSeries );
// console.log(res.result);
getApp().pid = id;
uni.redirectTo(
{url:'/pages/views/carTwo?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))
}
)
})
},
getBack(){
console.log(1)


+ 22
- 11
pages/views/carTwo.uvue View File

@ -48,25 +48,36 @@
},
methods: {
getBack(){
console.log(1)
uni.navigateBack(
{delta:1}
)
uni.navigateBack(
{delta:1}
)
},
getPid(id,name){
this.clientInfo.appOrderCarList[0].carSeries = this.clientInfo.appOrderCarList[0].carSeries + name;
childList({pid:id}).then((res)=>{
if(res.result.records.length == 0){
uni.navigateTo(
{url:'/pages/index/PayPal?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))
if(this.pagesCount >= 10){
// 使用重定向跳转页面
uni.redirectTo(
{url:'/pages/index/PayPal?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))
})
}else{
uni.navigateTo(
{url:'/pages/index/PayPal?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))
})
}
)
}else{
getApp().pid_1 = id;
uni.navigateTo (
{url:'/pages/views/car?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))
getApp().pid = id;
if(this.pagesCount >= 10){
// 使用重定向跳转页面
uni.redirectTo(
{url:'/pages/views/carFinal?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))
})
}else{
uni.navigateTo(
{url:'/pages/views/carFinal?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))
})
}
)
}
})
}


+ 18
- 10
pages/views/dingDanCreate.uvue View File

@ -56,6 +56,7 @@
isToken();
getProduct().then((res)=>{
this.product= res.result;
// console.log('111',JSON.stringify( this.product))
this.product_2 = res.result[0].products;
for (var index = 1; index < this.product.length; index++) {
this.product_4.push(this.product[index])
@ -70,17 +71,23 @@
},
methods: {
toBack(){
let canNavBack = getCurrentPages()
if( canNavBack && canNavBack.length>1) {
uni.navigateBack()
} else {
history.back();
}
uni.switchTab(
{
url: '/pages/home/home'
}
)
},
toNext(){
uni.navigateTo(
{ url: '/pages/index/PayPal' }
)
if(this.name== '畅行无忧' ){
uni.navigateTo(
{ url: '/pages/index/PayPal' }
)
}else{
uni.navigateTo(
{ url: '/pages/index/PayPal_pinpai' }
)
}
},
clear (){
this.ServiceName = "";
@ -88,12 +95,13 @@
FirstLevelChange(id){
this.FirstIndex = id;
this.product_2 = this.product[id].products;
this.categoryName = this.product[id].categoryName;
},
selctRadio(name,pdf){
getApp().productName = name;
getApp().productUrl = pdf;
this.name = name ;
console.log(this.name)
},
handleSearch(event) {
this.FirstIndex=0


+ 1
- 0
unpackage/dist/dev/.sourcemap/mp-weixin-devtools/app.js.map View File

@ -0,0 +1 @@
{"version":3,"names":["_sfc_main","common_vendor","defineComponent","usrInfo","allMsg","infoList","productName","productUrl","storeName","dealerAddress","pid","pid_1","orderCount","certFront","carPic","certBack","id","onLaunch","index","__f__","onShow","onHide","onExit"],"sources":["App.uvue"],"sourcesContent":["<script lang=\"uts\">\r\n\tlet firstBackTime = 0\r\n\texport default {\r\n\t\tusrInfo:{},\r\n\t\tallMsg:[],\r\n\t\tinfoList:[],\r\n\t\tproductName:\"\",\r\n\t\tproductUrl:'',\r\n\t\tstoreName:'',\r\n\t\tdealerAddress:'',\r\n\t\tpid:'',\r\n\t\tpid_1:'',\r\n\t\torderCount:'',\r\n\t\tcertFront:'',\r\n\t\tcarPic:'',\r\n\t\tcertBack:'',\r\n\t\tid,\r\n\t\tonLaunch: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:19','App Launch')\r\n\t\t},\r\n\t\tonShow: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:22','App Show')\r\n\t\t},\r\n\t\tonHide: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:25','App Hide')\r\n\t\t},\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t\tonExit: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:46','App Exit')\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t@import \"@/static/iconfont.css\";\r\n\t@import \"css/header.css\";\r\n\t/*每个页面公共css */\r\n\tbody{\r\n\t\tbackground-color: #ffffff;\r\n\t}\r\n\t\r\n\tbody {\r\n\t\t font-family: Arial, sans-serif;\r\n\t\t margin: 0;\r\n\t\t padding: 0;\r\n\t}\r\n\tbody::-webkit-scrollbar {\r\n display: none;\r\n}\r\n\t @media only screen and (-webkit-min-device-pixel-ratio:2),(min-device-pixel-ratio:2){\r\n\t .uni-hairline{\r\n\t border-width: 0.5px !important;\r\n\t }\r\n\t .uni-nbfc {\r\n\t background-color: transparent !important;\r\n\t }\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 320px) {\r\n\t html {font-size: 14px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 360px) {\r\n\t html {font-size: 16px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 400px) {\r\n\t html {font-size: 18px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 440px) {\r\n\t html {font-size: 20px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 480px) {\r\n\t html {font-size: 22px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 640px) {\r\n\t html {font-size: 28px;}\r\n\t }\r\n\r\n</style>"],"mappings":";;;;;;;;;;;;;;;;;;;;AAEC,IAAAA,SAAA,GAAeC,aAAA,CAAAC,eAAA;EACdC,OAAA,EAAQ,CAAE;EACVC,MAAA,EAAO,EAAE;EACTC,QAAA,EAAS,EAAE;EACXC,WAAA,EAAY;EACZC,UAAA,EAAW;EACXC,SAAA,EAAU;EACVC,aAAA,EAAc;EACdC,GAAA,EAAI;EACJC,KAAA,EAAM;EACNC,UAAA,EAAW;EACXC,SAAA,EAAU;EACVC,MAAA,EAAO;EACPC,QAAA,EAAS;EACTC,EAAA,EAAAA,EAAA;EACAC,QAAA,EAAU,SAAVA,SAAA,EAAU;IACThB,aAAA,CAAAiB,KAAA,CAAIC,KAAA,CAAM,OAAM,kBAAiB,YAAY;EAC7C;EACDC,MAAA,EAAQ,SAARA,OAAA,EAAQ;IACPnB,aAAA,CAAAiB,KAAA,CAAIC,KAAA,CAAM,OAAM,kBAAiB,UAAU;EAC3C;EACDE,MAAA,EAAQ,SAARA,OAAA,EAAQ;IACPpB,aAAA,CAAAiB,KAAA,CAAIC,KAAA,CAAM,OAAM,kBAAiB,UAAU;EAC3C;EAmBDG,MAAA,EAAQ,SAARA,OAAA,EAAQ;IACPrB,aAAA,CAAAiB,KAAA,CAAIC,KAAA,CAAM,OAAM,kBAAiB,UAAU;EAC3C;CACF","ignoreList":[]}

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


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


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


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


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


+ 1
- 0
unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/views/carFinal.js.map
File diff suppressed because it is too large
View File


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


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


+ 1
- 0
unpackage/dist/dev/.sourcemap/mp-weixin-devtools/pages/views/dingDanCreate.js.map
File diff suppressed because it is too large
View File


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/api.js.map View File

@ -1 +1 @@
{"version":3,"file":"api.js","sources":["api.uts"],"sourcesContent":["import request from 'request.uts'; // 封装的request.js文件的位置\n\r\n\r\n\n// 获取用户基本信息 \nexport const login = (usr) => {\n\treturn request(`/contract/miniapp/user/login`, 'POST',usr)\n}\r\n// 获取隐私等基本信息\r\nexport const getInfoList = (usr) => {\n\treturn request(`/contract/miniapp/info/list`, 'GET',usr)\n}\r\n\r\n// 判断token状态是否存在\r\n\r\nexport const isToken = () => {\r\n\tif(!uni.getStorageSync('token')){\r\n\t\tuni.navigateTo(\r\n\t\t{ url: '/pages/index/login' }\r\n\t\t)\r\n\t}\n}\r\n\r\n\r\nexport const getStoreName = () => {\n\treturn request(`/contract/miniapp/store/list`, 'GET')\n}\n\n\r\n\r\nexport const getProduct = (product) => {\n\treturn request(`/contract/miniapp/product/categories`, 'GET',product)\n}\r\n\r\n\r\n\r\nexport const idCardInfo = (idCardInfo) => {\n\treturn request(`/contract/miniapp/file/ocr/idcard`, 'GET',idCardInfo,true)\n}\r\n\r\n\r\nexport const upload = (url) => {\n\tuni.uploadFile({\r\n\t\t\t\turl: 'https://gpt.aiym.run/contract/miniapp/file/upload', //仅为示例,非真实的接口地址\r\n\t\t\t\tfilePath: url,\r\n\t\t\t\tname: 'file',\r\n\t\t\t\tformData: {\r\n\t\t\t\t\tbiz: 'cert'\r\n\t\t\t\t},\r\n\t\t\t\tsuccess: (uploadFileRes) => {\r\n\t\t\t\t\treturn uploadFileRes\r\n\t\t\t\t\t\t\t\t console.log('ossurl:',uploadFileRes.data);\r\n\t\t\t\t},\r\n\t\t\t\tfail:(err)=>{\r\n\t\t\t\t\tconsole.log(err)\r\n\t\t\t\t}\r\n\t\t\t});\n}\r\n\r\n\r\n\r\nexport const getOrderList = () => {\n\treturn request(`/contract/miniapp/order/list`, 'POST')\n}\r\n\r\n\r\n\r\nexport const getChildListBatch = () => {\n\treturn request(`/contract/miniapp/car/rootList`, 'GET')\n}\r\n\r\n\r\n\r\n\r\nexport const add = (appOrderCarList) => {\n\treturn request(`/contract/miniapp/order/add`, 'POST',appOrderCarList)\n}\r\n\r\n\r\n\r\nexport const list = (params) => {\n\treturn request(`/contract/miniapp/order/list`, 'GET',params)\n}\r\n\r\n\r\n\r\n\r\nexport const carCert = (params) => {\n\treturn request(`/contract/miniapp/file/ocr/carCert`, 'GET',params,true)\n}\r\n\r\n\r\n\r\n\r\nexport const logout = () => {\n\treturn request(`/contract/miniapp/user/logout`, 'POST')\n}\r\n\r\n\n\r\n\r\nexport const addContract = (ID) => {\n\treturn request(`/contract/miniapp/order/addContract`, 'GET',ID)\n}\r\n\r\nexport const statistics = () => {\n\treturn request(`/contract/miniapp/order/statistics`, 'GET')\n}\r\n\r\n\r\nexport const getList = () => {\n\treturn request(`/contract/miniapp/car/getList`, 'GET')\n}\r\n\r\n\r\n\r\n\r\n\r\nexport const childList = (id) => {\n\treturn request(`/contract/miniapp/car/childList`, 'GET',id)\n}\r\n"],"names":["request","uni","idCardInfo"],"mappings":";;;AAKa,MAAA,QAAS,CAAC,MAAG,SAAA;AACzB,SAAOA,QAAO,QAAC,gCAAgC,QAAO,GAAG;AAC1D;AAEa,MAAA,cAAe,CAAC,MAAG,SAAA;AAC/B,SAAOA,QAAO,QAAC,+BAA+B,OAAM,GAAG;AACxD;AAIa,MAAA,UAAW,MAAA;AACvB,MAAG,CAACC,cAAG,MAAC,eAAe,OAAO,GAAE;AAC/BA,kBAAAA,MAAI,WACJ,EAAE,KAAK,qBAAsB,CAAA;AAAA,EAE7B;AACF;AAGa,MAAA,eAAgB,MAAA;AAC5B,SAAOD,gBAAQ,gCAAgC,KAAK;AACrD;AAIa,MAAA,aAAc,CAAC,UAAO,SAAA;AAClC,SAAOA,QAAO,QAAC,wCAAwC,OAAM,OAAO;AACrE;AAIa,MAAA,aAAc,CAACE,cAAU,SAAA;AACrC,SAAOF,QAAAA,QAAQ,qCAAqC,OAAME,aAAW,IAAI;AAC1E;AAoCa,MAAA,MAAO,CAAC,kBAAe,SAAA;AACnC,SAAOF,QAAO,QAAC,+BAA+B,QAAO,eAAe;AACrE;AAIa,MAAA,OAAQ,CAAC,SAAM,SAAA;AAC3B,SAAOA,QAAO,QAAC,gCAAgC,OAAM,MAAM;AAC5D;AAKa,MAAA,UAAW,CAAC,SAAM,SAAA;AAC9B,SAAOA,QAAAA,QAAQ,sCAAsC,OAAM,QAAO,IAAI;AACvE;AAKa,MAAA,SAAU,MAAA;AACtB,SAAOA,gBAAQ,iCAAiC,MAAM;AACvD;AASa,MAAA,aAAc,MAAA;AAC1B,SAAOA,gBAAQ,sCAAsC,KAAK;AAC3D;AAGa,MAAA,UAAW,MAAA;AACvB,SAAOA,gBAAQ,iCAAiC,KAAK;AACtD;AAMa,MAAA,YAAa,CAAC,KAAE,SAAA;AAC5B,SAAOA,QAAO,QAAC,mCAAmC,OAAM,EAAE;AAC3D;;;;;;;;;;;;;;"}
{"version":3,"file":"api.js","sources":["api.uts"],"sourcesContent":["import request from 'request.uts'; // 封装的request.js文件的位置\n\r\n\r\n\n// 获取用户基本信息 \nexport const login = (usr) => {\n\treturn request(`/contract/miniapp/user/login`, 'POST',usr)\n}\r\n// 获取隐私等基本信息\r\nexport const getInfoList = (usr) => {\n\treturn request(`/contract/miniapp/info/list`, 'GET',usr)\n}\r\n\r\n// 判断token状态是否存在\r\n\r\nexport const isToken = () => {\r\n\tif(!uni.getStorageSync('token')){\r\n\t\tuni.navigateTo(\r\n\t\t{ url: '/pages/index/login' }\r\n\t\t)\r\n\t}\n}\r\n\r\n\r\nexport const getStoreName = () => {\n\treturn request(`/contract/miniapp/store/list`, 'GET')\n}\n\n\r\n\r\nexport const getProduct = (product) => {\n\treturn request(`/contract/miniapp/product/categories`, 'GET',product)\n}\r\n\r\n\r\n\r\nexport const idCardInfo = (idCardInfo) => {\n\treturn request(`/contract/miniapp/file/ocr/idcard`, 'GET',idCardInfo,true)\n}\r\n\r\n\r\nexport const upload = (url) => {\n\tuni.uploadFile({\r\n\t\t\t\turl: 'https://gpt.aiym.run/contract/miniapp/file/upload', //仅为示例,非真实的接口地址\r\n\t\t\t\tfilePath: url,\r\n\t\t\t\tname: 'file',\r\n\t\t\t\tformData: {\r\n\t\t\t\t\tbiz: 'cert'\r\n\t\t\t\t},\r\n\t\t\t\tsuccess: (uploadFileRes) => {\r\n\t\t\t\t\treturn uploadFileRes\r\n\t\t\t\t\t\t\t\t console.log('ossurl:',uploadFileRes.data);\r\n\t\t\t\t},\r\n\t\t\t\tfail:(err)=>{\r\n\t\t\t\t\tconsole.log(err)\r\n\t\t\t\t}\r\n\t\t\t});\n}\r\n\r\n\r\n\r\nexport const getOrderList = () => {\n\treturn request(`/contract/miniapp/order/list`, 'POST')\n}\r\n\r\n\r\n\r\nexport const getChildListBatch = () => {\n\treturn request(`/contract/miniapp/car/rootList`, 'GET')\n}\r\n\r\n\r\n\r\n\r\nexport const add = (appOrderCarList) => {\n\treturn request(`/contract/miniapp/order/add`, 'POST',appOrderCarList)\n}\r\n\r\n\r\n\r\nexport const list = (params) => {\n\treturn request(`/contract/miniapp/order/list`, 'GET',params)\n}\r\n\r\n\r\n\r\n\r\nexport const carCert = (params) => {\n\treturn request(`/contract/miniapp/file/ocr/carCert`, 'GET',params,true)\n}\r\n\r\n\r\n\r\n\r\nexport const logout = () => {\n\treturn request(`/contract/miniapp/user/logout`, 'POST')\n}\r\n\r\n\n\r\n\r\nexport const addContract = (ID) => {\n\treturn request(`/contract/miniapp/order/addContract`, 'GET',ID)\n}\r\n\r\nexport const statistics = () => {\n\treturn request(`/contract/miniapp/order/statistics`, 'GET')\n}\r\n\r\n\r\nexport const getList = () => {\n\treturn request(`/contract/miniapp/car/getList`, 'GET')\n}\r\n\r\n\r\n\r\n\r\n\r\nexport const childList = (id) => {\n\treturn request(`/contract/miniapp/car/childList`, 'GET',id)\n}\r\n\r\n\r\n\r\nexport const queryAppOrderCarByMainId = (id) => {\n\treturn request(`/contract/miniapp/order/queryAppOrderCarByMainId`, 'GET',id)\n}\r\n\r\n\r\n\r\nexport const queryDictItemsByCode = (id) => {\n\treturn request(`/contract/miniapp/dict/queryDictItemsByCode`, 'GET',id)\n}\r\n\r\n\r\nexport const queryAppOrderFinanceByMainId = (id) => {\n\treturn request(`/contract/miniapp/order/queryAppOrderFinanceByMainId`, 'GET',id)\n}\r\n\r\n\r\nexport const queryAppOrderVoucherByMainId = (id) => {\n\treturn request(`/contract/miniapp/order/queryAppOrderVoucherByMainId`, 'GET',id)\n}"],"names":["request","uni","idCardInfo"],"mappings":";;;AAKa,MAAA,QAAS,CAAC,MAAG,SAAA;AACzB,SAAOA,QAAO,QAAC,gCAAgC,QAAO,GAAG;AAC1D;AAEa,MAAA,cAAe,CAAC,MAAG,SAAA;AAC/B,SAAOA,QAAO,QAAC,+BAA+B,OAAM,GAAG;AACxD;AAIa,MAAA,UAAW,MAAA;AACvB,MAAG,CAACC,cAAG,MAAC,eAAe,OAAO,GAAE;AAC/BA,kBAAAA,MAAI,WACJ,EAAE,KAAK,qBAAsB,CAAA;AAAA,EAE7B;AACF;AAGa,MAAA,eAAgB,MAAA;AAC5B,SAAOD,gBAAQ,gCAAgC,KAAK;AACrD;AAIa,MAAA,aAAc,CAAC,UAAO,SAAA;AAClC,SAAOA,QAAO,QAAC,wCAAwC,OAAM,OAAO;AACrE;AAIa,MAAA,aAAc,CAACE,cAAU,SAAA;AACrC,SAAOF,QAAAA,QAAQ,qCAAqC,OAAME,aAAW,IAAI;AAC1E;AAoCa,MAAA,MAAO,CAAC,kBAAe,SAAA;AACnC,SAAOF,QAAO,QAAC,+BAA+B,QAAO,eAAe;AACrE;AAIa,MAAA,OAAQ,CAAC,SAAM,SAAA;AAC3B,SAAOA,QAAO,QAAC,gCAAgC,OAAM,MAAM;AAC5D;AAKa,MAAA,UAAW,CAAC,SAAM,SAAA;AAC9B,SAAOA,QAAAA,QAAQ,sCAAsC,OAAM,QAAO,IAAI;AACvE;AAKa,MAAA,SAAU,MAAA;AACtB,SAAOA,gBAAQ,iCAAiC,MAAM;AACvD;AASa,MAAA,aAAc,MAAA;AAC1B,SAAOA,gBAAQ,sCAAsC,KAAK;AAC3D;AAGa,MAAA,UAAW,MAAA;AACvB,SAAOA,gBAAQ,iCAAiC,KAAK;AACtD;AAMa,MAAA,YAAa,CAAC,KAAE,SAAA;AAC5B,SAAOA,QAAO,QAAC,mCAAmC,OAAM,EAAE;AAC3D;AAIa,MAAA,2BAA4B,CAAC,KAAE,SAAA;AAC3C,SAAOA,QAAO,QAAC,oDAAoD,OAAM,EAAE;AAC5E;AAIa,MAAA,uBAAwB,CAAC,KAAE,SAAA;AACvC,SAAOA,QAAO,QAAC,+CAA+C,OAAM,EAAE;AACvE;AAGa,MAAA,+BAAgC,CAAC,KAAE,SAAA;AAC/C,SAAOA,QAAO,QAAC,wDAAwD,OAAM,EAAE;AAChF;AAGa,MAAA,+BAAgC,CAAC,KAAE,SAAA;AAC/C,SAAOA,QAAO,QAAC,wDAAwD,OAAM,EAAE;AAChF;;;;;;;;;;;;;;;;;;"}

+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map View File

@ -1 +1 @@
{"version":3,"file":"app.js","sources":["App.uvue"],"sourcesContent":["<script lang=\"uts\">\r\n\tlet firstBackTime = 0\r\n\texport default {\r\n\t\tusrInfo:{},\r\n\t\tallMsg:[],\r\n\t\tinfoList:[],\r\n\t\tproductName:\"\",\r\n\t\tproductUrl:'',\r\n\t\tstoreName:'',\r\n\t\tdealerAddress:'',\r\n\t\tpid:'',\r\n\t\tpid_1:'',\r\n\t\tcertFront:'',\r\n\t\tcarPic:'',\r\n\t\tcertBack:'',\r\n\t\tonLaunch: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:17','App Launch')\r\n\t\t},\r\n\t\tonShow: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:20','App Show')\r\n\t\t},\r\n\t\tonHide: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:23','App Hide')\r\n\t\t},\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t\tonExit: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:44','App Exit')\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t@import \"@/static/iconfont.css\";\r\n\t@import \"css/header.css\";\r\n\t/*每个页面公共css */\r\n\tbody{\r\n\t\tbackground-color: #ffffff;\r\n\t}\r\n\t\r\n\tbody {\r\n\t\t font-family: Arial, sans-serif;\r\n\t\t margin: 0;\r\n\t\t padding: 0;\r\n\t}\r\n\tbody::-webkit-scrollbar {\r\n display: none;\r\n}\r\n\t @media only screen and (-webkit-min-device-pixel-ratio:2),(min-device-pixel-ratio:2){\r\n\t .uni-hairline{\r\n\t border-width: 0.5px !important;\r\n\t }\r\n\t .uni-nbfc {\r\n\t background-color: transparent !important;\r\n\t }\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 320px) {\r\n\t html {font-size: 14px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 360px) {\r\n\t html {font-size: 16px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 400px) {\r\n\t html {font-size: 18px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 440px) {\r\n\t html {font-size: 20px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 480px) {\r\n\t html {font-size: 22px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 640px) {\r\n\t html {font-size: 28px;}\r\n\t }\r\n\r\n</style>"],"names":["defineComponent","uni"],"mappings":";;;;;;;;;;;;;;AAEC,MAAA,YAAeA,8BAAA;AAAA,EACd,SAAQ,CAAE;AAAA,EACV,QAAO,CAAE;AAAA,EACT,UAAS,CAAE;AAAA,EACX,aAAY;AAAA,EACZ,YAAW;AAAA,EACX,WAAU;AAAA,EACV,eAAc;AAAA,EACd,KAAI;AAAA,EACJ,OAAM;AAAA,EACN,WAAU;AAAA,EACV,QAAO;AAAA,EACP,UAAS;AAAA,EACT,UAAU,WAAA;AACTC,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,YAAY;AAAA,EAC7C;AAAA,EACD,QAAQ,WAAA;AACPA,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,UAAU;AAAA,EAC3C;AAAA,EACD,QAAQ,WAAA;AACPA,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,UAAU;AAAA,EAC3C;AAAA,EAmBD,QAAQ,WAAA;AACPA,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,UAAU;AAAA,EAC3C;CACF;;;;;;;;;"}
{"version":3,"file":"app.js","sources":["App.uvue"],"sourcesContent":["<script lang=\"uts\">\r\n\tlet firstBackTime = 0\r\n\texport default {\r\n\t\tusrInfo:{},\r\n\t\tallMsg:[],\r\n\t\tinfoList:[],\r\n\t\tproductName:\"\",\r\n\t\tproductUrl:'',\r\n\t\tstoreName:'',\r\n\t\tdealerAddress:'',\r\n\t\tpid:'',\r\n\t\tpid_1:'',\r\n\t\torderCount:'',\r\n\t\tcertFront:'',\r\n\t\tcarPic:'',\r\n\t\tcertBack:'',\r\n\t\tid:'',\r\n\t\tflag:0,\r\n\t\tonLaunch: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:20','App Launch')\r\n\t\t},\r\n\t\tonShow: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:23','App Show')\r\n\t\t},\r\n\t\tonHide: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:26','App Hide')\r\n\t\t},\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t\tonExit: function () {\r\n\t\t\tuni.__f__('log','at App.uvue:47','App Exit')\r\n\t\t},\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t@import \"@/static/iconfont.css\";\r\n\t@import \"css/header.css\";\r\n\t/*每个页面公共css */\r\n\tbody{\r\n\t\tbackground-color: #ffffff;\r\n\t}\r\n\t\r\n\tbody {\r\n\t\t font-family: Arial, sans-serif;\r\n\t\t margin: 0;\r\n\t\t padding: 0;\r\n\t}\r\n\tbody::-webkit-scrollbar {\r\n display: none;\r\n}\r\n\t @media only screen and (-webkit-min-device-pixel-ratio:2),(min-device-pixel-ratio:2){\r\n\t .uni-hairline{\r\n\t border-width: 0.5px !important;\r\n\t }\r\n\t .uni-nbfc {\r\n\t background-color: transparent !important;\r\n\t }\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 320px) {\r\n\t html {font-size: 14px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 360px) {\r\n\t html {font-size: 16px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 400px) {\r\n\t html {font-size: 18px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 440px) {\r\n\t html {font-size: 20px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 480px) {\r\n\t html {font-size: 22px;}\r\n\t }\r\n\t \r\n\t @media screen and (min-width: 640px) {\r\n\t html {font-size: 28px;}\r\n\t }\r\n\r\n</style>"],"names":["defineComponent","uni"],"mappings":";;;;;;;;;;;;;;;;;AAEC,MAAA,YAAeA,8BAAA;AAAA,EACd,SAAQ,CAAE;AAAA,EACV,QAAO,CAAE;AAAA,EACT,UAAS,CAAE;AAAA,EACX,aAAY;AAAA,EACZ,YAAW;AAAA,EACX,WAAU;AAAA,EACV,eAAc;AAAA,EACd,KAAI;AAAA,EACJ,OAAM;AAAA,EACN,YAAW;AAAA,EACX,WAAU;AAAA,EACV,QAAO;AAAA,EACP,UAAS;AAAA,EACT,IAAG;AAAA,EACH,MAAK;AAAA,EACL,UAAU,WAAA;AACTC,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,YAAY;AAAA,EAC7C;AAAA,EACD,QAAQ,WAAA;AACPA,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,UAAU;AAAA,EAC3C;AAAA,EACD,QAAQ,WAAA;AACPA,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,UAAU;AAAA,EAC3C;AAAA,EAmBD,QAAQ,WAAA;AACPA,kBAAAA,MAAI,MAAM,OAAM,kBAAiB,UAAU;AAAA,EAC3C;CACF;;;;;;;;;"}

+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/home.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
- 0
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/PayPal_pinpai.js.map
File diff suppressed because it is too large
View File


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


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


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


+ 1
- 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/views/car.js.map View File

@ -1 +1 @@
{"version":3,"file":"car.js","sources":["pages/views/car.uvue","D:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvdmlld3MvY2FyLnV2dWU"],"sourcesContent":["<template>\n\t<view class=\"container\">\r\n\t\t<view class=\"header_infos\">\r\n\t\t\t<view class=\"header_info_left\" @click=\"getBack\">\r\n\t\t\t\t<uni-icons type=\"left\" size=\"30\">\r\n\t\t\t\t</uni-icons>\r\n\t\t\t</view>\r\n\t\t\t<text class=\"header_info_right\">\r\n\t\t\t\t选择型号\r\n\t\t\t</text>\r\n\t\t</view>\r\n\t\t\r\n\t\t<view class=\"contents\">\r\n\t\t<scroll-view scroll-y=\"true\" class=\"scroll-view\" :scroll-into-view=\"currentIndex\">\r\n\t\t\t<view class=\"content\" v-for=\"(item, index) in list\" :key=\"index\" @click=\"getName(item.name)\">\r\n\t\t\t\t<text class=\"content-left\">\r\n\t\t\t\t\t{{item.name}}\r\n\t\t\t\t</text>\r\n\t\t\t\t<uni-icons class=\"content-right\" type=\"right\" color=\"#c0c0c0\"></uni-icons>\r\n\t\t\t</view>\r\n\t\t\t</scroll-view>\r\n\t\t</view>\n\t\t\n\t</view>\n</template>\n\n<script lang=\"uts\">\r\n\timport {childList} from '@/api.uts'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tlist:[],\r\n\t\t\t\tcurrentIndex: '',\r\n\t\t\t\tclientInfo:{},\r\n\t\t\t\tcertFront:'',\r\n\t\t\t\tcarPic:'',\r\n\t\t\t\tcertBack:'',\n\t\t\t}\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tthis.clientInfo = JSON.parse(decodeURIComponent(options.clientInfo));\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tchildList({pid:getApp().pid_1}).then((res)=>{\r\n\t\t\t\tthis.list =res.result.records\r\n\t\t\t})\r\n\t\t},\n\t\tmethods: {\n\t\t\tgetBack(){\r\n\t\t\t\tuni.navigateBack(\r\n\t\t\t\t{delta:1}\r\n\t\t\t\t)\r\n\t\t\t},\r\n\t\t\tgetName(name){\r\n\t\t\t\tthis.clientInfo.appOrderCarList[0].carSeries = this.clientInfo.appOrderCarList[0].carSeries + name;\r\n\t\t\t\tuni.__f__('log','at pages/views/car.uvue:56','3',this.clientInfo.appOrderCarList[0].carSeries);\r\n\t\t\t\tuni.navigateTo (\r\n\t\t\t\t{url:'/pages/index/PayPal?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))}\r\n\t\t\t\t)\r\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style scss>\r\n.container-info{\r\n\theight: ;\r\n}\r\n\t\r\n.header_infos{\r\n\theight: 10%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\talign-items: center;\r\n\tbackground-color: #f8f8f8;\r\n}\r\n.header_info_right{\r\n\twidth: 80%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tleft: 35%;\r\n}\r\n\r\n.contents{\r\n\theight: 100%;\r\n\twidth: 100%;\r\n}\r\n\r\n.scroll-view {\n flex: 1;\n height: 100%;\r\n /* margin-top: 10%; */\r\n background-color: #ffffff;\n}\r\n.content{\r\n\theight: 5%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-bottom: 0.01rem solid #e0e0e0;\r\n\t/* height: 15%; */\r\n}\r\n.content-left{\r\n\t font-size: 0.8rem;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n}\r\n.content-right{\r\n\tmargin-left: auto;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n}\r\n\n</style>","import MiniProgramPage from 'C:/Users/lj/Desktop/121/contract-front/111/pages/views/car.uvue'\nwx.createPage(MiniProgramPage)"],"names":["defineComponent","childList","uni"],"mappings":";;;AA4BC,MAAA,YAAeA,8BAAA;AAAA,EACd,OAAI;AACH,WAAO;AAAA,MACN,MAAK,CAAE;AAAA,MACP,cAAc;AAAA,MACd,YAAU,IAAA,cAAC,EAAE;AAAA,MACb,WAAU;AAAA,MACV,QAAO;AAAA,MACP,UAAS;AAAA;EAEV;AAAA,EACD,OAAO,SAAO;AACb,SAAK,aAAa,IAAA,KAAK,MAAM,mBAAmB,QAAQ,UAAU,CAAC;AAAA,EACnE;AAAA,EACD,UAAO;AACNC,QAAAA,UAAU,IAAA,cAAA,EAAC,KAAI,OAAQ,EAAC,MAAM,CAAA,GAAE,KAAK,CAAC,MAAG,SAAA;AACxC,WAAK,OAAM,IAAI,OAAO;AAAA,IACvB,CAAC;AAAA,EACD;AAAA,EACD,SAAS;AAAA,IACR,UAAO;AACNC,oBAAAA,MAAI,aACJ,EAAC,OAAM,EAAC,CAAA;AAAA,IAER;AAAA,IACD,QAAQ,OAAI,MAAA;AACX,WAAK,WAAW,gBAAgB,CAAC,EAAE,YAAa,KAAK,WAAW,gBAAgB,CAAC,EAAE,YAAY;AAC/FA,oBAAAA,MAAI,MAAM,OAAM,8BAA6B,KAAI,KAAK,WAAW,gBAAgB,CAAC,EAAE,SAAS;AAC7FA,oBAAAA,MAAI,WACJ,EAAC,KAAI,oCAAmC,mBAAmB,SAAK,UAAU,KAAK,UAAU,CAAC,EAAC,CAAA;AAAA,IAE5F;AAAA,EACD;CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC5DD,GAAG,WAAW,eAAe;"}
{"version":3,"file":"car.js","sources":["pages/views/car.uvue","D:/Program Files/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvdmlld3MvY2FyLnV2dWU"],"sourcesContent":["<template>\n\t<view class=\"container\">\r\n\t\t<view class=\"header_infos\">\r\n\t\t\t<view class=\"header_info_left\" @click=\"getBack\">\r\n\t\t\t\t<uni-icons type=\"left\" size=\"30\">\r\n\t\t\t\t</uni-icons>\r\n\t\t\t</view>\r\n\t\t\t<text class=\"header_info_right\">\r\n\t\t\t\t选择型号\r\n\t\t\t</text>\r\n\t\t</view>\r\n\t\t\r\n\t\t<view class=\"contents\">\r\n\t\t<scroll-view scroll-y=\"true\" class=\"scroll-view\" :scroll-into-view=\"currentIndex\">\r\n\t\t\t<view class=\"content\" v-for=\"(item, index) in list\" :key=\"index\" @click=\"getName(item.name)\">\r\n\t\t\t\t<text class=\"content-left\">\r\n\t\t\t\t\t{{item.name}}\r\n\t\t\t\t</text>\r\n\t\t\t\t<uni-icons class=\"content-right\" type=\"right\" color=\"#c0c0c0\"></uni-icons>\r\n\t\t\t</view>\r\n\t\t\t</scroll-view>\r\n\t\t</view>\n\t\t\n\t</view>\n</template>\n\n<script lang=\"uts\">\r\n\timport {childList} from '@/api.uts'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tlist:[],\r\n\t\t\t\tcurrentIndex: '',\r\n\t\t\t\tclientInfo:{},\r\n\t\t\t\tcertFront:'',\r\n\t\t\t\tcarPic:'',\r\n\t\t\t\tcertBack:'',\n\t\t\t}\n\t\t},\r\n\t\tonLoad(options) {\r\n\t\t\tthis.clientInfo = JSON.parse(decodeURIComponent(options.clientInfo));\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\tchildList({pid:getApp().pid_1}).then((res)=>{\r\n\t\t\t\tthis.list =res.result.records\r\n\t\t\t})\r\n\t\t},\n\t\tmethods: {\n\t\t\tgetBack(){\r\n\t\t\t\tuni.navigateBack(\r\n\t\t\t\t{delta:1}\r\n\t\t\t\t)\r\n\t\t\t},\r\n\t\t\tgetName(name){\r\n\t\t\t\tthis.clientInfo.appOrderCarList[0].carSeries = this.clientInfo.appOrderCarList[0].carSeries + name;\r\n\t\t\t\tuni.__f__('log','at pages/views/car.uvue:56','3',this.clientInfo.appOrderCarList[0].carSeries);\r\n\t\t\t\tif(getApp().flag != 1){\r\n\t\t\t\t\tuni.redirectTo (\r\n\t\t\t\t\t{url:'/pages/index/PayPal?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))}\r\n\t\t\t\t\t)\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.redirectTo (\r\n\t\t\t\t\t{url:'/pages/index/PayPal_pinpai?clientInfo='+ encodeURIComponent(JSON.stringify(this.clientInfo))}\r\n\t\t\t\t\t)\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style scss>\r\n.container-info{\r\n\theight: ;\r\n}\r\n\t\r\n.header_infos{\r\n\theight: 10%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\talign-items: center;\r\n\tbackground-color: #f8f8f8;\r\n}\r\n.header_info_right{\r\n\twidth: 80%;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tleft: 35%;\r\n}\r\n\r\n.contents{\r\n\theight: 100%;\r\n\twidth: 100%;\r\n}\r\n\r\n.scroll-view {\n flex: 1;\n height: 100%;\r\n /* margin-top: 10%; */\r\n background-color: #ffffff;\n}\r\n.content{\r\n\theight: 5%;\r\n\tdisplay: flex;\r\n\tflex-direction: row;\r\n\tborder-bottom: 0.01rem solid #e0e0e0;\r\n\t/* height: 15%; */\r\n}\r\n.content-left{\r\n\t font-size: 0.8rem;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n}\r\n.content-right{\r\n\tmargin-left: auto;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n}\r\n\n</style>","import MiniProgramPage from 'C:/Users/lj/Desktop/121/contract-front/111/pages/views/car.uvue'\nwx.createPage(MiniProgramPage)"],"names":["defineComponent","childList","uni"],"mappings":";;;AA4BC,MAAA,YAAeA,8BAAA;AAAA,EACd,OAAI;AACH,WAAO;AAAA,MACN,MAAK,CAAE;AAAA,MACP,cAAc;AAAA,MACd,YAAU,IAAA,cAAC,EAAE;AAAA,MACb,WAAU;AAAA,MACV,QAAO;AAAA,MACP,UAAS;AAAA;EAEV;AAAA,EACD,OAAO,SAAO;AACb,SAAK,aAAa,IAAA,KAAK,MAAM,mBAAmB,QAAQ,UAAU,CAAC;AAAA,EACnE;AAAA,EACD,UAAO;AACNC,QAAAA,UAAU,IAAA,cAAA,EAAC,KAAI,OAAQ,EAAC,MAAM,CAAA,GAAE,KAAK,CAAC,MAAG,SAAA;AACxC,WAAK,OAAM,IAAI,OAAO;AAAA,IACvB,CAAC;AAAA,EACD;AAAA,EACD,SAAS;AAAA,IACR,UAAO;AACNC,oBAAAA,MAAI,aACJ,EAAC,OAAM,EAAC,CAAA;AAAA,IAER;AAAA,IACD,QAAQ,OAAI,MAAA;AACX,WAAK,WAAW,gBAAgB,CAAC,EAAE,YAAa,KAAK,WAAW,gBAAgB,CAAC,EAAE,YAAY;AAC/FA,oBAAAA,MAAI,MAAM,OAAM,8BAA6B,KAAI,KAAK,WAAW,gBAAgB,CAAC,EAAE,SAAS;AAC7F,UAAG,OAAM,EAAG,QAAQ,GAAE;AACrBA,sBAAAA,MAAI,WACJ,EAAC,KAAI,oCAAmC,mBAAmB,SAAK,UAAU,KAAK,UAAU,CAAC,EAAC,CAAA;AAAA,MAE3F,OAAI;AACJA,sBAAAA,MAAI,WACJ,EAAC,KAAI,2CAA0C,mBAAmB,SAAK,UAAU,KAAK,UAAU,CAAC,EAAC,CAAA;AAAA,MAEnG;AAAA,IAED;AAAA,EACD;CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnED,GAAG,WAAW,eAAe;"}

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


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


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


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


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


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/3f5c8317f89ea864e4fc8f633d806e0101913bdd View File

@ -0,0 +1 @@
{"code":"import {} from \"vue\";\nlet firstBackTime = 0;\nexport default defineComponent({\n usrInfo: {},\n allMsg: [],\n infoList: [],\n productName: \"\",\n productUrl: '',\n storeName: '',\n dealerAddress: '',\n pid: '',\n pid_1: '',\n orderCount: '',\n certFront: '',\n carPic: '',\n certBack: '',\n id: '',\n flag: 0,\n onLaunch: function () {\n uni.__f__('log', 'at App.uvue:20', 'App Launch');\n },\n onShow: function () {\n uni.__f__('log', 'at App.uvue:23', 'App Show');\n },\n onHide: function () {\n uni.__f__('log', 'at App.uvue:26', 'App Hide');\n },\n onExit: function () {\n uni.__f__('log', 'at App.uvue:47', 'App Exit');\n },\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/App.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.__f__"],"map":"{\"version\":3,\"file\":\"App.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"App.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,IAAI,aAAa,GAAG,CAAC,CAAA;AACrB,+BAAe;IACd,OAAO,EAAC,EAAE;IACV,MAAM,EAAC,EAAE;IACT,QAAQ,EAAC,EAAE;IACX,WAAW,EAAC,EAAE;IACd,UAAU,EAAC,EAAE;IACb,SAAS,EAAC,EAAE;IACZ,aAAa,EAAC,EAAE;IAChB,GAAG,EAAC,EAAE;IACN,KAAK,EAAC,EAAE;IACR,UAAU,EAAC,EAAE;IACb,SAAS,EAAC,EAAE;IACZ,MAAM,EAAC,EAAE;IACT,QAAQ,EAAC,EAAE;IACX,EAAE,EAAC,EAAE;IACL,IAAI,EAAC,CAAC;IACN,QAAQ,EAAE;QACT,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,YAAY,CAAC,CAAA;IAC/C,CAAC;IACD,MAAM,EAAE;QACP,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,UAAU,CAAC,CAAA;IAC7C,CAAC;IACD,MAAM,EAAE;QACP,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,UAAU,CAAC,CAAA;IAC7C,CAAC;IAmBD,MAAM,EAAE;QACP,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,UAAU,CAAC,CAAA;IAC7C,CAAC;CACD,EAAA\"}"}

+ 1
- 0
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/5b013d7282400ec6b3805c1006894f209eff6d8e
File diff suppressed because it is too large
View File


+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/5b43e5c4d2656216b3c77a0dfafba1e3553e8533 View File

@ -1 +0,0 @@
{"code":"import {} from \"vue\";\nlet firstBackTime = 0;\nexport default defineComponent({\n usrInfo: {},\n allMsg: [],\n infoList: [],\n productName: \"\",\n productUrl: '',\n storeName: '',\n dealerAddress: '',\n pid: '',\n pid_1: '',\n certFront: '',\n carPic: '',\n certBack: '',\n onLaunch: function () {\n uni.__f__('log', 'at App.uvue:17', 'App Launch');\n },\n onShow: function () {\n uni.__f__('log', 'at App.uvue:20', 'App Show');\n },\n onHide: function () {\n uni.__f__('log', 'at App.uvue:23', 'App Hide');\n },\n onExit: function () {\n uni.__f__('log', 'at App.uvue:44', 'App Exit');\n },\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/App.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.__f__"],"map":"{\"version\":3,\"file\":\"App.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"App.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,IAAI,aAAa,GAAG,CAAC,CAAA;AACrB,+BAAe;IACd,OAAO,EAAC,EAAE;IACV,MAAM,EAAC,EAAE;IACT,QAAQ,EAAC,EAAE;IACX,WAAW,EAAC,EAAE;IACd,UAAU,EAAC,EAAE;IACb,SAAS,EAAC,EAAE;IACZ,aAAa,EAAC,EAAE;IAChB,GAAG,EAAC,EAAE;IACN,KAAK,EAAC,EAAE;IACR,SAAS,EAAC,EAAE;IACZ,MAAM,EAAC,EAAE;IACT,QAAQ,EAAC,EAAE;IACX,QAAQ,EAAE;QACT,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,YAAY,CAAC,CAAA;IAC/C,CAAC;IACD,MAAM,EAAE;QACP,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,UAAU,CAAC,CAAA;IAC7C,CAAC;IACD,MAAM,EAAE;QACP,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,UAAU,CAAC,CAAA;IAC7C,CAAC;IAmBD,MAAM,EAAE;QACP,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,gBAAgB,EAAC,UAAU,CAAC,CAAA;IAC7C,CAAC;CACD,EAAA\"}"}

+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/5c53960a95089c4040f7caedc80484247101ab94 View File

@ -1 +0,0 @@
{"code":"import { defineComponent } from \"vue\";\nimport { childList } from \"@/api\";\nexport default defineComponent({\n data() {\n return {\n list: [],\n currentIndex: '',\n clientInfo: new UTSJSONObject({}),\n certFront: '',\n carPic: '',\n certBack: '',\n };\n },\n onLoad(options) {\n this.clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));\n uni.__f__('log', 'at pages/views/carTwo.uvue:42', this.clientInfo.appOrderCarList[0].carSeries);\n },\n mounted() {\n childList(new UTSJSONObject({ pid: getApp().pid })).then((res = null) => {\n this.list = res.result.records;\n });\n },\n methods: {\n getBack() {\n uni.__f__('log', 'at pages/views/carTwo.uvue:51', 1);\n uni.navigateBack({ delta: 1 });\n },\n getPid(id = null, name = null) {\n this.clientInfo.appOrderCarList[0].carSeries = this.clientInfo.appOrderCarList[0].carSeries + name;\n childList(new UTSJSONObject({ pid: id })).then((res = null) => {\n if (res.result.records.length == 0) {\n uni.navigateTo({ url: '/pages/index/PayPal?clientInfo=' + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))\n });\n }\n else {\n getApp().pid_1 = id;\n uni.navigateTo({ url: '/pages/views/car?clientInfo=' + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))\n });\n }\n });\n }\n }\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/pages/views/carTwo.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.__f__","uni.navigateBack","uni.navigateTo"],"map":"{\"version\":3,\"file\":\"carTwo.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"carTwo.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,OAAO,EAAC,SAAS,EAAC,cAAiB;AACnC,+BAAe;IACd,IAAI;QACH,OAAO;YACN,IAAI,EAAC,EAAE;YACP,YAAY,EAAE,EAAE;YAChB,UAAU,oBAAC,EAAE,CAAA;YACb,SAAS,EAAC,EAAE;YACZ,MAAM,EAAC,EAAE;YACT,QAAQ,EAAC,EAAE;SACX,CAAA;IACF,CAAC;IACD,MAAM,CAAC,OAAO;QACb,IAAI,CAAC,UAAU,GAAG,SAAK,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;QACrE,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,+BAA+B,EAAC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/F,CAAC;IACD,OAAO;QACN,SAAS,mBAAC,EAAC,GAAG,EAAC,MAAM,EAAE,CAAC,GAAG,EAAC,EAAC,CAAC,IAAI,CAAC,CAAC,GAAG,OAAA;YACtC,IAAI,CAAC,IAAI,GAAE,GAAG,CAAC,MAAM,CAAC,OAAO,CAAA;QAC9B,CAAC,CAAC,CAAA;IACH,CAAC;IACD,OAAO,EAAE;QACR,OAAO;YACN,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,+BAA+B,EAAC,CAAC,CAAC,CAAA;YAClD,GAAG,CAAC,YAAY,CAChB,EAAC,KAAK,EAAC,CAAC,EAAC,CACR,CAAA;QACF,CAAC;QACD,MAAM,CAAC,EAAE,OAAA,EAAC,IAAI,OAAA;YACb,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,GAAI,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;YACpG,SAAS,mBAAC,EAAC,GAAG,EAAC,EAAE,EAAC,EAAC,CAAC,IAAI,CAAC,CAAC,GAAG,OAAA;gBAC5B,IAAG,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,EAAC;oBACjC,GAAG,CAAC,UAAU,CACd,EAAC,GAAG,EAAC,iCAAiC,GAAE,kBAAkB,CAAC,SAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;qBAC1F,CACA,CAAA;iBACD;qBAAI;oBACJ,MAAM,EAAE,CAAC,KAAK,GAAG,EAAE,CAAC;oBACpB,GAAG,CAAC,UAAU,CACd,EAAC,GAAG,EAAC,8BAA8B,GAAE,kBAAkB,CAAC,SAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;qBACvF,CACA,CAAA;iBACD;YACF,CAAC,CAAC,CAAA;QACH,CAAC;KACD;CACD,EAAA\"}"}

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


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


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/66cb5d4494ce71d13ef72f914e2b20b8e410643f View File

@ -0,0 +1 @@
{"code":"import { defineComponent } from \"vue\";\nimport { childList } from \"@/api\";\nexport default defineComponent({\n data() {\n return {\n list: [],\n currentIndex: '',\n clientInfo: new UTSJSONObject({}),\n certFront: '',\n carPic: '',\n certBack: '',\n };\n },\n onLoad(options) {\n this.clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));\n uni.__f__('log', 'at pages/views/carTwo.uvue:42', this.clientInfo.appOrderCarList[0].carSeries);\n },\n mounted() {\n childList(new UTSJSONObject({ pid: getApp().pid })).then((res = null) => {\n this.list = res.result.records;\n });\n },\n methods: {\n getBack() {\n uni.navigateBack({ delta: 1 });\n },\n getPid(id = null, name = null) {\n this.clientInfo.appOrderCarList[0].carSeries = this.clientInfo.appOrderCarList[0].carSeries + name;\n childList(new UTSJSONObject({ pid: id })).then((res = null) => {\n if (res.result.records.length == 0) {\n if (this.pagesCount >= 10) {\n // 使用重定向跳转页面\n uni.redirectTo({ url: '/pages/index/PayPal?clientInfo=' + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))\n });\n }\n else {\n uni.navigateTo({ url: '/pages/index/PayPal?clientInfo=' + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))\n });\n }\n }\n else {\n getApp().pid = id;\n if (this.pagesCount >= 10) {\n // 使用重定向跳转页面\n uni.redirectTo({ url: '/pages/views/carFinal?clientInfo=' + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))\n });\n }\n else {\n uni.navigateTo({ url: '/pages/views/carFinal?clientInfo=' + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))\n });\n }\n }\n });\n }\n }\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/pages/views/carTwo.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.__f__","uni.navigateBack","uni.redirectTo","uni.navigateTo"],"map":"{\"version\":3,\"file\":\"carTwo.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"carTwo.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,OAAO,EAAC,SAAS,EAAC,cAAiB;AACnC,+BAAe;IACd,IAAI;QACH,OAAO;YACN,IAAI,EAAC,EAAE;YACP,YAAY,EAAE,EAAE;YAChB,UAAU,oBAAC,EAAE,CAAA;YACb,SAAS,EAAC,EAAE;YACZ,MAAM,EAAC,EAAE;YACT,QAAQ,EAAC,EAAE;SACX,CAAA;IACF,CAAC;IACD,MAAM,CAAC,OAAO;QACb,IAAI,CAAC,UAAU,GAAG,SAAK,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;QACrE,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,+BAA+B,EAAC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/F,CAAC;IACD,OAAO;QACN,SAAS,mBAAC,EAAC,GAAG,EAAC,MAAM,EAAE,CAAC,GAAG,EAAC,EAAC,CAAC,IAAI,CAAC,CAAC,GAAG,OAAA;YACtC,IAAI,CAAC,IAAI,GAAE,GAAG,CAAC,MAAM,CAAC,OAAO,CAAA;QAC9B,CAAC,CAAC,CAAA;IACH,CAAC;IACD,OAAO,EAAE;QACR,OAAO;YACP,GAAG,CAAC,YAAY,CAChB,EAAC,KAAK,EAAC,CAAC,EAAC,CACR,CAAA;QACD,CAAC;QACD,MAAM,CAAC,EAAE,OAAA,EAAC,IAAI,OAAA;YACb,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,GAAI,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;YACpG,SAAS,mBAAC,EAAC,GAAG,EAAC,EAAE,EAAC,EAAC,CAAC,IAAI,CAAC,CAAC,GAAG,OAAA;gBAC5B,IAAG,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,CAAC,EAAC;oBACjC,IAAG,IAAI,CAAC,UAAU,IAAI,EAAE,EAAC;wBACnB,YAAY;wBACZ,GAAG,CAAC,UAAU,CACd,EAAC,GAAG,EAAC,iCAAiC,GAAE,kBAAkB,CAAC,SAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;yBAC1F,CAAC,CAAA;qBACF;yBAAI;wBACR,GAAG,CAAC,UAAU,CACd,EAAC,GAAG,EAAC,iCAAiC,GAAE,kBAAkB,CAAC,SAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;yBAC1F,CAAC,CAAA;qBACH;iBACD;qBAAI;oBACJ,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC;oBAClB,IAAG,IAAI,CAAC,UAAU,IAAI,EAAE,EAAC;wBACnB,YAAY;wBACZ,GAAG,CAAC,UAAU,CACd,EAAC,GAAG,EAAC,mCAAmC,GAAE,kBAAkB,CAAC,SAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;yBAC5F,CAAC,CAAA;qBACF;yBAAI;wBACR,GAAG,CAAC,UAAU,CACd,EAAC,GAAG,EAAC,mCAAmC,GAAE,kBAAkB,CAAC,SAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;yBAC5F,CAAC,CAAA;qBACH;iBACD;YACF,CAAC,CAAC,CAAA;QACH,CAAC;KACD;CACD,EAAA\"}"}

+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/7c5c9bc1d8f5f3d1ccc69d6c58eaaabf981f00b2 View File

@ -1 +0,0 @@
{"code":"import { defineComponent } from \"vue\";\nimport { getList, childList } from \"@/api\";\nimport transformBrands from \"@/js/airport\";\nexport default defineComponent({\n data() {\n return {\n currentIndex: '',\n letter: \"\",\n clientInfo: new UTSJSONObject({}),\n indexList: [],\n certFront: '',\n carPic: '',\n certBack: '',\n };\n },\n onLoad(options) {\n this.clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));\n uni.__f__('log', 'at pages/views/carOne.uvue:52', this.clientInfo.appOrderCarList[0].carSeries);\n },\n mounted() {\n getList().then((res = null) => {\n let list = transformBrands(res.result);\n this.indexList = list;\n });\n },\n methods: {\n scrollToIndex(letter = null) {\n this.letter = letter;\n this.currentIndex = letter;\n },\n getID(id = null, name = null) {\n this.clientInfo.appOrderCarList[0].carSeries = name;\n uni.__f__('log', 'at pages/views/carOne.uvue:68', '1', this.clientInfo.appOrderCarList[0].carSeries);\n childList(new UTSJSONObject({ pid: id })).then((res = null) => {\n getApp().pid = res.result.records[0].id;\n uni.navigateTo({ url: '/pages/views/carTwo?clientInfo=' + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))\n });\n });\n },\n getBack() {\n uni.__f__('log', 'at pages/views/carOne.uvue:78', 1);\n uni.navigateBack({ delta: 1 });\n }\n }\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/pages/views/carOne.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.__f__","uni.navigateTo","uni.navigateBack"],"map":"{\"version\":3,\"file\":\"carOne.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"carOne.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,cAAiB;AAC3C,OAAO,eAAe,qBAAwB;AAC/C,+BAAe;IACb,IAAI;QACF,OAAO;YACL,YAAY,EAAE,EAAE;YACnB,MAAM,EAAC,EAAE;YACT,UAAU,oBAAC,EAAE,CAAA;YACV,SAAS,EAAE,EAAE;YAChB,SAAS,EAAC,EAAE;YACZ,MAAM,EAAC,EAAE;YACT,QAAQ,EAAC,EAAE;SACT,CAAC;IACJ,CAAC;IACD,MAAM,CAAC,OAAO;QACb,IAAI,CAAC,UAAU,GAAG,SAAK,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;QACrE,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,+BAA+B,EAAC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/F,CAAC;IACD,OAAO;QAEN,OAAO,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,OAAA;YACpB,IAAI,IAAI,GAAI,eAAe,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;YACvC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,CAAC,CAAC,CAAA;IACF,CAAC;IACD,OAAO,EAAE;QACP,aAAa,CAAC,MAAM,OAAA;YACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;YAChB,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC;QAC7B,CAAC;QACJ,KAAK,CAAC,EAAE,OAAA,EAAC,IAAI,OAAA;YACZ,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,GAAI,IAAI,CAAC;YACrD,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,+BAA+B,EAAC,GAAG,EAAC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAE,CAAC;YACnG,SAAS,mBAAC,EAAC,GAAG,EAAC,EAAE,EAAC,EAAC,CAAC,IAAI,CAAC,CAAC,GAAG,OAAA;gBAC5B,MAAM,EAAE,CAAC,GAAG,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;gBACxC,GAAG,CAAC,UAAU,CACd,EAAC,GAAG,EAAC,iCAAiC,GAAE,kBAAkB,CAAC,SAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;iBACzF,CACD,CAAA;YACF,CAAC,CAAC,CAAA;QACH,CAAC;QACD,OAAO;YACN,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,+BAA+B,EAAC,CAAC,CAAC,CAAA;YAClD,GAAG,CAAC,YAAY,CAChB,EAAC,KAAK,EAAC,CAAC,EAAC,CACR,CAAA;QACF,CAAC;KACC;CACF,EAAC\"}"}

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


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


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


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


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


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


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/a505becbe32617b058d8c61a1b4c2ee716b5788e View File

@ -0,0 +1 @@
{"code":"import { defineComponent } from \"vue\";\nimport { childList } from \"@/api\";\nexport default defineComponent({\n data() {\n return {\n list: [],\n currentIndex: '',\n clientInfo: new UTSJSONObject({}),\n certFront: '',\n carPic: '',\n certBack: '',\n };\n },\n onLoad(options) {\n this.clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));\n },\n mounted() {\n childList(new UTSJSONObject({ pid: getApp().pid_1 })).then((res = null) => {\n this.list = res.result.records;\n });\n },\n methods: {\n getBack() {\n uni.navigateBack({ delta: 1 });\n },\n getName(name = null) {\n this.clientInfo.appOrderCarList[0].carSeries = this.clientInfo.appOrderCarList[0].carSeries + name;\n uni.__f__('log', 'at pages/views/car.uvue:56', '3', this.clientInfo.appOrderCarList[0].carSeries);\n if (getApp().flag != 1) {\n uni.redirectTo({ url: '/pages/index/PayPal?clientInfo=' + encodeURIComponent(UTS.JSON.stringify(this.clientInfo)) });\n }\n else {\n uni.redirectTo({ url: '/pages/index/PayPal_pinpai?clientInfo=' + encodeURIComponent(UTS.JSON.stringify(this.clientInfo)) });\n }\n }\n }\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/pages/views/car.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.navigateBack","uni.__f__","uni.redirectTo"],"map":"{\"version\":3,\"file\":\"car.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"car.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,OAAO,EAAC,SAAS,EAAC,cAAiB;AACnC,+BAAe;IACd,IAAI;QACH,OAAO;YACN,IAAI,EAAC,EAAE;YACP,YAAY,EAAE,EAAE;YAChB,UAAU,oBAAC,EAAE,CAAA;YACb,SAAS,EAAC,EAAE;YACZ,MAAM,EAAC,EAAE;YACT,QAAQ,EAAC,EAAE;SACX,CAAA;IACF,CAAC;IACD,MAAM,CAAC,OAAO;QACb,IAAI,CAAC,UAAU,GAAG,SAAK,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;IACtE,CAAC;IACD,OAAO;QACN,SAAS,mBAAC,EAAC,GAAG,EAAC,MAAM,EAAE,CAAC,KAAK,EAAC,EAAC,CAAC,IAAI,CAAC,CAAC,GAAG,OAAA;YACxC,IAAI,CAAC,IAAI,GAAE,GAAG,CAAC,MAAM,CAAC,OAAO,CAAA;QAC9B,CAAC,CAAC,CAAA;IACH,CAAC;IACD,OAAO,EAAE;QACR,OAAO;YACN,GAAG,CAAC,YAAY,CAChB,EAAC,KAAK,EAAC,CAAC,EAAC,CACR,CAAA;QACF,CAAC;QACD,OAAO,CAAC,IAAI,OAAA;YACX,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,GAAI,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;YACpG,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,4BAA4B,EAAC,GAAG,EAAC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;YAC/F,IAAG,MAAM,EAAE,CAAC,IAAI,IAAI,CAAC,EAAC;gBACrB,GAAG,CAAC,UAAU,CACd,EAAC,GAAG,EAAC,iCAAiC,GAAE,kBAAkB,CAAC,SAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,EAAC,CAC3F,CAAA;aACD;iBAAI;gBACJ,GAAG,CAAC,UAAU,CACd,EAAC,GAAG,EAAC,wCAAwC,GAAE,kBAAkB,CAAC,SAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,EAAC,CAClG,CAAA;aACD;QAEF,CAAC;KACD;CACD,EAAA\"}"}

+ 0
- 1
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/a56bdbf91244d4e266e5d5dafd8fdc8b632914ca View File

@ -1 +0,0 @@
{"code":"import { defineComponent } from \"vue\";\nimport { childList } from \"@/api\";\nexport default defineComponent({\n data() {\n return {\n list: [],\n currentIndex: '',\n clientInfo: new UTSJSONObject({}),\n certFront: '',\n carPic: '',\n certBack: '',\n };\n },\n onLoad(options) {\n this.clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));\n },\n mounted() {\n childList(new UTSJSONObject({ pid: getApp().pid_1 })).then((res = null) => {\n this.list = res.result.records;\n });\n },\n methods: {\n getBack() {\n uni.navigateBack({ delta: 1 });\n },\n getName(name = null) {\n this.clientInfo.appOrderCarList[0].carSeries = this.clientInfo.appOrderCarList[0].carSeries + name;\n uni.__f__('log', 'at pages/views/car.uvue:56', '3', this.clientInfo.appOrderCarList[0].carSeries);\n uni.navigateTo({ url: '/pages/index/PayPal?clientInfo=' + encodeURIComponent(UTS.JSON.stringify(this.clientInfo)) });\n }\n }\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/pages/views/car.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.navigateBack","uni.__f__","uni.navigateTo"],"map":"{\"version\":3,\"file\":\"car.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"car.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,OAAO,EAAC,SAAS,EAAC,cAAiB;AACnC,+BAAe;IACd,IAAI;QACH,OAAO;YACN,IAAI,EAAC,EAAE;YACP,YAAY,EAAE,EAAE;YAChB,UAAU,oBAAC,EAAE,CAAA;YACb,SAAS,EAAC,EAAE;YACZ,MAAM,EAAC,EAAE;YACT,QAAQ,EAAC,EAAE;SACX,CAAA;IACF,CAAC;IACD,MAAM,CAAC,OAAO;QACb,IAAI,CAAC,UAAU,GAAG,SAAK,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;IACtE,CAAC;IACD,OAAO;QACN,SAAS,mBAAC,EAAC,GAAG,EAAC,MAAM,EAAE,CAAC,KAAK,EAAC,EAAC,CAAC,IAAI,CAAC,CAAC,GAAG,OAAA;YACxC,IAAI,CAAC,IAAI,GAAE,GAAG,CAAC,MAAM,CAAC,OAAO,CAAA;QAC9B,CAAC,CAAC,CAAA;IACH,CAAC;IACD,OAAO,EAAE;QACR,OAAO;YACN,GAAG,CAAC,YAAY,CAChB,EAAC,KAAK,EAAC,CAAC,EAAC,CACR,CAAA;QACF,CAAC;QACD,OAAO,CAAC,IAAI,OAAA;YACX,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,GAAI,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;YACpG,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,4BAA4B,EAAC,GAAG,EAAC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;YAC/F,GAAG,CAAC,UAAU,CACd,EAAC,GAAG,EAAC,iCAAiC,GAAE,kBAAkB,CAAC,SAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,EAAC,CAC3F,CAAA;QACF,CAAC;KACD;CACD,EAAA\"}"}

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


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


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


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


+ 1
- 0
unpackage/dist/dev/cache/.mp-weixin/.uts2js/cache/uts_1be3bfbff8999603282f82d97241ac669b0c14d1/code/cache/f52ee3cafedc222655426fe20b4e028f0913b243 View File

@ -0,0 +1 @@
{"code":"import { defineComponent } from \"vue\";\nimport { getList, childList } from \"@/api\";\nimport transformBrands from \"@/js/airport\";\nexport default defineComponent({\n data() {\n return {\n currentIndex: '',\n letter: \"\",\n clientInfo: new UTSJSONObject({}),\n indexList: [],\n certFront: '',\n carPic: '',\n certBack: '',\n };\n },\n onLoad(options) {\n this.clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));\n uni.__f__('log', 'at pages/views/carOne.uvue:52', this.clientInfo.appOrderCarList[0].carSeries);\n },\n mounted() {\n getList().then((res = null) => {\n let list = transformBrands(res.result);\n this.indexList = list;\n });\n },\n methods: {\n scrollToIndex(letter = null) {\n this.letter = letter;\n this.currentIndex = letter;\n },\n getID(id = null, name = null) {\n uni.__f__('log', 'at pages/views/carOne.uvue:66', id);\n this.clientInfo.appOrderCarList[0].carSeries = name;\n // uni.__f__('log','at pages/views/carOne.uvue:68','1',this.clientInfo.appOrderCarList[0].carSeries );\n // uni.__f__('log','at pages/views/carOne.uvue:69',res.result);\n getApp().pid = id;\n uni.redirectTo({ url: '/pages/views/carTwo?clientInfo=' + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))\n });\n },\n getBack() {\n uni.__f__('log', 'at pages/views/carOne.uvue:78', 1);\n uni.navigateBack({ delta: 1 });\n }\n }\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/pages/views/carOne.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.__f__","uni.redirectTo","uni.navigateBack"],"map":"{\"version\":3,\"file\":\"carOne.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"carOne.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,cAAiB;AAC3C,OAAO,eAAe,qBAAwB;AAC/C,+BAAe;IACb,IAAI;QACF,OAAO;YACL,YAAY,EAAE,EAAE;YACnB,MAAM,EAAC,EAAE;YACT,UAAU,oBAAC,EAAE,CAAA;YACV,SAAS,EAAE,EAAE;YAChB,SAAS,EAAC,EAAE;YACZ,MAAM,EAAC,EAAE;YACT,QAAQ,EAAC,EAAE;SACT,CAAC;IACJ,CAAC;IACD,MAAM,CAAC,OAAO;QACb,IAAI,CAAC,UAAU,GAAG,SAAK,KAAK,CAAC,kBAAkB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;QACrE,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,+BAA+B,EAAC,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/F,CAAC;IACD,OAAO;QACN,OAAO,EAAE,CAAC,IAAI,CAAC,CAAC,GAAG,OAAA;YACpB,IAAI,IAAI,GAAI,eAAe,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;YACvC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,CAAC,CAAC,CAAA;IACF,CAAC;IACD,OAAO,EAAE;QACP,aAAa,CAAC,MAAM,OAAA;YACtB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;YAChB,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC;QAC7B,CAAC;QACJ,KAAK,CAAC,EAAE,OAAA,EAAC,IAAI,OAAA;YACZ,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,+BAA+B,EAAC,EAAE,CAAC,CAAC;YACpD,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,SAAS,GAAI,IAAI,CAAC;YACrD,sGAAsG;YACrG,+DAA+D;YAC/D,MAAM,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC;YAClB,GAAG,CAAC,UAAU,CACd,EAAC,GAAG,EAAC,iCAAiC,GAAE,kBAAkB,CAAC,SAAK,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aACzF,CACD,CAAA;QAEH,CAAC;QACD,OAAO;YACN,GAAG,CAAC,KAAK,CAAC,KAAK,EAAC,+BAA+B,EAAC,CAAC,CAAC,CAAA;YAClD,GAAG,CAAC,YAAY,CAChB,EAAC,KAAK,EAAC,CAAC,EAAC,CACR,CAAA;QACF,CAAC;KACC;CACF,EAAC\"}"}

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


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


+ 16
- 0
unpackage/dist/dev/mp-weixin/api.js View File

@ -42,6 +42,18 @@ const getList = () => {
const childList = (id = null) => {
return request.request(`/contract/miniapp/car/childList`, "GET", id);
};
const queryAppOrderCarByMainId = (id = null) => {
return request.request(`/contract/miniapp/order/queryAppOrderCarByMainId`, "GET", id);
};
const queryDictItemsByCode = (id = null) => {
return request.request(`/contract/miniapp/dict/queryDictItemsByCode`, "GET", id);
};
const queryAppOrderFinanceByMainId = (id = null) => {
return request.request(`/contract/miniapp/order/queryAppOrderFinanceByMainId`, "GET", id);
};
const queryAppOrderVoucherByMainId = (id = null) => {
return request.request(`/contract/miniapp/order/queryAppOrderVoucherByMainId`, "GET", id);
};
exports.add = add;
exports.carCert = carCert;
exports.childList = childList;
@ -54,5 +66,9 @@ exports.isToken = isToken;
exports.list = list;
exports.login = login;
exports.logout = logout;
exports.queryAppOrderCarByMainId = queryAppOrderCarByMainId;
exports.queryAppOrderFinanceByMainId = queryAppOrderFinanceByMainId;
exports.queryAppOrderVoucherByMainId = queryAppOrderVoucherByMainId;
exports.queryDictItemsByCode = queryDictItemsByCode;
exports.statistics = statistics;
//# sourceMappingURL=../.sourcemap/mp-weixin/api.js.map

+ 10
- 4
unpackage/dist/dev/mp-weixin/app.js View File

@ -8,9 +8,12 @@ if (!Math) {
"./pages/views/dingDanCreate.js";
"./pages/index/dingdan.js";
"./pages/index/PayPal.js";
"./pages/index/PayPal_pinpai.js";
"./pages/index/PayPal_xq.js";
"./pages/views/carOne.js";
"./pages/views/carTwo.js";
"./pages/views/car.js";
"./pages/views/carFinal.js";
}
const _sfc_main = common_vendor.defineComponent({
usrInfo: {},
@ -22,20 +25,23 @@ const _sfc_main = common_vendor.defineComponent({
dealerAddress: "",
pid: "",
pid_1: "",
orderCount: "",
certFront: "",
carPic: "",
certBack: "",
id: "",
flag: 0,
onLaunch: function() {
common_vendor.index.__f__("log", "at App.uvue:17", "App Launch");
common_vendor.index.__f__("log", "at App.uvue:20", "App Launch");
},
onShow: function() {
common_vendor.index.__f__("log", "at App.uvue:20", "App Show");
common_vendor.index.__f__("log", "at App.uvue:23", "App Show");
},
onHide: function() {
common_vendor.index.__f__("log", "at App.uvue:23", "App Hide");
common_vendor.index.__f__("log", "at App.uvue:26", "App Hide");
},
onExit: function() {
common_vendor.index.__f__("log", "at App.uvue:44", "App Exit");
common_vendor.index.__f__("log", "at App.uvue:47", "App Exit");
}
});
function createApp() {


+ 4
- 1
unpackage/dist/dev/mp-weixin/app.json View File

@ -6,9 +6,12 @@
"pages/views/dingDanCreate",
"pages/index/dingdan",
"pages/index/PayPal",
"pages/index/PayPal_pinpai",
"pages/index/PayPal_xq",
"pages/views/carOne",
"pages/views/carTwo",
"pages/views/car"
"pages/views/car",
"pages/views/carFinal"
],
"window": {
"navigationBarTextStyle": "black",


+ 3
- 3
unpackage/dist/dev/mp-weixin/common/assets.js View File

@ -10,8 +10,8 @@ const _imports_0$1 = "/static/image/组 71693.png";
const _imports_1$1 = "/static/image/组 71697.png";
const _imports_0 = "/static/image/xuanzhong.png";
const _imports_1 = "/static/image/weixuanzhong.png";
const _imports_6 = "/static/image/矩形 5315.png";
const _imports_5 = "/static/image/组件 5 – 1.png";
const _imports_3 = "/static/image/矩形 5315.png";
const _imports_6 = "/static/image/组件 5 – 1.png";
exports._imports_0 = _imports_0$4;
exports._imports_0$1 = _imports_0$3;
exports._imports_0$2 = _imports_0$2;
@ -23,6 +23,6 @@ exports._imports_1$2 = _imports_1$1;
exports._imports_1$3 = _imports_1;
exports._imports_2 = _imports_2$1;
exports._imports_2$1 = _imports_2;
exports._imports_5 = _imports_5;
exports._imports_3 = _imports_3;
exports._imports_6 = _imports_6;
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/assets.js.map

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

@ -7967,7 +7967,7 @@ function initOnError() {
function initRuntimeSocketService() {
const hosts = "192.168.1.10,127.0.0.1";
const port = "8090";
const id = "mp-weixin_e4fx2i";
const id = "mp-weixin_9zYJZn";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();


+ 28
- 19
unpackage/dist/dev/mp-weixin/pages/home/home.js View File

@ -11,6 +11,7 @@ const _sfc_main = common_vendor.defineComponent({
isshow_1: false,
newListData: [],
textcontent: [],
orderTypeCount: [],
orderCount: 0,
totalMoney: 0
};
@ -25,9 +26,10 @@ const _sfc_main = common_vendor.defineComponent({
getApp().dealerAddress = res.result[0].address;
});
api.statistics().then((res = null) => {
common_vendor.index.__f__("log", "at pages/home/home.uvue:86", "res", res);
this.orderCount = res.result[0].orderCount;
this.totalMoney = res.result[0].totalMoney;
common_vendor.index.__f__("log", "at pages/home/home.uvue:92", res.result);
this.orderCount = res.result.orderCount;
this.totalMoney = res.result.totalMoney;
this.orderTypeCount = res.result.orderTypeCount;
});
},
methods: {
@ -68,7 +70,7 @@ const _sfc_main = common_vendor.defineComponent({
// 模糊匹配
// 右上角搜索框--模糊查询
handleSearch(event = null) {
common_vendor.index.__f__("log", "at pages/home/home.uvue:134", event);
common_vendor.index.__f__("log", "at pages/home/home.uvue:141", event);
if (event) {
this.textcontent = [];
getApp().allMsg.map((item = null) => {
@ -106,28 +108,35 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
e: common_assets._imports_0$1,
f: common_vendor.t($data.orderCount),
g: common_vendor.t($data.totalMoney),
h: common_assets._imports_1,
i: common_vendor.p({
h: common_vendor.f($data.orderTypeCount, (item, index, i0) => {
return {
a: common_vendor.t(item.productType),
b: common_vendor.t(item.orderCount),
c: common_vendor.t(item.totalMoney)
};
}),
i: common_assets._imports_1,
j: common_vendor.p({
type: "right",
size: 25,
color: "#306e91"
}),
j: common_vendor.o((...args) => $options.orderEntry && $options.orderEntry(...args)),
k: $data.isshow
k: common_vendor.o((...args) => $options.orderEntry && $options.orderEntry(...args)),
l: $data.isshow
}, $data.isshow ? {
l: common_vendor.p({
m: common_vendor.p({
type: "search",
size: 20
}),
m: common_vendor.o($options.handleSearch),
n: common_vendor.o(($event) => $data.ServiceName = $event),
o: common_vendor.p({
n: common_vendor.o($options.handleSearch),
o: common_vendor.o(($event) => $data.ServiceName = $event),
p: common_vendor.p({
inputBorder: false,
placeholder: "请输入服务名称",
modelValue: $data.ServiceName
}),
p: common_vendor.o((...args) => $options.searchName && $options.searchName(...args)),
q: common_vendor.f($data.textcontent, (item, index, i0) => {
q: common_vendor.o((...args) => $options.searchName && $options.searchName(...args)),
r: common_vendor.f($data.textcontent, (item, index, i0) => {
return {
a: common_vendor.t(item.storeName),
b: index,
@ -135,13 +144,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
})
} : {}, {
r: $data.isshow_1
s: $data.isshow_1
}, $data.isshow_1 ? {
s: common_assets._imports_2,
t: common_vendor.t($data.title),
v: common_vendor.o((...args) => $options.close_view && $options.close_view(...args))
t: common_assets._imports_2,
v: common_vendor.t($data.title),
w: common_vendor.o((...args) => $options.close_view && $options.close_view(...args))
} : {}, {
w: common_vendor.sei(_ctx.virtualHostId, "view")
x: common_vendor.sei(_ctx.virtualHostId, "view")
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);


+ 1
- 1
unpackage/dist/dev/mp-weixin/pages/home/home.wxml View File

@ -1 +1 @@
<view id="{{w}}" change:eS="{{uV.sS}}" eS="{{$eS[w]}}" class="{{['container', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><view class="header"><view class="header_info"><text class="header_texts" title="{{b}}">{{a}}</text><text class="header_info_icon">|</text><view bindtap="{{d}}" class="header_change"><text>切换</text><uni-icons u-i="6e052f20-0" bind:__l="__l" u-p="{{c||''}}"></uni-icons></view></view></view><view class="swiper"><image class="swiper-image" src="{{e}}"></image></view><view class="sales"><view class="sales_left">{{f}} <text>本月订单</text></view><view class="sales_right">{{g}} <text>销售额</text></view></view><view class="order_Entry_container" bindtap="{{j}}"><image class="order_Entry_image" src="{{h}}"></image><text style="color:#115881;font-weight:bold;margin-left:1rem">录入订单</text><uni-icons class="order_Entry_end" virtualHostClass="order_Entry_end" u-i="6e052f20-1" bind:__l="__l" u-p="{{i||''}}"></uni-icons></view><view wx:if="{{k}}" class="show_container"><view class="isshow-header"><uni-icons class="isshow-header-content-icon" virtualHostClass="isshow-header-content-icon" u-i="6e052f20-2" bind:__l="__l" u-p="{{l||''}}"></uni-icons><uni-easyinput bindinput="{{m}}" class="isshow-header-content-input" virtualHostClass="isshow-header-content-input" u-i="6e052f20-3" bind:__l="__l" bindupdateModelValue="{{n}}" u-p="{{o||''}}"/><text class="isshow-header-content-text" bindtap="{{p}}">搜索</text></view><view class="isshow-content"><text wx:for="{{q}}" wx:for-item="item" wx:key="b" class="isshow-content-text" bindtap="{{item.c}}">{{item.a}}</text></view></view><view wx:if="{{r}}" class="show_container_1"><image class="show_container_1_image" src="{{s}}"></image><view class="show_container_1_footer"><text>门店已经切换为{{t}}</text><button class="show_container_1_footer_button" bindtap="{{v}}">好的</button></view></view></view><wxs src="/common/uniView.wxs" module="uV"/>
<view id="{{x}}" change:eS="{{uV.sS}}" eS="{{$eS[x]}}" class="{{['container', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><view class="header"><view class="header_info"><text class="header_texts" title="{{b}}">{{a}}</text><text class="header_info_icon">|</text><view bindtap="{{d}}" class="header_change"><text>切换</text><uni-icons u-i="6e052f20-0" bind:__l="__l" u-p="{{c||''}}"></uni-icons></view></view></view><view class="swiper"><image class="swiper-image" src="{{e}}"></image></view><view class="sales"><view class="sales_left"><text>总订单</text><text>本月订单 : {{f}}</text><text>销售额:{{g}}</text></view></view><view class="sales"><view wx:for="{{h}}" wx:for-item="item" class="sales_left"><text>{{item.a}}</text><text>本月订单 : {{item.b}}</text><text>销售额:{{item.c}}</text></view></view><view class="order_Entry_container" bindtap="{{k}}"><image class="order_Entry_image" src="{{i}}"></image><text style="color:#115881;font-weight:bold;margin-left:1rem">录入订单</text><uni-icons class="order_Entry_end" virtualHostClass="order_Entry_end" u-i="6e052f20-1" bind:__l="__l" u-p="{{j||''}}"></uni-icons></view><view wx:if="{{l}}" class="show_container"><view class="isshow-header"><uni-icons class="isshow-header-content-icon" virtualHostClass="isshow-header-content-icon" u-i="6e052f20-2" bind:__l="__l" u-p="{{m||''}}"></uni-icons><uni-easyinput bindinput="{{n}}" class="isshow-header-content-input" virtualHostClass="isshow-header-content-input" u-i="6e052f20-3" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p||''}}"/><text class="isshow-header-content-text" bindtap="{{q}}">搜索</text></view><view class="isshow-content"><text wx:for="{{r}}" wx:for-item="item" wx:key="b" class="isshow-content-text" bindtap="{{item.c}}">{{item.a}}</text></view></view><view wx:if="{{s}}" class="show_container_1"><image class="show_container_1_image" src="{{t}}"></image><view class="show_container_1_footer"><text>门店已经切换为{{v}}</text><button class="show_container_1_footer_button" bindtap="{{w}}">好的</button></view></view></view><wxs src="/common/uniView.wxs" module="uV"/>

+ 6
- 14
unpackage/dist/dev/mp-weixin/pages/home/home.wxss View File

@ -13,7 +13,7 @@
display: flex;
flex-direction: row;
align-items: center;
margin-top: 10%;
margin-top: 5%;
}
.order_Entry_image{
width: 10%;
@ -176,9 +176,9 @@
flex-direction: row;
width: 100%;
height: 10%;
margin-top: 5%;
align-items: center;
justify-content: center;
/* background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%); */
}
.sales_left{
/* background-color: red ; */
@ -187,18 +187,10 @@
display: flex;
align-items: center;
justify-content: center;
/* flex: 1; */
margin: 1rem 2rem 1rem 1rem;
}
.sales_left text{
font-size: 1rem;
}
.sales_right{
/* background-color: red ; */
width: 25%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.sales_right text{
font-size: 1rem;
font-size: 0.7rem;
}

+ 242
- 187
unpackage/dist/dev/mp-weixin/pages/index/PayPal.js View File

@ -24,102 +24,68 @@ const _sfc_main = common_vendor.defineComponent({
new UTSJSONObject({
buyMoney: 0,
buyTax: 0,
buyTime: "",
buyTime: null,
carModel: "",
carNo: "",
carSeries: "",
carType: "",
createBy: "",
createTime: "",
engineNo: "",
id: "",
mileage: "",
newCar: 0,
orderFkId: "",
sysOrgCode: "",
updateBy: "",
updateTime: "",
useType: "",
vin: ""
})
],
appOrderFinanceList: [
new UTSJSONObject({
createBy: "",
createTime: "",
id: "",
lender: "",
lenderMone: 0,
lenderYear: "",
orderFkId: "",
sysOrgCode: "",
updateBy: "",
updateTime: ""
lenderMoney: ""
})
],
appOrderVoucherList: [
new UTSJSONObject({
assigneeCardNo: "",
assigneeName: "",
assigneePhone: "",
carInsuranceNo: "",
createBy: "",
createTime: "",
dealerAddress: "",
effectiveTime: "",
endTime: "",
equityPackage: "",
effectiveTime: null,
endTime: null,
firstBeneficiary: "",
id: "",
insuranceName: "",
orderFkId: "",
packageMoney: 0,
payTime: "",
registeredCity: "",
serviceMoney: 0,
serviceYear: "",
sysOrgCode: "",
updateBy: "",
updateTime: ""
serviceYear: ""
})
],
busLicense: "",
carPic: "",
certBack: "",
certFront: "",
contractUrl: "",
createBy: "",
createTime: "",
custAddress: "",
custCardNo: "",
custName: "",
custPhone: "",
custType: 0,
id: "",
orderNum: "",
invoiceUrl: "",
payType: "全款",
payVoucherUrl: "",
payee: "",
payeeTime: "",
productContractTemp: "",
productMone: null,
productName: "自动填写所选商品服务分类",
productServiceYear: 1,
saleName: "",
salePort: "售前",
status: 0,
storeName: "自动填写所选择的门店",
sysOrgCode: "",
updateBy: "",
updateTime: ""
storeName: "自动填写所选择的门店"
}),
keyboardHeight: 0,
fileList1: [],
fileList2: [],
departments: ["售前", "售后", "二网车"],
carType: ["燃油车", "新能源"],
useType: ["非营运", "营运"],
serviceYear: "",
isTrue: false,
carBrandIndex: -1,
useTypeIndex: -1,
serviceAges: ["1年", "2年", "3年"],
serviceAges: [],
serviceAgeIndex: -1,
payees: [],
payeeIndex: -1,
@ -150,21 +116,39 @@ const _sfc_main = common_vendor.defineComponent({
this.uploadConfig.header = new UTSJSONObject({
"X-Access-Token": common_vendor.index.getStorageSync("token")
});
api.queryDictItemsByCode(new UTSJSONObject({ code: "service_year" })).then((res = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:432", res);
for (var i = 0; i < res.length; i++) {
this.serviceAges.unshift(res[i].text);
}
});
let clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:490", "5", clientInfo);
if (clientInfo) {
this.clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));
this.certFront = getApp().certFront;
this.carPic = getApp().carPic;
this.certBack = getApp().certBack;
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:496", "111", this.certFront, this.carPic, this.certBack);
}
},
onUpload() {
common_vendor.index.offKeyboardHeightChange();
},
methods: {
keyboardheightchange(e = null) {
isEmpty(value = null) {
if (value === null || value === void 0)
return false;
if (typeof value === "string" && value.trim() === "")
return false;
if (Array.isArray(value) && value.length === 0)
return false;
if (typeof value === "object" && Object.keys(value).length === 0)
return false;
return true;
},
handleFocus() {
common_vendor.index.onKeyboardHeightChange((res = null) => {
this.keyboardHeight = res.height;
});
},
// 凭证上传函数
deletePic(event = null) {
@ -179,7 +163,7 @@ const _sfc_main = common_vendor.defineComponent({
this[`fileList${event.name}`].push(new UTSJSONObject(Object.assign(Object.assign({}, item), { status: "uploading", message: "上传中" })));
});
for (let i = 0; i < lists.length; i++) {
const result = yield this.uploadFilePromise(lists[i].url);
const result = yield this.uploadFilePromise(lists[i].url, event.name);
let item = this[`fileList${event.name}`][fileListLen];
this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
status: "success",
@ -190,7 +174,7 @@ const _sfc_main = common_vendor.defineComponent({
}
});
},
uploadFilePromise(url = null) {
uploadFilePromise(url = null, name = null) {
let token = common_vendor.index.getStorageSync("token");
return new Promise((resolve, reject) => {
common_vendor.index.uploadFile({
@ -204,24 +188,83 @@ const _sfc_main = common_vendor.defineComponent({
"X-Access-Token": token
}),
success: (res) => {
this.clientInfo.payVoucherUrl = UTS.JSON.parse(res.data).message;
setTimeout(() => {
resolve(res.data.data);
}, 1e3);
if (name == "1") {
this.clientInfo.payVoucherUrl = UTS.JSON.parse(res.data).message;
setTimeout(() => {
resolve(res.data.data);
}, 1e3);
} else {
this.clientInfo.invoiceUrl = UTS.JSON.parse(res.data).message;
setTimeout(() => {
resolve(res.data.data);
}, 1e3);
}
}
});
});
},
get_to() {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:558", "suss", this.clientInfo);
api.add(UTS.JSON.parse(UTS.JSON.stringify(this.clientInfo))).then((res = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:560", res);
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) {
if (typeof this.clientInfo[i] == "object") {
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;
}
}
} else {
if (!this.isEmpty(this.clientInfo[i])) {
common_vendor.index.showToast({
title: "提交失败,请检查字段是否未填!",
icon: "error",
duration: 500,
success: (res) => {
},
fail: (res) => {
}
});
return false;
}
}
}
api.add(this.clientInfo).then((res = null) => {
if (res.success) {
common_vendor.index.showToast({
title: "提交成功",
icon: "success",
duration: 500,
success: (res2) => {
},
fail: (res2) => {
}
});
common_vendor.index.switchTab({ url: "/pages/index/dingdan" });
} else {
common_vendor.index.showToast({
title: "提交失败,请检查格式!",
icon: "error",
duration: 500,
success: (res2) => {
},
fail: (res2) => {
}
});
}
}).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:562", "err", err);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:583", "err", err);
});
common_vendor.index.switchTab({ url: "/pages/index/dingdan" });
},
getCar() {
getApp().flag = 0;
common_vendor.index.navigateTo({
url: "/pages/views/carOne?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
});
@ -230,13 +273,9 @@ const _sfc_main = common_vendor.defineComponent({
getApp().certBack = this.certBack;
},
toBack() {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:579", "111");
let canNavBack = getCurrentPages();
if (canNavBack && canNavBack.length > 1) {
common_vendor.index.navigateBack();
} else {
history.back();
}
common_vendor.index.redirectTo({
url: "/pages/views/dingDanCreate"
});
},
handleDepartmentChange(e = null) {
this.clientInfo.salePort = e;
@ -245,41 +284,64 @@ const _sfc_main = common_vendor.defineComponent({
bindCarBrandChanges(e = null) {
this.clientInfo.appOrderCarList[0].carType = this.carType[e.detail.value];
},
// serviceYearChanges(e){
// this.clientInfo.appOrderVoucherList[0].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 )
// },
// 修改车辆类型
binduseTypeChanges(e = null) {
this.clientInfo.appOrderCarList[0].useType = this.useType[e.detail.value];
},
// 取服务年限
bindServiceAgeChange(e = null) {
this.serviceAgeIndex = e.detail.value;
if (this.serviceAges[e.detail.value] == "1年") {
this.clientInfo.productServiceYear = 1;
} else if (this.serviceAges[e.detail.value] == "2年") {
this.clientInfo.productServiceYear = 2;
} else {
this.clientInfo.productServiceYear = 3;
}
},
// // 取服务年限
// bindServiceAgeChange(e) {
// this.serviceAgeIndex = e.detail.value
// if(this.serviceAges[e.detail.value] == '1年'){
// this.clientInfo.productServiceYear = 1;
// }else if(this.serviceAges[e.detail.value] == '2年' ){
// this.clientInfo.productServiceYear = 2;
// }else{
// this.clientInfo.productServiceYear = 3;
// };
// },
// 选择收款方
bindPayeeChange(e = null) {
this.payeeIndex = e.detail.value;
this.clientInfo.payee = this.payees[e.detail.value];
},
msToDate(msec = null) {
let datetime = new Date(msec);
let year = datetime.getFullYear();
let month = datetime.getMonth();
let date = datetime.getDate();
let hour = datetime.getHours();
let minute = datetime.getMinutes();
let second = datetime.getSeconds();
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);
let result2 = year + "-" + (month + 1 >= 10 ? month + 1 : "0" + (month + 1)) + "-" + (date + 1 < 10 ? "0" + date : date);
let result = new UTSJSONObject({
hasTime: result1,
withoutTime: result2
});
return result;
},
// 修改生效时间
changeEffectiveTime(e = null) {
var dateTime = new Date(e);
dateTime.setDate(dateTime.getDate() + 2);
dateTime = new Date(dateTime);
this.clientInfo.appOrderVoucherList[0].effectiveTime = dateTime;
this.clientInfo.appOrderVoucherList[0].effectiveTime = this.msToDate(dateTime).withoutTime;
},
changeTime(e = null) {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:624", e);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:683", e.detail.value);
if (this.clientInfo.appOrderVoucherList[0].effectiveTime) {
this.clientInfo.appOrderVoucherList[0].serviceYear = this.serviceAges[e.detail.value];
this.serviceYear = this.serviceAges[e.detail.value];
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) + 1;
dateTime.setFullYear(year);
dateTime = new Date(dateTime);
this.clientInfo.appOrderVoucherList[0].endTime = dateTime;
this.clientInfo.appOrderVoucherList[0].endTime = this.msToDate(dateTime).withoutTime;
} else {
common_vendor.index.showToast({
title: "请先选择生效时间!",
@ -347,7 +409,6 @@ const _sfc_main = common_vendor.defineComponent({
}),
success: (res) => {
let image = UTS.JSON.parse(res.data).message;
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:699", image);
if (type == "sfz") {
api.idCardInfo(new UTSJSONObject({ "side": side, "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => {
if (res2.success) {
@ -374,7 +435,7 @@ const _sfc_main = common_vendor.defineComponent({
});
}
}).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:727", "catch: ", err);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:789", "catch: ", err);
});
} else if (type == "carCert") {
api.carCert(new UTSJSONObject({ "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => {
@ -396,17 +457,16 @@ const _sfc_main = common_vendor.defineComponent({
});
}
}).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:754", "catch: ", err);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:816", "catch: ", err);
});
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:761", err);
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:823", err);
}
});
},
onChange(e = null) {
common_vendor.index.__f__("log", "at pages/index/PayPal.uvue:766", e);
if (e == "个人") {
this.clientInfo.custType = 0;
} else {
@ -524,22 +584,21 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
x: $data.carPic == "" ? true : false
}, ($data.carPic == "" ? true : false) ? {} : {}, {
y: common_vendor.o((...args) => $options.uploadCarCert && $options.uploadCarCert(...args)),
z: common_assets._imports_6,
z: common_assets._imports_3,
A: common_vendor.t($data.clientInfo.productName),
B: common_vendor.t($data.clientInfo.storeName),
C: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
C: $data.isTrue,
D: $data.clientInfo.custName,
E: common_vendor.o(($event) => $data.clientInfo.custName = $event.detail.value),
F: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
G: $data.clientInfo.custAddress,
H: common_vendor.o(($event) => $data.clientInfo.custAddress = $event.detail.value),
I: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
J: $data.clientInfo.custCardNo,
K: common_vendor.o(($event) => $data.clientInfo.custCardNo = $event.detail.value),
L: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
M: $data.clientInfo.custPhone,
N: common_vendor.o(($event) => $data.clientInfo.custPhone = $event.detail.value),
O: common_vendor.f($data.departments, (item, k0, i0) => {
F: $data.clientInfo.custAddress,
G: common_vendor.o(($event) => $data.clientInfo.custAddress = $event.detail.value),
H: common_vendor.o((...args) => $options.handleFocus && $options.handleFocus(...args)),
I: $data.clientInfo.custCardNo,
J: common_vendor.o(($event) => $data.clientInfo.custCardNo = $event.detail.value),
K: $data.keyboardHeight + "px",
L: $data.clientInfo.custPhone,
M: common_vendor.o(($event) => $data.clientInfo.custPhone = $event.detail.value),
N: common_vendor.f($data.departments, (item, k0, i0) => {
return {
a: common_vendor.w(({
checked
@ -552,7 +611,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
}, {
name: "icon",
path: "O[" + i0 + "].a",
path: "N[" + i0 + "].a",
vueId: "643091e0-6-" + i0 + ",643091e0-5"
}),
b: "643091e0-6-" + i0 + ",643091e0-5",
@ -564,30 +623,27 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
e: item
};
}),
P: common_assets._imports_0$4,
Q: common_assets._imports_1$3,
R: common_vendor.o($options.handleDepartmentChange),
S: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
T: $data.clientInfo.saleName,
U: common_vendor.o(($event) => $data.clientInfo.saleName = $event.detail.value),
V: common_assets._imports_6,
W: common_vendor.t($data.clientInfo.appOrderCarList[0].carSeries || "请选择车辆品牌 >"),
X: common_vendor.o((...args) => $options.getCar && $options.getCar(...args)),
Y: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
Z: $data.clientInfo.appOrderCarList[0].carModel,
aa: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].carModel = $event.detail.value),
ab: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
ac: $data.clientInfo.appOrderCarList[0].vin,
ad: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].vin = $event.detail.value),
ae: common_vendor.t($data.clientInfo.appOrderCarList[0].carType || "请选择车辆类型 >"),
af: common_vendor.o((...args) => $options.bindCarBrandChanges && $options.bindCarBrandChanges(...args)),
ag: $data.carBrandIndex,
ah: $data.carType,
ai: common_vendor.t($data.clientInfo.appOrderCarList[0].useType || "请选择使用性质 >"),
aj: common_vendor.o((...args) => $options.binduseTypeChanges && $options.binduseTypeChanges(...args)),
ak: $data.useTypeIndex,
al: $data.useType,
am: common_vendor.w(({
O: common_assets._imports_0$4,
P: common_assets._imports_1$3,
Q: common_vendor.o($options.handleDepartmentChange),
R: $data.clientInfo.saleName,
S: common_vendor.o(($event) => $data.clientInfo.saleName = $event.detail.value),
T: common_assets._imports_3,
U: common_vendor.t($data.clientInfo.appOrderCarList[0].carSeries || "请选择车辆品牌 >"),
V: common_vendor.o((...args) => $options.getCar && $options.getCar(...args)),
W: $data.clientInfo.appOrderCarList[0].carModel,
X: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].carModel = $event.detail.value),
Y: $data.clientInfo.appOrderCarList[0].vin,
Z: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].vin = $event.detail.value),
aa: common_vendor.t($data.clientInfo.appOrderCarList[0].carType || "请选择车辆类型 >"),
ab: common_vendor.o((...args) => $options.bindCarBrandChanges && $options.bindCarBrandChanges(...args)),
ac: $data.carBrandIndex,
ad: $data.carType,
ae: common_vendor.t($data.clientInfo.appOrderCarList[0].useType || "请选择使用性质 >"),
af: common_vendor.o((...args) => $options.binduseTypeChanges && $options.binduseTypeChanges(...args)),
ag: $data.useTypeIndex,
ah: $data.useType,
ai: common_vendor.w(({
checked
}, s0, i0) => {
return {
@ -598,18 +654,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
}, {
name: "icon",
path: "am",
path: "ai",
vueId: "643091e0-8,643091e0-7"
}),
an: common_assets._imports_0$4,
ao: common_assets._imports_1$3,
ap: common_vendor.p({
aj: common_assets._imports_0$4,
ak: common_assets._imports_1$3,
al: common_vendor.p({
checked: $data.clientInfo.appOrderCarList[0].newCar == 1 ? true : false,
value: "是",
label: "是",
fontSize: "1rem"
}),
aq: common_vendor.w(({
am: common_vendor.w(({
checked
}, s0, i0) => {
return {
@ -620,93 +676,92 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
};
}, {
name: "icon",
path: "aq",
path: "am",
vueId: "643091e0-9,643091e0-7"
}),
ar: common_assets._imports_0$4,
as: common_assets._imports_1$3,
at: common_vendor.p({
an: common_assets._imports_0$4,
ao: common_assets._imports_1$3,
ap: common_vendor.p({
checked: $data.clientInfo.appOrderCarList[0].newCar == 0 ? true : false,
value: "否",
label: "否",
fontSize: "1rem"
}),
av: common_vendor.o($options.onChanges),
aw: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
ax: $data.clientInfo.appOrderCarList[0].carNo,
ay: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].carNo = $event.detail.value),
az: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
aA: $data.clientInfo.appOrderCarList[0].engineNo,
aB: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].engineNo = $event.detail.value),
aC: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
aD: $data.clientInfo.appOrderCarList[0].mileage,
aE: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].mileage = $event.detail.value),
aF: common_vendor.o($options.changeEffectiveTime),
aG: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].buyTime = $event),
aH: common_vendor.p({
type: "datetime",
aq: common_vendor.o($options.onChanges),
ar: $data.clientInfo.appOrderCarList[0].carNo,
as: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].carNo = $event.detail.value),
at: $data.clientInfo.appOrderCarList[0].engineNo,
av: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].engineNo = $event.detail.value),
aw: $data.clientInfo.appOrderCarList[0].mileage,
ax: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].mileage = $event.detail.value),
ay: common_vendor.o($options.changeEffectiveTime),
az: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].buyTime = $event),
aA: common_vendor.p({
clearIcon: false,
border: false,
modelValue: $data.clientInfo.appOrderCarList[0].buyTime
}),
aI: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
aJ: common_vendor.o([($event) => $data.clientInfo.appOrderCarList[0].buyMoney = $event.detail.value, (...args) => $options.changebuyTax && $options.changebuyTax(...args)]),
aK: $data.clientInfo.appOrderCarList[0].buyMoney,
aL: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
aM: $data.clientInfo.appOrderCarList[0].buyTax,
aN: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].buyTax = $event.detail.value),
aO: common_assets._imports_6,
aP: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
aQ: $data.clientInfo.appOrderVoucherList[0].firstBeneficiary,
aR: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].firstBeneficiary = $event.detail.value),
aS: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
aT: $data.clientInfo.appOrderVoucherList[0].serviceMoney,
aU: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].serviceMoney = $event.detail.value),
aV: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].effectiveTime = $event),
aW: common_vendor.p({
type: "datetime",
aB: common_vendor.o([($event) => $data.clientInfo.appOrderCarList[0].buyMoney = $event.detail.value, (...args) => $options.changebuyTax && $options.changebuyTax(...args)]),
aC: $data.clientInfo.appOrderCarList[0].buyMoney,
aD: $data.clientInfo.appOrderCarList[0].buyTax,
aE: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].buyTax = $event.detail.value),
aF: common_assets._imports_3,
aG: $data.clientInfo.appOrderVoucherList[0].firstBeneficiary,
aH: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].firstBeneficiary = $event.detail.value),
aI: $data.clientInfo.appOrderVoucherList[0].serviceMoney,
aJ: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].serviceMoney = $event.detail.value),
aK: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].effectiveTime = $event),
aL: common_vendor.p({
type: "date",
clearIcon: false,
border: false,
modelValue: $data.clientInfo.appOrderVoucherList[0].effectiveTime
}),
aX: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].endTime = $event),
aY: common_vendor.p({
type: "datetime",
aM: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].endTime = $event),
aN: common_vendor.p({
type: "date",
clearIcon: false,
border: false,
modelValue: $data.clientInfo.appOrderVoucherList[0].endTime
}),
aZ: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
ba: common_vendor.o([($event) => $data.clientInfo.appOrderVoucherList[0].serviceYear = $event.detail.value, (...args) => $options.changeTime && $options.changeTime(...args)]),
bb: $data.clientInfo.appOrderVoucherList[0].serviceYear,
bc: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].payTime = $event),
bd: common_vendor.p({
aO: common_vendor.t($data.serviceYear || "请选择服务年限类型 >"),
aP: common_vendor.o((...args) => $options.changeTime && $options.changeTime(...args)),
aQ: $data.serviceAgeIndex,
aR: $data.serviceAges,
aS: common_vendor.o(($event) => $data.clientInfo.appOrderVoucherList[0].payTime = $event),
aT: common_vendor.p({
type: "datetime",
clearIcon: false,
border: false,
modelValue: $data.clientInfo.appOrderVoucherList[0].payTime
}),
be: common_assets._imports_5,
bf: common_vendor.o($options.afterRead),
bg: common_vendor.o($options.deletePic),
bh: common_vendor.p({
aU: common_assets._imports_6,
aV: common_vendor.o($options.afterRead),
aW: common_vendor.o($options.deletePic),
aX: common_vendor.p({
fileList: $data.fileList1,
name: "1",
multiple: true,
maxCount: 1
}),
bi: common_assets._imports_6,
bj: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
bk: $data.clientInfo.appOrderFinanceList[0].lender,
bl: common_vendor.o(($event) => $data.clientInfo.appOrderFinanceList[0].lender = $event.detail.value),
bm: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
bn: $data.clientInfo.appOrderFinanceList[0].lenderMoney,
bo: common_vendor.o(($event) => $data.clientInfo.appOrderFinanceList[0].lenderMoney = $event.detail.value),
bp: common_vendor.o((...args) => $options.keyboardheightchange && $options.keyboardheightchange(...args)),
bq: $data.clientInfo.appOrderFinanceList[0].lenderYear,
br: common_vendor.o(($event) => $data.clientInfo.appOrderFinanceList[0].lenderYear = $event.detail.value),
bs: common_vendor.o((...args) => $options.get_to && $options.get_to(...args)),
bt: common_vendor.sei(_ctx.virtualHostId, "view")
aY: common_assets._imports_6,
aZ: common_vendor.o($options.afterRead),
ba: common_vendor.o($options.deletePic),
bb: common_vendor.p({
fileList: $data.fileList2,
name: "2",
multiple: true,
maxCount: 1
}),
bc: common_assets._imports_3,
bd: $data.clientInfo.appOrderFinanceList[0].lender,
be: common_vendor.o(($event) => $data.clientInfo.appOrderFinanceList[0].lender = $event.detail.value),
bf: $data.clientInfo.appOrderFinanceList[0].lenderMoney,
bg: common_vendor.o(($event) => $data.clientInfo.appOrderFinanceList[0].lenderMoney = $event.detail.value),
bh: $data.clientInfo.appOrderFinanceList[0].lenderYear,
bi: common_vendor.o(($event) => $data.clientInfo.appOrderFinanceList[0].lenderYear = $event.detail.value),
bj: common_vendor.o((...args) => $options.get_to && $options.get_to(...args)),
bk: common_vendor.sei(_ctx.virtualHostId, "view")
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-643091e0"]]);


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


+ 4
- 1
unpackage/dist/dev/mp-weixin/pages/index/PayPal.wxss View File

@ -26,7 +26,7 @@
/* 透明度 */
/* 文章场景相关 */
.containers.data-v-643091e0 {
height: 100%;
height: 100vh;
width: 100%;
background-color: #fff;
overflow-y: scroll;
@ -54,6 +54,8 @@
padding: 0.5rem 0;
border-bottom: 0.1rem solid #f2f2f2;
color: #767676;
flex-grow: 1;
overflow-y: auto;
}
.labels.data-v-643091e0 {
color: red;
@ -71,6 +73,7 @@
text-align: right;
font-size: 28rpx;
color: #737373;
height: 100%;
}
.picker.data-v-643091e0 {
flex: 1;


+ 677
- 0
unpackage/dist/dev/mp-weixin/pages/index/PayPal_pinpai.js View File

@ -0,0 +1,677 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const api = require("../../api.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = common_vendor.defineComponent({
data() {
return {
uploadConfig: new UTSJSONObject({
// 上传地址
url: "https://gpt.aiym.run/contract/miniapp/file/upload",
// 文件字段名
name: "file",
// 请求头
header: new UTSJSONObject({}),
// 附带的表单数据
formData: new UTSJSONObject({
"biz": "cert"
}),
// 是否开启实际上传
enabled: true
}),
clientInfo: new UTSJSONObject({
appOrderCarList: [
new UTSJSONObject({
buyMoney: 0,
buyTax: 0,
carModel: "",
carNo: "",
carSeries: "",
carType: "",
engineNo: "",
newCar: 0,
useType: "",
vin: ""
})
],
appOrderVoucherList: [
new UTSJSONObject({
dealerAddress: "",
firstBeneficiary: "",
packageMoney: 0,
serviceMoney: 0
})
],
carPic: "",
certBack: "",
certFront: "",
custAddress: "",
custCardNo: "",
custName: "",
custPhone: "",
custType: 0,
invoiceUrl: "",
payType: "全款",
payVoucherUrl: "",
payee: "",
productName: "自动填写所选商品服务分类",
productServiceYear: 1,
saleName: "",
salePort: "售前",
status: 0,
storeName: "自动填写所选择的门店"
}),
fileList1: [],
fileList2: [],
departments: ["售前", "售后", "二网车"],
carType: ["燃油车", "新能源"],
useType: ["非营运", "营运"],
carBrandIndex: -1,
useTypeIndex: -1,
serviceAges: ["1年", "2年", "3年"],
serviceAgeIndex: -1,
payees: [],
payeeIndex: -1,
screenHeight: 0,
curHeight: 0,
// 扫描
positiveImg: "/static/image/组件 4 – 1.png",
certFront: "",
carPic: "",
certBack: "",
// 反面身份证
reverseImg: "/static/image/组 71663.png",
// 行车驾驶证
carImg: "/static/image/组件 2 – 1.png"
//自己图片路径
};
},
onLoad(options) {
api.isToken();
this.clientInfo.storeName = getApp().storeName || "自动填写所选择的门店";
this.clientInfo.productName = getApp().productName || "自动填写所选商品服务分类";
this.clientInfo.appOrderVoucherList[0].dealerAddress = getApp().dealerAddress;
for (var index = 0; index < getApp().allMsg.length; index++) {
this.payees.push(getApp().allMsg[index].storeName);
}
this.clientInfo.payee = getApp().storeName;
this.uploadConfig.header = new UTSJSONObject({
"X-Access-Token": common_vendor.index.getStorageSync("token")
});
let clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));
if (clientInfo) {
this.clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));
this.certFront = getApp().certFront;
this.carPic = getApp().carPic;
this.certBack = getApp().certBack;
}
},
onUpload() {
common_vendor.index.offKeyboardHeightChange();
},
methods: {
// 凭证上传函数
deletePic(event = null) {
this[`fileList${event.name}`].splice(event.index, 1);
},
// 新增图片
afterRead(event = null) {
return common_vendor.__awaiter(this, void 0, void 0, function* () {
let lists = [].concat(event.file);
let fileListLen = this[`fileList${event.name}`].length;
lists.map((item) => {
this[`fileList${event.name}`].push(new UTSJSONObject(Object.assign(Object.assign({}, item), { status: "uploading", message: "上传中" })));
});
for (let i = 0; i < lists.length; i++) {
const result = yield this.uploadFilePromise(lists[i].url, event.name);
let item = this[`fileList${event.name}`][fileListLen];
this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
status: "success",
message: "",
url: result
}));
fileListLen++;
}
});
},
uploadFilePromise(url = null, name = null) {
let token = common_vendor.index.getStorageSync("token");
return new Promise((resolve, reject) => {
common_vendor.index.uploadFile({
url: "https://www.shengchuangyunkong.com/contract/miniapp/file/upload",
filePath: url,
name: "file",
formData: new UTSJSONObject({
biz: "test"
}),
header: new UTSJSONObject({
"X-Access-Token": token
}),
success: (res) => {
if (name == "1") {
this.clientInfo.payVoucherUrl = UTS.JSON.parse(res.data).message;
setTimeout(() => {
resolve(res.data.data);
}, 1e3);
} else {
this.clientInfo.invoiceUrl = UTS.JSON.parse(res.data).message;
setTimeout(() => {
resolve(res.data.data);
}, 1e3);
}
}
});
});
},
isEmpty(value = null) {
if (value === null || value === void 0)
return false;
if (typeof value === "string" && value.trim() === "")
return false;
if (Array.isArray(value) && value.length === 0)
return false;
if (typeof value === "object" && Object.keys(value).length === 0)
return false;
return true;
},
get_to() {
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:418", "suss", UTS.JSON.parse(UTS.JSON.stringify(this.clientInfo)));
for (var i in this.clientInfo) {
if (typeof this.clientInfo[i] == "object") {
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;
}
}
} else {
if (!this.isEmpty(this.clientInfo[i])) {
common_vendor.index.showToast({
title: "提交失败,请检查字段是否未填!",
icon: "error",
duration: 500,
success: (res) => {
},
fail: (res) => {
}
});
return false;
}
}
}
api.add(this.clientInfo).then((res = null) => {
if (res.success) {
common_vendor.index.showToast({
title: "提交成功",
icon: "success",
duration: 500,
success: (res2) => {
},
fail: (res2) => {
}
});
common_vendor.index.switchTab({ url: "/pages/index/dingdan" });
} else {
common_vendor.index.showToast({
title: "提交失败,请检查格式!",
icon: "error",
duration: 500,
success: (res2) => {
},
fail: (res2) => {
}
});
}
}).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:477", "err", err);
});
},
getCar() {
getApp().flag = 1;
common_vendor.index.navigateTo({
url: "/pages/views/carOne?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
});
getApp().certFront = this.certFront;
getApp().carPic = this.carPic;
getApp().certBack = this.certBack;
},
toBack() {
common_vendor.index.navigateBack({ delta: 1 });
},
handleDepartmentChange(e = null) {
this.clientInfo.salePort = e;
},
// 修改车辆类型
bindCarBrandChanges(e = null) {
this.clientInfo.appOrderCarList[0].carType = this.carType[e.detail.value];
},
// 修改车辆类型
binduseTypeChanges(e = null) {
this.clientInfo.appOrderCarList[0].useType = this.useType[e.detail.value];
},
// 取服务年限
bindServiceAgeChange(e = null) {
this.serviceAgeIndex = e.detail.value;
if (this.serviceAges[e.detail.value] == "1年") {
this.clientInfo.productServiceYear = 1;
} else if (this.serviceAges[e.detail.value] == "2年") {
this.clientInfo.productServiceYear = 2;
} else {
this.clientInfo.productServiceYear = 3;
}
},
// 选择收款方
bindPayeeChange(e = null) {
this.payeeIndex = e.detail.value;
this.clientInfo.payee = this.payees[e.detail.value];
},
msToDate(msec = null) {
let datetime = new Date(msec);
let year = datetime.getFullYear();
let month = datetime.getMonth();
let date = datetime.getDate();
let hour = datetime.getHours();
let minute = datetime.getMinutes();
let second = datetime.getSeconds();
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);
let result2 = year + "-" + (month + 1 >= 10 ? month + 1 : "0" + (month + 1)) + "-" + (date + 1 < 10 ? "0" + date : date);
let result = new UTSJSONObject({
hasTime: result1,
withoutTime: result2
});
return result;
},
// 修改生效时间
changeEffectiveTime(e = null) {
var dateTime = new Date(e);
dateTime.setDate(dateTime.getDate() + 2);
dateTime = new Date(dateTime);
this.clientInfo.appOrderVoucherList[0].effectiveTime = this.msToDate(dateTime).withoutTime;
},
changeTime(e = null) {
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:569", e);
if (this.clientInfo.appOrderVoucherList[0].effectiveTime) {
var dateTime = new Date(this.clientInfo.appOrderVoucherList[0].effectiveTime);
let year = Number(dateTime.getFullYear()) + Number(e.detail.value);
dateTime.setFullYear(year);
dateTime = new Date(dateTime);
this.clientInfo.appOrderVoucherList[0].endTime = this.msToDate(dateTime).withoutTime;
} else {
common_vendor.index.showToast({
title: "请先选择生效时间!",
icon: "error",
duration: 500,
success: (res) => {
},
fail: (res) => {
}
});
}
},
changebuyTax() {
this.clientInfo.appOrderCarList[0].buyTax = (this.clientInfo.appOrderCarList[0].buyMoney / 11.3).toFixed(2);
},
// 身份证正面上传
uploadPositive() {
common_vendor.index.chooseImage({
count: 1,
sizeType: ["original", "compressed"],
sourceType: ["album", "camera"],
success: (res) => {
let filePath = res.tempFilePaths[0];
let token = common_vendor.index.getStorageSync("token");
this.uploadIdentify(token, "front", filePath, "sfz");
}
});
},
// 身份证反面上传
uploadReverse() {
common_vendor.index.chooseImage({
count: 1,
sizeType: ["original", "compressed"],
sourceType: ["album", "camera"],
success: (res) => {
let filePath = res.tempFilePaths[0];
let token = common_vendor.index.getStorageSync("token");
this.uploadIdentify(token, "back", filePath, "sfz");
}
});
},
uploadCarCert() {
common_vendor.index.chooseImage({
count: 1,
sizeType: ["original", "compressed"],
sourceType: ["album", "camera"],
success: (res) => {
let filePath = res.tempFilePaths[0];
let token = common_vendor.index.getStorageSync("token");
this.uploadIdentify(token, "", filePath, "carCert");
}
});
},
// 上传识别
uploadIdentify(token = null, side = null, filePath = null, type = null) {
common_vendor.index.uploadFile({
url: "https://www.shengchuangyunkong.com/contract/miniapp/file/upload",
filePath,
name: "file",
formData: new UTSJSONObject({
"biz": "cert"
}),
header: new UTSJSONObject({
"X-Access-Token": token
}),
success: (res) => {
let image = UTS.JSON.parse(res.data).message;
if (type == "sfz") {
api.idCardInfo(new UTSJSONObject({ "side": side, "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => {
if (res2.success) {
if (side == "front") {
this.clientInfo.custName = res2.result.name;
this.clientInfo.appOrderVoucherList[0].firstBeneficiary = res2.result.name;
this.clientInfo.custAddress = res2.result.address;
this.clientInfo.custCardNo = res2.result.idCard;
this.clientInfo.certFront = image;
this.certFront = filePath;
} else {
this.clientInfo.certBack = image;
this.certBack = filePath;
}
} else {
common_vendor.index.showToast({
title: "身份证识别错误,请重新上传!",
icon: "error",
duration: 500,
success: (res3) => {
},
fail: (res3) => {
}
});
}
}).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:673", "catch: ", err);
});
} else if (type == "carCert") {
api.carCert(new UTSJSONObject({ "url": UTS.JSON.parse(res.data).message })).then((res2 = null) => {
if (res2.success) {
this.clientInfo.appOrderCarList[0].vin = res2.result.VinNo;
this.clientInfo.carPic = image;
this.carPic = filePath;
this.clientInfo.appOrderCarList[0].engineNo = res2.result.EngineNo;
this.clientInfo.appOrderCarList[0].carModel = res2.result.CarModel;
} else {
common_vendor.index.showToast({
title: "识别错误,请重新上传!",
icon: "error",
duration: 500,
success: (res3) => {
},
fail: (res3) => {
}
});
}
}).catch((err = null) => {
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:700", "catch: ", err);
});
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/index/PayPal_pinpai.uvue:707", err);
}
});
},
onChange(e = null) {
if (e == "个人") {
this.clientInfo.custType = 0;
} else {
this.clientInfo.custType = 1;
}
},
onChanges(e = null) {
if (e == "是") {
this.clientInfo.appOrderCarList[0].newCar = 1;
} else {
this.clientInfo.appOrderCarList[0].newCar = 0;
}
}
}
});
if (!Array) {
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
const _easycom_l_radio2 = common_vendor.resolveComponent("l-radio");
const _easycom_l_radio_group2 = common_vendor.resolveComponent("l-radio-group");
const _easycom_uv_upload2 = common_vendor.resolveComponent("uv-upload");
(_easycom_uni_icons2 + _easycom_l_radio2 + _easycom_l_radio_group2 + _easycom_uv_upload2)();
}
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
const _easycom_l_radio = () => "../../uni_modules/lime-radio/components/l-radio/l-radio.js";
const _easycom_l_radio_group = () => "../../uni_modules/lime-radio/components/l-radio-group/l-radio-group.js";
const _easycom_uv_upload = () => "../../uni_modules/uv-upload/components/uv-upload/uv-upload.js";
if (!Math) {
(_easycom_uni_icons + _easycom_l_radio + _easycom_l_radio_group + _easycom_uv_upload)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: common_vendor.p({
type: "left",
size: "30",
color: "#c2d4de"
}),
b: common_vendor.o((...args) => $options.toBack && $options.toBack(...args)),
c: common_vendor.w(({
checked
}, s0, i0) => {
return {
a: checked,
b: !checked,
c: i0,
d: s0
};
}, {
name: "icon",
path: "c",
vueId: "2d7e3f76-1"
}),
d: common_assets._imports_0$4,
e: common_assets._imports_1$3,
f: common_vendor.p({
checked: $data.clientInfo.payType === "全款",
label: "全款",
fontSize: "1rem"
}),
g: common_vendor.w(({
checked
}, s0, i0) => {
return {
a: checked,
b: !checked,
c: i0,
d: s0
};
}, {
name: "icon",
path: "g",
vueId: "2d7e3f76-3,2d7e3f76-2"
}),
h: common_assets._imports_0$4,
i: common_assets._imports_1$3,
j: common_vendor.p({
checked: $data.clientInfo.custType == 0 ? true : false,
value: "个人",
label: "个人",
fontSize: "1rem"
}),
k: common_vendor.w(({
checked
}, s0, i0) => {
return {
a: checked,
b: !checked,
c: i0,
d: s0
};
}, {
name: "icon",
path: "k",
vueId: "2d7e3f76-4,2d7e3f76-2"
}),
l: common_assets._imports_0$4,
m: common_assets._imports_1$3,
n: common_vendor.p({
checked: $data.clientInfo.custType == 1 ? true : false,
value: "公司",
label: "公司",
fontSize: "1rem"
}),
o: common_vendor.o($options.onChange),
p: $data.clientInfo.certFront == "" ? $data.positiveImg : $data.certFront,
q: $data.certFront == "" ? true : false
}, ($data.certFront == "" ? true : false) ? {} : {}, {
r: common_vendor.o((...args) => $options.uploadPositive && $options.uploadPositive(...args)),
s: $data.clientInfo.certBack == "" ? $data.reverseImg : $data.certBack,
t: $data.certBack == "" ? true : false
}, ($data.certBack == "" ? true : false) ? {} : {}, {
v: common_vendor.o((...args) => $options.uploadReverse && $options.uploadReverse(...args)),
w: $data.clientInfo.carPic == "" ? $data.carImg : $data.carPic,
x: $data.carPic == "" ? true : false
}, ($data.carPic == "" ? true : false) ? {} : {}, {
y: common_vendor.o((...args) => $options.uploadCarCert && $options.uploadCarCert(...args)),
z: common_assets._imports_3,
A: common_vendor.t($data.clientInfo.productName),
B: common_vendor.t($data.clientInfo.storeName),
C: $data.clientInfo.custName,
D: common_vendor.o(($event) => $data.clientInfo.custName = $event.detail.value),
E: $data.clientInfo.custAddress,
F: common_vendor.o(($event) => $data.clientInfo.custAddress = $event.detail.value),
G: $data.clientInfo.custCardNo,
H: common_vendor.o(($event) => $data.clientInfo.custCardNo = $event.detail.value),
I: $data.clientInfo.custPhone,
J: common_vendor.o(($event) => $data.clientInfo.custPhone = $event.detail.value),
K: common_vendor.f($data.departments, (item, k0, i0) => {
return {
a: common_vendor.w(({
checked
}, s1, i1) => {
return {
a: checked,
b: !checked,
c: i1,
d: s1
};
}, {
name: "icon",
path: "K[" + i0 + "].a",
vueId: "2d7e3f76-6-" + i0 + ",2d7e3f76-5"
}),
b: "2d7e3f76-6-" + i0 + ",2d7e3f76-5",
c: common_vendor.p({
value: item,
checked: $data.clientInfo.salePort === item
}),
d: common_vendor.t(item),
e: item
};
}),
L: common_assets._imports_0$4,
M: common_assets._imports_1$3,
N: common_vendor.o($options.handleDepartmentChange),
O: $data.clientInfo.saleName,
P: common_vendor.o(($event) => $data.clientInfo.saleName = $event.detail.value),
Q: common_assets._imports_3,
R: common_vendor.t($data.clientInfo.appOrderCarList[0].carSeries || "请选择车辆品牌 >"),
S: common_vendor.o((...args) => $options.getCar && $options.getCar(...args)),
T: $data.clientInfo.appOrderCarList[0].carModel,
U: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].carModel = $event.detail.value),
V: $data.clientInfo.appOrderCarList[0].vin,
W: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].vin = $event.detail.value),
X: common_vendor.t($data.clientInfo.appOrderCarList[0].carType || "请选择车辆类型 >"),
Y: common_vendor.o((...args) => $options.bindCarBrandChanges && $options.bindCarBrandChanges(...args)),
Z: $data.carBrandIndex,
aa: $data.carType,
ab: common_vendor.t($data.clientInfo.appOrderCarList[0].useType || "请选择使用性质 >"),
ac: common_vendor.o((...args) => $options.binduseTypeChanges && $options.binduseTypeChanges(...args)),
ad: $data.useTypeIndex,
ae: $data.useType,
af: common_vendor.w(({
checked
}, s0, i0) => {
return {
a: checked,
b: !checked,
c: i0,
d: s0
};
}, {
name: "icon",
path: "af",
vueId: "2d7e3f76-8,2d7e3f76-7"
}),
ag: common_assets._imports_0$4,
ah: common_assets._imports_1$3,
ai: common_vendor.p({
checked: $data.clientInfo.appOrderCarList[0].newCar == 1 ? true : false,
value: "是",
label: "是",
fontSize: "1rem"
}),
aj: common_vendor.w(({
checked
}, s0, i0) => {
return {
a: checked,
b: !checked,
c: i0,
d: s0
};
}, {
name: "icon",
path: "aj",
vueId: "2d7e3f76-9,2d7e3f76-7"
}),
ak: common_assets._imports_0$4,
al: common_assets._imports_1$3,
am: common_vendor.p({
checked: $data.clientInfo.appOrderCarList[0].newCar == 0 ? true : false,
value: "否",
label: "否",
fontSize: "1rem"
}),
an: common_vendor.o($options.onChanges),
ao: $data.clientInfo.appOrderCarList[0].carNo,
ap: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].carNo = $event.detail.value),
aq: $data.clientInfo.appOrderCarList[0].engineNo,
ar: common_vendor.o(($event) => $data.clientInfo.appOrderCarList[0].engineNo = $event.detail.value),
as: common_assets._imports_3,
at: common_assets._imports_6,
av: common_vendor.o($options.afterRead),
aw: common_vendor.o($options.deletePic),
ax: common_vendor.p({
fileList: $data.fileList1,
name: "1",
multiple: true,
maxCount: 1
}),
ay: common_assets._imports_6,
az: common_vendor.o($options.afterRead),
aA: common_vendor.o($options.deletePic),
aB: common_vendor.p({
fileList: $data.fileList2,
name: "2",
multiple: true,
maxCount: 1
}),
aC: common_vendor.o((...args) => $options.get_to && $options.get_to(...args)),
aD: common_vendor.sei(_ctx.virtualHostId, "view")
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2d7e3f76"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/PayPal_pinpai.js.map

+ 10
- 0
unpackage/dist/dev/mp-weixin/pages/index/PayPal_pinpai.json View File

@ -0,0 +1,10 @@
{
"navigationBarTitleText": "",
"navigationStyle": "custom",
"usingComponents": {
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons",
"l-radio": "../../uni_modules/lime-radio/components/l-radio/l-radio",
"l-radio-group": "../../uni_modules/lime-radio/components/l-radio-group/l-radio-group",
"uv-upload": "../../uni_modules/uv-upload/components/uv-upload/uv-upload"
}
}

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


+ 160
- 0
unpackage/dist/dev/mp-weixin/pages/index/PayPal_pinpai.wxss View File

@ -0,0 +1,160 @@
@import "../../uvue.wxss";
:host{display:flex;flex-direction:column}
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.containers.data-v-2d7e3f76 {
height: 100vh;
width: 100%;
background-color: #fff;
overflow-y: scroll;
}
.footer.data-v-2d7e3f76 {
position: fixed;
bottom: 0;
left: 0;
}
.container.data-v-2d7e3f76::-webkit-scrollbar {
display: none;
}
.section.data-v-2d7e3f76 {
border-bottom: 1rpx solid #eee;
margin: 0 1rem 0 1rem;
}
.sections.data-v-2d7e3f76 {
margin: 0 1rem 1rem 1rem;
}
.form-item.data-v-2d7e3f76 {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 0.5rem 0;
border-bottom: 0.1rem solid #f2f2f2;
color: #767676;
}
.labels.data-v-2d7e3f76 {
color: red;
display: flex;
justify-content: center;
align-items: center;
}
.label.data-v-2d7e3f76 {
font-size: 28rpx;
color: #666;
width: 200rpx;
}
.input.data-v-2d7e3f76 {
flex: 1;
text-align: right;
font-size: 28rpx;
color: #737373;
height: 100%;
}
.picker.data-v-2d7e3f76 {
flex: 1;
}
.picker-text.data-v-2d7e3f76 {
text-align: right;
color: #737373;
font-size: 0.8rem;
}
.radio-group.data-v-2d7e3f76 {
display: flex;
flex: 1;
justify-content: flex-end;
flex-direction: row;
}
.radio-label.data-v-2d7e3f76 {
padding: 0;
margin-left: 10rpx;
display: flex;
flex-direction: row;
font-size: 1rem;
transform: scale(0.7);
}
.value.data-v-2d7e3f76 {
flex: 1;
text-align: right;
color: #737373;
font-size: 0.8rem;
}
.idCard-box.data-v-2d7e3f76 {
margin-top: 10%;
width: 100%;
height: 50%;
display: flex;
flex-direction: row;
/* background-color: red; */
flex-wrap: wrap;
}
.idCard-box .reverse.data-v-2d7e3f76 {
height: 30%;
width: 40%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 5% 0 5%;
}
.idCard-box .reverse image.data-v-2d7e3f76 {
width: 100%;
height: 100%;
}
.idCard-box .reverse text.data-v-2d7e3f76 {
position: absolute;
text-shadow: 1px 1px black, -1px -1px black, 1px -1px black, -1px 1px black;
font-size: 0.8rem;
color: #fff;
}
/* 表单分区样式 */
.con_size.data-v-2d7e3f76 {
font-size: 1rem;
font-weight: bold;
margin: 1rem 0;
color: #000000;
display: flex;
flex-direction: row;
align-items: center;
}
.con_size_img.data-v-2d7e3f76 {
height: 100%;
width: 2%;
margin-right: 2%;
}
.form-button.data-v-2d7e3f76 {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.button.data-v-2d7e3f76 {
height: 100%;
width: 100%;
background-color: #044f7a;
color: #ffffff;
border-radius: 1rem;
}

+ 213
- 0
unpackage/dist/dev/mp-weixin/pages/index/PayPal_xq.js View File

@ -0,0 +1,213 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const api = require("../../api.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = common_vendor.defineComponent({
data() {
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"
})
],
vouchers: [],
Finances: [],
productTypeFlag: true
};
},
onLoad(options) {
api.isToken();
api.list(new UTSJSONObject({ id: getApp().id })).then((res = null) => {
this.records = res.result.records;
});
api.queryAppOrderCarByMainId(new UTSJSONObject({ id: getApp().id })).then((res = null) => {
this.cars = res.result;
});
api.queryAppOrderFinanceByMainId(new UTSJSONObject({ id: getApp().id })).then((res = null) => {
this.Finances = res.result;
});
api.queryAppOrderVoucherByMainId(new UTSJSONObject({ id: getApp().id })).then((res = null) => {
this.vouchers = res.result;
});
common_vendor.index.__f__("log", "at pages/index/PayPal_xq.uvue:323", "111", UTS.JSON.parse(this.cars));
this.productTypeFlag = getApp().productTypeFlag;
},
onUpload() {
common_vendor.index.offKeyboardHeightChange();
},
methods: {
keyboardheightchange(e = null) {
},
clickImg() {
common_vendor.index.previewImage({
urls: [this.records[0].payVoucherUrl],
current: "",
success: function(res) {
},
fail: function(res) {
},
complete: function(res = null) {
}
});
},
toBack() {
common_vendor.index.navigateBack({ delta: 1 });
}
}
});
if (!Array) {
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
_easycom_uni_icons2();
}
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
if (!Math) {
_easycom_uni_icons();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: common_vendor.p({
type: "left",
size: "30",
color: "#c2d4de"
}),
b: common_vendor.o((...args) => $options.toBack && $options.toBack(...args)),
c: common_vendor.t($data.records[0].payType),
d: common_vendor.t($data.records[0].custType == 0 ? "个人" : "公司"),
e: common_vendor.o((...args) => _ctx.onChange && _ctx.onChange(...args)),
f: $data.records[0].certFront,
g: common_vendor.o((...args) => _ctx.uploadPositive && _ctx.uploadPositive(...args)),
h: $data.records[0].certBack,
i: common_vendor.o((...args) => _ctx.uploadReverse && _ctx.uploadReverse(...args)),
j: $data.records[0].carPic,
k: common_vendor.o((...args) => _ctx.uploadCarCert && _ctx.uploadCarCert(...args)),
l: common_assets._imports_3,
m: common_vendor.t($data.records[0].productName),
n: common_vendor.t($data.records[0].storeName),
o: common_vendor.t($data.records[0].custName),
p: common_vendor.t($data.records[0].custAddress),
q: common_vendor.t($data.records[0].custCardNo),
r: common_vendor.t($data.records[0].custPhone),
s: common_vendor.t($data.records[0].storeName),
t: common_vendor.t($data.records[0].saleName),
v: common_assets._imports_3,
w: common_vendor.t($data.cars[0].saleName),
x: common_vendor.t($data.cars[0].carModel),
y: common_vendor.t($data.cars[0].vin),
z: common_vendor.t($data.cars[0].carType),
A: common_vendor.t($data.cars[0].useType),
B: common_vendor.t($data.cars[0].newCar == 0 ? "否" : "是"),
C: common_vendor.t($data.cars[0].carNo),
D: common_vendor.t($data.cars[0].engineNo),
E: $data.productTypeFlag
}, $data.productTypeFlag ? {
F: common_vendor.t($data.cars[0].mileage)
} : {}, {
G: $data.productTypeFlag
}, $data.productTypeFlag ? {
H: common_vendor.t($data.cars[0].buyTime)
} : {}, {
I: $data.productTypeFlag
}, $data.productTypeFlag ? {
J: common_vendor.t($data.cars[0].buyMoney)
} : {}, {
K: $data.productTypeFlag
}, $data.productTypeFlag ? {
L: common_vendor.t($data.cars[0].buyTax)
} : {}, {
M: common_assets._imports_3,
N: $data.productTypeFlag
}, $data.productTypeFlag ? {
O: common_vendor.t($data.vouchers[0].firstBeneficiary)
} : {}, {
P: $data.productTypeFlag
}, $data.productTypeFlag ? {
Q: common_vendor.t($data.vouchers[0].serviceMoney)
} : {}, {
R: $data.productTypeFlag
}, $data.productTypeFlag ? {
S: common_vendor.t($data.vouchers[0].effectiveTime)
} : {}, {
T: $data.productTypeFlag
}, $data.productTypeFlag ? {
U: common_vendor.t($data.vouchers[0].endTime)
} : {}, {
V: $data.productTypeFlag
}, $data.productTypeFlag ? {
W: common_vendor.t($data.vouchers[0].serviceYear)
} : {}, {
X: $data.productTypeFlag
}, $data.productTypeFlag ? {
Y: common_vendor.t($data.vouchers[0].payTime)
} : {}, {
Z: $data.records[0].payVoucherUrl,
aa: common_vendor.o((...args) => $options.clickImg && $options.clickImg(...args)),
ab: $data.records[0].invoiceUrl,
ac: common_vendor.o((...args) => $options.clickImg && $options.clickImg(...args)),
ad: $data.productTypeFlag
}, $data.productTypeFlag ? {
ae: common_assets._imports_3,
af: common_vendor.t($data.Finances[0].lender || 0),
ag: common_vendor.t($data.Finances[0].lenderMoney || 0),
ah: common_vendor.t($data.Finances[0].lenderYear || 0)
} : {}, {
ai: common_vendor.sei(_ctx.virtualHostId, "view")
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-76649624"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/PayPal_xq.js.map

+ 7
- 0
unpackage/dist/dev/mp-weixin/pages/index/PayPal_xq.json View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "",
"navigationStyle": "custom",
"usingComponents": {
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
}

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


+ 159
- 0
unpackage/dist/dev/mp-weixin/pages/index/PayPal_xq.wxss View File

@ -0,0 +1,159 @@
@import "../../uvue.wxss";
:host{display:flex;flex-direction:column}
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.containers.data-v-76649624 {
height: 100%;
width: 100%;
background-color: #fff;
overflow-y: scroll;
}
.footer.data-v-76649624 {
position: fixed;
bottom: 0;
left: 0;
}
.container.data-v-76649624::-webkit-scrollbar {
display: none;
}
.section.data-v-76649624 {
border-bottom: 1rpx solid #eee;
margin: 0 1rem 0 1rem;
}
.sections.data-v-76649624 {
margin: 0 1rem 1rem 1rem;
}
.form-item.data-v-76649624 {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 0.5rem 0;
border-bottom: 0.1rem solid #f2f2f2;
color: #767676;
}
.labels.data-v-76649624 {
color: red;
display: flex;
justify-content: center;
align-items: center;
}
.label.data-v-76649624 {
font-size: 28rpx;
color: #666;
width: 200rpx;
}
.input.data-v-76649624 {
flex: 1;
text-align: right;
font-size: 28rpx;
color: #737373;
}
.picker.data-v-76649624 {
flex: 1;
}
.picker-text.data-v-76649624 {
text-align: right;
color: #737373;
font-size: 0.8rem;
}
.radio-group.data-v-76649624 {
display: flex;
flex: 1;
justify-content: flex-end;
flex-direction: row;
}
.radio-label.data-v-76649624 {
padding: 0;
margin-left: 10rpx;
display: flex;
flex-direction: row;
font-size: 1rem;
transform: scale(0.7);
}
.value.data-v-76649624 {
flex: 1;
text-align: right;
color: #737373;
font-size: 0.8rem;
}
.idCard-box.data-v-76649624 {
margin-top: 10%;
width: 100%;
height: 50%;
display: flex;
flex-direction: row;
/* background-color: red; */
flex-wrap: wrap;
}
.idCard-box .reverse.data-v-76649624 {
height: 30%;
width: 40%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 5% 0 5%;
}
.idCard-box .reverse image.data-v-76649624 {
width: 100%;
height: 100%;
}
.idCard-box .reverse text.data-v-76649624 {
position: absolute;
text-shadow: 1px 1px black, -1px -1px black, 1px -1px black, -1px 1px black;
font-size: 0.8rem;
color: #fff;
}
/* 表单分区样式 */
.con_size.data-v-76649624 {
font-size: 1rem;
font-weight: bold;
margin: 1rem 0;
color: #000000;
display: flex;
flex-direction: row;
align-items: center;
}
.con_size_img.data-v-76649624 {
height: 100%;
width: 2%;
margin-right: 2%;
}
.form-button.data-v-76649624 {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.button.data-v-76649624 {
height: 100%;
width: 100%;
background-color: #044f7a;
color: #ffffff;
border-radius: 1rem;
}

+ 35
- 11
unpackage/dist/dev/mp-weixin/pages/index/dingdan.js View File

@ -31,6 +31,18 @@ const _sfc_main = common_vendor.defineComponent({
common_vendor.index.hideLoading();
}, 1e3);
},
onShow() {
this.orders.splice(0);
common_vendor.index.showLoading({ title: "查询中..." });
setTimeout(() => {
api.list(new UTSJSONObject({ pageNo: 1, pageSize: 10 })).then((res = null) => {
for (var index = 0; index < res.result.records.length; index++) {
this.orders.push(res.result.records[index]);
}
});
common_vendor.index.hideLoading();
}, 1e3);
},
computed: {
filteredOrders() {
return this.orders.filter((item) => {
@ -85,7 +97,7 @@ const _sfc_main = common_vendor.defineComponent({
this.params.status = "";
this.params.pageNo = 1;
api.list(this.params).then((res = null) => {
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:146", res.result);
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:160", res.result);
this.orders.splice(0);
for (var index = 0; index < res.result.records.length; index++) {
this.orders.push(res.result.records[index]);
@ -158,11 +170,11 @@ const _sfc_main = common_vendor.defineComponent({
downloadPDF(contractUrl = null) {
return common_vendor.__awaiter(this, void 0, void 0, function* () {
common_vendor.index.showLoading({ title: "下载中..." });
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:222", contractUrl);
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:236", contractUrl);
common_vendor.index.downloadFile({
url: contractUrl,
success: (data) => {
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:226", data);
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:240", data);
common_vendor.index.saveFile({
tempFilePath: data.tempFilePath,
// filePath:"内部存储/Documents/",
@ -186,7 +198,7 @@ const _sfc_main = common_vendor.defineComponent({
});
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:255", err);
common_vendor.index.__f__("log", "at pages/index/dingdan.uvue:269", err);
common_vendor.index.showToast({
icon: "none",
mask: true,
@ -195,6 +207,17 @@ const _sfc_main = common_vendor.defineComponent({
}
});
});
},
look(id = null, productType = null) {
getApp().id = id;
if (productType == "普通产品") {
getApp().productTypeFlag = true;
} else {
getApp().productTypeFlag = false;
}
common_vendor.index.navigateTo({
url: "/pages/index/PayPal_xq"
});
}
}
});
@ -247,19 +270,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
f: common_vendor.t(order.createTime),
g: common_vendor.t(order.saleName),
h: common_vendor.t(order.storeName),
i: order.status == 1 ? true : false
}, (order.status == 1 ? true : false) ? {
i: order.status == 1 && order.productType == "普通产品" ? true : false
}, (order.status == 1 && order.productType == "普通产品" ? true : false) ? {
j: common_vendor.o(($event) => $options.downloadPDF(order.contractUrl), index)
} : {}, {
k: order.status == 1 ? true : false
k: common_vendor.o(($event) => $options.look(order.id, order.productType), index),
l: order.status == 1 ? true : false
}, (order.status == 1 ? true : false) ? {
l: common_assets._imports_0$3
m: common_assets._imports_0$3
} : {}, {
m: order.status == 1 ? false : true
n: order.status == 1 ? false : true
}, (order.status == 1 ? false : true) ? {
n: common_assets._imports_1$2
o: common_assets._imports_1$2
} : {}, {
o: index
p: index
});
}),
j: common_vendor.sei(_ctx.virtualHostId, "scroll-view"),


+ 1
- 1
unpackage/dist/dev/mp-weixin/pages/index/dingdan.wxml View File

@ -1 +1 @@
<scroll-view lower-threshold="50" bindscrolltolower="{{k}}" enable-flex="true" enhanced="true" scroll-y="true" id="{{j}}" change:eS="{{uV.sS}}" eS="{{$eS[j]}}" class="{{['container', 'data-v-6e742b06', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><view class="header data-v-6e742b06"><view class="header_info data-v-6e742b06"><view class="header_info_icon data-v-6e742b06" catchtap="{{b}}" style="display:flex;justify-content:center;align-items:center"><uni-icons class="data-v-6e742b06" virtualHostClass="data-v-6e742b06" u-i="6e742b06-0" bind:__l="__l" u-p="{{a||''}}"></uni-icons></view><text class="header_text data-v-6e742b06">录入订单</text></view></view><view class="search-box data-v-6e742b06"><uni-icons class="isshow-header-content-icon data-v-6e742b06" virtualHostClass="isshow-header-content-icon data-v-6e742b06" u-i="6e742b06-1" bind:__l="__l" u-p="{{c||''}}"></uni-icons><uni-easyinput class="search-input data-v-6e742b06" virtualHostClass="search-input data-v-6e742b06" bindclear="{{d}}" u-i="6e742b06-2" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f||''}}"/><button bindtap="{{g}}" class="search-btn data-v-6e742b06" hover-class="none">搜索</button></view><view class="filter-tabs data-v-6e742b06"><text wx:for="{{h}}" wx:for-item="tab" wx:key="b" class="{{['data-v-6e742b06', 'tab-item', tab.c]}}" bindtap="{{tab.d}}">{{tab.a}}</text></view><view wx:for="{{i}}" wx:for-item="order" wx:key="o" class="order-item data-v-6e742b06"><view class="order-header data-v-6e742b06"><text class="order-no data-v-6e742b06">{{order.a}}</text><text class="copy-btn data-v-6e742b06" bindtap="{{order.b}}">复制</text></view><view class="order-info data-v-6e742b06"><text class="data-v-6e742b06">客户姓名:{{order.c}}</text><text class="data-v-6e742b06">联系方式:{{order.d}}</text><text class="data-v-6e742b06">服务名称:{{order.e}}</text><text class="data-v-6e742b06">订单时间:{{order.f}}</text><text class="data-v-6e742b06">销售人员:{{order.g}}</text><text class="data-v-6e742b06">门店名称:{{order.h}}</text></view><button wx:if="{{order.i}}" class="download-btn data-v-6e742b06" bindtap="{{order.j}}">PDF下载</button><image wx:if="{{order.k}}" src="{{order.l}}" class="status data-v-6e742b06"></image><image wx:if="{{order.m}}" src="{{order.n}}" class="status data-v-6e742b06"></image></view></scroll-view><wxs src="/common/uniView.wxs" module="uV"/>
<scroll-view lower-threshold="50" bindscrolltolower="{{k}}" enable-flex="true" enhanced="true" scroll-y="true" id="{{j}}" change:eS="{{uV.sS}}" eS="{{$eS[j]}}" class="{{['container', 'data-v-6e742b06', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><view class="header data-v-6e742b06"><view class="header_info data-v-6e742b06"><view class="header_info_icon data-v-6e742b06" catchtap="{{b}}" style="display:flex;justify-content:center;align-items:center"><uni-icons class="data-v-6e742b06" virtualHostClass="data-v-6e742b06" u-i="6e742b06-0" bind:__l="__l" u-p="{{a||''}}"></uni-icons></view><text class="header_text data-v-6e742b06">录入订单</text></view></view><view class="search-box data-v-6e742b06"><uni-icons class="isshow-header-content-icon data-v-6e742b06" virtualHostClass="isshow-header-content-icon data-v-6e742b06" u-i="6e742b06-1" bind:__l="__l" u-p="{{c||''}}"></uni-icons><uni-easyinput class="search-input data-v-6e742b06" virtualHostClass="search-input data-v-6e742b06" bindclear="{{d}}" u-i="6e742b06-2" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f||''}}"/><button bindtap="{{g}}" class="search-btn data-v-6e742b06" hover-class="none">搜索</button></view><view class="filter-tabs data-v-6e742b06"><text wx:for="{{h}}" wx:for-item="tab" wx:key="b" class="{{['data-v-6e742b06', 'tab-item', tab.c]}}" bindtap="{{tab.d}}">{{tab.a}}</text></view><view wx:for="{{i}}" wx:for-item="order" wx:key="p" class="order-item data-v-6e742b06"><view class="order-header data-v-6e742b06"><text class="order-no data-v-6e742b06">{{order.a}}</text><text class="copy-btn data-v-6e742b06" bindtap="{{order.b}}">复制</text></view><view class="order-info data-v-6e742b06"><text class="data-v-6e742b06">客户姓名:{{order.c}}</text><text class="data-v-6e742b06">联系方式:{{order.d}}</text><text class="data-v-6e742b06">服务名称:{{order.e}}</text><text class="data-v-6e742b06">订单时间:{{order.f}}</text><text class="data-v-6e742b06">销售人员:{{order.g}}</text><text class="data-v-6e742b06">门店名称:{{order.h}}</text></view><button wx:if="{{order.i}}" class="download-btn data-v-6e742b06" bindtap="{{order.j}}">PDF下载</button><button class="download-btns data-v-6e742b06" bindtap="{{order.k}}">查看详情</button><image wx:if="{{order.l}}" src="{{order.m}}" class="status data-v-6e742b06"></image><image wx:if="{{order.n}}" src="{{order.o}}" class="status data-v-6e742b06"></image></view></scroll-view><wxs src="/common/uniView.wxs" module="uV"/>

+ 17
- 3
unpackage/dist/dev/mp-weixin/pages/index/dingdan.wxss View File

@ -124,12 +124,26 @@
line-height: 1.8;
}
.order-item .download-btn.data-v-6e742b06 {
width: 35%;
height: 15%;
width: 30%;
height: 10%;
background-color: #044f7a;
position: absolute;
color: #ffffff;
bottom: 8%;
right: 7%;
font-size: 0.4rem;
display: flex;
justify-content: center;
align-items: center;
border-radius: 1rem;
}
.order-item .download-btns.data-v-6e742b06 {
width: 30%;
height: 10%;
background-color: #044f7a;
position: absolute;
color: #ffffff;
bottom: 10%;
bottom: 20%;
right: 7%;
font-size: 0.4rem;
display: flex;


+ 1
- 0
unpackage/dist/dev/mp-weixin/pages/index/login.js View File

@ -38,6 +38,7 @@ const _sfc_main = common_vendor.defineComponent({
});
api.login(usr).then((res = null) => {
common_vendor.index.setStorageSync("token", res.result.token);
common_vendor.index.__f__("log", "at pages/index/login.uvue:112", res.result.token);
getApp().usrInfo = res.result.userInfo;
if (res.success) {
common_vendor.index.showToast({


+ 5
- 1
unpackage/dist/dev/mp-weixin/pages/views/car.js View File

@ -27,7 +27,11 @@ const _sfc_main = common_vendor.defineComponent({
getName(name = null) {
this.clientInfo.appOrderCarList[0].carSeries = this.clientInfo.appOrderCarList[0].carSeries + name;
common_vendor.index.__f__("log", "at pages/views/car.uvue:56", "3", this.clientInfo.appOrderCarList[0].carSeries);
common_vendor.index.navigateTo({ url: "/pages/index/PayPal?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo)) });
if (getApp().flag != 1) {
common_vendor.index.redirectTo({ url: "/pages/index/PayPal?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo)) });
} else {
common_vendor.index.redirectTo({ url: "/pages/index/PayPal_pinpai?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo)) });
}
}
}
});


+ 95
- 0
unpackage/dist/dev/mp-weixin/pages/views/carFinal.js View File

@ -0,0 +1,95 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const api = require("../../api.js");
const _sfc_main = common_vendor.defineComponent({
data() {
return {
list: [],
currentIndex: "",
clientInfo: new UTSJSONObject({}),
certFront: "",
carPic: "",
certBack: ""
};
},
onLoad(options) {
this.clientInfo = UTS.JSON.parse(decodeURIComponent(options.clientInfo));
common_vendor.index.__f__("log", "at pages/views/carFinal.uvue:42", this.clientInfo.appOrderCarList[0].carSeries);
},
mounted() {
api.childList(new UTSJSONObject({ pid: getApp().pid })).then((res = null) => {
this.list = res.result.records;
});
},
methods: {
getBack() {
common_vendor.index.navigateBack({ delta: 1 });
},
getPid(id = null, name = null) {
this.clientInfo.appOrderCarList[0].carSeries = this.clientInfo.appOrderCarList[0].carSeries + name;
api.childList(new UTSJSONObject({ pid: id })).then((res = null) => {
common_vendor.index.__f__("log", "at pages/views/carFinal.uvue:58", res.result.records);
if (res.result.records.length == 0) {
if (this.pagesCount >= 10) {
if (getApp().flag == 0) {
common_vendor.index.redirectTo({ url: "/pages/index/PayPal?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo)) });
} else {
common_vendor.index.redirectTo({ url: "/pages/index/PayPal_pinpai?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo)) });
}
} else {
if (getApp().flag == 0) {
common_vendor.index.navigateTo({ url: "/pages/index/PayPal?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo)) });
} else {
common_vendor.index.navigateTo({ url: "/pages/index/PayPal_pinpai?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo)) });
}
}
} else {
getApp().pid_1 = id;
if (this.pagesCount >= 10) {
common_vendor.index.redirectTo({
url: "/pages/views/car?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
});
} else {
common_vendor.index.navigateTo({
url: "/pages/views/car?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
});
}
}
});
}
}
});
if (!Array) {
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
_easycom_uni_icons2();
}
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
if (!Math) {
_easycom_uni_icons();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.p({
type: "left",
size: "30"
}),
b: common_vendor.o((...args) => $options.getBack && $options.getBack(...args)),
c: common_vendor.f($data.list, (item, index, i0) => {
return {
a: common_vendor.t(item.name),
b: "2cb7d1cc-1-" + i0,
c: index,
d: common_vendor.o(($event) => $options.getPid(item.id, item.name), index)
};
}),
d: common_vendor.p({
type: "right",
color: "#c0c0c0"
}),
e: $data.currentIndex,
f: common_vendor.sei(_ctx.virtualHostId, "view")
};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/views/carFinal.js.map

+ 7
- 0
unpackage/dist/dev/mp-weixin/pages/views/carFinal.json View File

@ -0,0 +1,7 @@
{
"navigationBarTitleText": "",
"navigationStyle": "custom",
"usingComponents": {
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
}

+ 1
- 0
unpackage/dist/dev/mp-weixin/pages/views/carFinal.wxml View File

@ -0,0 +1 @@
<view id="{{f}}" change:eS="{{uV.sS}}" eS="{{$eS[f]}}" class="{{['container', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden}}"><view class="header_infos"><view class="header_info_left" bindtap="{{b}}"><uni-icons u-i="2cb7d1cc-0" bind:__l="__l" u-p="{{a||''}}"></uni-icons></view><text class="header_info_right"> 选择车系 </text></view><view class="contents"><scroll-view scroll-y="true" class="scroll-view" scroll-into-view="{{e}}" enable-flex="true" enhanced="true"><view wx:for="{{c}}" wx:for-item="item" wx:key="c" class="content" bindtap="{{item.d}}"><text class="content-left">{{item.a}}</text><uni-icons class="content-right" virtualHostClass="content-right" u-i="{{item.b}}" bind:__l="__l" u-p="{{d||''}}"></uni-icons></view></scroll-view></view></view><wxs src="/common/uniView.wxs" module="uV"/>

+ 48
- 0
unpackage/dist/dev/mp-weixin/pages/views/carFinal.wxss View File

@ -0,0 +1,48 @@
@import "../../uvue.wxss";
:host{display:flex;flex-direction:column}
.header_infos{
height: 10%;
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
background-color: #f8f8f8;
}
.header_info_right{
width: 80%;
display: flex;
align-items: center;
justify-content: center;
/* left: 40%; */
}
.contents{
height: 100%;
width: 100%;
}
.scroll-view {
flex: 1;
height: 100%;
/* margin-top: 10%; */
background-color: #ffffff;
}
.content{
height: 5%;
display: flex;
flex-direction: row;
border-bottom: 0.01rem solid #e0e0e0;
/* height: 15%; */
}
.content-left{
font-size: 0.8rem;
display: flex;
align-items: center;
justify-content: center;
}
.content-right{
margin-left: auto;
display: flex;
align-items: center;
justify-content: center;
}

+ 4
- 6
unpackage/dist/dev/mp-weixin/pages/views/carOne.js View File

@ -30,13 +30,11 @@ const _sfc_main = common_vendor.defineComponent({
this.currentIndex = letter;
},
getID(id = null, name = null) {
common_vendor.index.__f__("log", "at pages/views/carOne.uvue:66", id);
this.clientInfo.appOrderCarList[0].carSeries = name;
common_vendor.index.__f__("log", "at pages/views/carOne.uvue:68", "1", this.clientInfo.appOrderCarList[0].carSeries);
api.childList(new UTSJSONObject({ pid: id })).then((res = null) => {
getApp().pid = res.result.records[0].id;
common_vendor.index.navigateTo({
url: "/pages/views/carTwo?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
});
getApp().pid = id;
common_vendor.index.redirectTo({
url: "/pages/views/carTwo?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
});
},
getBack() {


+ 19
- 8
unpackage/dist/dev/mp-weixin/pages/views/carTwo.js View File

@ -23,21 +23,32 @@ const _sfc_main = common_vendor.defineComponent({
},
methods: {
getBack() {
common_vendor.index.__f__("log", "at pages/views/carTwo.uvue:51", 1);
common_vendor.index.navigateBack({ delta: 1 });
},
getPid(id = null, name = null) {
this.clientInfo.appOrderCarList[0].carSeries = this.clientInfo.appOrderCarList[0].carSeries + name;
api.childList(new UTSJSONObject({ pid: id })).then((res = null) => {
if (res.result.records.length == 0) {
common_vendor.index.navigateTo({
url: "/pages/index/PayPal?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
});
if (this.pagesCount >= 10) {
common_vendor.index.redirectTo({
url: "/pages/index/PayPal?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
});
} else {
common_vendor.index.navigateTo({
url: "/pages/index/PayPal?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
});
}
} else {
getApp().pid_1 = id;
common_vendor.index.navigateTo({
url: "/pages/views/car?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
});
getApp().pid = id;
if (this.pagesCount >= 10) {
common_vendor.index.redirectTo({
url: "/pages/views/carFinal?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
});
} else {
common_vendor.index.navigateTo({
url: "/pages/views/carFinal?clientInfo=" + encodeURIComponent(UTS.JSON.stringify(this.clientInfo))
});
}
}
});
}


+ 10
- 7
unpackage/dist/dev/mp-weixin/pages/views/dingDanCreate.js View File

@ -30,15 +30,16 @@ const _sfc_main = common_vendor.defineComponent({
},
methods: {
toBack() {
let canNavBack = getCurrentPages();
if (canNavBack && canNavBack.length > 1) {
common_vendor.index.navigateBack();
} else {
history.back();
}
common_vendor.index.switchTab({
url: "/pages/home/home"
});
},
toNext() {
common_vendor.index.navigateTo({ url: "/pages/index/PayPal" });
if (this.name == "畅行无忧") {
common_vendor.index.navigateTo({ url: "/pages/index/PayPal" });
} else {
common_vendor.index.navigateTo({ url: "/pages/index/PayPal_pinpai" });
}
},
clear() {
this.ServiceName = "";
@ -46,11 +47,13 @@ const _sfc_main = common_vendor.defineComponent({
FirstLevelChange(id = null) {
this.FirstIndex = id;
this.product_2 = this.product[id].products;
this.categoryName = this.product[id].categoryName;
},
selctRadio(name = null, pdf = null) {
getApp().productName = name;
getApp().productUrl = pdf;
this.name = name;
common_vendor.index.__f__("log", "at pages/views/dingDanCreate.uvue:104", this.name);
},
handleSearch(event = null) {
this.FirstIndex = 0;


Loading…
Cancel
Save