File: /var/www/html/public/static/js/needInvoice-legacy-e0ec7f4e.js
System.register(["./message-legacy-10af7c73.js","./hookNeedInvoice-legacy-a26ec017.js","./locationConfig-legacy-b87d11b2.js","./index.es-legacy-20f56171.js","./runtime-core.esm-bundler-legacy-c5df00b7.js","./_plugin-vue_export-helper-legacy-762b7923.js","./po-legacy-706db15a.js","./index-legacy-ad509c6f.js","./preload-helper-legacy-f8638e03.js","./vue-i18n.runtime.esm-bundler-legacy-720876b1.js","./index-legacy-c9e20962.js","./_commonjsHelpers-legacy-5498c249.js","./vue-router-legacy-a12307c3.js","./utils-legacy-c0023c33.js","./index-legacy-42c17c53.js","./focus-trap-legacy-631b7396.js","./error-legacy-e98f9e58.js","./eye_show-legacy-f8879d4f.js","./hookLocationConfig-legacy-1e2210fa.js","./epTheme-legacy-5bfec80e.js","./index-legacy-856dd4c7.js","./merge-legacy-f0652ed9.js"],(function(e,t){"use strict";var a,l,i,n,o,d,r,p,b,u,c,s,x,g,f,m,h,v,_,y,w,k,j,C,D,V=document.createElement("style");return V.textContent=".margin_left[data-v-f59b4b05]{margin-left:20px}.addAddress_box td[data-v-f59b4b05]{padding:15px}.current_item[data-v-f59b4b05]{color:#2d4cf8;font-weight:700}.qo_item_box[data-v-f59b4b05]{display:flex;justify-content:space-between;width:100%}.qo_item_box_right[data-v-f59b4b05]{align-items:center;display:flex;padding:0 60px 0 0}.createOrderobj_box[data-v-f59b4b05]{background:#fff;width:100%}.createOrderobj_box td[data-v-f59b4b05]{border:1px solid hsla(0,4%,91%,.867);color:#505050;padding:8px 10px;text-align:left}.return_icon[data-v-f59b4b05]{height:28px;width:28px}.part_out_button[data-v-f59b4b05]{margin-top:23px;text-align:center}.button_flex[data-v-f59b4b05]{bottom:20px;position:absolute;right:20px}.addModal_box td[data-v-f59b4b05]{padding:10px 0}.add_odality[data-v-f59b4b05]{align-items:center;display:flex}.addModal_box[data-v-f59b4b05]{display:flex;justify-content:center}.error_icon[data-v-f59b4b05]{height:22px;width:22px}.edit_icon[data-v-f59b4b05]{height:15px;margin-left:10px;width:15px}.new_loca_code1[data-v-f59b4b05]{align-items:flex-start;display:flex;justify-content:center}.new_loca_code_input[data-v-f59b4b05]{border:1px solid #d0d0d0;border-radius:3px;height:32px;margin:0 30px 0 15px;outline:none;padding:0 10px;width:400px}.new_loca_code[data-v-f59b4b05]{align-items:center;display:flex;justify-content:center}.fieldset[data-v-f59b4b05]{width:100%}.fieldset[data-v-f59b4b05],.fieldset_top[data-v-f59b4b05]{border:1px solid #ccc;padding:8px}.fieldset_top[data-v-f59b4b05]{margin-top:20px;width:98%}.legend[data-v-f59b4b05]{font-size:15px;font-weight:700;padding:8px}.dialog_tilte[data-v-f59b4b05]{font-size:16px;font-weight:700;margin:0 0 20px;text-align:center}.box[data-v-f59b4b05]{height:20px;margin:0 40px 0 20px;width:20px}.green[data-v-f59b4b05]{background:#24a59f}.grey[data-v-f59b4b05]{background:#49b119}.waybill_desc_box[data-v-f59b4b05]{align-items:center;display:flex}.mate_box[data-v-f59b4b05]{margin-top:10px;width:100%}.mate_box td[data-v-f59b4b05]{border:1px solid #d0d0d0;padding:10px}.waybill_desc[data-v-f59b4b05]{color:#505050;font-size:15px;font-weight:400}.waybill_number[data-v-f59b4b05]{color:#727070;font-size:15px;margin:0 150px 0 0}.total_num[data-v-f59b4b05]{color:red;font-size:17px;font-weight:400;width:15%}th[data-v-f59b4b05]{color:#505050}.automaticallyList_table[data-v-f59b4b05]{max-height:500px}.red[data-v-f59b4b05]{color:red;font-size:16px;margin-left:2px}.volume_dataList_box[data-v-f59b4b05]{align-items:center;display:flex;justify-content:space-around;width:100%}.primary_box[data-v-f59b4b05],.primary_box1[data-v-f59b4b05]{margin-top:20px}.primary_box1[data-v-f59b4b05]{display:flex;justify-content:space-between}.primary_box .el-button[data-v-f59b4b05]{margin:0 50px 0 0}.table_current_box td[data-v-f59b4b05],.table_current_box th[data-v-f59b4b05]{border:1px solid hsla(0,4%,91%,.867);padding:8px 5px;text-align:left}.table_current_box td[data-v-f59b4b05]{color:#909399}.supplier_value_none[data-v-f59b4b05]{display:none}.supplier_value_list[data-v-f59b4b05]{background:#fff;display:block!important;height:430px;overflow-y:auto;padding:10px;position:absolute;width:300px;z-index:10}.supplier_value_box[data-v-f59b4b05]{position:relative}.CaretBottom_icon[data-v-f59b4b05]{align-items:center;background:#d0d0d0;display:flex;height:28px;justify-content:center;margin:0 70px 0 0;width:28px}.dialog_procure_box[data-v-f59b4b05]{align-items:center;display:flex;margin-top:20px}.dialog_procure_box1[data-v-f59b4b05]{justify-content:space-between}.input[data-v-f59b4b05]{height:32px;width:180px}.input[data-v-f59b4b05],.input5[data-v-f59b4b05]{border:1px solid #d0d0d0;border-radius:3px;outline:none;padding:0 10px}.input5[data-v-f59b4b05]{height:28px;margin:0 0 0 30px;width:210px}.input1[data-v-f59b4b05]{border:1px solid #d0d0d0;border-radius:6px;height:32px;margin:0 16px 0 0;outline:none;padding:0 10px;width:350px}.input2[data-v-f59b4b05]{border:1px solid #d0d0d0;border-radius:3px;width:272px}.input2[data-v-f59b4b05],.input2_1[data-v-f59b4b05]{height:28px;outline:none;padding:0 10px}.input2_1[data-v-f59b4b05]{border:1px solid #d0d0d0;width:130px}.input3[data-v-f59b4b05]{border:1px solid #d0d0d0;border-radius:3px;height:28px;width:120px}.input3[data-v-f59b4b05],.input_1[data-v-f59b4b05]{outline:none;padding:0 10px}.input_1[data-v-f59b4b05]{width:60px}.input_1[data-v-f59b4b05],.input_2[data-v-f59b4b05]{border:1px solid #e0e0e0;border-radius:3px;height:32px}.input_2[data-v-f59b4b05]{width:480px}.input4[data-v-f59b4b05],.input_2[data-v-f59b4b05]{outline:none;padding:0 10px}.input4[data-v-f59b4b05]{border:1px solid #d0d0d0;height:28px;margin:0 79px 0 82px;width:120px}[data-v-f59b4b05] .el-dropdown-menu__item i{margin:0}[data-v-f59b4b05] .visibility .el-table th.el-table__cell:first-child .cell{visibility:hidden}.order_box[data-v-f59b4b05]{align-items:center;display:flex}.order_box1[data-v-f59b4b05]{justify-content:space-between}.order_box_num[data-v-f59b4b05]{margin:0 100px 0 30px}.order_box_num1[data-v-f59b4b05]{margin:0 30px 0 0}.el-button--text[data-v-f59b4b05]{margin-right:15px}.el-input[data-v-f59b4b05],.el-select[data-v-f59b4b05]{width:300px}.dialog-footer button[data-v-f59b4b05]:first-child{margin-right:10px}.none{display:none!important}.el-dialog__body{padding:0 20px 22px}.el-dialog{margin-top:20px;max-height:90%;min-height:60%;overflow-y:auto;width:90%}.add_part_dialog_box .el-dialog{margin-top:50px!important;max-height:900px!important;min-height:500px!important;overflow-y:auto;width:60%!important}.el-table__cell{color:#505050}.default span:hover,.in_stock_quantity span:hover,.quantity span:hover{color:#018fed!important}.in_stock_quantity td{background:#f7e8cb!important;border:1px solid #d0d0d0}.quantity td{background:#b2cdf8!important;border:1px solid #d0d0d0}.default td{background:#caf2ff!important;border:1px solid #d0d0d0}.in_stock_quantity{background:#f7e8cb!important}.quantity{background:#b2cdf8!important}.default{background:#caf2ff!important}.grey{background:#e6cde6!important}.new_loca_code1 .el-textarea{margin-left:10px!important;width:70%!important}.relocation_box_30 .el-dialog{margin-top:120px!important;max-height:400px!important;min-height:400px!important;width:30%!important}.el-popper{margin-left:-20px!important;margin-top:-17px!important}.placement_desc th{background:#f3f3f3!important}.dialog_procure_box .el-select{margin:0 20px 0 0}.el-popper.is-customized{background:linear-gradient(90deg,#9fe597,#cce581);padding:6px 12px}.el-popper.is-customized .el-popper__arrow:before{background:linear-gradient(45deg,#b2e68d,#bce689);right:-20px}\n",document.head.appendChild(V),{setters:[e=>{a=e.ab},e=>{l=e.useEqu},e=>{i=e.default},e=>{n=e.b,o=e.P},e=>{d=e.d,r=e.o,p=e.Q,b=e.e,u=e.f,c=e.g,s=e.p,x=e.u,g=e.y,f=e.i,m=e.m,h=e.v,v=e.x,_=e.t,y=e.F,w=e.I,k=e.l,j=e.b5,C=e.b4},e=>{D=e._},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const t=e=>(j("data-v-f59b4b05"),e=e(),C(),e),V={class:"main"},S={class:"dialog_procure_box",style:{"margin-top":"0px"}},z=t((()=>c("div",null,"Customer :",-1))),I=t((()=>c("div",{style:{margin:"0 0px 0 20px"}},"Booking Date :",-1))),q={style:{width:"370px"}},L={key:0},M=t((()=>c("div",{class:"dialog_tilte"},"Make Invoice",-1))),T={class:"createOrderobj_box"},Y=t((()=>c("tr",null,[c("td",null,"CusName"),c("td",null,"Count"),c("td",null,"Times"),c("td",null,"Total amount")],-1))),U={class:"dialog_procure_box"},E=t((()=>c("div",null,null,-1))),N={class:"part_out_button"},A=d({name:"/crm/yuyue/needInvoice"}),O=d({...A,setup(e){const{searchDetail:t,btnSearchPart:d,loading:j,small:C,selectList:D,columns:A,checkList:O,pagination:P,handleSizeChange:R,handleCurrentChange:B,PartList:K,order_date:F,deliverDialog:H,selectClick:Q,btnDeliverConfirm:G,singleTableRef:J,getDate:W,btnMakeInvoice:X,onSelectLocation:Z,locationDialog:$,eventIsNumlocation:ee,locationData:te,taxData:ae,invoiceArr:le,btnDellocation:ie}=l();return r((()=>{})),(e,l)=>{const r=p("el-date-picker"),C=p("el-button"),O=p("el-switch"),G=p("el-option"),Z=p("el-select"),ne=p("el-dialog");return b(),u("div",V,[c("div",S,[z,s(c("input",{class:"input","onUpdate:modelValue":l[0]||(l[0]=e=>x(t).searchKey=e),type:"text"},null,512),[[a,x(t).searchKey]]),I,c("div",q,[g(r,{modelValue:x(F),"onUpdate:modelValue":l[1]||(l[1]=e=>f(F)?F.value=e:null),type:"daterange","start-placeholder":"Start date","end-placeholder":"End Date",format:"YYYY/MM/DD","value-format":"YYYY-MM-DD",onChange:x(W)},null,8,["modelValue","onChange"])]),g(C,{type:"primary",onClick:l[2]||(l[2]=e=>x(d)())},{default:m((()=>[h("Search")])),_:1})]),g(x(o),{title:"设备列表",selectArr:x(D),onRefresh:e.onSearch},{default:m((({size:e,checkList:t})=>[g(x(n),{border:"",ref_key:"singleTableRef",ref:J,onSelectionChange:x(Q),"max-height":"500","align-whole":"center",showOverflowTooltip:"","table-layout":"auto",loading:x(j),size:"small",data:x(K),columns:x(A),checkList:t,pagination:x(P),paginationSmall:"small"===e,"header-cell-style":{background:"var(--el-table-row-hover-bg-color)",color:"var(--el-text-color-primary)"},onSizeChange:x(R),onCurrentChange:x(B)},{ServiceTime:m((({row:e})=>[h(v(e.begin_time)+"-"+v(e.end_time),1)])),operation:m((({row:e})=>[e.is_enough?(b(),u("span",L,[h(v(e.enough_values)+" ",1),g(C,{class:"reset-margin reset-margin1",link:"",type:"primary",onClick:t=>x(ie)(e)},{default:m((()=>[h(" Use ")])),_:2},1032,["onClick"])])):_("",!0)])),_:2},1032,["onSelectionChange","loading","data","columns","checkList","pagination","paginationSmall","header-cell-style","onSizeChange","onCurrentChange"])])),_:1},8,["selectArr","onRefresh"]),g(C,{style:{"margin-top":"20px"},type:"primary",plain:"",onClick:l[3]||(l[3]=e=>x(X)("summary"))},{default:m((()=>[h("Make Invoice")])),_:1}),g(ne,{modelValue:x(H),"onUpdate:modelValue":l[7]||(l[7]=e=>f(H)?H.value=e:null),title:"",style:{width:"60%"}},{default:m((()=>[M,c("table",T,[Y,(b(!0),u(y,null,w(x(le),((e,t)=>(b(),u("tr",{key:t},[c("td",null,v(e.name),1),c("td",null,v(e.count),1),c("td",null,v(e.session),1),c("td",null,v(e.total),1)])))),128))]),c("div",U,[c("div",null,[h(" + Tax:"),g(O,{style:{margin:"0 50px 0 0"},modelValue:x(t).is_tax,"onUpdate:modelValue":l[4]||(l[4]=e=>x(t).is_tax=e)},null,8,["modelValue"]),h(" Include Tax "),g(Z,{style:{width:"80px"},clearable:"true",modelValue:x(t).include_tax,"onUpdate:modelValue":l[5]||(l[5]=e=>x(t).include_tax=e),filterable:"","allow-create":"","default-first-option":"","reserve-keyword":!1,placeholder:"Please select"},{default:m((()=>[(b(!0),u(y,null,w(x(ae),(e=>(b(),k(G,{key:e.value,label:e.text,value:e.value},null,8,["label","value"])))),128))])),_:1},8,["modelValue"])]),E]),c("div",N,[g(C,{type:"primary",onClick:l[6]||(l[6]=e=>x(X)("submit"))},{default:m((()=>[h("Submit")])),_:1})])])),_:1},8,["modelValue"]),g(ne,{style:{width:"78%"},modelValue:x($),"onUpdate:modelValue":l[9]||(l[9]=e=>f($)?$.value=e:null),title:"",draggable:""},{default:m((()=>[g(i,{onEventIsNumlocation:x(ee),note:1,locationData:x(te),locationDialog:x($),"onUpdate:locationDialog":l[8]||(l[8]=e=>f($)?$.value=e:null)},null,8,["onEventIsNumlocation","locationData","locationDialog"])])),_:1},8,["modelValue"])])}}});e("default",D(O,[["__scopeId","data-v-f59b4b05"]]))}}}));