Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TFMOM
TF-MOM-WEB
Commits
7d3b3ae1
Commit
7d3b3ae1
authored
Mar 01, 2024
by
qhr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加是否免税字段
parent
74263a1c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
26 deletions
+43
-26
importFile.vue
...s/PurchasingWarehousingNewOrEdit/component/importFile.vue
+5
-1
storageDetailsCreateCom.vue
...arehousingNewOrEdit/component/storageDetailsCreateCom.vue
+12
-3
index.vue
...nents/components/PurchasingWarehousingNewOrEdit/index.vue
+24
-22
index.vue
...ts/components/PurchasingWarehousingProcess_view/index.vue
+1
-0
index.vue
...Components/components/PurchasingWarehousingView/index.vue
+1
-0
No files found.
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/component/importFile.vue
View file @
7d3b3ae1
...
@@ -128,7 +128,8 @@ export default {
...
@@ -128,7 +128,8 @@ export default {
arrivalDate
:
this
.
param
.
arrivalDate
||
''
,
arrivalDate
:
this
.
param
.
arrivalDate
||
''
,
materialTypeId
:
this
.
param
.
materialTypeId
||
''
,
materialTypeId
:
this
.
param
.
materialTypeId
||
''
,
extDxProductAreaId
:
this
.
param
.
extDxProductAreaId
||
''
,
extDxProductAreaId
:
this
.
param
.
extDxProductAreaId
||
''
,
extDxSipplierId
:
this
.
param
.
extDxSipplierId
||
''
extDxSipplierId
:
this
.
param
.
extDxSipplierId
||
''
,
hasTaxExemption
:
this
.
param
.
hasTaxExemption
||
''
}
}
const
arrReaParams
=
[]
const
arrReaParams
=
[]
for
(
const
key
in
reqParams
)
{
for
(
const
key
in
reqParams
)
{
...
@@ -140,6 +141,9 @@ export default {
...
@@ -140,6 +141,9 @@ export default {
this
.
uploading
=
false
this
.
uploading
=
false
this
.
$utils
.
showMessageSuccess
(
res
.
data
.
message
)
this
.
$utils
.
showMessageSuccess
(
res
.
data
.
message
)
const
reqObj
=
isNew
?
res
.
data
.
items
:
null
const
reqObj
=
isNew
?
res
.
data
.
items
:
null
if
(
reqObj
!==
null
)
{
reqObj
.
hasTaxExemption
=
this
.
param
.
hasTaxExemption
}
this
.
$emit
(
'refreshTable'
,
reqObj
)
this
.
$emit
(
'refreshTable'
,
reqObj
)
this
.
close
()
this
.
close
()
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/component/storageDetailsCreateCom.vue
View file @
7d3b3ae1
...
@@ -395,6 +395,11 @@ export default {
...
@@ -395,6 +395,11 @@ export default {
this
.
$set
(
this
.
form
,
'arrivalDate'
,
this
.
header
.
arrivalDate
)
this
.
$set
(
this
.
form
,
'arrivalDate'
,
this
.
header
.
arrivalDate
)
const
childrenAddOrEdit
=
this
.
header
.
materialTypeName
.
label
===
'外购成品'
&&
(
this
.
operateType
===
'ADD'
||
(
this
.
operateType
===
'MODIFY'
&&
!
this
.
form
.
isRoot
))
const
childrenAddOrEdit
=
this
.
header
.
materialTypeName
.
label
===
'外购成品'
&&
(
this
.
operateType
===
'ADD'
||
(
this
.
operateType
===
'MODIFY'
&&
!
this
.
form
.
isRoot
))
const
parentIsVirtual
=
this
.
form
.
isVirtual
const
parentIsVirtual
=
this
.
form
.
isVirtual
let
isTaxExemption
=
false
if
(
this
.
header
.
hasTaxExemption
===
'是'
)
{
isTaxExemption
=
true
this
.
$set
(
this
.
form
,
'taxRate'
,
0
)
}
switch
(
this
.
header
.
billType
)
{
switch
(
this
.
header
.
billType
)
{
case
'器材'
:
case
'器材'
:
case
'Material'
:
case
'Material'
:
...
@@ -659,6 +664,7 @@ export default {
...
@@ -659,6 +664,7 @@ export default {
title
:
'税率'
,
title
:
'税率'
,
key
:
'taxRate'
,
key
:
'taxRate'
,
component
:
{
component
:
{
disabled
:
isTaxExemption
,
clearable
:
true
,
clearable
:
true
,
name
:
'el-input-number'
,
name
:
'el-input-number'
,
min
:
0
,
min
:
0
,
...
@@ -1044,7 +1050,8 @@ export default {
...
@@ -1044,7 +1050,8 @@ export default {
key
:
'taxRate'
,
key
:
'taxRate'
,
component
:
{
component
:
{
clearable
:
true
,
clearable
:
true
,
disabled
:
childrenAddOrEdit
&&
!
parentIsVirtual
,
// disabled: childrenAddOrEdit && !parentIsVirtual,
disabled
:
isTaxExemption
,
name
:
'el-input-number'
,
name
:
'el-input-number'
,
min
:
0
,
min
:
0
,
placeholder
:
'请输入税率'
placeholder
:
'请输入税率'
...
@@ -1393,7 +1400,8 @@ export default {
...
@@ -1393,7 +1400,8 @@ export default {
key
:
'taxRate'
,
key
:
'taxRate'
,
component
:
{
component
:
{
clearable
:
true
,
clearable
:
true
,
disabled
:
childrenAddOrEdit
&&
!
parentIsVirtual
,
// disabled: childrenAddOrEdit && !parentIsVirtual,
disabled
:
isTaxExemption
,
name
:
'el-input-number'
,
name
:
'el-input-number'
,
min
:
0
,
min
:
0
,
placeholder
:
'请输入税率'
placeholder
:
'请输入税率'
...
@@ -2042,7 +2050,8 @@ export default {
...
@@ -2042,7 +2050,8 @@ export default {
'remark'
:
this
.
form
.
remark
||
'/'
,
'remark'
:
this
.
form
.
remark
||
'/'
,
'operateType'
:
this
.
operateType
,
'operateType'
:
this
.
operateType
,
'MaterialResCode'
:
this
.
form
.
resCode
,
'MaterialResCode'
:
this
.
form
.
resCode
,
'deliverySpec'
:
this
.
basicData
.
deliverySpec
||
'/'
'deliverySpec'
:
this
.
basicData
.
deliverySpec
||
'/'
,
'hasTaxExemption'
:
this
.
header
.
hasTaxExemption
||
''
}
}
newTableData
.
extMaterial
.
operator
=
'NO_CHANGE'
newTableData
.
extMaterial
.
operator
=
'NO_CHANGE'
this
.
$emit
(
'addTableData'
,
newTableData
)
this
.
$emit
(
'addTableData'
,
newTableData
)
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/index.vue
View file @
7d3b3ae1
...
@@ -64,7 +64,7 @@ export default {
...
@@ -64,7 +64,7 @@ export default {
return
{
return
{
loading
:
false
,
loading
:
false
,
currBasicData
:
null
,
currBasicData
:
null
,
form
:
{},
form
:
{
hasTaxExemption
:
'否'
},
formData
:
[{
formData
:
[{
title
:
'基本信息'
,
title
:
'基本信息'
,
split
:
2
,
split
:
2
,
...
@@ -115,16 +115,16 @@ export default {
...
@@ -115,16 +115,16 @@ export default {
}
}
},
},
{
{
title
:
"是否免税"
,
title
:
'是否免税'
,
key
:
"hasTax"
,
key
:
'hasTaxExemption'
,
component
:
{
component
:
{
clearable
:
true
,
clearable
:
true
,
name
:
"el-select"
,
name
:
'el-select'
,
options
:
[
options
:
[
{
value
:
"Y"
,
label
:
"是"
},
{
value
:
'是'
,
label
:
'是'
},
{
value
:
"N"
,
label
:
"否"
},
{
value
:
'否'
,
label
:
'否'
}
]
,
]
}
,
}
},
},
{
{
title
:
'供应商'
,
title
:
'供应商'
,
...
@@ -222,7 +222,7 @@ export default {
...
@@ -222,7 +222,7 @@ export default {
trigger
:
[
'blur'
,
'change'
]
trigger
:
[
'blur'
,
'change'
]
}
}
],
],
hasTax
:
[
hasTax
Exemption
:
[
{
{
required
:
true
,
required
:
true
,
message
:
'请填写表单信息'
,
message
:
'请填写表单信息'
,
...
@@ -510,6 +510,7 @@ export default {
...
@@ -510,6 +510,7 @@ export default {
{
title
:
'入库金额'
,
key
:
'stockPrice'
,
headerAlign
:
'center'
},
{
title
:
'入库金额'
,
key
:
'stockPrice'
,
headerAlign
:
'center'
},
{
title
:
'含税单价'
,
key
:
'taxUnitPrice'
,
headerAlign
:
'center'
},
{
title
:
'含税单价'
,
key
:
'taxUnitPrice'
,
headerAlign
:
'center'
},
{
title
:
'含税金额'
,
key
:
'taxPrice'
,
headerAlign
:
'center'
},
{
title
:
'含税金额'
,
key
:
'taxPrice'
,
headerAlign
:
'center'
},
{
title
:
'是否免税'
,
key
:
'hasTaxExemption'
,
headerAlign
:
'center'
},
{
title
:
'税率'
,
key
:
'taxRate'
,
headerAlign
:
'center'
},
{
title
:
'税率'
,
key
:
'taxRate'
,
headerAlign
:
'center'
},
{
title
:
'报检人'
,
key
:
'creator.userName'
,
headerAlign
:
'center'
},
{
title
:
'报检人'
,
key
:
'creator.userName'
,
headerAlign
:
'center'
},
{
{
...
@@ -572,26 +573,27 @@ export default {
...
@@ -572,26 +573,27 @@ export default {
'arrivalDate'
:
this
.
form
.
arrivalDate
,
'arrivalDate'
:
this
.
form
.
arrivalDate
,
'materialTypeId'
:
this
.
form
.
materialTypeId
,
'materialTypeId'
:
this
.
form
.
materialTypeId
,
'extDxProductAreaId'
:
this
.
form
.
extDxProductAreaId
,
'extDxProductAreaId'
:
this
.
form
.
extDxProductAreaId
,
'extDxSipplierId'
:
this
.
form
.
extDxSipplierId
'extDxSipplierId'
:
this
.
form
.
extDxSipplierId
,
'hasTaxExemption'
:
this
.
form
.
hasTaxExemption
}
}
}
}
},
},
isSignApproval
()
{
isSignApproval
()
{
return
this
.
$route
&&
this
.
$route
.
name
===
'TaskCenterHome'
return
this
.
$route
&&
this
.
$route
.
name
===
'TaskCenterHome'
},
},
invisibleHasTax
:
function
()
{
invisibleHasTaxExemption
:
function
()
{
let
filterData
=
this
.
formData
[
0
].
data
;
let
filterData
=
this
.
formData
[
0
].
data
if
(
this
.
form
.
billType
===
"OutSource"
)
{
if
(
this
.
form
.
billType
===
'OutSource'
)
{
filterData
=
this
.
formData
[
0
].
data
.
filter
((
item
)
=>
item
.
key
!==
"hasTax"
);
filterData
=
this
.
formData
[
0
].
data
.
filter
((
item
)
=>
item
.
key
!==
'hasTaxExemption'
)
}
return
[
{
title
:
'基本信息'
,
split
:
2
,
data
:
filterData
||
[]
}
}
return
[
]
{
}
title
:
"基本信息"
,
split
:
2
,
data
:
filterData
||
[],
},
];
},
},
},
watch
:
{
watch
:
{
},
},
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingProcess_view/index.vue
View file @
7d3b3ae1
...
@@ -261,6 +261,7 @@ export default {
...
@@ -261,6 +261,7 @@ export default {
{
title
:
'含税单价'
,
key
:
'taxUnitPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税单价'
,
key
:
'taxUnitPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税金额'
,
key
:
'taxPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税金额'
,
key
:
'taxPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'税率'
,
key
:
'taxRate'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'税率'
,
key
:
'taxRate'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'是否免税'
,
key
:
'hasTaxExemption'
,
headerAlign
:
'center'
},
{
title
:
'报检人'
,
key
:
'creator.userName'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'报检人'
,
key
:
'creator.userName'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
{
title
:
'接受仓库'
,
key
:
'extname'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
title
:
'接受仓库'
,
key
:
'extname'
,
align
:
'center'
,
headerAlign
:
'center'
,
formatter
:
(
row
,
column
,
cellValue
,
index
)
=>
{
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingView/index.vue
View file @
7d3b3ae1
...
@@ -128,6 +128,7 @@ export default {
...
@@ -128,6 +128,7 @@ export default {
{
title
:
'入库金额'
,
key
:
'stockPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'入库金额'
,
key
:
'stockPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税单价'
,
key
:
'taxUnitPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税单价'
,
key
:
'taxUnitPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税金额'
,
key
:
'taxPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'含税金额'
,
key
:
'taxPrice'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'是否免税'
,
key
:
'hasTaxExemption'
,
headerAlign
:
'center'
},
{
title
:
'税率'
,
key
:
'taxRate'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'税率'
,
key
:
'taxRate'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'报检人'
,
key
:
'creator.userName'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
title
:
'报检人'
,
key
:
'creator.userName'
,
align
:
'center'
,
headerAlign
:
'center'
},
{
{
...
...
Write
Preview
Markdown
is supported
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