moreShopAdmin/build/admin/assets/details.2808a71d.js

2 lines
3.8 KiB
JavaScript

import{C as c,D as V,F as b}from"./element-plus.91c68cc0.js";import{P as y}from"./index.d78ce335.js";import{a as B}from"./inventory_transfer.62230192.js";import"./lodash.4e6d2a38.js";import{d as s,s as i,r as C,Z as D,o as E,c as w,U as l,L as a,u as t}from"./@vue.76ce7aa3.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";import"./index.e9c2eb26.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./vue-router.10bd5b90.js";import"./pinia.f3529286.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8d65305c.js";const x={class:"edit-popup"},U=s({name:"inventoryTransferDETAILS"}),_e=s({...U,props:{dictData:{type:Object,default:()=>({})}},emits:["success","close"],setup(v,{expose:f,emit:k}){const _=i(),d=i();C("add");const o=D({id:"",product_id:"",nums:"",before_nums:"",after_nums:"",type:"",one_id:"",two_id:""}),n=async r=>{for(const e in o)r[e]!=null&&r[e]!=null&&(o[e]=r[e])};return f({open:()=>{var r;(r=d.value)==null||r.open()},setFormData:n,getDetail:async r=>{const e=await B({id:r.id});n(e)}}),(r,e)=>{const p=c,m=V,F=b;return E(),w("div",x,[l(y,{ref_key:"popupRef",ref:d,title:"\u8BE6\u60C5",async:!0,width:"550px",cancelButtonText:!1,confirmButtonText:!1},{default:a(()=>[l(F,{ref_key:"formRef",ref:_,model:t(o),"label-width":"90px"},{default:a(()=>[l(m,{label:"\u5546\u54C1",prop:"product_id"},{default:a(()=>[l(p,{modelValue:t(o).product_id,"onUpdate:modelValue":e[0]||(e[0]=u=>t(o).product_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1",readonly:!0},null,8,["modelValue"])]),_:1}),l(m,{label:"\u6570\u91CF",prop:"nums"},{default:a(()=>[l(p,{modelValue:t(o).nums,"onUpdate:modelValue":e[1]||(e[1]=u=>t(o).nums=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6570\u91CF",readonly:!0},null,8,["modelValue"])]),_:1}),l(m,{label:"\u66F4\u65B0\u524D",prop:"before_nums"},{default:a(()=>[l(p,{modelValue:t(o).before_nums,"onUpdate:modelValue":e[2]||(e[2]=u=>t(o).before_nums=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u66F4\u65B0\u524D",readonly:!0},null,8,["modelValue"])]),_:1}),l(m,{label:"\u66F4\u65B0\u540E",prop:"after_nums"},{default:a(()=>[l(p,{modelValue:t(o).after_nums,"onUpdate:modelValue":e[3]||(e[3]=u=>t(o).after_nums=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u66F4\u65B0\u540E",readonly:!0},null,8,["modelValue"])]),_:1}),l(m,{label:"1\u5546\u62372\u4ED3\u5E93",prop:"type"},{default:a(()=>[l(p,{modelValue:t(o).type,"onUpdate:modelValue":e[4]||(e[4]=u=>t(o).type=u),clearable:"",placeholder:"\u8BF7\u8F93\u51651\u5546\u62372\u4ED3\u5E93",readonly:!0},null,8,["modelValue"])]),_:1}),l(m,{label:"\u8F6C\u51FAid",prop:"one_id"},{default:a(()=>[l(p,{modelValue:t(o).one_id,"onUpdate:modelValue":e[5]||(e[5]=u=>t(o).one_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8F6C\u51FAid",readonly:!0},null,8,["modelValue"])]),_:1}),l(m,{label:"\u8F6C\u5165id",prop:"two_id"},{default:a(()=>[l(p,{modelValue:t(o).two_id,"onUpdate:modelValue":e[6]||(e[6]=u=>t(o).two_id=u),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8F6C\u5165id",readonly:!0},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},512)])}}});export{_e as default};