Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

2 lines
24KB

  1. var Te=Object.defineProperty,Ce=Object.defineProperties;var xe=Object.getOwnPropertyDescriptors;var se=Object.getOwnPropertySymbols;var Be=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;var ie=(m,g,n)=>g in m?Te(m,g,{enumerable:!0,configurable:!0,writable:!0,value:n}):m[g]=n,C=(m,g)=>{for(var n in g||(g={}))Be.call(g,n)&&ie(m,n,g[n]);if(se)for(var n of se(g))we.call(g,n)&&ie(m,n,g[n]);return m},x=(m,g)=>Ce(m,xe(g));var I=(m,g,n)=>new Promise((R,Y)=>{var w=h=>{try{o(n.next(h))}catch(P){Y(P)}},z=h=>{try{o(n.throw(h))}catch(P){Y(P)}},o=h=>h.done?R(h.value):Promise.resolve(h.value).then(w,z);o((n=n.apply(m,g)).next())});import{_ as Me,d as Fe,$ as Ue,y as je,z as ne,r as B,a as Oe,v as ue,o as Ye,f as _,g as D,c as M,e,w as l,F as U,s as E,p as j,x as f,b as p,t as ae,q as pe,a0 as ce,h as O,N as Ne,L as Se,M as ke,i as qe}from"./index.551f5afa.js";import{o as Ee,f as He,q as Le,r as Ae,s as $e}from"./orderManage.fe83d1aa.js";import{l as Re}from"./projectManage.6b7da462.js";import{h as H,a as L,f as ze,b as A,g as $}from"./uploadAction.69ee4a64.js";import{f as We}from"./imageWaterUtils.2f29f38d.js";const c=m=>(Se("data-v-2d3d2461"),m=m(),ke(),m),Je=c(()=>p("div",{class:"el-descriptions__header el-descriptions__title"},"\u57FA\u672C\u4FE1\u606F",-1)),Ge=c(()=>p("div",{class:"el-descriptions__header el-descriptions__title"}," \u8F66\u8F86\u53CA\u53F8\u673A\u4FE1\u606F ",-1)),Ke=O("\u5DF2\u8BF7\u5047"),Qe=c(()=>p("div",{class:"el-descriptions__header el-descriptions__title"},"\u4E0A\u8F66\u4FE1\u606F",-1)),Xe=O("\u5343\u7C73"),Ze=O("\u662F"),ea=O("\u5426"),aa=c(()=>p("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1)),la=c(()=>p("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1)),ra=c(()=>p("div",{class:"el-descriptions__header el-descriptions__title"}," \u91CC\u7A0B\u53CA\u8D39\u7528\u4FE1\u606F ",-1)),oa=c(()=>p("span",{class:"text-info"},"\u5343\u7C73",-1)),ta=c(()=>p("span",{class:"text-info"},"\u5343\u7C73",-1)),da=c(()=>p("span",{class:"text-info"},"\u5C0F\u65F6",-1)),sa=c(()=>p("span",{class:"text-info"},"\u5143",-1)),ia=c(()=>p("span",{class:"text-info"},"\u5C0F\u65F6",-1)),na=c(()=>p("span",{class:"text-info"},"\u5143",-1)),ua=c(()=>p("span",{class:"text-info"},"\u5143",-1)),pa=c(()=>p("span",{class:"text-info"},"\u5143",-1)),ca=c(()=>p("span",{class:"text-info"},"\u5143",-1)),fa=c(()=>p("span",{class:"text-info"},"\u5143",-1)),ma=c(()=>p("span",{class:"text-info"},"\u5143",-1)),ga=c(()=>p("span",{class:"text-info"},"\u5143",-1)),_a=c(()=>p("span",{class:"text-info"},"\u5143/\u516C\u91CC",-1)),ba=c(()=>p("span",{class:"text-info"},"\u5143",-1)),va=c(()=>p("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1)),Ia=c(()=>p("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1)),Da=c(()=>p("div",{class:"el-upload__tip"},"\u652F\u6301.png,.jpg,.gif\u683C\u5F0F",-1)),ya={class:"footer"},Va=O("\u5173\u95ED"),ha=O("\u4FDD\u5B58"),Pa=Fe({name:"editOrderForm"}),Ta=Object.assign(Pa,{setup(m){const{proxy:g}=qe(),{rowData:n,close:R}=Ue("orderDetail"),{dictList:Y}=je(ne.dictStore),w=ne.dictStore.uploadUrl,z=B(),o=Oe({orderBasic:{},driverInfo:{},orderOnCar:{beginMileagePicIds:[]},orderDetail:{mileagePicIds:[],feePicIds:[]}}),h={"orderBasic.projectId":[{required:!0,message:"\u8BF7\u9009\u62E9\u9879\u76EE\u540D\u79F0",trigger:"blur"}],"orderBasic.useCarTime":[{required:!0,message:"\u8BF7\u9009\u62E9\u7528\u8F66\u65F6\u95F4",trigger:"blur"}],"orderBasic.jobType":[{required:!0,message:"\u8BF7\u9009\u62E9\u5DE5\u4F5C\u7C7B\u578B",trigger:"blur"}],"orderBasic.dispatchType":[{required:!0,message:"\u8BF7\u9009\u62E9\u6D3E\u5355\u65B9\u5F0F",trigger:"blur"}],"orderBasic.userId":[{required:!0,message:"\u8BF7\u9009\u62E9\u4E58\u8F66\u4EBA",trigger:"blur"}],"driverInfo.carTypeDictValue":[{required:!0,message:"\u8BF7\u9009\u62E9\u8F66\u8F86\u7C7B\u578B",trigger:"blur"}],"driverInfo.driverId":[{required:!0,message:"\u8BF7\u9009\u62E9\u53F8\u673A/\u8F66\u8F86",trigger:"blur"}],"orderOnCar.beginMileage":[{required:!0,message:"\u8BF7\u8F93\u5165\u603B\u91CC\u7A0B\u6570",trigger:"blur"}],"orderOnCar.beginMileagePicIds":[{required:!0,message:"\u8BF7\u4E0A\u4F20\u91CC\u7A0B\u56FE\u7247",type:"array",trigger:"change"}],"orderDetail.driverPhotos":[{required:!0,message:"\u53F8\u673A\u4E0E\u8F66\u8F86\u6B63\u9762\u7167\uFF08\u659C45\u5EA6\uFF09",type:"array",trigger:"change"}],"orderDetail.mileage":[{required:!0,message:"\u8BF7\u8F93\u5165\u603B\u91CC\u7A0B\u6570",trigger:"blur"}],"orderDetail.gpsMileage":[{required:!0,message:"\u8BF7\u8F93\u5165\u8F66\u673A\u91CC\u7A0B",trigger:"blur"}],"orderDetail.serviceTime":[{required:!0,message:"\u8BF7\u8F93\u5165\u670D\u52A1\u65F6\u957F",trigger:"blur"}],"orderDetail.overtime":[{required:!0,message:"\u8BF7\u8F93\u5165\u8D85\u65F6\u65F6\u957F",trigger:"blur"}],"orderDetail.surcharge":[{required:!0,message:"\u8BF7\u8F93\u5165\u9644\u52A0\u8D39",trigger:"blur"}],"orderDetail.parkingFee":[{required:!0,message:"\u8BF7\u8F93\u5165\u505C\u8F66\u8D39",trigger:"blur"}],"orderDetail.expresswayFee":[{required:!0,message:"\u8BF7\u8F93\u5165\u9AD8\u901F\u8D39",trigger:"blur"}],"orderDetail.countySubsidyFee":[{required:!0,message:"\u8BF7\u8F93\u4E0B\u53BF\u8865\u8D34",trigger:"blur"}],"orderDetail.oilPrice":[{required:!0,message:"\u8BF7\u8F93\u5165\u6CB9\u5355\u4EF7",trigger:"blur"}],"orderDetail.mileagePicIds":[{required:!0,message:"\u8BF7\u4E0A\u4F20\u91CC\u7A0B\u56FE\u7247",type:"array",trigger:"change"}],"orderDetail.driverPhotosAtEnd":[{required:!0,message:"\u53F8\u673A\u4E0E\u8F66\u8F86\u6B63\u9762\u7167\uFF08\u659C45\u5EA6\uFF09",type:"array",trigger:"change"}],"orderDetail.isSelf":[{required:!0,message:"\u8BF7\u9009\u62E9\u662F\u5426\u662F\u53F8\u673A\u672C\u4EBA",type:"blur",trigger:"change"}]},P=B(+n.value.costInfo.nightWorkFee),G=B(+n.value.costInfo.carExpense),K=B({}),fe=t=>I(this,null,function*(){K.value=(yield Ae({projectId:t})).data,P.value=+K.value.nightWorkingFee,G.value=+K.value.carExpense}),le=B([]),me=()=>I(this,null,function*(){le.value=(yield Re({pageNumber:1,pageSize:99999,companyId:n.value.basicInfo.companyId})).data.records}),ge=t=>{t&&(re(t),o.orderBasic.userId=void 0,fe(t))},_e=t=>I(this,null,function*(){if(t){yield X(o.driverInfo.carTypeDictValue),F.value.forEach(i=>{o.driverInfo.driverId===i.userId&&i.onLeave&&(o.driverInfo.driverId=void 0)});const r=Number(Ne(o.orderBasic.useCarTime).format("H"));r>=19&&r<24||r>=0&&r<6||(P.value=0)}}),Q=B([]),re=t=>I(this,null,function*(){const r=(yield Ee(t)).data;Q.value=[...r.engineerList,...r.projectManagerList]}),be=t=>{const{userId:r,realName:i,mobile:u}=Q.value.find(d=>d.userId===t)||{};o.orderBasic.userNames=[{userId:r,userName:i,userMobile:u}]},oe=B([]),ve=()=>I(this,null,function*(){const t=(yield $e({dictTypes:"car_type"})).data;oe.value=t[0].dictData}),Ie=t=>I(this,null,function*(){X(t),o.driverInfo.driverId=void 0}),F=B([]),X=t=>I(this,null,function*(){var d,s,b,T;const r={carType:t,pageNumber:1,pageSize:3e3,regionCode:n.value.basicInfo.regionId,orderId:n.value.basicInfo.id,recommendationAlgorithmOpen:!0,projectId:n.value.basicInfo.projectId,orderRegionCode:(s=(d=n.value.basicInfo)==null?void 0:d.addresses.find(v=>v.addressType==="BOARDING_LOCATION"))==null?void 0:s.regionCode,useCarTime:o.orderBasic.useCarTime},{useCarTime:i}=o.orderBasic,u=(T=(b=(yield He(r)).data)==null?void 0:b.records)==null?void 0:T.map(v=>x(C({},v),{onLeave:v.leaveState==="LEAVE"&&i>=v.leaveStartTime&&i<=v.leaveEndTime}));F.value=u}),te=t=>{var r,i;!t||(o.driverInfo.carId=(i=(r=F==null?void 0:F.value)==null?void 0:r.find(u=>u.userId===t))==null?void 0:i.carId)},De=t=>I(this,null,function*(){yield t.validate(r=>I(this,null,function*(){if(r){const{orderBasic:i,driverInfo:u,orderOnCar:d,orderDetail:s}=o,b=x(C({},o),{orderBasic:x(C({},i),{dispatchType:void 0,userId:void 0}),driverInfo:x(C({},u),{carTypeDictValue:void 0}),orderOnCar:x(C({},d),{beginMileagePicIds:A(d.beginMileagePicIds)}),orderDetail:x(C({},s),{nightShiftFee:void 0,totalCost:void 0,oilTotalPrice:void 0,carExpense:void 0,nightWorkFee:void 0,mileagePicIds:A(s.mileagePicIds),driverPhotosAtEnd:A(s.driverPhotosAtEnd),driverPhotos:A(s.driverPhotos),feePicIds:A(s.feePicIds)})});yield Le(b),g.$message.success("\u4FDD\u5B58\u6210\u529F\uFF01"),R(!0)}}))}),ye=()=>I(this,null,function*(){yield me(),yield re(n.value.basicInfo.projectId),yield ve()}),Ve=()=>I(this,null,function*(){const{basicInfo:t,carAndDriverInfo:r,otherInfo:i,costInfo:u}=JSON.parse(JSON.stringify(n.value)),d=Y.value.find(V=>V.dictType==="job_type").dictData;t.jobType=d.find(V=>V.dictLabel===t.jobType).dictValue,o.orderBasic=x(C({},t),{userId:t.userNames[0].userId,endCarTime:i.endOn,passengerConfirmTime:t.confirmedBoardingTime,createOn:i.createOn}),yield X(n.value.carAndDriverInfo.carTypeDictValue);const{driverId:s,carTypeDictValue:b}=r;o.driverInfo={driverId:s,carTypeDictValue:b,id:t.id},console.log(o.driverInfo),te(s);const{beginMileage:T,beginMileageImgIdList:v,driverPhotos:J}=i;o.orderOnCar={orderId:t.id,beginMileage:T,beginMileagePicIds:yield $(v)};for(const V in u)V!=="feeImgIds"&&V!=="mileageImgIds"&&(u[V]=+u[V]);P.value=u.nightWorkFee,o.orderDetail=x(C({},u),{orderId:t.id,mileagePicIds:yield $(u.mileageImgIds),feePicIds:yield $(u.feeImgIds),driverPhotosAtEnd:yield $(i.driverPhotosAtEnd),mileageImgIds:void 0,feeImgIds:void 0,driverPhotos:yield $(J),isSelf:i.isSelf})}),Z=ue(()=>{const{costInfo:t}=JSON.parse(JSON.stringify(n.value));return t.totalCost}),ee=ue(()=>{const{gpsMileage:t,oilPrice:r}=o.orderDetail;return(t*r).toFixed(2)});function W(t){return new Promise((r,i)=>{var u=["\u516C \u53F8 \u5B81\u8FBE\u79D1\u6280",`\u65F6 \u95F4 ${he()}`,`\u7ECF \u5EA6 ${parseFloat(n.value.basicInfo.addresses[1].lng).toFixed(2)}\xB0E`,`\u7EAC \u5EA6 ${parseFloat(n.value.basicInfo.addresses[1].lat).toFixed(2)}\xB0N`,`\u5730 \u70B9 ${n.value.basicInfo.addresses[0].address}`];We(t,u).then(d=>{r(d)})})}function he(){var t=new Date,r=t.getFullYear(),i=t.getMonth()+1,u=t.getDate(),d=t.getHours()<10?"0"+t.getHours():t.getHours(),s=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),b=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return i>=1&&i<=9&&(i="0"+i),u>=0&&u<=9&&(u="0"+u),r+"-"+i+"-"+u+" "+d+":"+s+":"+b}return Ye(()=>I(this,null,function*(){yield ye(),Ve()})),(t,r)=>{const i=_("el-option"),u=_("el-select"),d=_("el-form-item"),s=_("el-col"),b=_("el-date-picker"),T=_("el-input"),v=_("el-row"),J=_("el-radio"),V=_("el-radio-group"),N=_("Plus"),S=_("el-icon"),k=_("el-upload"),y=_("el-input-number"),Pe=_("el-form"),de=_("el-button");return D(),M("div",null,[e(Pe,{ref_key:"ruleFormRef",ref:z,model:o,rules:h,"label-suffix":":",class:"formBox","label-width":"90px"},{default:l(()=>[Je,e(v,{gutter:8},{default:l(()=>[e(s,{span:12},{default:l(()=>[e(d,{label:"\u9879\u76EE\u540D\u79F0",prop:"orderBasic.projectId"},{default:l(()=>[e(u,{modelValue:o.orderBasic.projectId,"onUpdate:modelValue":r[0]||(r[0]=a=>o.orderBasic.projectId=a),placeholder:"\u8BF7\u9009\u62E9",class:"w-full",onChange:ge},{default:l(()=>[(D(!0),M(U,null,E(le.value,a=>(D(),j(i,{key:a.projectId,label:a.projectName,value:a.projectId},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:l(()=>[e(d,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"orderBasic.createOn"},{default:l(()=>[e(b,{modelValue:o.orderBasic.createOn,"onUpdate:modelValue":r[1]||(r[1]=a=>o.orderBasic.createOn=a),format:"YYYY-MM-DD HH:mm:ss","value-format":"YYYY-MM-DD HH:mm:ss",type:"datetime",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:l(()=>[e(d,{label:"\u7528\u8F66\u65F6\u95F4",prop:"orderBasic.useCarTime"},{default:l(()=>[e(b,{modelValue:o.orderBasic.useCarTime,"onUpdate:modelValue":r[2]||(r[2]=a=>o.orderBasic.useCarTime=a),format:"YYYY-MM-DD HH:mm:ss","value-format":"YYYY-MM-DD HH:mm:ss",type:"datetime",placeholder:"\u8BF7\u9009\u62E9",onChange:_e},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:l(()=>[e(d,{label:"\u5DE5\u4F5C\u7C7B\u578B",prop:"orderBasic.jobType"},{default:l(()=>[e(u,{modelValue:o.orderBasic.jobType,"onUpdate:modelValue":r[3]||(r[3]=a=>o.orderBasic.jobType=a),clearable:"",placeholder:"\u8BF7\u9009\u62E9",class:"w-full"},{default:l(()=>[(D(!0),M(U,null,E(f(Y).find(a=>a.dictType==="job_type").dictData,(a,q)=>(D(),j(i,{key:q,label:a.dictLabel,value:a.dictValue},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:l(()=>[e(d,{label:"\u6D3E\u5355\u65B9\u5F0F",prop:"orderBasic.dispatchType"},{default:l(()=>[e(u,{modelValue:o.orderBasic.dispatchType,"onUpdate:modelValue":r[4]||(r[4]=a=>o.orderBasic.dispatchType=a),clearable:"",placeholder:"\u8BF7\u9009\u62E9",class:"w-full",disabled:""},{default:l(()=>[e(i,{label:"\u6307\u5B9A\u53F8\u673A",value:1}),e(i,{label:"\u5E73\u53F0\u6D3E\u5355",value:2})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:l(()=>[e(d,{label:"\u4E58\u8F66\u4EBA",prop:"orderBasic.userId"},{default:l(()=>[e(u,{modelValue:o.orderBasic.userId,"onUpdate:modelValue":r[5]||(r[5]=a=>o.orderBasic.userId=a),clearable:"",placeholder:"\u8BF7\u9009\u62E9",filterable:"",class:"w-full",onChange:be},{default:l(()=>[(D(!0),M(U,null,E(Q.value,a=>(D(),j(i,{key:a.userId,label:`${a.realName}\uFF08${a.mobile}\uFF09`,value:a.userId},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:l(()=>[e(d,{label:"\u53F8\u673A\u5B8C\u6210\u65F6\u95F4",prop:"orderBasic.endCarTime","label-width":"auto"},{default:l(()=>[e(b,{modelValue:o.orderBasic.endCarTime,"onUpdate:modelValue":r[6]||(r[6]=a=>o.orderBasic.endCarTime=a),format:"YYYY-MM-DD HH:mm:ss","value-format":"YYYY-MM-DD HH:mm:ss",type:"datetime",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:l(()=>[e(d,{label:"\u4E58\u5BA2\u4E0A\u8F66\u65F6\u95F4",prop:"orderBasic.passengerConfirmTime","label-width":"auto"},{default:l(()=>[e(b,{modelValue:o.orderBasic.passengerConfirmTime,"onUpdate:modelValue":r[7]||(r[7]=a=>o.orderBasic.passengerConfirmTime=a),format:"YYYY-MM-DD HH:mm:ss","value-format":"YYYY-MM-DD HH:mm:ss",type:"datetime",placeholder:"\u8BF7\u9009\u62E9"},null,8,["modelValue"])]),_:1})]),_:1}),e(s,{span:24},{default:l(()=>[e(d,{label:"\u4E0B\u5355\u5907\u6CE8"},{default:l(()=>[e(T,{modelValue:o.orderBasic.remark,"onUpdate:modelValue":r[8]||(r[8]=a=>o.orderBasic.remark=a),autosize:{minRows:2,maxRows:4},type:"textarea",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),Ge,e(v,{gutter:8},{default:l(()=>[e(s,{span:12},{default:l(()=>[e(d,{label:"\u8F66\u8F86\u7C7B\u578B",prop:"driverInfo.carTypeDictValue"},{default:l(()=>[e(u,{modelValue:o.driverInfo.carTypeDictValue,"onUpdate:modelValue":r[9]||(r[9]=a=>o.driverInfo.carTypeDictValue=a),clearable:"",placeholder:"\u8BF7\u9009\u62E9",class:"w-full",onChange:Ie},{default:l(()=>[(D(!0),M(U,null,E(oe.value,(a,q)=>(D(),j(i,{key:q,label:a.dictLabel,value:a.dictValue},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:l(()=>[o.orderBasic.dispatchType!==2?(D(),j(d,{key:0,label:"\u53F8\u673A/\u8F66\u8F86",prop:"driverInfo.driverId"},{default:l(()=>[e(u,{modelValue:o.driverInfo.driverId,"onUpdate:modelValue":r[10]||(r[10]=a=>o.driverInfo.driverId=a),clearable:"",placeholder:"\u8BF7\u9009\u62E9",filterable:"",class:"w-full",onChange:te},{default:l(()=>[(D(!0),M(U,null,E(F.value,(a,q)=>(D(),j(i,{key:q,label:`${a.realName}\uFF08${a.carNo}\uFF09${a.phoneNo}`,value:a.userId,disabled:a.onLeave},{default:l(()=>[p("span",null,ae(a.realName)+"\uFF08"+ae(a.carNo)+"\uFF09"+ae(a.phoneNo),1),a.onLeave?(D(),M(U,{key:0},[Ke],64)):pe("",!0)]),_:2},1032,["label","value","disabled"]))),128))]),_:1},8,["modelValue"])]),_:1})):pe("",!0)]),_:1})]),_:1}),Qe,e(v,{gutter:8},{default:l(()=>[e(s,{span:12},{default:l(()=>[e(d,{label:"\u603B\u91CC\u7A0B\u6570",prop:"orderOnCar.beginMileage"},{default:l(()=>[e(T,{modelValue:o.orderOnCar.beginMileage,"onUpdate:modelValue":r[11]||(r[11]=a=>o.orderOnCar.beginMileage=a),placeholder:"\u8BF7\u8F93\u5165"},{append:l(()=>[Xe]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(s,{span:12},{default:l(()=>[e(d,{"label-width":"100",required:"",label:"\u662F\u5426\u4E3A\u53F8\u673A\u672C\u4EBA",prop:"orderDetail.isSelf"},{default:l(()=>[e(V,{modelValue:o.orderDetail.isSelf,"onUpdate:modelValue":r[12]||(r[12]=a=>o.orderDetail.isSelf=a)},{default:l(()=>[e(J,{label:1},{default:l(()=>[Ze]),_:1}),e(J,{label:2},{default:l(()=>[ea]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(s,{span:24},{default:l(()=>[e(d,{label:"\u91CC\u7A0B\u56FE\u7247",prop:"orderOnCar.beginMileagePicIds"},{default:l(()=>[e(k,{"file-list":o.orderOnCar.beginMileagePicIds,"onUpdate:file-list":r[13]||(r[13]=a=>o.orderOnCar.beginMileagePicIds=a),class:"picture-card",action:f(w),"list-type":"picture-card",limit:10,"on-success":a=>f(H)(a,o.orderOnCar.beginMileagePicIds),"on-error":f(L),"before-upload":W},{tip:l(()=>[aa]),default:l(()=>[e(S,{class:"avatar-uploader-icon"},{default:l(()=>[e(N)]),_:1})]),_:1},8,["file-list","action","on-success","on-error"])]),_:1})]),_:1}),e(s,{span:24},{default:l(()=>[e(d,{label:"\u53F8\u673A\u4E0E\u8F66\u8F86\u6B63\u9762\u7167\uFF08\u659C45\u5EA6\uFF09","label-width":"100",prop:"orderDetail.driverPhotos"},{default:l(()=>[e(k,{"file-list":o.orderDetail.driverPhotos,"onUpdate:file-list":r[14]||(r[14]=a=>o.orderDetail.driverPhotos=a),class:"picture-card",action:f(w),"list-type":"picture-card",limit:10,"on-success":a=>f(H)(a,o.orderDetail.driverPhotos),"on-error":f(L),"before-upload":W},{tip:l(()=>[la]),default:l(()=>[e(S,{class:"avatar-uploader-icon"},{default:l(()=>[e(N)]),_:1})]),_:1},8,["file-list","action","on-success","on-error"])]),_:1})]),_:1})]),_:1}),ra,e(v,{gutter:8},{default:l(()=>[e(s,{span:8},{default:l(()=>[e(d,{label:"\u603B\u91CC\u7A0B\u6570",prop:"orderDetail.mileage"},{default:l(()=>[e(y,{modelValue:o.orderDetail.mileage,"onUpdate:modelValue":r[15]||(r[15]=a=>o.orderDetail.mileage=a),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8"},null,8,["modelValue"]),oa]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u8F66\u673A\u91CC\u7A0B",prop:"orderDetail.gpsMileage"},{default:l(()=>[e(y,{modelValue:o.orderDetail.gpsMileage,"onUpdate:modelValue":r[16]||(r[16]=a=>o.orderDetail.gpsMileage=a),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8"},null,8,["modelValue"]),ta]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u670D\u52A1\u65F6\u957F",prop:"orderDetail.serviceTime"},{default:l(()=>[e(y,{modelValue:o.orderDetail.serviceTime,"onUpdate:modelValue":r[17]||(r[17]=a=>o.orderDetail.serviceTime=a),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8"},null,8,["modelValue"]),da]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u591C\u73ED\u8D39"},{default:l(()=>[e(y,{modelValue:P.value,"onUpdate:modelValue":r[18]||(r[18]=a=>P.value=a),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8",disabled:""},null,8,["modelValue"]),sa]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u8D85\u65F6\u65F6\u957F",prop:"orderDetail.overtime"},{default:l(()=>[e(y,{modelValue:o.orderDetail.overtime,"onUpdate:modelValue":r[19]||(r[19]=a=>o.orderDetail.overtime=a),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8"},null,8,["modelValue"]),ia]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u9644\u52A0\u8D39",prop:"orderDetail.surcharge"},{default:l(()=>[e(y,{modelValue:o.orderDetail.surcharge,"onUpdate:modelValue":r[20]||(r[20]=a=>o.orderDetail.surcharge=a),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8"},null,8,["modelValue"]),na]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u505C\u8F66\u8D39",prop:"orderDetail.parkingFee"},{default:l(()=>[e(y,{modelValue:o.orderDetail.parkingFee,"onUpdate:modelValue":r[21]||(r[21]=a=>o.orderDetail.parkingFee=a),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8"},null,8,["modelValue"]),ua]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u9AD8\u901F\u8D39",prop:"orderDetail.expresswayFee"},{default:l(()=>[e(y,{modelValue:o.orderDetail.expresswayFee,"onUpdate:modelValue":r[22]||(r[22]=a=>o.orderDetail.expresswayFee=a),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8"},null,8,["modelValue"]),pa]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u79DF\u8F66\u8D39"},{default:l(()=>[e(y,{modelValue:G.value,"onUpdate:modelValue":r[23]||(r[23]=a=>G.value=a),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8",disabled:""},null,8,["modelValue"]),ca]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u5176\u4ED6\u8D39\u7528",prop:"orderDetail.otherCost"},{default:l(()=>[e(y,{modelValue:o.orderDetail.otherCost,"onUpdate:modelValue":r[24]||(r[24]=a=>o.orderDetail.otherCost=a),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8"},null,8,["modelValue"]),fa]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u4E0B\u53BF\u8865\u8D34",prop:"orderDetail.countySubsidyFee"},{default:l(()=>[e(y,{modelValue:o.orderDetail.countySubsidyFee,"onUpdate:modelValue":r[25]||(r[25]=a=>o.orderDetail.countySubsidyFee=a),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8"},null,8,["modelValue"]),ma]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u603B\u8D39\u7528"},{default:l(()=>[e(T,{modelValue:f(Z),"onUpdate:modelValue":r[26]||(r[26]=a=>ce(Z)?Z.value=a:null),placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8",disabled:""},null,8,["modelValue"]),ga]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u6CB9\u5355\u4EF7",prop:"orderDetail.oilPrice"},{default:l(()=>[e(y,{modelValue:o.orderDetail.oilPrice,"onUpdate:modelValue":r[27]||(r[27]=a=>o.orderDetail.oilPrice=a),controls:!1,placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8"},null,8,["modelValue"]),_a]),_:1})]),_:1}),e(s,{span:8},{default:l(()=>[e(d,{label:"\u6CB9\u4EF7\u8D39\u7528"},{default:l(()=>[e(T,{modelValue:f(ee),"onUpdate:modelValue":r[28]||(r[28]=a=>ce(ee)?ee.value=a:null),placeholder:"\u8BF7\u8F93\u5165",class:"flex-1 mr-8",disabled:""},null,8,["modelValue"]),ba]),_:1})]),_:1}),e(s,{span:24},{default:l(()=>[e(d,{label:"\u91CC\u7A0B\u56FE\u7247",prop:"orderDetail.mileagePicIds"},{default:l(()=>[e(k,{"file-list":o.orderDetail.mileagePicIds,"onUpdate:file-list":r[29]||(r[29]=a=>o.orderDetail.mileagePicIds=a),class:"picture-card",action:f(w),"list-type":"picture-card",limit:10,"on-success":a=>f(H)(a,o.orderDetail.mileagePicIds),"on-error":f(L),"before-upload":W},{tip:l(()=>[va]),default:l(()=>[e(S,{class:"avatar-uploader-icon"},{default:l(()=>[e(N)]),_:1})]),_:1},8,["file-list","action","on-success","on-error"])]),_:1})]),_:1}),e(s,{span:24},{default:l(()=>[e(d,{label:"\u53F8\u673A\u4E0E\u8F66\u8F86\u6B63\u9762\u7167\uFF08\u659C45\u5EA6\uFF09","label-width":"100",prop:"orderDetail.driverPhotosAtEnd"},{default:l(()=>[e(k,{"file-list":o.orderDetail.driverPhotosAtEnd,"onUpdate:file-list":r[30]||(r[30]=a=>o.orderDetail.driverPhotosAtEnd=a),class:"picture-card",action:f(w),"list-type":"picture-card",limit:10,"on-success":a=>f(H)(a,o.orderDetail.driverPhotosAtEnd),"on-error":f(L),"before-upload":W},{tip:l(()=>[Ia]),default:l(()=>[e(S,{class:"avatar-uploader-icon"},{default:l(()=>[e(N)]),_:1})]),_:1},8,["file-list","action","on-success","on-error"])]),_:1})]),_:1}),e(s,{span:24},{default:l(()=>[e(d,{label:"\u8D39\u7528\u56FE\u7247",prop:"orderOnCar.feePicIds"},{default:l(()=>[e(k,{"file-list":o.orderDetail.feePicIds,"onUpdate:file-list":r[31]||(r[31]=a=>o.orderDetail.feePicIds=a),class:"picture-card",action:f(w),"list-type":"picture-card",limit:10,"on-success":a=>f(H)(a,o.orderDetail.feePicIds),"on-error":f(L),"before-upload":a=>f(ze)(a,{types:["image/jpeg","image/png","image/gif"],size:5120})},{tip:l(()=>[Da]),default:l(()=>[e(S,{class:"avatar-uploader-icon"},{default:l(()=>[e(N)]),_:1})]),_:1},8,["file-list","action","on-success","on-error","before-upload"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),p("div",ya,[e(de,{type:"info",onClick:f(R)},{default:l(()=>[Va]),_:1},8,["onClick"]),e(de,{type:"primary",onClick:r[32]||(r[32]=a=>De(z.value))},{default:l(()=>[ha]),_:1})])])}}}),Ua=Me(Ta,[["__scopeId","data-v-2d3d2461"]]);export{Ua as default};