import {defineStore} from "pinia"; export default defineStore('companyInfo', { state: () => ({ notChangeProduct:false,//天津true,其他false,是否开启非本人创建的产品不能修改 timeOut:false,//金华true,其他false,是否开启超时改变复选框状态 connectMes:true,//常州,义乌true,其他false,显示订单报工转移是否启用 companyName: '常州市吉利玻璃有限公司', address:'常州市天宁区郑陆镇大明南路8号', telephone:'022-59280088', fax:'022-59280066', errorArea:0.4,//结算面积误差 widHeiLength:{//订单宽高长度 regexp:/^(\d{1,4})$/,//正则四位整数 //regexp:/^(0|[1-9][0-9]{0,3}([.][0-9]{1,2})?)$/,//正则0.00-9999.99 msg:'basicData.msg.range9999Dec' }, orderIdType:'month',//后端生成订单号类型,day:每天生成,month:每月生成 deliveryIdType:'month',//后端生成发货单号类型,day:每天生成,month:每月生成 deliveryDate:7,//订单创建送货日期 天津7天,常州7天,义乌15天,新疆15天 columnName:'异形参数',//打印生产单时需要显示的列名,没有为空 selectOrderReviewShow:false, //订单首页加工单审核按钮是否显示 productName:"product_abbreviation", //产品创建查重字段 decValue:2,//订单保存面积位数 label:2,//标签类型,常州为2,其他为1 calculateType:2,//订单计算方式 reportType:2,//报工是否查询样品订单2查询,1不查询 qualityInsStatus:2,//跨工序质检审核,1不需要,2需要 remarkSwitch:2,//流程卡上是否显示其它备注,1显示,2不显示 icon:"奥飞久通",//商标参数,没有为空 printShowTitle:true,//流程卡自定义打印是否显示标签 longSide:6500,//订单创建最长边提示颜色 showDeliveryCreator:true,//发货单创建人先显示或者后显示 false后显示 deliveryRemark: ['备注:本批玻璃为优等合格品,请在卸货时,当面消点验收、如有质量问题在一周内与本公司联系,否则概不负责!'],//打印发货单的备注 deliveryOutbound: true,//发货默认出库,默认出库为true flowCardMerge: 1,//流程卡合片打印,1合并,其他不合并 printBtn:0,//打印界面三个按钮中是否显示标签打印相关按钮,0显示常州,1天津其它不显示 printNumber:true,//多选订单打印流程卡是否显示右上角序号义乌false,其它true materialOutboundColor:false,//库存查询入库超过一定时间改变颜色,洛阳true,其他false storageBtn:false,//是否显示报工入库相关内容,洛阳true,其他false teamsType:false,//是否开启班组下拉框,洛阳true,其他false //天津 printLabel: { custom: (item1) => { return `
   
` }, customSemi: (item1) => { return `
   
` }, labelType: '成品标签2', labelValue:2, labelType3: '成品标签3', labelValue3:3, printFlowCard: { patch:'正品', lackOf:'次品', processingNote: (itemtextarea) => { return `${itemtextarea.processing_note}` }, }, hideButton:'false', getSelectFlowCard:2,//打印流程卡查询状态 columnsLabel:2,//一行两列成品标签 1新疆一行两列成品标签,2其它 className:{ custom:{ printFlowCardName: () => { return `printFlowCard_finished` }, entiretyName: () => { return `entirety_finished` }, contentRowName: () => { return `contentRow` } }, semi:{ printFlowCardName: () => { return `printFlowCard_semi` }, entiretyName: () => { return `entirety_semi` }, contentRowName: () => { return `contentRow` } } } } }), actions: { // } })