|
@@ -71,7 +71,7 @@
|
|
|
</view>
|
|
|
<view style='padding-right:10px;' class="flex row">
|
|
|
<view class="left-text">身份证号</view>
|
|
|
- <u--input :disabled='dataDetails.id' placeholder="请输入身份证号" inputAlign='right' border="none"
|
|
|
+ <u--input :disabled='dataDetails.id?true:false' placeholder="请输入身份证号" inputAlign='right' border="none"
|
|
|
v-model="dataDetails.cardNumber">
|
|
|
</u--input>
|
|
|
</view>
|
|
@@ -169,7 +169,7 @@
|
|
|
onLoad(options) {
|
|
|
this.get_camera_permission()
|
|
|
var _this = this;
|
|
|
- console.log(options)
|
|
|
+ // console.log(options)
|
|
|
if(JSON.stringify(options) != "{}"){
|
|
|
this.dataDetails = options
|
|
|
}
|
|
@@ -375,12 +375,15 @@
|
|
|
mask: true
|
|
|
})
|
|
|
var _this = this
|
|
|
- this.$request.baseRequest('post', '/cargoOwnerInfo/api/editCargoOwner', _this.dataDetails).then(res => {
|
|
|
+ console.log( _this.dataDetails,122121)
|
|
|
+ _this.$request.baseRequest('post', '/cargoOwnerInfo/api/editCargoOwner', _this.dataDetails).then(res => {
|
|
|
uni.hideLoading()
|
|
|
+ console.log(res)
|
|
|
uni.$u.toast('提交成功')
|
|
|
uni.$u.route('/pages/mine/cargoowner/cargoowner')
|
|
|
})
|
|
|
.catch(res => {
|
|
|
+ console.log(res)
|
|
|
uni.hideLoading()
|
|
|
uni.showToast({
|
|
|
title: res.message,
|