|  | @@ -29,7 +29,7 @@
 | 
	
		
			
				|  |  |          <el-input v-model="dataFormD.carNum" style="width: 200px" placeholder="车牌号"></el-input>
 | 
	
		
			
				|  |  |        </el-form-item>
 | 
	
		
			
				|  |  |        <el-form-item label="驾驶员" prop="carNum" style="width: 325px">
 | 
	
		
			
				|  |  | -        <el-input v-model="dataFormD.carNum" style="width: 200px" placeholder="驾驶员"></el-input>
 | 
	
		
			
				|  |  | +        <el-input v-model="dataFormD.driverName" style="width: 200px" placeholder="驾驶员"></el-input>
 | 
	
		
			
				|  |  |        </el-form-item>
 | 
	
		
			
				|  |  |        <el-form-item label="挂号" prop="hangNum" style="width: 325px">
 | 
	
		
			
				|  |  |          <el-input v-model="dataFormD.hangNum" style="width: 200px" placeholder="挂号"></el-input>
 | 
	
	
		
			
				|  | @@ -117,26 +117,163 @@
 | 
	
		
			
				|  |  |        </el-form-item>
 | 
	
		
			
				|  |  |      </el-form>
 | 
	
		
			
				|  |  |      <el-collapse accordion>
 | 
	
		
			
				|  |  | -      <el-form label-width="125px">
 | 
	
		
			
				|  |  | +      <el-form label-width="200px">
 | 
	
		
			
				|  |  |          <el-collapse-item title="图片上传">
 | 
	
		
			
				|  |  | -          <el-upload
 | 
	
		
			
				|  |  | -            :action="uploadImgUrl"
 | 
	
		
			
				|  |  | -            list-type="picture-card"
 | 
	
		
			
				|  |  | -            :limit="1"
 | 
	
		
			
				|  |  | -            :on-success="success"
 | 
	
		
			
				|  |  | -            :on-preview="handlePictureCardPreview"
 | 
	
		
			
				|  |  | -            :on-remove="handleRemove">
 | 
	
		
			
				|  |  | -            <i class="el-icon-plus"></i>
 | 
	
		
			
				|  |  | -          </el-upload>
 | 
	
		
			
				|  |  | -          <el-dialog :visible.sync="dialogVisible">
 | 
	
		
			
				|  |  | -            <img width="100%" :src="dialogImageUrl" alt="">
 | 
	
		
			
				|  |  | -          </el-dialog>
 | 
	
		
			
				|  |  | +          <div style="width: 50%;float: left;">
 | 
	
		
			
				|  |  | +            <el-form-item label="行驶证头图片" style="width: 100%;">
 | 
	
		
			
				|  |  | +              <el-upload
 | 
	
		
			
				|  |  | +                style="width: 300px;float:left;"
 | 
	
		
			
				|  |  | +                :action="uploadImgUrl"
 | 
	
		
			
				|  |  | +                :on-preview="handlePreview"
 | 
	
		
			
				|  |  | +                :on-remove="(res,file)=>{handleRemove(0,res,file)}"
 | 
	
		
			
				|  |  | +                :before-remove="beforeRemove"
 | 
	
		
			
				|  |  | +                :on-success="(res,file)=>{handleAvatarSuccess(1,res,file)}"
 | 
	
		
			
				|  |  | +                multiple
 | 
	
		
			
				|  |  | +                :limit="1"
 | 
	
		
			
				|  |  | +                :headers="headers"
 | 
	
		
			
				|  |  | +                :on-exceed="handleExceed">
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary">点击上传</el-button>
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary" v-if="fTmsorderbillsattachs[0].attachUrl" @click="preview(0)">预览</el-button>
 | 
	
		
			
				|  |  | +              </el-upload>
 | 
	
		
			
				|  |  | +              </el-form-item>
 | 
	
		
			
				|  |  | +            <el-form-item label="运营证头图片" style="width: 100%;">
 | 
	
		
			
				|  |  | +              <el-upload
 | 
	
		
			
				|  |  | +                style="width: 300px"
 | 
	
		
			
				|  |  | +                :action="uploadImgUrl"
 | 
	
		
			
				|  |  | +                :on-preview="handlePreview"
 | 
	
		
			
				|  |  | +                :on-remove="(res,file)=>{handleRemove(2,res,file)}"
 | 
	
		
			
				|  |  | +                :before-remove="beforeRemove"
 | 
	
		
			
				|  |  | +                :on-success="(res,file)=>{handleAvatarSuccess(3,res,file)}"
 | 
	
		
			
				|  |  | +                multiple
 | 
	
		
			
				|  |  | +                :limit="1"
 | 
	
		
			
				|  |  | +                :headers="headers"
 | 
	
		
			
				|  |  | +                :on-exceed="handleExceed">
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary">点击上传</el-button>
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary" v-if="fTmsorderbillsattachs[2].attachUrl" @click="preview(2)">预览</el-button>
 | 
	
		
			
				|  |  | +              </el-upload>
 | 
	
		
			
				|  |  | +            </el-form-item>
 | 
	
		
			
				|  |  | +            <el-form-item label="营运挂载图片" style="width: 100%;">
 | 
	
		
			
				|  |  | +              <el-upload
 | 
	
		
			
				|  |  | +                style="width: 300px"
 | 
	
		
			
				|  |  | +                :action="uploadImgUrl"
 | 
	
		
			
				|  |  | +                :on-preview="handlePreview"
 | 
	
		
			
				|  |  | +                :on-remove="(res,file)=>{handleRemove(4,res,file)}"
 | 
	
		
			
				|  |  | +                :before-remove="beforeRemove"
 | 
	
		
			
				|  |  | +                :on-success="(res,file)=>{handleAvatarSuccess(5,res,file)}"
 | 
	
		
			
				|  |  | +                multiple
 | 
	
		
			
				|  |  | +                :limit="1"
 | 
	
		
			
				|  |  | +                :headers="headers"
 | 
	
		
			
				|  |  | +                :on-exceed="handleExceed">
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary">点击上传</el-button>
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary" v-if="fTmsorderbillsattachs[4].attachUrl" @click="preview(4)">预览</el-button>
 | 
	
		
			
				|  |  | +              </el-upload>
 | 
	
		
			
				|  |  | +            </el-form-item>
 | 
	
		
			
				|  |  | +            <el-form-item label="二级维护图片" style="width: 100%;">
 | 
	
		
			
				|  |  | +              <el-upload
 | 
	
		
			
				|  |  | +                style="width: 300px"
 | 
	
		
			
				|  |  | +                :action="uploadImgUrl"
 | 
	
		
			
				|  |  | +                :on-preview="handlePreview"
 | 
	
		
			
				|  |  | +                :on-remove="(res,file)=>{handleRemove(6,res,file)}"
 | 
	
		
			
				|  |  | +                :before-remove="beforeRemove"
 | 
	
		
			
				|  |  | +                :on-success="(res,file)=>{handleAvatarSuccess(7,res,file)}"
 | 
	
		
			
				|  |  | +                multiple
 | 
	
		
			
				|  |  | +                :limit="1"
 | 
	
		
			
				|  |  | +                :headers="headers"
 | 
	
		
			
				|  |  | +                :on-exceed="handleExceed">
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary">点击上传</el-button>
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary" v-if="fTmsorderbillsattachs[6].attachUrl" @click="preview(6)">预览</el-button>
 | 
	
		
			
				|  |  | +              </el-upload>
 | 
	
		
			
				|  |  | +            </el-form-item>
 | 
	
		
			
				|  |  | +            <el-form-item label="承运人保险图片" style="width: 100%;">
 | 
	
		
			
				|  |  | +              <el-upload
 | 
	
		
			
				|  |  | +                style="width: 300px"
 | 
	
		
			
				|  |  | +                :action="uploadImgUrl"
 | 
	
		
			
				|  |  | +                :on-preview="handlePreview"
 | 
	
		
			
				|  |  | +                :on-remove="(res,file)=>{handleRemove(8,res,file)}"
 | 
	
		
			
				|  |  | +                :before-remove="beforeRemove"
 | 
	
		
			
				|  |  | +                :on-success="(res,file)=>{handleAvatarSuccess(9,res,file)}"
 | 
	
		
			
				|  |  | +                multiple
 | 
	
		
			
				|  |  | +                :limit="1"
 | 
	
		
			
				|  |  | +                :headers="headers"
 | 
	
		
			
				|  |  | +                :on-exceed="handleExceed">
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary">点击上传</el-button>
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary" v-if="fTmsorderbillsattachs[8].attachUrl" @click="preview(8)">预览</el-button>
 | 
	
		
			
				|  |  | +              </el-upload>
 | 
	
		
			
				|  |  | +            </el-form-item>
 | 
	
		
			
				|  |  | +          </div>
 | 
	
		
			
				|  |  | +          <div style="width: 50%;float: left;">
 | 
	
		
			
				|  |  | +            <el-form-item label="行驶证挂件图片" style="width: 100%;">
 | 
	
		
			
				|  |  | +              <el-upload
 | 
	
		
			
				|  |  | +                style="width: 300px"
 | 
	
		
			
				|  |  | +                :action="uploadImgUrl"
 | 
	
		
			
				|  |  | +                :on-preview="handlePreview"
 | 
	
		
			
				|  |  | +                :on-remove="(res,file)=>{handleRemove(1,res,file)}"
 | 
	
		
			
				|  |  | +                :before-remove="beforeRemove"
 | 
	
		
			
				|  |  | +                :on-success="(res,file)=>{handleAvatarSuccess(2,res,file)}"
 | 
	
		
			
				|  |  | +                multiple
 | 
	
		
			
				|  |  | +                :limit="1"
 | 
	
		
			
				|  |  | +                :headers="headers"
 | 
	
		
			
				|  |  | +                :on-exceed="handleExceed">
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary">点击上传</el-button>
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary" v-if="fTmsorderbillsattachs[1].attachUrl" @click="preview(1)">预览</el-button>
 | 
	
		
			
				|  |  | +              </el-upload>
 | 
	
		
			
				|  |  | +            </el-form-item>
 | 
	
		
			
				|  |  | +            <el-form-item label="技术评定证书图片" style="width: 100%;">
 | 
	
		
			
				|  |  | +              <el-upload
 | 
	
		
			
				|  |  | +                style="width: 300px"
 | 
	
		
			
				|  |  | +                :action="uploadImgUrl"
 | 
	
		
			
				|  |  | +                :on-preview="handlePreview"
 | 
	
		
			
				|  |  | +                :on-remove="(res,file)=>{handleRemove(3,res,file)}"
 | 
	
		
			
				|  |  | +                :before-remove="beforeRemove"
 | 
	
		
			
				|  |  | +                :on-success="(res,file)=>{handleAvatarSuccess(4,res,file)}"
 | 
	
		
			
				|  |  | +                multiple
 | 
	
		
			
				|  |  | +                :limit="1"
 | 
	
		
			
				|  |  | +                :headers="headers"
 | 
	
		
			
				|  |  | +                :on-exceed="handleExceed">
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary">点击上传</el-button>
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary" v-if="fTmsorderbillsattachs[3].attachUrl" @click="preview(3)">预览</el-button>
 | 
	
		
			
				|  |  | +              </el-upload>
 | 
	
		
			
				|  |  | +            </el-form-item>
 | 
	
		
			
				|  |  | +            <el-form-item label="二级维护图片" style="width: 100%;">
 | 
	
		
			
				|  |  | +              <el-upload
 | 
	
		
			
				|  |  | +                style="width: 300px"
 | 
	
		
			
				|  |  | +                :action="uploadImgUrl"
 | 
	
		
			
				|  |  | +                :on-preview="handlePreview"
 | 
	
		
			
				|  |  | +                :on-remove="(res,file)=>{handleRemove(5,res,file)}"
 | 
	
		
			
				|  |  | +                :before-remove="beforeRemove"
 | 
	
		
			
				|  |  | +                :on-success="(res,file)=>{handleAvatarSuccess(6,res,file)}"
 | 
	
		
			
				|  |  | +                multiple
 | 
	
		
			
				|  |  | +                :limit="1"
 | 
	
		
			
				|  |  | +                :headers="headers"
 | 
	
		
			
				|  |  | +                :on-exceed="handleExceed">
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary">点击上传</el-button>
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary" v-if="fTmsorderbillsattachs[5].attachUrl" @click="preview(5)">预览</el-button>
 | 
	
		
			
				|  |  | +              </el-upload>
 | 
	
		
			
				|  |  | +            </el-form-item>
 | 
	
		
			
				|  |  | +            <el-form-item label="商业保险图片1" style="width: 100%;">
 | 
	
		
			
				|  |  | +              <el-upload
 | 
	
		
			
				|  |  | +                style="width: 300px"
 | 
	
		
			
				|  |  | +                :action="uploadImgUrl"
 | 
	
		
			
				|  |  | +                :on-preview="handlePreview"
 | 
	
		
			
				|  |  | +                :on-remove="(res,file)=>{handleRemove(7,res,file)}"
 | 
	
		
			
				|  |  | +                :before-remove="beforeRemove"
 | 
	
		
			
				|  |  | +                :on-success="(res,file)=>{handleAvatarSuccess(8,res,file)}"
 | 
	
		
			
				|  |  | +                multiple
 | 
	
		
			
				|  |  | +                :limit="1"
 | 
	
		
			
				|  |  | +                :headers="headers"
 | 
	
		
			
				|  |  | +                :on-exceed="handleExceed">
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary">点击上传</el-button>
 | 
	
		
			
				|  |  | +                <el-button size="small" type="primary" v-if="fTmsorderbillsattachs[7].attachUrl" @click="preview(7)">预览</el-button>
 | 
	
		
			
				|  |  | +              </el-upload>
 | 
	
		
			
				|  |  | +            </el-form-item>
 | 
	
		
			
				|  |  | +          </div>
 | 
	
		
			
				|  |  |          </el-collapse-item>
 | 
	
		
			
				|  |  |        </el-form>
 | 
	
		
			
				|  |  |      </el-collapse>
 | 
	
		
			
				|  |  |      <span slot="footer" class="dialog-footer">
 | 
	
		
			
				|  |  | +      <el-button type="info">修改</el-button>
 | 
	
		
			
				|  |  |        <el-button @click="visible = false">取消</el-button>
 | 
	
		
			
				|  |  | -      <el-button type="primary" @click="dataFormSubmit()">确定</el-button>
 | 
	
		
			
				|  |  | +      <el-button type="primary" @click="dataFormSubmit">确定</el-button>
 | 
	
		
			
				|  |  |      </span>
 | 
	
		
			
				|  |  |    </el-dialog>
 | 
	
		
			
				|  |  |  </template>
 | 
	
	
		
			
				|  | @@ -154,11 +291,20 @@ export default {
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    data() {
 | 
	
		
			
				|  |  |      return {
 | 
	
		
			
				|  |  | -      disabled: false,
 | 
	
		
			
				|  |  | +      fTmsorderbillsattachs:[
 | 
	
		
			
				|  |  | +        {attachUrl:'',attachName:'',actId:''},
 | 
	
		
			
				|  |  | +        {attachUrl:'',attachName:'',actId:''},
 | 
	
		
			
				|  |  | +        {attachUrl:'',attachName:'',actId:''},
 | 
	
		
			
				|  |  | +        {attachUrl:'',attachName:'',actId:''},
 | 
	
		
			
				|  |  | +        {attachUrl:'',attachName:'',actId:''},
 | 
	
		
			
				|  |  | +        {attachUrl:'',attachName:'',actId:''},
 | 
	
		
			
				|  |  | +        {attachUrl:'',attachName:'',actId:''},
 | 
	
		
			
				|  |  | +        {attachUrl:'',attachName:'',actId:''},
 | 
	
		
			
				|  |  | +        {attachUrl:'',attachName:'',actId:''},
 | 
	
		
			
				|  |  | +      ],
 | 
	
		
			
				|  |  |        imageUrl: '',
 | 
	
		
			
				|  |  |        dataFormD: {},
 | 
	
		
			
				|  |  |        visible: false,
 | 
	
		
			
				|  |  | -      loading: false,
 | 
	
		
			
				|  |  |        msg: '',
 | 
	
		
			
				|  |  |        uploadImgUrl: process.env.VUE_APP_BASE_API + '/common/upload', // 上传的图片服务器地址
 | 
	
		
			
				|  |  |        headers: {
 | 
	
	
		
			
				|  | @@ -173,31 +319,94 @@ export default {
 | 
	
		
			
				|  |  |          ]
 | 
	
		
			
				|  |  |        },
 | 
	
		
			
				|  |  |        optionsProjectTypeItem: [],
 | 
	
		
			
				|  |  | -      fileList: [],
 | 
	
		
			
				|  |  | -      dialogImageUrl: '',
 | 
	
		
			
				|  |  | -      dialogVisible: false
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    methods: {
 | 
	
		
			
				|  |  | -    success(response, file, fileList){
 | 
	
		
			
				|  |  | -      console.log(response, file, fileList)
 | 
	
		
			
				|  |  | +    handleAvatarSuccess(actid,res, file) {
 | 
	
		
			
				|  |  | +      console.log(actid)
 | 
	
		
			
				|  |  | +      switch (actid){
 | 
	
		
			
				|  |  | +        case 1:
 | 
	
		
			
				|  |  | +          this.$set(this.fTmsorderbillsattachs[0], 'actId', actid)
 | 
	
		
			
				|  |  | +          this.$set(this.fTmsorderbillsattachs[0], 'attachUrl', res.url)
 | 
	
		
			
				|  |  | +          this.$set(this.fTmsorderbillsattachs[0], 'attachName', res.fileName)
 | 
	
		
			
				|  |  | +          console.log(this.fTmsorderbillsattachs)
 | 
	
		
			
				|  |  | +          break
 | 
	
		
			
				|  |  | +        case 2:
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[1].actId = actid
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[1].attachUrl = res.url
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[1].attachName = res.fileName
 | 
	
		
			
				|  |  | +          break
 | 
	
		
			
				|  |  | +        case 3:
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[2].actId = actid
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[2].attachUrl = res.url
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[2].attachName = res.fileName
 | 
	
		
			
				|  |  | +          break
 | 
	
		
			
				|  |  | +        case 4:
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[3].actId = actid
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[3].attachUrl = res.url
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[3].attachName = res.fileName
 | 
	
		
			
				|  |  | +          break
 | 
	
		
			
				|  |  | +        case 5:
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[4].actId = actid
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[4].attachUrl = res.url
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[4].attachName = res.fileName
 | 
	
		
			
				|  |  | +          break
 | 
	
		
			
				|  |  | +        case 6:
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[5].actId = actid
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[5].attachUrl = res.url
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[5].attachName = res.fileName
 | 
	
		
			
				|  |  | +          break
 | 
	
		
			
				|  |  | +        case 7:
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[6].actId = actid
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[6].attachUrl = res.url
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[6].attachName = res.fileName
 | 
	
		
			
				|  |  | +          break
 | 
	
		
			
				|  |  | +        case 8:
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[7].actId = actid
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[7].attachUrl = res.url
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[7].attachName = res.fileName
 | 
	
		
			
				|  |  | +          break
 | 
	
		
			
				|  |  | +        case 9:
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[8].actId = actid
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[8].attachUrl = res.url
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs[8].attachName = res.fileName
 | 
	
		
			
				|  |  | +          break
 | 
	
		
			
				|  |  | +        default:
 | 
	
		
			
				|  |  | +          this.$message.error('未知错误,请稍后再试');
 | 
	
		
			
				|  |  | +      }
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    handleRemove(actid,file, fileList) {
 | 
	
		
			
				|  |  | +      this.fTmsorderbillsattachs[actid].attachUrl = ''
 | 
	
		
			
				|  |  | +      this.fTmsorderbillsattachs[actid].attachName = ''
 | 
	
		
			
				|  |  | +      this.fTmsorderbillsattachs[actid].actId = ''
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    handleRemove(file, fileList) {
 | 
	
		
			
				|  |  | -      console.log(file, fileList);
 | 
	
		
			
				|  |  | +    handlePreview(file) {
 | 
	
		
			
				|  |  | +      this.$message.success('如需预览请点击预览');
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    handlePictureCardPreview(file) {
 | 
	
		
			
				|  |  | -      this.dialogImageUrl = file.url;
 | 
	
		
			
				|  |  | -      this.dialogVisible = true;
 | 
	
		
			
				|  |  | +    handleExceed(files, fileList) {
 | 
	
		
			
				|  |  | +      this.$message.warning(`当前限制选择 1 个文件件`);
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    beforeRemove(file, fileList) {
 | 
	
		
			
				|  |  | +      return this.$confirm(`确定移除 ${ file.name }?`);
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      init() {
 | 
	
		
			
				|  |  |        this.visible = true
 | 
	
		
			
				|  |  |        if (this.dataForm.Id) {
 | 
	
		
			
				|  |  |          lookOver(this.dataForm.Id).then(data => {
 | 
	
		
			
				|  |  |            console.log(data)
 | 
	
		
			
				|  |  | -          this.dataFormD = data.data
 | 
	
		
			
				|  |  | +          this.dataFormD = data.data.fleetCarManage
 | 
	
		
			
				|  |  | +          this.fTmsorderbillsattachs = data.data.fTmsorderbillsattachs
 | 
	
		
			
				|  |  | +          this.optionsProjectTypeItem = data.data.fleetCompanyMsg
 | 
	
		
			
				|  |  | +          if (data.data.fleetCompanyMsg){
 | 
	
		
			
				|  |  | +            this.handleSelect()
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  |          })
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    preview(actid){
 | 
	
		
			
				|  |  | +      console.log(this.fTmsorderbillsattachs)
 | 
	
		
			
				|  |  | +      window.open(this.fTmsorderbillsattachs[actid].attachUrl)
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      handleSelect(query) {
 | 
	
		
			
				|  |  |        company(query).then(data => {
 | 
	
		
			
				|  |  |          console.log(data)
 | 
	
	
		
			
				|  | @@ -206,9 +415,12 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      // 表单提交
 | 
	
		
			
				|  |  |      dataFormSubmit() {
 | 
	
		
			
				|  |  | -      this.$refs['dataForm'].validate((valid) => {
 | 
	
		
			
				|  |  | +      this.$refs['dataFormD'].validate((valid) => {
 | 
	
		
			
				|  |  |          if (valid) {
 | 
	
		
			
				|  |  | -          preservation(this.dataForm).then(data => {
 | 
	
		
			
				|  |  | +          let formDatae = new window.FormData()
 | 
	
		
			
				|  |  | +          formDatae.append('fTmsorderbillsattachs', JSON.stringify(this.fTmsorderbillsattachs))
 | 
	
		
			
				|  |  | +          formDatae.append('fleetCarManage', JSON.stringify(this.dataFormD))
 | 
	
		
			
				|  |  | +          preservation(formDatae).then(data => {
 | 
	
		
			
				|  |  |              if (data && data.code === 200) {
 | 
	
		
			
				|  |  |                this.$message({
 | 
	
		
			
				|  |  |                  message: '操作成功',
 |