1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
| import {defineStore} from "pinia";
|
| export default defineStore('companyInfo', {
|
| state: () => ({
| companyName: '常州市吉利玻璃有限公司',
| address:'常州市天宁区郑陆镇大明南路8号',
| telephone:'022-59280088',
| fax:'022-59280066',
| 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:每月生成
| columnName:'异形参数',
| selectOrderReviewShow:false, //订单首页加工单审核按钮是否显示
| productName:"product_abbreviation", //产品创建查重字段
| decValue:2,//订单保存面积位数
| label:2,//标签类型
| calculateType:2,//订单计算方式
|
| //天津
| printLabel: {
| custom: (item1) => {
| return `<div class="row3" style="text-align: center;font-weight: bolder;">
| <label style="font-weight: bolder;font-size: 22px;margin-top: 28px;">W:${item1.width}</label>
|
| <label style="font-weight: bolder;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: 28px;">W:${item1.width}</label>
|
| <label style="font-weight: bolder;font-size: 10px;margin-top: 28px;">H:${item1.height}</label>
| </div>`
| },
| labelType: '成品标签2',
| labelValue:2,
| labelType3: '成品标签3',
| labelValue3:3,
| printFlowCard: {
| patch:'正',
| lackOf:'次',
| processingNote: (itemtextarea) => {
| return `${itemtextarea.processing_note}`
| },
| },
| hideButton:'false',
| getSelectFlowCard: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: {
| //
| }
| })
|
|