diff --git a/api/api.js b/api/api.js
index eccbbb1..5f6ccb2 100644
--- a/api/api.js
+++ b/api/api.js
@@ -92,6 +92,13 @@ const config = {
limit : 1500,
showLoading: true,
},
+ // 清关申请
+ myCustoms: {
+ url: '/product/myCustoms',
+ method: 'POST',
+ limit : 1500,
+ showLoading: true,
+ },
// 产品报价
addProduct: {
url: '/product/addProduct',
@@ -182,7 +189,7 @@ const config = {
url: '/index/alprice',
method: 'POST',
},
- // 我的头像昵称,平台客户电话等信息
+ // 获取个人信息
getUserInfo: {
url: '/index/index',
method: 'POST',
@@ -197,6 +204,7 @@ const config = {
myOrderlist: {
url: '/product/myOrderlist',
method: 'GET',
+ auth : true,
},
// 采购商根据订单id查询订单信息
getMyOrderInfo: {
diff --git a/pages/index/clearanceService.vue b/pages/index/clearanceService.vue
index ddd375d..467186f 100644
--- a/pages/index/clearanceService.vue
+++ b/pages/index/clearanceService.vue
@@ -1,101 +1,108 @@
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ $t('components.applyNow') }} >>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('components.applyNow') }} >>
+
+
+
+
-
-
-
+
+
+
\ No newline at end of file
diff --git a/pages_order/auth/customsClearApply.vue b/pages_order/auth/customsClearApply.vue
index f4b326c..49649c4 100644
--- a/pages_order/auth/customsClearApply.vue
+++ b/pages_order/auth/customsClearApply.vue
@@ -175,7 +175,35 @@ export default {
skyhfileList: [],
}
},
+ onLoad() {
+ this.myCustoms()
+ },
methods: {
+ myCustoms(){
+ this.$api('myCustoms', res => {
+ if(res.code == 200 && res.result){
+ this.form = res.result
+
+ delete this.form.id
+
+ this.jbhxxfileList = this.form.basicAccount ? this.form.basicAccount.split(',').map(url => {
+ return {
+ url
+ }
+ }) : []
+ this.skyhfileList = this.form.bankInfo ? this.form.bankInfo.split(',').map(url => {
+ return {
+ url
+ }
+ }) : []
+ this.yyzzfileList = this.form.businessLicense ? this.form.businessLicense.split(',').map(url => {
+ return {
+ url
+ }
+ }) : []
+ }
+ })
+ },
// 申请审核
applyReview() {
diff --git a/pages_order/order/offerOrBillLading.vue b/pages_order/order/offerOrBillLading.vue
index b048058..c745f02 100644
--- a/pages_order/order/offerOrBillLading.vue
+++ b/pages_order/order/offerOrBillLading.vue
@@ -464,9 +464,10 @@
return
}
- if(this.form.productType != 0 && !productType){
+ if(!this.productType[this.form.productType]){
uni.showToast({
- title: '请选择商品类型'
+ title: '请选择商品类型',
+ icon: 'none'
})
return
}