HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.2.20
System: Linux 825a8fd6cf8c 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User: apache (48)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: /var/www/html/public/static/js/hookQuateHistory-d3d5b384.js
import{autoPriceHistories as h}from"./po-829b88f8.js";import{A as r,r as a,o as m}from"./runtime-core.esm-bundler-6128546f.js";import"./index-4e6349f8.js";import"./preload-helper-78dc9057.js";import"./message-2472a54a.js";import"./vue-i18n.runtime.esm-bundler-6949bcab.js";import"./index-b7f916e1.js";import"./_commonjsHelpers-87174ba5.js";import"./vue-router-a383d220.js";import"./utils-2ab4f76a.js";function q(){const l=r({}),o=a([]),t=a(!1),d=a(!1),i=r({total:0,pageSize:10,currentPage:1,background:!0,currentPage:1,pageSizes:[10,25,50,100]}),s=[{type:"selection",width:55,align:"left",hide:({checkList:e})=>!e.includes("勾选列")},{label:"序号列",type:"index",width:55,hide:({checkList:e})=>!e.includes("序号列")},{label:"公司名",prop:"companycode",minWidth:60,hide:({checkList:e})=>!e.includes("公司名")},{label:"操作者",prop:"user_id",minWidth:60,hide:({checkList:e})=>!e.includes("操作者")},{label:"报价单",prop:"quote_no",minWidth:60,hide:({checkList:e})=>!e.includes("报价单")},{label:"客户编号",prop:"customer_id",minWidth:60,hide:({checkList:e})=>!e.includes("客户编号")},{label:"产品型号",prop:"part_no",minWidth:60,hide:({checkList:e})=>!e.includes("产品型号")},{label:"数量",prop:"required_quantity",minWidth:60,hide:({checkList:e})=>!e.includes("数量")},{label:"贴片焊点数",prop:"smd_point_sum",minWidth:60,hide:({checkList:e})=>!e.includes("贴片焊点数")},{label:"插件焊点数",prop:"pth_point_sum",minWidth:60,hide:({checkList:e})=>!e.includes("插件焊点数")},{label:"报价参数",prop:"param",slot:"paramSlot",width:300,hide:({checkList:e})=>!e.includes("报价参数")},{label:"报价值",prop:"return_price",width:300,slot:"returnPrice",hide:({checkList:e})=>!e.includes("报价值")},{label:"询价时间",prop:"date_added",minWidth:60,hide:({checkList:e})=>!e.includes("询价时间")}],p=["产品","公司名","操作者","报价单","客户编号","产品型号","数量","贴片焊点数","插件焊点数","报价参数","报价值","询价时间"];function u(e){i.pageSize=e,n()}function c(e){i.currentPage=e,n()}async function n(){t.value=!0;const{data:e}=await h(Object.assign(l,{page:i.currentPage,results:i.pageSize}));o.value=e.data,i.total=e.total,t.value=!1}return m(()=>{n()}),{HistoryData:o,loading:t,small:d,columns:s,pagination:i,handleSizeChange:u,handleCurrentChange:c,selectList:p}}export{q as useEqu};