提交 aa535ebd1760f1773a6c4e4715470ca59a4c0bea
Merge branch 'dev_wy' into 机器人dev
# Conflicts: # pages/main/addtionalreduce/adddupporters/adddupporters.js
正在显示
5 个修改的文件
包含
135 行增加
和
49 行删除
| ... | ... | @@ -2,8 +2,6 @@ |
| 2 | 2 | var app = getApp(); |
| 3 | 3 | var baseUrl = app.globalData.baseUrl; |
| 4 | 4 | var format = require('../../../../utils/util.js'); |
| 5 | - | |
| 6 | -const cardTypeArray = ['居民身份证', '中国护照', '港澳居民居住证', '台湾居民居住证', '外国人永久居留身份证', '外国人工作许可证(A类)', '外国人工作许可证(B类)', '外国人工作许可证(C类)']; | |
| 7 | 5 | Page({ |
| 8 | 6 | |
| 9 | 7 | /** |
| ... | ... | @@ -17,19 +15,11 @@ Page({ |
| 17 | 15 | id_card_no: "", |
| 18 | 16 | birthday: "", |
| 19 | 17 | datas: "", |
| 20 | - cardtypeData: { | |
| 21 | - isrequre: true, | |
| 22 | - label: '证照类型', | |
| 23 | - bindtype: 'cardtype', | |
| 24 | - placeholder: '请选择证照类型', | |
| 25 | - selected: '', | |
| 26 | - values: cardTypeArray, | |
| 27 | - // range_key:'name', | |
| 28 | - // values: ["居民身份证", "军官证", '士兵证', '武警警官证', '港澳居民来往内地通行证', '外交官证', '中国护照', | |
| 29 | - // '外国护照', '香港永久性居民身份证', '澳门特别行政区永久性居民身份证', '台湾身份证', '台湾居民来往大陆通行证', '外国人永久居留证' | |
| 30 | - // ], | |
| 31 | - onChange: 'onPickerSelect' | |
| 32 | - }, | |
| 18 | + cardTypeArray : ['居民身份证', '中国护照', '港澳居民居住证', '台湾居民居住证', '外国人永久居留身份证', '外国人工作许可证(A类)', '外国人工作许可证(B类)', '外国人工作许可证(C类)'], | |
| 19 | + countryArray:[], | |
| 20 | + countryAbleChoosed:false, | |
| 21 | + cardtype:"", | |
| 22 | + nation:"", | |
| 33 | 23 | birthday_datelong: -1, |
| 34 | 24 | }, |
| 35 | 25 | |
| ... | ... | @@ -50,12 +40,14 @@ Page({ |
| 50 | 40 | datas: curdata, |
| 51 | 41 | supporter_id: curdata.id, |
| 52 | 42 | name: curdata.co_supporter, |
| 43 | + cardtype: curdata.id_card_type, | |
| 44 | + nation: curdata.nation, | |
| 53 | 45 | id_card_no: curdata.id_card_no, |
| 54 | 46 | birthday: curdata.birthday ? this.formatDate(curdata.birthday) : "", |
| 55 | 47 | birthday_datelong: curdata.birthday |
| 56 | 48 | }) |
| 57 | 49 | } |
| 58 | - | |
| 50 | + this.getCountry() | |
| 59 | 51 | }, |
| 60 | 52 | |
| 61 | 53 | /** |
| ... | ... | @@ -104,6 +96,48 @@ Page({ |
| 104 | 96 | }) |
| 105 | 97 | }, |
| 106 | 98 | |
| 99 | + //****************获取国籍数据************/ | |
| 100 | + getCountry: function () { | |
| 101 | + var that = this | |
| 102 | + wx.showLoading({ | |
| 103 | + title: '', | |
| 104 | + }) | |
| 105 | + var Authorization = app.globalData.Authorization; | |
| 106 | + wx.request({ | |
| 107 | + url: baseUrl + 'persontax/v1/nation-list', | |
| 108 | + method: "GET", | |
| 109 | + header: { | |
| 110 | + 'content-type': 'application/json', // 默认值 | |
| 111 | + "Authorization": Authorization | |
| 112 | + }, | |
| 113 | + success: function (res) { | |
| 114 | + var countrys = res.data.concat() | |
| 115 | + that.data.countryArray = res.data | |
| 116 | + if (countrys.indexOf('中国') > -1) { | |
| 117 | + countrys.splice(countrys.indexOf('中国'), 1); | |
| 118 | + } | |
| 119 | + if (countrys.indexOf('中国台湾') > -1) { | |
| 120 | + countrys.splice(countrys.indexOf('中国台湾'), 1); | |
| 121 | + } | |
| 122 | + if (countrys.indexOf('香港') > -1) { | |
| 123 | + countrys.splice(countrys.indexOf('香港'), 1); | |
| 124 | + } | |
| 125 | + if (countrys.indexOf('澳门') > -1) { | |
| 126 | + countrys.splice(countrys.indexOf('澳门'), 1); | |
| 127 | + } | |
| 128 | + that.setData({ | |
| 129 | + countryArray: countrys, | |
| 130 | + }) | |
| 131 | + }, | |
| 132 | + fail(res) { | |
| 133 | + wx.hideLoading() | |
| 134 | + }, | |
| 135 | + complete() { | |
| 136 | + wx.hideLoading() | |
| 137 | + } | |
| 138 | + }) | |
| 139 | + }, | |
| 140 | + | |
| 107 | 141 | getIdInfo: function(e) { |
| 108 | 142 | wx.navigateTo({ |
| 109 | 143 | url: '../../taxperson/idinfo/idinfo' |
| ... | ... | @@ -117,10 +151,14 @@ Page({ |
| 117 | 151 | if (!formdata.name || formdata.name.length < 1) { |
| 118 | 152 | this.showToast("请输入姓名") |
| 119 | 153 | return; |
| 120 | - } else if (!formdata.id_card_no || formdata.id_card_no.length < 1) { | |
| 121 | - this.showToast("请输入身份证号") | |
| 154 | + } | |
| 155 | + if (this.data.cardtype.length<1){ | |
| 156 | + this.showToast("请选择证照类型") | |
| 122 | 157 | return; |
| 123 | - } else if (!format.isIDCardNum(formdata.id_card_no)) { | |
| 158 | + }else if (!formdata.id_card_no || formdata.id_card_no.length < 1) { | |
| 159 | + this.showToast("请输入证件号码") | |
| 160 | + return; | |
| 161 | + } else if (this.data.cardtype=='居民身份证'&&!format.isIDCardNum(formdata.id_card_no)) { | |
| 124 | 162 | this.showToast("证件号码有误") |
| 125 | 163 | return; |
| 126 | 164 | } |
| ... | ... | @@ -128,6 +166,10 @@ Page({ |
| 128 | 166 | this.showToast("请选择出生日期") |
| 129 | 167 | return; |
| 130 | 168 | } |
| 169 | + if (this.data.nation.length < 1) { | |
| 170 | + this.showToast("请选择国籍") | |
| 171 | + return; | |
| 172 | + } | |
| 131 | 173 | this.goAdd(formdata) |
| 132 | 174 | }, |
| 133 | 175 | |
| ... | ... | @@ -140,10 +182,14 @@ Page({ |
| 140 | 182 | "id": that.data.supporter_id, |
| 141 | 183 | "legal_entity_id": that.data.legal_entity_id, |
| 142 | 184 | "co_supporter": formdata.name, |
| 185 | +<<<<<<< HEAD | |
| 143 | 186 | "id_card_type": "居民身份证", |
| 187 | +======= | |
| 188 | + "id_card_type": that.data.cardtype, | |
| 189 | +>>>>>>> dev_wy | |
| 144 | 190 | "id_card_no": formdata.id_card_no, |
| 145 | 191 | "birthday": that.data.birthday_datelong, |
| 146 | - "nation": "中国", | |
| 192 | + "nation": that.data.nation, | |
| 147 | 193 | "relation_ship": "兄、弟、姐、妹" |
| 148 | 194 | }, |
| 149 | 195 | header: { |
| ... | ... | @@ -178,6 +224,23 @@ Page({ |
| 178 | 224 | }) |
| 179 | 225 | }, |
| 180 | 226 | |
| 227 | + bindCardtypeChange:function(e){ | |
| 228 | + console.log('bindCardtypeChange', e) | |
| 229 | + var card_type = this.data.cardTypeArray[e.detail.value] | |
| 230 | + this.setData({ | |
| 231 | + cardtype: card_type, | |
| 232 | + nation: card_type == "居民身份证" || card_type == "中国护照" ? "中国" : (this.data.nation == "中国" ? "" : this.data.nation), | |
| 233 | + countryAbleChoosed: card_type == "居民身份证" || card_type == "中国护照" ? true : false | |
| 234 | + }) | |
| 235 | + }, | |
| 236 | + | |
| 237 | + bindnationChange: function (e) { | |
| 238 | + console.log('bindnationChange', e) | |
| 239 | + this.setData({ | |
| 240 | + nation: this.data.countryArray[e.detail.value] | |
| 241 | + }) | |
| 242 | + }, | |
| 243 | + | |
| 181 | 244 | showToast: function(data) { |
| 182 | 245 | if (data && data.length > 0) { |
| 183 | 246 | wx.showToast({ |
| ... | ... | @@ -190,7 +253,7 @@ Page({ |
| 190 | 253 | bindinput: function(e) { |
| 191 | 254 | console.log("bindinput", e.detail.value) |
| 192 | 255 | var idCardNo = e.detail.value |
| 193 | - if (idCardNo.length == 18) { | |
| 256 | + if (this.data.cardtype=='居民身份证'&&idCardNo.length == 18) { | |
| 194 | 257 | if (!format.isIDCardNum(idCardNo)) { |
| 195 | 258 | wx.showToast({ |
| 196 | 259 | image: "../../../../images/warn.png", | ... | ... |
| ... | ... | @@ -10,39 +10,53 @@ |
| 10 | 10 | <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入姓名' name='name' value='{{name}}'></input> |
| 11 | 11 | </view> |
| 12 | 12 | <view style="margin:0 30rpx;background:#e5e5e5;height:2rpx;"></view> |
| 13 | - <view style='height:90rpx;padding:0 30rpx'> | |
| 13 | + <picker bindchange="bindCardtypeChange" value="{{index}}" range="{{cardTypeArray}}"> | |
| 14 | + <view style='height:90rpx;padding:0 30rpx '> | |
| 14 | 15 | <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> |
| 15 | 16 | <text style='color:#777;font-size: 30rpx;line-height: 90rpx; float:left'>共同赡养人证照类型</text> |
| 16 | - <text style='color:#333;font-size: 30rpx;line-height: 90rpx; float:right'>居民身份证</text> | |
| 17 | + <image class='arrow_wrap' src='/images/arrow_right.png' style='margin-top:26rpx'></image> | |
| 18 | + <text wx:if="{{cardtype.length<1}}" class='text_999_30 float_right' style="line-height: 90rpx;">请输入证照类型</text> | |
| 19 | + <text wx:else style='color:#333;font-size: 30rpx;line-height: 90rpx; float:right'>{{cardtype}}</text> | |
| 17 | 20 | </view> |
| 18 | - <!-- <view style="margin:0 30rpx"> | |
| 19 | - <template is="picker_cell_normal" data="{{...cardtypeData}}" /> | |
| 20 | - </view> --> | |
| 21 | + </picker> | |
| 21 | 22 | <view style="margin:0 30rpx;background:#e5e5e5;height:2rpx;"></view> |
| 22 | 23 | <view style='height:90rpx;padding:0 30rpx'> |
| 23 | 24 | <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> |
| 24 | 25 | <text style='color:#777;font-size: 30rpx;line-height: 90rpx; float:left'>共同赡养人证照号码</text> |
| 25 | - <view> | |
| 26 | + <view wx:if="{{cardtype=='居民身份证'}}"> | |
| 26 | 27 | <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="children_id_card_no"></image> |
| 27 | 28 | <input class='input_wrap01 float_right' placeholder='请输入或拍摄身份证' placeholder-class='text_999_30' name='id_card_no' maxlength='18' type='idcard' value='{{id_card_no}}' bindinput="bindinput"></input> |
| 28 | 29 | </view> |
| 30 | + <view wx:else> | |
| 31 | + <input class='input_wrap01 float_right' placeholder='请输入证件号码' placeholder-class='text_999_30' name='id_card_no' maxlength='24' value='{{id_card_no}}' bindinput="bindinput"></input> | |
| 32 | + </view> | |
| 29 | 33 | </view> |
| 30 | 34 | <view style="margin:0 30rpx;background:#e5e5e5;height:2rpx;"></view> |
| 31 | - <picker mode="date" value="{{date}}" start="1919-01-01" end="2017-09-01" bindchange="bindDateChange"> | |
| 35 | + <picker mode="date" value="{{date}}" start="1949-01-01" end="2019-01-01" bindchange="bindDateChange"> | |
| 32 | 36 | <view style='height:90rpx;padding:0 30rpx'> |
| 33 | 37 | <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> |
| 34 | 38 | <text style='color:#777;font-size: 30rpx;line-height: 90rpx; float:left'>共同赡养人出生日期</text> |
| 35 | 39 | <image class='arrow_wrap' src='/images/arrow_right.png' style='margin-top:26rpx'></image> |
| 36 | - <text style='color:#333;font-size: 30rpx;line-height: 90rpx; float:right'>{{birthday}}</text> | |
| 40 | + <text wx:if="{{birthday.length<1}}" class='text_999_30 float_right' style="line-height: 90rpx;">请输入出生日期</text> | |
| 41 | + <text wx:else style='color:#333;font-size: 30rpx;line-height: 90rpx; float:right'>{{birthday}}</text> | |
| 37 | 42 | </view> |
| 38 | 43 | </picker> |
| 39 | 44 | <!-- <template is="picker_cell_normal" data="{{...commonbirthDate}}" /> --> |
| 40 | 45 | <view style="margin:0 30rpx;background:#e5e5e5;height:2rpx;"></view> |
| 41 | - <view style='height:90rpx;padding:0 30rpx'> | |
| 46 | + <!-- <view style='height:90rpx;padding:0 30rpx'> | |
| 42 | 47 | <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> |
| 43 | 48 | <text style='color:#777;font-size: 30rpx;line-height: 90rpx; float:left'>被赡养人国籍</text> |
| 44 | 49 | <text style='color:#333;font-size: 30rpx;line-height: 90rpx; float:right'>中国</text> |
| 50 | + </view> --> | |
| 51 | + <picker bindchange="bindnationChange" value="{{index}}" range="{{countryArray}}" disabled="{{countryAbleChoosed}}"> | |
| 52 | + <view style='height:90rpx;padding:0 30rpx '> | |
| 53 | + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> | |
| 54 | + <text style='color:#777;font-size: 30rpx;line-height: 90rpx; float:left'>被赡养人国籍</text> | |
| 55 | + <image class='arrow_wrap' src='/images/arrow_right.png' style='margin-top:26rpx'></image> | |
| 56 | + <text wx:if="{{nation.length<1}}" class='text_999_30 float_right' style="line-height: 90rpx;">请选择国籍</text> | |
| 57 | + <text wx:else style='color:#333;font-size: 30rpx;line-height: 90rpx; float:right'>{{nation}}</text> | |
| 45 | 58 | </view> |
| 59 | + </picker> | |
| 46 | 60 | <view style="margin:0 30rpx;background:#e5e5e5;height:2rpx;"></view> |
| 47 | 61 | <view style='height:90rpx;padding:0 30rpx'> |
| 48 | 62 | <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text> | ... | ... |
| ... | ... | @@ -22,7 +22,11 @@ |
| 22 | 22 | </view> |
| 23 | 23 | <view style='height:90rpx;width:100%;clear:both;'> |
| 24 | 24 | <text class='text_left'>国籍</text> |
| 25 | - <text class='text_right_333'>中国</text> | |
| 25 | + <text class='text_right_333'>{{datas.children_nation}}</text> | |
| 26 | + </view> | |
| 27 | + <view style='height:90rpx;width:100%;clear:both;'> | |
| 28 | + <text class='text_left'>与纳税人的关系</text> | |
| 29 | + <text class='text_right_333'>{{datas.relationship}}</text> | |
| 26 | 30 | </view> |
| 27 | 31 | </view> |
| 28 | 32 | |
| ... | ... | @@ -41,22 +45,22 @@ |
| 41 | 45 | <text class='text_right_333'>{{datas.education_period}}</text> |
| 42 | 46 | </view> |
| 43 | 47 | <view style='height:90rpx;width:100%;clear:both;'> |
| 44 | - <text class='text_left'>受教育期间起</text> | |
| 48 | + <text class='text_left'>受教育时间起</text> | |
| 45 | 49 | <text class='text_right_333'>{{datas.education_start}}</text> |
| 46 | 50 | </view> |
| 47 | 51 | <view style='height:90rpx;width:100%;clear:both;'> |
| 48 | - <text class='text_left'>受教育期间止</text> | |
| 52 | + <text class='text_left'>受教育时间止</text> | |
| 49 | 53 | <text class='text_right_333'>{{datas.education_end}}</text> |
| 50 | 54 | </view> |
| 51 | 55 | <view wx:if="{{datas.education_end&&datas.education_end.length>1}}" style='height:90rpx;width:100%;clear:both;'> |
| 52 | 56 | <text class='text_left'>教育终止时间</text> |
| 53 | 57 | <text class='text_right_333'>{{datas.education_period_end}}</text> |
| 54 | 58 | </view> |
| 55 | - <view style='height:90rpx;width:100%;clear:both;'> | |
| 59 | + <view wx:if="{{datas.school_country&&datas.school_country.length>1}}" style='height:90rpx;width:100%;clear:both;'> | |
| 56 | 60 | <text class='text_left'>就读国家(地区)</text> |
| 57 | 61 | <text class='text_right_333'>{{datas.school_country&&datas.school_country.length>0?datas.school_country:'中国'}}</text> |
| 58 | 62 | </view> |
| 59 | - <view style='width:100%;clear:both;'> | |
| 63 | + <view wx:if="{{datas.school_name&&datas.school_name.length>1}}" style='width:100%;clear:both;'> | |
| 60 | 64 | <text class='text_left'>就读学校名称</text> |
| 61 | 65 | <view class='float_right' style='padding:12px 0;font-family: PingFangSC-Regular;font-size: 28rpx;color: #333;line-height:40rpx;max-width:500rpx'>{{datas.school_name}}</view> |
| 62 | 66 | <!-- <text class='text_right_333'>{{datas.school_name}}</text> --> |
| ... | ... | @@ -99,7 +103,7 @@ |
| 99 | 103 | </view> |
| 100 | 104 | <view style='height:90rpx;width:100%;clear:both;'> |
| 101 | 105 | <text class='text_left'>国籍</text> |
| 102 | - <text class='text_right_333'>中国</text> | |
| 106 | + <text class='text_right_333'>{{datas.spouse_nation}}</text> | |
| 103 | 107 | </view> |
| 104 | 108 | </view> |
| 105 | 109 | |
| ... | ... | @@ -135,7 +139,7 @@ |
| 135 | 139 | </view> |
| 136 | 140 | <view style='height:90rpx;width:100%;clear:both;'> |
| 137 | 141 | <text class='text_left'>被赡养人国籍</text> |
| 138 | - <text class='text_right_333'>中国</text> | |
| 142 | + <text class='text_right_333'>{{datas.nation}}</text> | |
| 139 | 143 | </view> |
| 140 | 144 | <view style='height:90rpx;width:100%;clear:both;'> |
| 141 | 145 | <text class='text_left'>与纳税人关系</text> |
| ... | ... | @@ -168,7 +172,7 @@ |
| 168 | 172 | <text class='text_left'>出租方类型</text> |
| 169 | 173 | <text class='text_right_333'>{{datas.owner_type}}</text> |
| 170 | 174 | </view> |
| 171 | - <view style='width:100%;clear:both;'> | |
| 175 | + <view wx:if="{{datas.owner_name&&datas.owner_name.length>1}}" style='width:100%;clear:both;'> | |
| 172 | 176 | <text class='text_left'>出租方名称</text> |
| 173 | 177 | <view class='float_right' style='padding:12px 0;font-family: PingFangSC-Regular;font-size: 28rpx;color: #333;line-height:40rpx;max-width:500rpx'>{{datas.owner_name}}</view> |
| 174 | 178 | <!-- <text class='text_right_333'>{{datas.owner_name}}</text> --> |
| ... | ... | @@ -180,11 +184,11 @@ |
| 180 | 184 | <text class='text_right_333'>{{datas.owner_credit_no}}</text> |
| 181 | 185 | </view> --> |
| 182 | 186 | <view wx:if="{{datas.owner_type=='个人'}}"> |
| 183 | - <view style='height:90rpx;width:100%;clear:both;'> | |
| 187 | + <view wx:if="{{datas.owner_id_card_type&&datas.owner_id_card_type.length>1}}" style='height:90rpx;width:100%;clear:both;'> | |
| 184 | 188 | <text class='text_left'>证照类型</text> |
| 185 | 189 | <text class='text_right_333'>{{datas.owner_id_card_type=='1'?"居民身份证":datas.owner_id_card_type}}</text> |
| 186 | 190 | </view> |
| 187 | - <view style='height:90rpx;width:100%;clear:both;'> | |
| 191 | + <view wx:if="{{datas.owner_id_card_no&&datas.owner_id_card_no.length>1}}" style='height:90rpx;width:100%;clear:both;'> | |
| 188 | 192 | <text class='text_left'>证照号码</text> |
| 189 | 193 | <text class='text_right_333'>{{datas.owner_id_card_no}}</text> |
| 190 | 194 | </view> | ... | ... |
| ... | ... | @@ -59,9 +59,9 @@ |
| 59 | 59 | </view> |
| 60 | 60 | <view style='padding-right: 30rpx'> |
| 61 | 61 | <view class='divide_line_f5f5f5' style="margin-bottom:6rpx"></view> |
| 62 | - <view style='height:70rpx'> | |
| 63 | - <text class='text_999_28 ' style='line-height:70rpx'>子女姓名:</text> | |
| 64 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.children_name}}</text> | |
| 62 | + <view> | |
| 63 | + <text class='text_999_28 float_left' style='line-height:70rpx;'>子女姓名:</text> | |
| 64 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx;word-wrap: break-word;'>{{item.children_name}}</text> | |
| 65 | 65 | </view> |
| 66 | 66 | <view style='height:70rpx'> |
| 67 | 67 | <text class='text_999_28 ' style='line-height:70rpx'>分配比例:</text> |
| ... | ... | @@ -194,9 +194,13 @@ |
| 194 | 194 | |
| 195 | 195 | <view style='padding-right:30rpx'> |
| 196 | 196 | <view class='divide_line_f5f5f5'></view> |
| 197 | - <view style='height:70rpx'> | |
| 197 | + <!-- <view style='height:70rpx'> | |
| 198 | 198 | <text class='text_999_28 ' style='line-height:70rpx'>被赡养人姓名:</text> |
| 199 | 199 | <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.supported_name}}</text> |
| 200 | + </view> --> | |
| 201 | + <view> | |
| 202 | + <text class='text_999_28 float_left' style='line-height:70rpx;'>被赡养人姓名:</text> | |
| 203 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx;word-wrap: break-word;'>{{item.supported_name}}</text> | |
| 200 | 204 | </view> |
| 201 | 205 | <view style='height:70rpx'> |
| 202 | 206 | <text class='text_999_28 ' style='line-height:70rpx'>与纳税人关系:</text> |
| ... | ... | @@ -225,13 +229,13 @@ |
| 225 | 229 | |
| 226 | 230 | <view style='padding-right:30rpx'> |
| 227 | 231 | <view class='divide_line_f5f5f5'></view> |
| 228 | - <view style='height:70rpx'> | |
| 229 | - <text class='text_999_28 ' style='line-height:70rpx'>共同赡养人姓名:</text> | |
| 230 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdetail.co_supporter}}</text> | |
| 232 | + <view> | |
| 233 | + <text class='text_999_28 float_left' style='line-height:70rpx;'>共同赡养人姓名:</text> | |
| 234 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx;word-wrap: break-word;'>{{itemdetail.co_supporter}}</text> | |
| 231 | 235 | </view> |
| 232 | 236 | <view style='height:70rpx'> |
| 233 | 237 | <text class='text_999_28 ' style='line-height:70rpx'>共同赡养人证照类型:</text> |
| 234 | - <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdetail.id_card_type=='1'?"居民身份证":itemdetail.id_card_type}}</text> | |
| 238 | + <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdetail.id_card_type}}</text> | |
| 235 | 239 | </view> |
| 236 | 240 | <view style='height:70rpx'> |
| 237 | 241 | <text class='text_999_28 ' style='line-height:70rpx'>共同赡养人证照号码:</text> |
| ... | ... | @@ -249,7 +253,7 @@ |
| 249 | 253 | <text class='text_999_28 ' style='line-height:70rpx'>与纳税人关系:</text> |
| 250 | 254 | <text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{itemdetail.relationship}}</text> |
| 251 | 255 | </view> |
| 252 | - <view class='float_right' wx:if="{{employee_status!='inactive'&&(item.status=='failed'||item.status=='to_declare')}}"> | |
| 256 | + <view class='float_right'> | |
| 253 | 257 | <text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id="{{'co_supporter'+index}}" bindtap='godelete'>删除</text> |
| 254 | 258 | <text class='text_blue_28 ' style='line-height:90rpx;' id="{{'co_supporter'+index}}" bindtap='goedit'>编辑</text> |
| 255 | 259 | </view> | ... | ... |
| ... | ... | @@ -108,6 +108,7 @@ Page({ |
| 108 | 108 | 'signature': OSSInit.signature, |
| 109 | 109 | 'callback': OSSInit.callback_body, |
| 110 | 110 | 'x:access_token': OSSInit.callback_token, |
| 111 | + // 'x-oss-security-token': OSSInit.security_token, | |
| 111 | 112 | 'success_action_status': '200', |
| 112 | 113 | }, |
| 113 | 114 | success: function(res) { | ... | ... |
请
注册
或
登录
后发表评论