Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
d5d0a0b4
Commit
d5d0a0b4
authored
Dec 12, 2022
by
季圣华
Browse files
优化单据的排版,调整列的宽度
parent
7273b078
Changes
18
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/bill/dialog/BillDetail.vue
View file @
d5d0a0b4
...
@@ -1325,12 +1325,12 @@
...
@@ -1325,12 +1325,12 @@
},
},
created
()
{
created
()
{
let
realScreenWidth
=
window
.
screen
.
width
let
realScreenWidth
=
window
.
screen
.
width
this
.
width
=
realScreenWidth
<
1500
?
'
1
3
00px
'
:
'
1550px
'
this
.
width
=
realScreenWidth
<
1500
?
'
1
2
00px
'
:
'
1550px
'
this
.
tableWidth
=
{
this
.
tableWidth
=
{
'
width
'
:
realScreenWidth
<
1500
?
'
1
2
50px
'
:
'
1500px
'
'
width
'
:
realScreenWidth
<
1500
?
'
1
1
50px
'
:
'
1500px
'
}
}
this
.
tableWidthRetail
=
{
this
.
tableWidthRetail
=
{
'
width
'
:
realScreenWidth
<
1500
?
'
9
00px
'
:
'
1100px
'
'
width
'
:
realScreenWidth
<
1500
?
'
8
00px
'
:
'
1100px
'
}
}
},
},
methods
:
{
methods
:
{
...
...
jshERP-web/src/views/bill/mixins/BillModalMixin.js
View file @
d5d0a0b4
...
@@ -55,8 +55,8 @@ export const BillModalMixin = {
...
@@ -55,8 +55,8 @@ export const BillModalMixin = {
let
userInfo
=
Vue
.
ls
.
get
(
USER_INFO
)
let
userInfo
=
Vue
.
ls
.
get
(
USER_INFO
)
this
.
isTenant
=
userInfo
.
id
===
userInfo
.
tenantId
?
true
:
false
this
.
isTenant
=
userInfo
.
id
===
userInfo
.
tenantId
?
true
:
false
let
realScreenWidth
=
window
.
screen
.
width
let
realScreenWidth
=
window
.
screen
.
width
this
.
width
=
realScreenWidth
<
1500
?
'
1
3
00px
'
:
'
1550px
'
this
.
width
=
realScreenWidth
<
1500
?
'
1
2
00px
'
:
'
1550px
'
this
.
minWidth
=
realScreenWidth
<
1500
?
1
2
50
:
1500
this
.
minWidth
=
realScreenWidth
<
1500
?
1
1
50
:
1500
},
},
computed
:
{
computed
:
{
readOnly
:
function
()
{
readOnly
:
function
()
{
...
...
jshERP-web/src/views/bill/modules/AllocationOutModal.vue
View file @
d5d0a0b4
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
...
jshERP-web/src/views/bill/modules/AssembleModal.vue
View file @
d5d0a0b4
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
...
jshERP-web/src/views/bill/modules/DisassembleModal.vue
View file @
d5d0a0b4
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
...
jshERP-web/src/views/bill/modules/OtherInModal.vue
View file @
d5d0a0b4
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
...
jshERP-web/src/views/bill/modules/OtherOutModal.vue
View file @
d5d0a0b4
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
...
jshERP-web/src/views/bill/modules/PurchaseBackModal.vue
View file @
d5d0a0b4
...
@@ -238,7 +238,7 @@
...
@@ -238,7 +238,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
@@ -256,8 +256,8 @@
...
@@ -256,8 +256,8 @@
{
title
:
'
金额
'
,
key
:
'
allPrice
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
金额
'
,
key
:
'
allPrice
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
税率
'
,
key
:
'
taxRate
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
inputNumber
,
placeholder
:
'
%
'
},
{
title
:
'
税率
'
,
key
:
'
taxRate
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
inputNumber
,
placeholder
:
'
%
'
},
{
title
:
'
税额
'
,
key
:
'
taxMoney
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
readonly
:
true
,
statistics
:
true
},
{
title
:
'
税额
'
,
key
:
'
taxMoney
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
readonly
:
true
,
statistics
:
true
},
{
title
:
'
价税合计
'
,
key
:
'
taxLastMoney
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
价税合计
'
,
key
:
'
taxLastMoney
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
备注
'
,
key
:
'
remark
'
,
width
:
'
5
%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
备注
'
,
key
:
'
remark
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
关联id
'
,
key
:
'
linkId
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
hidden
},
{
title
:
'
关联id
'
,
key
:
'
linkId
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
hidden
},
]
]
},
},
...
...
jshERP-web/src/views/bill/modules/PurchaseInModal.vue
View file @
d5d0a0b4
...
@@ -264,7 +264,7 @@
...
@@ -264,7 +264,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
@@ -282,8 +282,8 @@
...
@@ -282,8 +282,8 @@
{
title
:
'
金额
'
,
key
:
'
allPrice
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
金额
'
,
key
:
'
allPrice
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
税率
'
,
key
:
'
taxRate
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
inputNumber
,
placeholder
:
'
%
'
},
{
title
:
'
税率
'
,
key
:
'
taxRate
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
inputNumber
,
placeholder
:
'
%
'
},
{
title
:
'
税额
'
,
key
:
'
taxMoney
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
readonly
:
true
,
statistics
:
true
},
{
title
:
'
税额
'
,
key
:
'
taxMoney
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
readonly
:
true
,
statistics
:
true
},
{
title
:
'
价税合计
'
,
key
:
'
taxLastMoney
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
价税合计
'
,
key
:
'
taxLastMoney
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
备注
'
,
key
:
'
remark
'
,
width
:
'
5
%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
备注
'
,
key
:
'
remark
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
关联id
'
,
key
:
'
linkId
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
hidden
},
{
title
:
'
关联id
'
,
key
:
'
linkId
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
hidden
},
]
]
},
},
...
...
jshERP-web/src/views/bill/modules/PurchaseOrderModal.vue
View file @
d5d0a0b4
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
@@ -249,8 +249,8 @@
...
@@ -249,8 +249,8 @@
{
title
:
'
金额
'
,
key
:
'
allPrice
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
金额
'
,
key
:
'
allPrice
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
税率
'
,
key
:
'
taxRate
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
inputNumber
,
placeholder
:
'
%
'
},
{
title
:
'
税率
'
,
key
:
'
taxRate
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
inputNumber
,
placeholder
:
'
%
'
},
{
title
:
'
税额
'
,
key
:
'
taxMoney
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
readonly
:
true
,
statistics
:
true
},
{
title
:
'
税额
'
,
key
:
'
taxMoney
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
readonly
:
true
,
statistics
:
true
},
{
title
:
'
价税合计
'
,
key
:
'
taxLastMoney
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
价税合计
'
,
key
:
'
taxLastMoney
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
备注
'
,
key
:
'
remark
'
,
width
:
'
5
%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
备注
'
,
key
:
'
remark
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
关联id
'
,
key
:
'
linkId
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
hidden
},
{
title
:
'
关联id
'
,
key
:
'
linkId
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
hidden
},
]
]
},
},
...
...
jshERP-web/src/views/bill/modules/RetailBackModal.vue
View file @
d5d0a0b4
...
@@ -226,7 +226,7 @@
...
@@ -226,7 +226,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
10%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
10%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
8
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
},
},
created
()
{
created
()
{
let
realScreenWidth
=
window
.
screen
.
width
let
realScreenWidth
=
window
.
screen
.
width
this
.
minWidth
=
realScreenWidth
<
1500
?
9
00
:
1100
this
.
minWidth
=
realScreenWidth
<
1500
?
8
00
:
1100
},
},
methods
:
{
methods
:
{
//调用完edit()方法之后会自动调用此方法
//调用完edit()方法之后会自动调用此方法
...
...
jshERP-web/src/views/bill/modules/RetailOutModal.vue
View file @
d5d0a0b4
...
@@ -238,7 +238,7 @@
...
@@ -238,7 +238,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
10%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
10%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
8
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
@@ -278,7 +278,7 @@
...
@@ -278,7 +278,7 @@
created
()
{
created
()
{
this
.
initPayTypeList
()
this
.
initPayTypeList
()
let
realScreenWidth
=
window
.
screen
.
width
let
realScreenWidth
=
window
.
screen
.
width
this
.
minWidth
=
realScreenWidth
<
1500
?
9
00
:
1100
this
.
minWidth
=
realScreenWidth
<
1500
?
8
00
:
1100
},
},
methods
:
{
methods
:
{
//调用完edit()方法之后会自动调用此方法
//调用完edit()方法之后会自动调用此方法
...
...
jshERP-web/src/views/bill/modules/SaleBackModal.vue
View file @
d5d0a0b4
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
@@ -261,8 +261,8 @@
...
@@ -261,8 +261,8 @@
{
title
:
'
金额
'
,
key
:
'
allPrice
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
金额
'
,
key
:
'
allPrice
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
税率
'
,
key
:
'
taxRate
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
inputNumber
,
placeholder
:
'
%
'
},
{
title
:
'
税率
'
,
key
:
'
taxRate
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
inputNumber
,
placeholder
:
'
%
'
},
{
title
:
'
税额
'
,
key
:
'
taxMoney
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
readonly
:
true
,
statistics
:
true
},
{
title
:
'
税额
'
,
key
:
'
taxMoney
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
readonly
:
true
,
statistics
:
true
},
{
title
:
'
价税合计
'
,
key
:
'
taxLastMoney
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
价税合计
'
,
key
:
'
taxLastMoney
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
备注
'
,
key
:
'
remark
'
,
width
:
'
5
%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
备注
'
,
key
:
'
remark
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
关联id
'
,
key
:
'
linkId
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
hidden
},
{
title
:
'
关联id
'
,
key
:
'
linkId
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
hidden
},
]
]
},
},
...
...
jshERP-web/src/views/bill/modules/SaleOrderModal.vue
View file @
d5d0a0b4
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
@@ -240,8 +240,8 @@
...
@@ -240,8 +240,8 @@
{
title
:
'
金额
'
,
key
:
'
allPrice
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
金额
'
,
key
:
'
allPrice
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
税率
'
,
key
:
'
taxRate
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
inputNumber
,
placeholder
:
'
%
'
},
{
title
:
'
税率
'
,
key
:
'
taxRate
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
inputNumber
,
placeholder
:
'
%
'
},
{
title
:
'
税额
'
,
key
:
'
taxMoney
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
readonly
:
true
,
statistics
:
true
},
{
title
:
'
税额
'
,
key
:
'
taxMoney
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
readonly
:
true
,
statistics
:
true
},
{
title
:
'
价税合计
'
,
key
:
'
taxLastMoney
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
价税合计
'
,
key
:
'
taxLastMoney
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
备注
'
,
key
:
'
remark
'
,
width
:
'
5
%
'
,
type
:
FormTypes
.
input
}
{
title
:
'
备注
'
,
key
:
'
remark
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
input
}
]
]
},
},
confirmLoading
:
false
,
confirmLoading
:
false
,
...
...
jshERP-web/src/views/bill/modules/SaleOutModal.vue
View file @
d5d0a0b4
...
@@ -280,7 +280,7 @@
...
@@ -280,7 +280,7 @@
},
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
名称
'
,
key
:
'
name
'
,
width
:
'
8%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
规格
'
,
key
:
'
standard
'
,
width
:
'
7%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
型号
'
,
key
:
'
model
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
颜色
'
,
key
:
'
color
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
扩展信息
'
,
key
:
'
materialOther
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
{
title
:
'
库存
'
,
key
:
'
stock
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
normal
},
...
@@ -298,8 +298,8 @@
...
@@ -298,8 +298,8 @@
{
title
:
'
金额
'
,
key
:
'
allPrice
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
金额
'
,
key
:
'
allPrice
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
税率
'
,
key
:
'
taxRate
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
inputNumber
,
placeholder
:
'
%
'
},
{
title
:
'
税率
'
,
key
:
'
taxRate
'
,
width
:
'
4%
'
,
type
:
FormTypes
.
inputNumber
,
placeholder
:
'
%
'
},
{
title
:
'
税额
'
,
key
:
'
taxMoney
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
readonly
:
true
,
statistics
:
true
},
{
title
:
'
税额
'
,
key
:
'
taxMoney
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
inputNumber
,
readonly
:
true
,
statistics
:
true
},
{
title
:
'
价税合计
'
,
key
:
'
taxLastMoney
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
价税合计
'
,
key
:
'
taxLastMoney
'
,
width
:
'
7
%
'
,
type
:
FormTypes
.
inputNumber
,
statistics
:
true
},
{
title
:
'
备注
'
,
key
:
'
remark
'
,
width
:
'
5
%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
备注
'
,
key
:
'
remark
'
,
width
:
'
6
%
'
,
type
:
FormTypes
.
input
},
{
title
:
'
关联id
'
,
key
:
'
linkId
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
hidden
},
{
title
:
'
关联id
'
,
key
:
'
linkId
'
,
width
:
'
5%
'
,
type
:
FormTypes
.
hidden
},
]
]
},
},
...
...
jshERP-web/src/views/financial/dialog/FinancialDetail.vue
View file @
d5d0a0b4
...
@@ -472,7 +472,7 @@
...
@@ -472,7 +472,7 @@
},
},
created
()
{
created
()
{
let
realScreenWidth
=
window
.
screen
.
width
let
realScreenWidth
=
window
.
screen
.
width
this
.
width
=
realScreenWidth
<
1500
?
'
1
3
00px
'
:
'
1550px
'
this
.
width
=
realScreenWidth
<
1500
?
'
1
2
00px
'
:
'
1550px
'
},
},
methods
:
{
methods
:
{
show
(
record
,
type
)
{
show
(
record
,
type
)
{
...
...
jshERP-web/src/views/financial/mixins/FinancialModalMixin.js
View file @
d5d0a0b4
...
@@ -37,7 +37,7 @@ export const FinancialModalMixin = {
...
@@ -37,7 +37,7 @@ export const FinancialModalMixin = {
let
userInfo
=
Vue
.
ls
.
get
(
USER_INFO
)
let
userInfo
=
Vue
.
ls
.
get
(
USER_INFO
)
this
.
isTenant
=
userInfo
.
id
===
userInfo
.
tenantId
?
true
:
false
this
.
isTenant
=
userInfo
.
id
===
userInfo
.
tenantId
?
true
:
false
let
realScreenWidth
=
window
.
screen
.
width
let
realScreenWidth
=
window
.
screen
.
width
this
.
width
=
realScreenWidth
<
1500
?
'
1
3
00px
'
:
'
1550px
'
this
.
width
=
realScreenWidth
<
1500
?
'
1
2
00px
'
:
'
1550px
'
},
},
computed
:
{
computed
:
{
readOnly
:
function
()
{
readOnly
:
function
()
{
...
...
jshERP-web/src/views/material/modules/MaterialModal.vue
View file @
d5d0a0b4
<
template
>
<
template
>
<j-modal
<j-modal
:title=
"title"
:title=
"title"
:width=
"
1300
"
:width=
"
width
"
:visible=
"visible"
:visible=
"visible"
:confirmLoading=
"confirmLoading"
:confirmLoading=
"confirmLoading"
:maskClosable=
"false"
:maskClosable=
"false"
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
data-step=
"4"
data-title=
"单位"
data-intro=
"此处支持单个单位和多单位,勾选多单位就可以切换到多单位的下拉框,多单位需要先在【计量单位】页面进行录入。
data-step=
"4"
data-title=
"单位"
data-intro=
"此处支持单个单位和多单位,勾选多单位就可以切换到多单位的下拉框,多单位需要先在【计量单位】页面进行录入。
比如牛奶有瓶和箱两种单位,12瓶=1箱,这就构成了多单位,多单位中有个换算比例"
>
比如牛奶有瓶和箱两种单位,12瓶=1箱,这就构成了多单位,多单位中有个换算比例"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-row
class=
"form-row"
:gutter=
"24"
>
<a-col
:lg=
"1
5
"
:md=
"1
5
"
:sm=
"24"
>
<a-col
:lg=
"1
4
"
:md=
"1
4
"
:sm=
"24"
>
<a-input
placeholder=
"输入单位"
v-if=
"!unitChecked"
v-decorator.trim=
"[ 'unit', validatorRules.unit ]"
@
change=
"onlyUnitOnChange"
/>
<a-input
placeholder=
"输入单位"
v-if=
"!unitChecked"
v-decorator.trim=
"[ 'unit', validatorRules.unit ]"
@
change=
"onlyUnitOnChange"
/>
<a-select
:value=
"unitList"
placeholder=
"选择多单位"
v-decorator=
"[ 'unitId', validatorRules.unitId ]"
@
change=
"manyUnitOnChange"
<a-select
:value=
"unitList"
placeholder=
"选择多单位"
v-decorator=
"[ 'unitId', validatorRules.unitId ]"
@
change=
"manyUnitOnChange"
showSearch
optionFilterProp=
"children"
v-if=
"unitChecked"
:dropdownMatchSelectWidth=
"false"
>
showSearch
optionFilterProp=
"children"
v-if=
"unitChecked"
:dropdownMatchSelectWidth=
"false"
>
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
</a-select-option>
</a-select-option>
</a-select>
</a-select>
</a-col>
</a-col>
<a-col
:lg=
"
9
"
:md=
"
9
"
:sm=
"24"
>
<a-col
:lg=
"
10
"
:md=
"
10
"
:sm=
"24"
>
<a-checkbox
:checked=
"unitChecked"
@
change=
"unitOnChange"
>
多单位
</a-checkbox>
<a-checkbox
:checked=
"unitChecked"
@
change=
"unitOnChange"
>
多单位
</a-checkbox>
</a-col>
</a-col>
</a-row>
</a-row>
...
@@ -294,6 +294,7 @@
...
@@ -294,6 +294,7 @@
data
()
{
data
()
{
return
{
return
{
title
:
"
操作
"
,
title
:
"
操作
"
,
width
:
'
1300px
'
,
visible
:
false
,
visible
:
false
,
modalStyle
:
''
,
modalStyle
:
''
,
categoryTree
:
[],
categoryTree
:
[],
...
@@ -421,6 +422,8 @@
...
@@ -421,6 +422,8 @@
},
},
created
()
{
created
()
{
this
.
loadParseMaterialProperty
()
this
.
loadParseMaterialProperty
()
let
realScreenWidth
=
window
.
screen
.
width
this
.
width
=
realScreenWidth
<
1500
?
'
1200px
'
:
'
1550px
'
},
},
methods
:
{
methods
:
{
// 获取所有的editableTable实例
// 获取所有的editableTable实例
...
@@ -1132,7 +1135,7 @@
...
@@ -1132,7 +1135,7 @@
<
style
scoped
>
<
style
scoped
>
.input-table
{
.input-table
{
max-width
:
100%
;
max-width
:
100%
;
min-width
:
1
55
0px
;
min-width
:
1
20
0px
;
}
}
.tag-info
{
.tag-info
{
font-size
:
14px
;
font-size
:
14px
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment