You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
24KB

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