| | |
| | | </u-form-item> --> |
| | | |
| | | |
| | | <u-form-item ref="item1" borderBottom label=" " labelWidth="0" prop="" :borderBottom="false"> |
| | | <u-form-item ref="item1" borderBottom label=" " labelWidth="0" prop="" :borderBottom="false" v-if="uploadAreas.length > 0"> |
| | | <view style="display: flex;align-items: center;"><u--image :showLoading="true" src="/static/bt.png" |
| | | width="20px" height="20px"></u--image>凭证<span |
| | | style="color: #c6c0ba;margin-left: 10px;display: inline-block;"></span></view> |
| | |
| | | </div> |
| | | </view> |
| | | </u-number-box> |
| | | |
| | | |
| | | |
| | | </view> |
| | | |
| | | <view v-if="form.tripType == '5'" style="display: flex; align-items: center; width: 100%; margin-top: 15px"> |
| | | <view style="display: flex; align-items: center; flex-shrink: 0; margin-right: 10px;"> |
| | | <u--image :showLoading="true" src="/static/bt.png" width="20px" height="20px"></u--image> |
| | | <text>是否查车:</text> |
| | | |
| | | </view> |
| | | |
| | | <u-radio-group |
| | | v-model="form.iscc" iconPlacement="right" |
| | | placement="row"> |
| | | <u-radio label="是" name="0" style="margin-right: 20px"></u-radio> |
| | | <u-radio label="否" name="1"></u-radio> |
| | | </u-radio-group> |
| | | |
| | | |
| | | |
| | | </view> |
| | |
| | | success: (res) => { |
| | | const latitude = res.latitude; |
| | | const longitude = res.longitude; |
| | | this.form.longitude =longitude; |
| | | this.form.latitude =latitude; |
| | | this.getAddress(latitude, longitude); |
| | | }, |
| | | fail: (err) => { |
| | |
| | | else if (type == '2'||type == '6'){ // 到达装货点 到达卸货点 |
| | | this.uploadAreas = [ |
| | | { name: '车头', imageUrl: '',required: true }, |
| | | { name: '车尾(非必填)', imageUrl: '',required: false }, |
| | | { name: '仪表盘(非必填)', imageUrl: '',required: false }, |
| | | // { name: '车尾(非必填)', imageUrl: '',required: false }, |
| | | // { name: '仪表盘(非必填)', imageUrl: '',required: false }, |
| | | |
| | | |
| | | ] |
| | |
| | | this.uploadAreas = [ |
| | | { name: '车头', imageUrl: '',required: true }, |
| | | { name: '车尾', imageUrl: '',required: true }, |
| | | { name: '仪表盘(非必填)', imageUrl: '',required: false }, |
| | | // { name: '仪表盘(非必填)', imageUrl: '',required: false }, |
| | | ] |
| | | }else if (type == '4'||type == '5'){// 到达清关场地 离开清关场地 |
| | | this.uploadAreas = [ |
| | | { name: '仪表盘(非必填)', imageUrl: '',required: false }, |
| | | { name: '车头(非必填)', imageUrl: '',required: false }, |
| | | { name: '车尾(非必填)', imageUrl: '',required: false }, |
| | | // { name: '仪表盘(非必填)', imageUrl: '',required: false }, |
| | | // { name: '车头(非必填)', imageUrl: '',required: false }, |
| | | // { name: '车尾(非必填)', imageUrl: '',required: false }, |
| | | ] |
| | | }else if (type == '8'){ |
| | | this.uploadAreas = [ |
| | | { name: '车头', imageUrl: '',required: true }, |
| | | { name: '仪表盘', imageUrl: '',required: true }, |
| | | |
| | | { name: '车尾', imageUrl: '',required: true }, |
| | | { name: '承运单', imageUrl: '',required: false }, |
| | | ] |
| | | }else{ |
| | | this.uploadAreas = [ |
| | |
| | | if (['3','5','7'].includes(type)){ |
| | | let item = this.tmsTripTables[0] || {}; |
| | | this.form.odometer = item.odometer; |
| | | this.form.iscc = "1"; |
| | | }else{ |
| | | this.form.odometer = 0 |
| | | } |
| | |
| | | padding: 2px; |
| | | z-index: 999; |
| | | } |
| | | |
| | | </style> |
| | | <style lang="scss" scoped> |
| | | ::v-deep .u-radio{ |
| | | margin-right: 20px; |
| | | } |
| | | ::v-deep .u-radio__icon-wrap{ |
| | | margin-left: 10px; |
| | | } |
| | | </style> |