import{a as w,r as c,aj as n,J as y,o as x,K as a,S as e,P as i,Q as d}from"./vue.D1BjjNmv.js";const k=w({__name:"index",setup(g,{expose:r}){const s=c(!1),t=c({}),u=_=>{t.value=_||{},s.value=!0},m=()=>{t.value={}};return r({visible:s,openWithData:u}),(_,p)=>{const o=n("el-descriptions-item"),b=n("el-descriptions"),l=n("el-table-column"),v=n("el-table"),f=n("el-dialog");return x(),y(f,{modelValue:s.value,"onUpdate:modelValue":p[0]||(p[0]=h=>s.value=h),title:"盘点详情",width:"900px",onClose:m},{default:a(()=>[e(b,{column:3,border:"",style:{"margin-bottom":"16px"}},{default:a(()=>[e(o,{label:"盘点编号"},{default:a(()=>[i(d(t.value.check_no),1)]),_:1}),e(o,{label:"状态"},{default:a(()=>[i(d(t.value.status_display),1)]),_:1}),e(o,{label:"开始时间"},{default:a(()=>[i(d(t.value.start_time_display||t.value.start_time),1)]),_:1}),e(o,{label:"结束时间"},{default:a(()=>[i(d(t.value.end_time_display||t.value.end_time),1)]),_:1}),e(o,{label:"盘点人"},{default:a(()=>[i(d(t.value.checker_name),1)]),_:1})]),_:1}),e(v,{data:t.value.details||[],height:"420px"},{default:a(()=>[e(l,{type:"index",label:"序号",width:"60"}),e(l,{prop:"device_code",label:"设备编号","min-width":"140"}),e(l,{prop:"device_name",label:"设备名称","min-width":"140"}),e(l,{prop:"device_category",label:"分类","min-width":"120"}),e(l,{prop:"original_quantity",label:"原数量",width:"90"}),e(l,{prop:"scanned_quantity",label:"实盘数量",width:"100"}),e(l,{prop:"difference",label:"差异",width:"80"}),e(l,{prop:"difference_type",label:"差异类型","min-width":"120"}),e(l,{prop:"last_scan_time_display",label:"最后扫描时间","min-width":"160"})]),_:1},8,["data"])]),_:1},8,["modelValue"])}}});export{k as _};
