PageSourceSearch

https://nxavis.com/assets/ItemInput.38c8b071.js

js nxavis.com collected 2026-09-25 18:33:23 UTC 6,791 bytes, 1 lines download raw bytes

1import{a as g,Q as y,S as C,R as V,f as d,g as f,h as D,i as a,w as t,l as F,F as N,I as _,B as b,E as U,b as x,c as R,T as S,U as B,e as E}from"./index.9b5c56bb.js";/* empty css                  *//* empty css              *//* empty css            *//* empty css               *//* empty css                  *//* empty css               *//* empty css               */import{u as v}from"./index.55e01a36.js";import{u as w}from"./salesUser.a54b0a3d.js";import{_ as k}from"./_plugin-vue_export-helper.cdc0426e.js";import"./helper.3b032829.js";import"./exportJsonToExcel.437bce45.js";import"./xlsx.86b9426e.js";import"./gridSettings.ec8857e1.js";import"./hangulSearch.ca95db2a.js";import"./utc.3042e8b4.js";import"./timezone.bc658c1f.js";const T={name:"ItemInput",setup(){const r=v(),n=w(),s=async()=>{await n.querySalesUserList(),n.setModalType("input"),n.setModalTitle("\uC601\uC5C5 \uB2F4\uB2F9\uC790 \uC870\uD68C"),n.setShowModal(!0)},e=()=>{},I=m=>{r.storeExistsByCompanyId(m)},c=m=>{const u=m.replace(/-/g,"").replace(/[^0-9]/g,"");return u.length===10?u.replace(/(\d{3})(\d{2})(\d{5})/,"$1-$2-$3"):u.length===13?`${u.slice(0,6)}-${u.slice(6)}`:u},p=m=>{r.itemInput.inputInfo.inputFormData.companyRegNum=m.replace(/[^0-9]/g,"").slice(0,13)},l=()=>{r.itemInput.inputInfo.inputFormData.companyRegNum=c(r.itemInput.inputInfo.inputFormData.companyRegNum)},i=g(null);return r.itemInput.inputInfo.formRef=i,y(()=>n.modalInfo.currentRow,m=>{m.name==="input"&&(r.itemInput.inputInfo.inputFormData.salesSn=m.value.salesSn,r.itemInput.inputInfo.inputFormData.userName=m.value.salesName)}),{store:r,handleChanged:e,handleExistsByCompanyId:I,handleRegNumInput:p,handleRegNumBlur:l,Search:C,ko:V,modalOpenSalesUSer:s,inputForm:i}}},A={style:{height:"100%",width:"100%"},class:"nds-content-detail-box"},M={class:"grid gap-2 grid-cols-1"};function O(r,n,s,e,I,c){const p=U,l=x,i=R,m=S,u=B,h=E;return d(),f("div",A,[D("div",M,[a(h,{ref:"inputForm",model:e.store.itemInput.inputInfo.inputFormData,rules:e.store.validationRules,"label-width":"150px","label-position":"left"},{default:t(()=>[a(l,{label:"\uD68C\uC0AC\uBA85(\uBC95\uC778\uBA85)",prop:"companyName",class:"pl-2"},{default:t(()=>[a(p,{modelValue:e.store.itemInput.inputInfo.inputFormData.companyName,"onUpdate:modelValue":n[0]||(n[0]=o=>e.store.itemInput.inputInfo.inputFormData.companyName=o),placeholder:"\uD68C\uC0AC\uBA85 (\uBC95\uC778\uBA85)",onChange:e.handleChanged},null,8,["modelValue","onChange"])]),_:1}),a(l,{label:"\uD68C\uC0AC\uC544\uC774\uB514",prop:"companyId",class:"pl-2"},{default:t(()=>[a(p,{modelValue:e.store.itemInput.inputInfo.inputFormData.companyId,"onUpdate:modelValue":n[2]||(n[2]=o=>e.store.itemInput.inputInfo.inputFormData.companyId=o),placeholder:"\uD68C\uC0AC\uC544\uC774\uB514",onChange:e.handleChanged},{append:t(()=>[a(i,{size:"small",icon:"search",onClick:n[1]||(n[1]=o=>e.handleExistsByCompanyId(e.store.itemInput.inputInfo.inputFormData.companyId))},{default:t(()=>[F(" \uC911\uBCF5\uCCB4\uD06C ")]),_:1})]),_:1},8,["modelValue","onChange"])]),_:1}),a(l,{label:"\uC0AC\uC5C5\uC790\uBC88\uD638",prop:"companyRegNum",class:"pl-2"},{default:t(()=>[a(p,{modelValue:e.store.itemInput.inputInfo.inputFormData.companyRegNum,"onUpdate:modelValue":n[3]||(n[3]=o=>e.store.itemInput.inputInfo.inputFormData.companyRegNum=o),placeholder:"\uC0AC\uC5C5\uC790\uBC88\uD638",maxlength:"14",onInput:e.handleRegNumInput,onBlur:e.handleRegNumBlur},null,8,["modelValue","onInput","onBlur"])]),_:1}),a(l,{label:"\uB300\uD45C\uC790",prop:"companyRepName",class:"pl-2"},{default:t(()=>[a(p,{modelValue:e.store.itemInput.inputInfo.inputFormData.companyRepName,"onUpdate:modelValue":n[4]||(n[4]=o=>e.store.itemInput.inputInfo.inputFormData.companyRepName=o),placeholder:"\uB300\uD45C\uC790",onChange:e.handleChanged},null,8,["modelValue","onChange"])]),_:1}),a(l,{label:"\uC8FC\uC18C",prop:"companyAddress",class:"pl-2"},{default:t(()=>[a(p,{modelValue:e.store.itemInput.inputInfo.inputFormData.companyAddress,"onUpdate:modelValue":n[5]||(n[5]=o=>e.store.itemInput.inputInfo.inputFormData.companyAddress=o),placeholder:"\uC8FC\uC18C",onChange:e.handleChanged},null,8,["modelValue","onChange"])]),_:1}),a(l,{label:"\uC0C1\uC138\uC8FC\uC18C",prop:"companyDetailAddress",class:"pl-5","label-width":"140px"},{default:t(()=>[a(p,{modelValue:e.store.itemInput.inputInfo.inputFormData.companyDetailAddress,"onUpdate:modelValue":n[6]||(n[6]=o=>e.store.itemInput.inputInfo.inputFormData.companyDetailAddress=o),placeholder:"\uC0C1\uC138\uC8FC\uC18C",onChange:e.handleChanged},null,8,["modelValue","onChange"])]),_:1}),a(l,{label:"\uC804\uD654\uBC88\uD638",prop:"companyPhone",class:"pl-5","label-width":"140px"},{default:t(()=>[a(p,{modelValue:e.store.itemInput.inputInfo.inputFormData.companyPhone,"onUpdate:modelValue":n[7]||(n[7]=o=>e.store.itemInput.inputInfo.inputFormData.companyPhone=o),placeholder:"\uC804\uD654\uBC88\uD638",onChange:e.handleChanged},null,8,["modelValue","onChange"])]),_:1}),a(l,{label:"\uC601\uC5C5\uB2F4\uB2F9\uC790",prop:"userName",class:"pl-2"},{default:t(()=>[a(p,{modelValue:e.store.itemInput.inputInfo.inputFormData.userName,"onUpdate:modelValue":n[8]||(n[8]=o=>e.store.itemInput.inputInfo.inputFormData.userName=o),readonly:"",placeholder:"\uC601\uC5C5\uB2F4\uB2F9\uC790",onChange:e.handleChanged},{append:t(()=>[a(i,{icon:e.Search,onClick:e.modalOpenSalesUSer},null,8,["icon","onClick"])]),_:1},8,["modelValue","onChange"])]),_:1}),a(l,{label:"\uD68C\uC0AC\uD0DC\uADF8",prop:"companyTag",class:"pl-5","label-width":"140px"},{default:t(()=>[a(p,{modelValue:e.store.itemInput.inputInfo.inputFormData.companyTag,"onUpdate:modelValue":n[9]||(n[9]=o=>e.store.itemInput.inputInfo.inputFormData.companyTag=o),placeholder:"\uD0DC\uADF8",onChange:e.handleChanged},null,8,["modelValue","onChange"])]),_:1}),a(l,{label:"\uC124\uBA85",prop:"companyDesc",class:"pl-5","label-width":"140px"},{default:t(()=>[a(p,{modelValue:e.store.itemInput.inputInfo.inputFormData.companyDesc,"onUpdate:modelValue":n[10]||(n[10]=o=>e.store.itemInput.inputInfo.inputFormData.companyDesc=o),type:"textarea",class:"py-2",placeholder:"\uC124\uBA85",onChange:e.handleChanged},null,8,["modelValue","onChange"])]),_:1}),a(l,{label:"\uC0AC\uC6A9\uC5EC\uBD80",prop:"companyUseYn",class:"pl-2"},{default:t(()=>[a(u,{modelValue:e.store.itemInput.inputInfo.inputFormData.companyUseYn,"onUpdate:modelValue":n[11]||(n[11]=o=>e.store.itemInput.inputInfo.inputFormData.companyUseYn=o),placeholder:"\uC0AC\uC6A9\uC5EC\uBD80",onChange:e.handleChanged},{default:t(()=>
1[(d(!0),f(N,null,_(e.store.itemInput.inputInfo.companyUseYnOption,o=>(d(),b(m,{key:o.value,label:o.label,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onChange"])]),_:1})]),_:1},8,["model","rules"])])])}const ae=k(T,[["render",O]]);export{ae as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.