LogModal.bbddeff1.js 3.5 KB

1
  1. import{_ as p,d as c,cl as C,m as d,r as s,o as B,A as D,x as _,h as e}from"./index.2e9457cc.js";import{c as f}from"./createRequset.3978c053.js";const g="purchease/purchase/";var y={list:f(`${g}changeLogList`)};const m={spuCode:"\u5546\u54C1\u6210\u672C\u7F16\u53F7",good_code:"\u5546\u54C1\u7F16\u7801",good_name:"\u5546\u54C1\u540D\u79F0",cat_id:"\u5206\u7C7B",brand_id:"\u54C1\u724C",good_unit:"\u5546\u54C1\u5355\u4F4D",good_type:"",companyNo:"\u4E1A\u52A1\u4F01\u4E1A",moq:"\u8D77\u8BA2\u91CF",customized:"\u5B9A\u5236\u5DE5\u671F",tax:"\u7A0E\u70B9",supplierNo:"\u4F9B\u5E94\u5546",is_auth:"\u662F\u5426\u6709\u9500\u552E\u6743\u9650",is_stock:"\u662F\u5426\u5E93\u5B58\u54C1",auth_img:"\u9500\u552E\u6388\u6743\u56FE\u7247",after_sales:"\u552E\u540E\u8BF4\u660E",craft_desc:"\u5DE5\u827A\u8BF4\u660E",good_remark:"\u5546\u54C1\u5907\u6CE8",good_size:"\u5546\u54C1\u5C3A\u5BF8",weight:"\u5546\u54C1\u91CD\u91CF",packing_way:"\u5305\u88C5\u65B9\u5F0F",packing_size:"\u88C5\u7BB1\u5C3A\u5BF8",packing_spec:"\u88C5\u7BB1\u89C4\u683C",packing_list:"\u5305\u88C5\u6E05\u5355",packing_weight:"\u88C5\u7BB1\u91CD\u91CF",good_bar:"\u5546\u54C1\u6761\u5F62\u7801",supply_area:"\u4F9B\u8D27\u533A\u57DF",delivery_place:"\u53D1\u8D27\u5730",origin_place:"\u4EA7\u5730",delivery_day:"\u7269\u6D41\u65F6\u95F4",lead_time:"\u4F9B\u8D27\u5468\u671F",sample_day:"\u8C03\u6837\u5468\u671F",sample_fee:"\u8C03\u6837\u8D39\u7528",good_img:"\u5546\u54C1\u8BE6\u60C5\u4E3B\u56FE ",good_thumb_img:"\u5546\u54C1\u7F29\u7565\u56FE",good_info_img:"\u5546\u54C1\u8BE6\u60C5\u56FE",cert_fee:"\u8BC1\u4E66\u8D39",packing_fee:"\u5305\u88C5\u8D39",cost_fee:"\u5DE5\u827A\u8D39",mark_fee:"\u52A0\u6807\u8D39",demo_fee:"\u6253\u6837\u8D39",open_fee:"\u5F00\u6A21\u8D39",noble_metal:"\u8D35\u91D1\u5C5E\u79CD\u7C7B",noble_weight:"\u8D35\u91D1\u5C5E\u91CD\u91CF",is_gold_price:"\u662F\u5426\u4F7F\u7528\u5B9E\u65F6\u91D1\u4EF7",cgd_gold_price:"\u4F9B\u5E94\u5546\u91C7\u8D2D\u91D1\u4EF7",market_price:"\u5E02\u573A\u4EF7",nake_price:"\u542B\u7A0E\u6210\u672C\u4EF7",is_step:"\u9636\u68AF\u4EF7\u662F\u5426\u542F\u7528",is_online:"\u662F\u5426\u4E0A\u7EBF",status:"\u72B6\u6001",createrid:"\u521B\u5EFA\u4EBAid",creater:"\u521B\u5EFA\u4EBA",is_del:"\u662F\u5426\u5220\u9664",addtime:"\u521B\u5EFA\u65F6\u95F4",updatetime:"\u4FEE\u6539\u65F6\u95F4",is_exclusive:"\u662F\u5426\u4E13\u5C5E\u7C7B\u578B",is_diff:"\u662F\u5426\u6709\u5DE5\u5DEE",config:"\u914D\u7F6E",other_config:"\u5176\u4ED6\u914D\u7F6E"},b=c({__name:"LogModal",setup(v,{expose:E}){const o=C(!1),t=d([]);function i(){t.value=[],o.value=!1}return E({onDisplay(a){o.value=!0,Object.keys(a.after_info).forEach(u=>t.value.push({key:u,label:m[u],before:a.before_info[u],after:a.after_info[u]}))}}),(a,u)=>{const l=s("ElTableColumn"),r=s("ElTable"),F=s("ElDialog");return B(),D(F,{modelValue:o.value,"onUpdate:modelValue":u[0]||(u[0]=n=>o.value=n),title:"\u4EA7\u54C1\u4FEE\u6539\u5DEE\u5F02\u5BF9\u6BD4",center:"",onClose:i},{default:_(()=>[e(r,{size:"small",border:"",data:t.value},{default:_(()=>[e(l,{label:"\u4FEE\u6539\u5B57\u6BB5\u540D\u79F0",prop:"label"}),e(l,{label:"\u4FEE\u6539\u5B57\u6BB5",prop:"key"}),e(l,{label:"\u4FEE\u6539\u524D",prop:"before"}),e(l,{label:"\u4FEE\u6539\u540E",prop:"after"})]),_:1},8,["data"])]),_:1},8,["modelValue"])}}});var A=p(b,[["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/time/changeLog/components/LogModal.vue"]]),x=Object.freeze(Object.defineProperty({__proto__:null,default:A},Symbol.toStringTag,{value:"Module"}));export{A as L,y as a,x as b};