1 |
- import{_ as b,d as y,E as d,af as D,a9 as F,x as m,o as B,N as k,K as r,y as s,b as e,u as o,W as C}from"./index.743f0c80.js";import{B as N}from"./basic-descriptions.e56bd542.js";import{order_detail_columns as E}from"./columns.e5addeb3.js";import"./status.868e86c0.js";const z={class:"col-item",style:{width:"247px"}},U=e("p",{class:"col-label"},"\u5F00\u7968\u6570\u91CF",-1),g={class:"col-value"},A={class:"col-item",style:{width:"248px"}},S=e("p",{class:"col-label"},"\u5F00\u7968\u91D1\u989D",-1),j={class:"col-value"},I={flex:"","w-full":"","justify-end":"","mt-2":""},K=C("\u4FDD\u5B58"),O=y({__name:"edit-order",emits:["save-btn-click"],setup(T,{expose:v,emit:f}){const u=d(!1),t=d({}),n=d(0),i=d(0);function w(){f("save-btn-click",{row:o(t),inv_fee:o(i),num:o(n)}),u.value=!1}const _=D(()=>{const{winv_num:c}=t.value;return c});return F(()=>{n.value=_.value}),v({onDisplay({row:c}){u.value=!0,t.value=c,i.value=t.value.winv_fee}}),(c,l)=>{const p=m("el-input-number"),h=m("el-row"),x=m("el-button"),V=m("el-dialog");return B(),k(V,{modelValue:u.value,"onUpdate:modelValue":l[2]||(l[2]=a=>u.value=a),title:"\u7F16\u8F91\u9500\u552E\u8BA2\u5355",center:"",width:"1040px"},{default:r(()=>[s(o(N),{data:t.value,"col-number":2,columns:o(E)},{custom:r(()=>[s(h,null,{default:r(()=>[e("div",z,[U,e("p",g,[s(p,{size:"small",placeholder:"\u5F00\u7968\u6570\u91CF",precision:2,min:.01,style:{width:"100%"},max:o(_),modelValue:n.value,"onUpdate:modelValue":l[0]||(l[0]=a=>n.value=a)},null,8,["min","max","modelValue"])])]),e("div",A,[S,e("p",j,[s(p,{placeholder:"\u5F00\u7968\u91D1\u989D",precision:2,min:.01,size:"small",style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":l[1]||(l[1]=a=>i.value=a)},null,8,["min","modelValue"])])])]),_:1})]),_:1},8,["data","columns"]),e("div",I,[s(x,{size:"small",type:"primary",onClick:w},{default:r(()=>[K]),_:1})])]),_:1},8,["modelValue"])}}});var J=b(O,[["__file","D:/work/accout-vue3-ui/src/views/InvoiceSales/invoiceApply/components/add-edit-form/edit-order.vue"]]);export{J as default};
|