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