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
22KB

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