guoyujie
2025-10-22 4010fc2723e85bb0baaa23b56f4e95f9fbf79dcd
添加温州巨星配置文件
2个文件已添加
162 ■■■■■ 已修改文件
north-glass-erp/northglass-erp/src/stores/sd/companySet/温州巨星.js 146 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/src/main/java/com/example/erp/controller/AppController.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
north-glass-erp/northglass-erp/src/stores/sd/companySet/ÎÂÖݾÞÐÇ.js
New file
@@ -0,0 +1,146 @@
import {defineStore} from "pinia";
export default defineStore('companyInfo', {
    state: () => ({
        position:{
            outside:'(外)',
            inside:'(内)',
        },
        edgingType:false,//产品创建磨边类型是否必选
        hollow:'+',
        notChangeProduct:false,//天津true,其他false,是否开启非本人创建的产品不能修改
        timeOut:false,//金华true,其他false,是否开启发货超时改变复选框状态颜色
        connectMes:false,//常州,义乌true,其他false,显示订单报工转移是否启用
        companyName: '浙江巨星嘉泰新材料有限公司',
        address:'浙江 ä¸½æ°´å¸‚青田县高湖镇徐岸工业区10号',
        telephone:'',
        fax:'',
        errorArea:0.3,//结算面积误差
        widHeiLength:{//订单宽高长度
            regexp:/^(0|[1-9][0-9]{0,4}([.][0-9]{1,2})?)$/,//正则0.00-99999.99
            //regexp:/^(0|[1-9][0-9]{0,3}([.][0-9]{1,2})?)$/,//正则0.00-9999.99
            msg:'basicData.msg.range99999Dec2'
        },
        orderIdType:'day',//后端生成订单号类型,day:每天生成,month:每月生成,year:每年生成
        deliveryIdType:'day',//后端生成发货单号类型,day:每天生成,month:每月生成
        deliveryDate:15,//订单创建送货日期 å¤©æ´¥7天,常州7天,义乌15天,新疆15天
        columnName:'图号',//打印生产单时需要显示的列名,没有为空
        selectOrderReviewShow:true, //订单首页加工单审核按钮是否显示
        productName:"product_name",
        decValue:2,//订单保留位数,天津3位,常州2位
        label:1,//标签类型,常州为2,其他为1
        calculateType:1,//订单计算方式
        reportType:2,//报工是否查询样品订单2查询,1不查询
        qualityInsStatus:2,//跨工序质检审核,1不需要,2需要
        remarkSwitch:2,//流程卡上是否显示其它备注,1显示,2不显示
        icon:"",//商标参数,没有为空
        printShowTitle:false,//流程卡自定义打印是否显示标签
        longSide:null,//订单创建最长边提示颜色 null不提示颜色
        showDeliveryCreator:false,//发货单创建人先显示或者后显示 false后显示
        deliveryRemark: ['温馨提示:我司负责只送不卸。货到工地或工厂后,请于五天内安装完毕,如未能及时安装完毕,请放置于阴凉干燥处,并做好防晒防淋的措施,防止玻璃发霉;所有单片镀膜玻璃请勿用带酸性或碱性的液体清洗膜面。',
            '声明:货到工地或工厂后,如若贵司不及时的安装或未做防晒防淋措施导致的玻璃发霉,我司概不负责。',
            '收货时需验收产品数量、规格及有无破损,如发现问题需于收货三日内,以书面通知并附上现场证明材料(如破损照片等),相关证明资料不足,或在上述日期内未提出质量异议的,逾期视为产品合格,我司将不予承担任何责任。敬请留意!'],//打印发货单的备注
        deliveryOutbound: false,//发货默认出库,默认出库为true
        flowCardMerge: 0,//流程卡合片打印,1合并,其他不合并
        printBtn:1,//打印界面三个按钮中是否显示标签打印相关按钮,0显示常州,1天津其它不显示
        printNumber:true,//多选订单打印流程卡是否显示右上角序号义乌false,其它true
        materialOutboundColor:false,//库存查询入库超过一定时间改变颜色,洛阳true,其他false
        storageBtn:false,//是否显示报工入库相关内容,洛阳true,其他false
        teamsType:true,//是否开启班组下拉框,洛阳true,其他false
        alienFunction:false,//是否开启异形功能,暂时都是false
        replenishQRCode:1,//是否补片二维码是否拆分层,1拆分,2不拆
        soleQRCode:false,//流程卡合并二维码显示单层,义乌true.其它false
        //天津
        printLabel: {
            custom: (item1) => {
                return `<div class="row3" style="text-align: center;font-weight: bolder;">
                  <label style="font-size: 22px;margin-top: 28px;">W:${item1.width}</label>
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                  <label style="font-size: 22px;margin-top: 28px;">H:${item1.height}</label>
                </div>`
            },
            customSemi: (item1) => {
                return `<div class="row3" style="text-align: center;font-weight: bolder;">
                  <label style="font-weight: bolder;font-size: 10px;margin-top: 8px;">W:${item1.width}</label>
                  &nbsp;&nbsp;&nbsp;
                  <label style="font-weight: bolder;font-size: 10px;margin-top: 8px;">H:${item1.height}</label>
                </div>`
            },
            labelType: '半品标签',
            labelValue:2,
            labelType3: '成品标签3',
            labelValue3:3,
            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`
                    }
                },
            },
            printFlowCard: {//流程卡打印样式
                patch:'正品',
                lackOf:'次品',
                processingNote: (itemtextarea) => {
                    return  ``
                },
            },
            hideButton:'true',//流程卡打印界面按钮是否显示
            getSelectFlowCard:1,//流程卡打印查询是否合并  1合并2不合并
            columnsLabel:2,//一行两列成品标签 1新疆一行两列成品标签,2其它
        },
        //常州
        printLabel1: {
            custom: (item1) => {
                return `<div class="row3" style="text-align: center;font-weight: bolder;">
                      <label style="font-weight: bolder;font-size:12px;">${item1.width}*${item1.height}=${item1.quantity}</label>
                </div>`
            },
            customSemi: (item1) => {
                return `<div class="row3" style="text-align: center;font-weight: bolder;">
                      <label style="font-weight: bolder;font-size:10px;">${item1.width}*${item1.height}=${item1.quantity}</label>
                </div>`
            },
            labelType: '成品标签2',
            labelValue:3,
            printFlowCard: {
                patch:'正品',
                lackOf:'次品',
                processingNote: (itemtextarea) => {
                    return  `${itemtextarea.processing_note}`
                },
            },
            hideButton:'false',
        },
    }),
    actions: {
        //
    }
})
north-glass-erp/src/main/java/com/example/erp/controller/AppController.java
New file
@@ -0,0 +1,16 @@
package com.example.erp.controller;
import com.example.erp.common.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/app")
public class AppController {
    @PostMapping("/getOrderList")
    public Result getOrderList() {
        return null;
    }
}