@bit-sun/business-component 2.3.22-beta1 → 2.3.22-beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +24 -24
- package/dist/index.js +24 -24
- package/lib/assets/exportFail.svg +9 -9
- package/lib/assets/exportProcessing.svg +9 -9
- package/lib/assets/exportSuccess.svg +9 -9
- package/package.json +1 -1
- package/src/assets/caidan.svg +1 -1
- package/src/assets/exportFail.svg +9 -9
- package/src/assets/exportProcessing.svg +9 -9
- package/src/assets/exportSuccess.svg +9 -9
- package/src/assets/fixed-left-active.svg +1 -1
- package/src/assets/fixed-right-active.svg +1 -1
- package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +1 -1
- package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +1 -1
- package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +2 -2
- package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +1 -1
- package/src/components/Business/BsLayouts/Components/RightContent/home.less +1 -1
- package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +3 -3
- package/src/components/Business/BsSulaQueryTable/utils.less +1 -1
- package/src/components/Business/CommonAlert/index.tsx +1 -1
- package/src/components/Business/CommonGuideWrapper/index.less +1 -1
- package/src/components/Business/DetailPageWrapper/index.less +2 -2
- package/src/components/Business/StateFlow/index.less +3 -3
- package/src/components/Functional/AddSelect/index.tsx +3 -3
- package/src/components/Functional/BillEntry/index.tsx +6 -6
- package/src/styles/bsDefault.less +4 -4
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
<g id="编组-6">
|
|
11
11
|
<path d="M4,28 L4,2 C4,0.8954305 4.8954305,-1.91384796e-17 6,0 L20.1028879,0 L20.1028879,0 L28,7.2545499 L28,28 C28,29.1045695 27.1045695,30 26,30 L6,30 C4.8954305,30 4,29.1045695 4,28 Z" id="路径-6" fill="#1B79FF"></path>
|
|
12
12
|
<g id="编组-2" transform="translate(0.000000, 9.000000)">
|
|
13
|
-
<path d="M11,0.5 C11.4142136,0.5 11.7892136,0.667893219 12.0606602,0.939339828 C12.3321068,1.21078644 12.5,1.58578644 12.5,2 L12.5,2 L12.5,11 C12.5,11.4142136 12.3321068,11.7892136 12.0606602,12.0606602 C11.7892136,12.3321068 11.4142136,12.5 11,12.5 L11,12.5 L2,12.5 C1.58578644,12.5 1.21078644,12.3321068 0.939339828,12.0606602 C0.667893219,11.7892136 0.5,11.4142136 0.5,11 L0.5,11 L0.5,2 C0.5,1.58578644 0.667893219,1.21078644 0.939339828,0.939339828 C1.21078644,0.667893219 1.58578644,0.5 2,0.5 L2,0.5 Z" id="矩形" stroke="#
|
|
14
|
-
<g id="X" transform="translate(3.986000, 4.100000)" fill="#
|
|
13
|
+
<path d="M11,0.5 C11.4142136,0.5 11.7892136,0.667893219 12.0606602,0.939339828 C12.3321068,1.21078644 12.5,1.58578644 12.5,2 L12.5,2 L12.5,11 C12.5,11.4142136 12.3321068,11.7892136 12.0606602,12.0606602 C11.7892136,12.3321068 11.4142136,12.5 11,12.5 L11,12.5 L2,12.5 C1.58578644,12.5 1.21078644,12.3321068 0.939339828,12.0606602 C0.667893219,11.7892136 0.5,11.4142136 0.5,11 L0.5,11 L0.5,2 C0.5,1.58578644 0.667893219,1.21078644 0.939339828,0.939339828 C1.21078644,0.667893219 1.58578644,0.5 2,0.5 L2,0.5 Z" id="矩形" stroke="#02B56E" fill="#FFFFFF"></path>
|
|
14
|
+
<g id="X" transform="translate(3.986000, 4.100000)" fill="#02B56E" fill-rule="nonzero">
|
|
15
15
|
<polygon id="路径" points="3.598 4.9 2.583 3.381 1.582 4.9 0 4.9 1.785 2.422 0.077 0 1.638 0 2.618 1.414 3.584 0 5.082 0 3.374 2.366 5.194 4.9"></polygon>
|
|
16
16
|
</g>
|
|
17
17
|
</g>
|
|
18
|
-
<path d="M15,10 L18,10 C18.5522847,10 19,10.4477153 19,11 L19,12 C19,12.5522847 18.5522847,13 18,13 L15,13 C14.4477153,13 14,12.5522847 14,12 L14,11 C14,10.4477153 14.4477153,10 15,10 Z" id="矩形备份-7" fill="#
|
|
19
|
-
<path d="M21,10 L24,10 C24.5522847,10 25,10.4477153 25,11 L25,12 C25,12.5522847 24.5522847,13 24,13 L21,13 C20.4477153,13 20,12.5522847 20,12 L20,11 C20,10.4477153 20.4477153,10 21,10 Z" id="矩形备份-18" fill="#
|
|
20
|
-
<path d="M15,14 L18,14 C18.5522847,14 19,14.4477153 19,15 L19,16 C19,16.5522847 18.5522847,17 18,17 L15,17 C14.4477153,17 14,16.5522847 14,16 L14,15 C14,14.4477153 14.4477153,14 15,14 Z" id="矩形备份-20" fill="#
|
|
21
|
-
<path d="M21,14 L24,14 C24.5522847,14 25,14.4477153 25,15 L25,16 C25,16.5522847 24.5522847,17 24,17 L21,17 C20.4477153,17 20,16.5522847 20,16 L20,15 C20,14.4477153 20.4477153,14 21,14 Z" id="矩形备份-19" fill="#
|
|
22
|
-
<path d="M15,18 L18,18 C18.5522847,18 19,18.4477153 19,19 L19,20 C19,20.5522847 18.5522847,21 18,21 L15,21 C14.4477153,21 14,20.5522847 14,20 L14,19 C14,18.4477153 14.4477153,18 15,18 Z" id="矩形备份-22" fill="#
|
|
23
|
-
<path d="M21,18 L24,18 C24.5522847,18 25,18.4477153 25,19 L25,20 C25,20.5522847 24.5522847,21 24,21 L21,21 C20.4477153,21 20,20.5522847 20,20 L20,19 C20,18.4477153 20.4477153,18 21,18 Z" id="矩形备份-21" fill="#
|
|
24
|
-
<polygon id="路径-19" fill="#
|
|
18
|
+
<path d="M15,10 L18,10 C18.5522847,10 19,10.4477153 19,11 L19,12 C19,12.5522847 18.5522847,13 18,13 L15,13 C14.4477153,13 14,12.5522847 14,12 L14,11 C14,10.4477153 14.4477153,10 15,10 Z" id="矩形备份-7" fill="#02B56E"></path>
|
|
19
|
+
<path d="M21,10 L24,10 C24.5522847,10 25,10.4477153 25,11 L25,12 C25,12.5522847 24.5522847,13 24,13 L21,13 C20.4477153,13 20,12.5522847 20,12 L20,11 C20,10.4477153 20.4477153,10 21,10 Z" id="矩形备份-18" fill="#02B56E"></path>
|
|
20
|
+
<path d="M15,14 L18,14 C18.5522847,14 19,14.4477153 19,15 L19,16 C19,16.5522847 18.5522847,17 18,17 L15,17 C14.4477153,17 14,16.5522847 14,16 L14,15 C14,14.4477153 14.4477153,14 15,14 Z" id="矩形备份-20" fill="#02B56E"></path>
|
|
21
|
+
<path d="M21,14 L24,14 C24.5522847,14 25,14.4477153 25,15 L25,16 C25,16.5522847 24.5522847,17 24,17 L21,17 C20.4477153,17 20,16.5522847 20,16 L20,15 C20,14.4477153 20.4477153,14 21,14 Z" id="矩形备份-19" fill="#02B56E"></path>
|
|
22
|
+
<path d="M15,18 L18,18 C18.5522847,18 19,18.4477153 19,19 L19,20 C19,20.5522847 18.5522847,21 18,21 L15,21 C14.4477153,21 14,20.5522847 14,20 L14,19 C14,18.4477153 14.4477153,18 15,18 Z" id="矩形备份-22" fill="#02B56E"></path>
|
|
23
|
+
<path d="M21,18 L24,18 C24.5522847,18 25,18.4477153 25,19 L25,20 C25,20.5522847 24.5522847,21 24,21 L21,21 C20.4477153,21 20,20.5522847 20,20 L20,19 C20,18.4477153 20.4477153,18 21,18 Z" id="矩形备份-21" fill="#02B56E"></path>
|
|
24
|
+
<polygon id="路径-19" fill="#02B56E" points="20.1168478 0 20.1168478 7.2545499 28 7.2545499"></polygon>
|
|
25
25
|
</g>
|
|
26
26
|
<g id="编组-8" transform="translate(17.000000, 19.000000)" stroke="#FFFFFF">
|
|
27
27
|
<circle id="椭圆形" fill="#14C255" cx="8" cy="8" r="7.5"></circle>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<g id="画板" transform="translate(-67.000000, -43.000000)">
|
|
6
6
|
<g id="编组-9" transform="translate(76.000000, 52.000000) scale(1, -1) translate(-76.000000, -52.000000) translate(67.000000, 43.000000)">
|
|
7
7
|
<rect id="矩形" stroke="#979797" fill="#D8D8D8" opacity="0" x="0.5" y="0.5" width="17" height="17"></rect>
|
|
8
|
-
<path d="M9.49980555,4.20269836 L15,9.65415997 L14.1747569,10.4721491 L10.0757645,6.40841633 L10.0757645,15 L8.90867951,15 L8.90906842,6.4246065 L4.82524306,10.4721491 L4,9.65493094 L9.49980555,4.20269836 Z M14.9824996,3 L14.9824996,4.15644073 L4.09333569,4.15644073 L4.09333569,3 L14.9824996,3 Z" id="形状结合" fill="#
|
|
8
|
+
<path d="M9.49980555,4.20269836 L15,9.65415997 L14.1747569,10.4721491 L10.0757645,6.40841633 L10.0757645,15 L8.90867951,15 L8.90906842,6.4246065 L4.82524306,10.4721491 L4,9.65493094 L9.49980555,4.20269836 Z M14.9824996,3 L14.9824996,4.15644073 L4.09333569,4.15644073 L4.09333569,3 L14.9824996,3 Z" id="形状结合" fill="#02B56E" fill-rule="nonzero" transform="translate(9.500000, 9.000000) rotate(-180.000000) translate(-9.500000, -9.000000) "></path>
|
|
9
9
|
</g>
|
|
10
10
|
</g>
|
|
11
11
|
</g>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<g id="画板" transform="translate(-89.000000, -43.000000)">
|
|
6
6
|
<g id="编组-9" transform="translate(89.000000, 43.000000)">
|
|
7
7
|
<rect id="矩形" stroke="#979797" fill="#D8D8D8" opacity="0" x="0.5" y="0.5" width="17" height="17"></rect>
|
|
8
|
-
<path d="M9.49980555,4.20269836 L15,9.65415997 L14.1747569,10.4721491 L10.0757645,6.40841633 L10.0757645,15 L8.90867951,15 L8.90906842,6.4246065 L4.82524306,10.4721491 L4,9.65493094 L9.49980555,4.20269836 Z M14.9824996,3 L14.9824996,4.15644073 L4.09333569,4.15644073 L4.09333569,3 L14.9824996,3 Z" id="形状结合" fill="#
|
|
8
|
+
<path d="M9.49980555,4.20269836 L15,9.65415997 L14.1747569,10.4721491 L10.0757645,6.40841633 L10.0757645,15 L8.90867951,15 L8.90906842,6.4246065 L4.82524306,10.4721491 L4,9.65493094 L9.49980555,4.20269836 Z M14.9824996,3 L14.9824996,4.15644073 L4.09333569,4.15644073 L4.09333569,3 L14.9824996,3 Z" id="形状结合" fill="#02B56E" fill-rule="nonzero" transform="translate(9.500000, 9.000000) rotate(-180.000000) translate(-9.500000, -9.000000) "></path>
|
|
9
9
|
</g>
|
|
10
10
|
</g>
|
|
11
11
|
</g>
|
|
@@ -94,7 +94,7 @@ const DrawContent = ({onClose, itemPath}: any) => {
|
|
|
94
94
|
return (
|
|
95
95
|
<List
|
|
96
96
|
className={classNames('allFunsList', 'allFunsListWarp')}
|
|
97
|
-
style={{color: '#
|
|
97
|
+
style={{color: '#02B56E'}}
|
|
98
98
|
header={<b>{formatMessage({ id: `${item.name}` })}</b>}
|
|
99
99
|
bordered
|
|
100
100
|
dataSource={item.children}
|
package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx
CHANGED
|
@@ -240,7 +240,7 @@ const DrawContent = ({onClose, originRoutes=[], itemPath}: any) => {
|
|
|
240
240
|
className={`allFunsList allFunsListWarp ${currentOneLevel === item.path ? 'choosedStyle' : ''}`}
|
|
241
241
|
id={item.path}
|
|
242
242
|
style={{
|
|
243
|
-
color: currentOneLevel === item.path ? '#fff' : '#
|
|
243
|
+
color: currentOneLevel === item.path ? '#fff' : '#02B56E',
|
|
244
244
|
}}
|
|
245
245
|
header={<b>{formatMessage({ id: `${item.name}` })}</b>}
|
|
246
246
|
bordered
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
.account {
|
|
45
45
|
.avatar {
|
|
46
46
|
margin-right: 8px;
|
|
47
|
-
color: #
|
|
47
|
+
color: #02B56E;
|
|
48
48
|
vertical-align: top;
|
|
49
49
|
background: rgba(255, 255, 255, 0.85);
|
|
50
50
|
}
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
left: -1px;
|
|
118
118
|
width: 92px;
|
|
119
119
|
height: 40px;
|
|
120
|
-
background: #
|
|
120
|
+
background: #02B56E;
|
|
121
121
|
border-radius: 0px 4px 4px 0px;
|
|
122
122
|
}
|
|
123
123
|
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.themeColor {
|
|
134
|
-
color: #
|
|
134
|
+
color: #02B56E;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.serachView{
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
align-items: center;
|
|
10
10
|
}
|
|
11
11
|
.choosed-status-label.form-status-label {
|
|
12
|
-
background-color: #
|
|
12
|
+
background-color: #02B56E;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.form-status-label:last-child {
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.choosed-status-label.form-status-label::after {
|
|
33
|
-
border-left: 12px solid #
|
|
33
|
+
border-left: 12px solid #02B56E;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {
|
|
37
|
-
border-left: 12px solid #
|
|
37
|
+
border-left: 12px solid #02B56E;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.form-status-label:last-child::after {
|
|
@@ -388,7 +388,7 @@ const AddSelect = (props: any) => {
|
|
|
388
388
|
fixed: 'right',
|
|
389
389
|
render: (text, record, index) => {
|
|
390
390
|
return (
|
|
391
|
-
<span style={{cursor: 'pointer', color: '#
|
|
391
|
+
<span style={{cursor: 'pointer', color: '#02B56E' }} onClick={() => {
|
|
392
392
|
deleteRecord(record)
|
|
393
393
|
}} type={"text"}>删除</span>
|
|
394
394
|
)
|
|
@@ -843,7 +843,7 @@ const AddSelect = (props: any) => {
|
|
|
843
843
|
}
|
|
844
844
|
}
|
|
845
845
|
|
|
846
|
-
const themeColor = { color: '#
|
|
846
|
+
const themeColor = { color: '#02B56E' }
|
|
847
847
|
|
|
848
848
|
const formItem = (list) => {
|
|
849
849
|
if (isModalVisible && list?.length) {
|
|
@@ -1035,7 +1035,7 @@ const AddSelect = (props: any) => {
|
|
|
1035
1035
|
</Button>,
|
|
1036
1036
|
<Button
|
|
1037
1037
|
key="save-and-continue"
|
|
1038
|
-
style={{color: '#
|
|
1038
|
+
style={{color: '#02B56E', borderColor: '#02B56E'}}
|
|
1039
1039
|
onClick={() => {handleOk(true)}}
|
|
1040
1040
|
loading={confirmContinueLoading}
|
|
1041
1041
|
disabled={!tableData.length || (selectProps?.disabled || props?.disabled)}
|
|
@@ -67,7 +67,7 @@ const InputElement = ({
|
|
|
67
67
|
if (searchData.length && hoverVisibled) {
|
|
68
68
|
let dom = tableRef?.current?.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[0]
|
|
69
69
|
if (dom) {
|
|
70
|
-
dom.style.background = '#
|
|
70
|
+
dom.style.background = '#02B56E30'
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}, [hoverVisibled, tableRef?.current])
|
|
@@ -105,7 +105,7 @@ const InputElement = ({
|
|
|
105
105
|
if (dom) {
|
|
106
106
|
tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[currentIndex].style.background = ''
|
|
107
107
|
setSelectIndex(currentIndex + 1)
|
|
108
|
-
dom.style.background = '#
|
|
108
|
+
dom.style.background = '#02B56E30'
|
|
109
109
|
dom.scrollIntoViewIfNeeded(false)
|
|
110
110
|
}
|
|
111
111
|
} else if (e.keyCode === 38) {
|
|
@@ -113,7 +113,7 @@ const InputElement = ({
|
|
|
113
113
|
if (dom) {
|
|
114
114
|
tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[currentIndex].style.background = ''
|
|
115
115
|
setSelectIndex(currentIndex - 1)
|
|
116
|
-
dom.style.background = '#
|
|
116
|
+
dom.style.background = '#02B56E30'
|
|
117
117
|
dom.scrollIntoViewIfNeeded(false)
|
|
118
118
|
}
|
|
119
119
|
}
|
|
@@ -126,7 +126,7 @@ const InputElement = ({
|
|
|
126
126
|
// body: {
|
|
127
127
|
// cell: ({index, record, ...props}) => {
|
|
128
128
|
// debugger
|
|
129
|
-
// return <td {...props} style={selectIndex === record?.index ? {background: '#
|
|
129
|
+
// return <td {...props} style={selectIndex === record?.index ? {background: '#02B56E30'} : {} } />
|
|
130
130
|
// }
|
|
131
131
|
// }
|
|
132
132
|
// }
|
|
@@ -139,7 +139,7 @@ const InputElement = ({
|
|
|
139
139
|
[...(tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr'))].map(item => {
|
|
140
140
|
item.style.background = ''
|
|
141
141
|
})
|
|
142
|
-
dom.style.background = '#
|
|
142
|
+
dom.style.background = '#02B56E30'
|
|
143
143
|
dom.scrollIntoViewIfNeeded(false)
|
|
144
144
|
}
|
|
145
145
|
setSelectIndex(index)
|
|
@@ -580,7 +580,7 @@ const BillEntry: React.FC = ({ onSaveCallback, validDataUrl="/items/sku/import/c
|
|
|
580
580
|
render: (text, record, index) => {
|
|
581
581
|
if (index !== 0) {
|
|
582
582
|
return (
|
|
583
|
-
<span style={{ cursor: 'pointer', color: '#
|
|
583
|
+
<span style={{ cursor: 'pointer', color: '#02B56E' }} onClick={() => {
|
|
584
584
|
deleteRecord(record)
|
|
585
585
|
}}>删除</span>
|
|
586
586
|
)
|
|
@@ -1504,7 +1504,7 @@ body .ant-table .ant-table-container .ant-table-thead > tr > th {
|
|
|
1504
1504
|
.ant-menu-submenu-title,
|
|
1505
1505
|
.ant-menu-item {
|
|
1506
1506
|
border: 0px !important;
|
|
1507
|
-
border-color: #
|
|
1507
|
+
border-color: #02B56E !important;
|
|
1508
1508
|
}
|
|
1509
1509
|
|
|
1510
1510
|
.ant-menu-submenu-title:hover,
|
|
@@ -1515,7 +1515,7 @@ body .ant-table .ant-table-container .ant-table-thead > tr > th {
|
|
|
1515
1515
|
#000c17 30%,
|
|
1516
1516
|
rgb(0, 54, 144)
|
|
1517
1517
|
);
|
|
1518
|
-
border-left: 2px solid #
|
|
1518
|
+
border-left: 2px solid #02B56E !important;
|
|
1519
1519
|
box-sizing: border-box;
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
@@ -1597,7 +1597,7 @@ body .ant-table .ant-table-container .ant-table-thead > tr > th {
|
|
|
1597
1597
|
#000c17 30%,
|
|
1598
1598
|
rgb(0, 54, 144)
|
|
1599
1599
|
);
|
|
1600
|
-
border-left: 2px solid #
|
|
1600
|
+
border-left: 2px solid #02B56E !important;
|
|
1601
1601
|
box-sizing: border-box;
|
|
1602
1602
|
cursor: pointer;
|
|
1603
1603
|
color: white;
|
|
@@ -1653,7 +1653,7 @@ body .ant-table .ant-table-container .ant-table-thead > tr > th {
|
|
|
1653
1653
|
}
|
|
1654
1654
|
|
|
1655
1655
|
.tab_title_content:hover {
|
|
1656
|
-
color: #
|
|
1656
|
+
color: #02B56E;
|
|
1657
1657
|
.ant-dropdown-trigger {
|
|
1658
1658
|
display: inline-block;
|
|
1659
1659
|
}
|