2 lines
9.5 KiB
JavaScript
2 lines
9.5 KiB
JavaScript
|
import{J as S,B as N,C as j,a1 as q,a2 as T,D as L,F as z,a0 as I,w as J}from"./element-plus.9816852d.js";import{a as A,u as G}from"./vue-router.9f65afb1.js";import{l as K,f as O}from"./contract.bbd9fe50.js";import{a as Q}from"./index.4eaf9bd5.js";import{r as $,$ as H,C as M,o as r,c as _,U as e,L as a,a as p,K as c,Q as m,T as P,a7 as W,R as V,S as X,u as v}from"./@vue.51d7f2d8.js";import"./@vueuse.ec90c285.js";import"./@element-plus.a074d1f6.js";import"./lodash-es.29c53eac.js";import"./dayjs.576af3ba.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.675f209e.js";import"./axios.54f807ba.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.0a5c0f85.js";import"./color.e5eb3bba.js";import"./clone.546d9b81.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.aee266dc.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.40d5feba.js";const Y={class:"edit-popup"},Z=p("div",{class:"tit"},"\u7532\u65B9\u4FE1\u606F",-1),ee=p("div",{class:"tit"},"\u4E3B\u8981\u8054\u7CFB\u4EBA",-1),le={style:{display:"flex","justify-content":"left"}},ae={class:"right"},oe=p("div",{class:"tit"},"\u4E59\u65B9\u4FE1\u606F",-1),te=p("div",{class:"tit"},"\u4E3B\u8981\u8054\u7CFB\u4EBA",-1),de={style:{display:"flex","justify-content":"left"}},se={class:"right"},ne=p("div",{class:"tit"},"\u79DF\u8D41\u4FE1\u606F",-1),ie={key:0,class:"el-card pt-6"},pe=p("div",{class:"tit"},"\u79DF\u8D41\u4FE1\u606F",-1),re={style:{padding:"0 2vw"}},ue={class:"el-card pt-6"},me=["href"],_e=["href"],Xe={__name:"vehicle_detail",setup(ce){const w=Q(),g=A(),f=G(),y=$([]),l=H({contract_logistic_id:"",contract_no:"",company_a_id:"",company_a_name:"",company_a_code:"",company_a_user:"",company_a_phone:"",company_a_email:"@service.ebaoquan.org",company_b_id:"",company_b_name:"",company_b_user:"",company_b_phone:"",company_b_code:"",company_b_email:"@service.ebaoquan.org",num:"",cars_info:{id:"",license:""},car_list:[],type:0,status:0,file:"",contract_url:"",signing_timer:0,url:null,create_time:"2023-08-31 14:26:42",update_time:"2023-08-31 14:26:49",reject_message:""});let b=[];const k=M("base_url"),U=d=>{b=[],d.map(o=>{l.car_list.forEach(n=>{n.license==o&&b.push(n)})})};K({id:f.query.id}).then(d=>{for(let o in l)l[o]=d[o];l.type?l.type="\u81EA\u6709\u8F66\u8F86":l.type="\u79DF\u8D41\u8F66\u8F86"});const C=(d,o)=>{l.file=d.data.uri},E=()=>{O({id:f.query.id,file:l.file,cars:JSON.stringify(b)}).then(d=>{setTimeout(()=>{g.go(-1)},1e3)})};return(d,o)=>{const n=N,i=j,s=q,u=T,x=L,D=z,B=I,h=J,F=S;return r(),_("div",Y,[e(x,{ref:"formRef",model:l,"label-width":"90px",rules:d.formRules,disabled:!0},{default:a(()=>[e(s,{span:24,class:"el-card pt-6"},{default:a(()=>[Z,e(u,null,{default:a(()=>[e(s,{span:8},{default:a(()=>[e(i,{label:"\u516C\u53F8\u540D\u79F0",prop:"company_name"},{default:a(()=>[e(n,{modelValue:l.company_a_name,"onUpdate:modelValue":o[0]||(o[0]=t=>l.company_a_name=t),placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8\u540D\u79F0",clearable:"",disabled:d.isDisabled,style:{width:"100%"}},null,8,["modelValue","disabled"])]),_:1})]),_:1}),e(s,{span:8},{default:a(()=>[e(i,{label:"\u793E\u4F1A\u4EE3\u7801",prop:"organization_code"},{default:a(()=>[e(n,{disabled:d.isDisabled,modelValue:l.company_a_code,"onUpdate:modelValue":o[1]||(o[1]=t=>l.company_a_code=t),placeholder:"\u8BF7\u8F93\u5165\u793E\u4F1A\u4EE3\u7801",clearable:"",style:{width:"100%"}},null,8,["disabled","modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,{span:24,class:"el-card pt-6"},{default:a(()=>[ee,e(u,null,{default:a(()=>[p("div",le,[p("div",ae,[e(u,null,{default:a(()=>[e(s,{span:8},{default:a
|