Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 58f3620f
authored
Apr 22, 2025
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
版本功能代码提交
1 parent
af59fbf7
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
352 additions
and
80 deletions
package-lock.json
package.json
src/api/theAssetData.js
src/common/constants.js
src/components/glsx-combi-form/index.vue
src/router/modules/905_financialManagement.js
src/views/financeManage/theAssetData/components/detailDialog.vue
src/views/financeManage/theAssetData/components/inputRange.vue
src/views/financeManage/theAssetData/components/refetchDialog.vue
src/views/financeManage/theAssetData/index.vue
yarn.lock
package-lock.json
View file @
58f3620
...
...
@@ -14370,6 +14370,11 @@
}
}
},
"print-js"
:
{
"version"
:
"1.6.0"
,
"resolved"
:
"https://registry.npmmirror.com/print-js/-/print-js-1.6.0.tgz"
,
"integrity"
:
"sha512-BfnOIzSKbqGRtO4o0rnj/K3681BSd2QUrsIZy/+WdCIugjIswjmx3lDEZpXB2ruGf9d4b3YNINri81+J0FsBWg=="
},
"printj"
:
{
"version"
:
"1.1.2"
,
"resolved"
:
"https://registry.npmjs.org/printj/-/printj-1.1.2.tgz"
,
...
...
package.json
View file @
58f3620
...
...
@@ -44,6 +44,7 @@
"lowdb"
:
"^1.0.0"
,
"nprogress"
:
"^0.2.0"
,
"number-precision"
:
"^1.6.0"
,
"print-js"
:
"^1.6.0"
,
"qrcodejs2"
:
"^0.0.2"
,
"qs"
:
"^6.8.0"
,
"rfdc"
:
"^1.3.0"
,
...
...
src/api/theAssetData.js
View file @
58f3620
...
...
@@ -38,3 +38,9 @@ export function nbcbReceiptPdfUrl(data) {
data
.
method
=
`
${
path
}
nbcb.receipt.pdf.url`
return
request
(
data
,
RequestMethods
.
POST
)
}
// 批量同步电子回单到金蝶
export
function
receiptBatchSync
(
data
)
{
data
.
method
=
`
${
path
}
nbcb.acc.receipt.batch.sync`
return
request
(
data
,
RequestMethods
.
POST
)
}
src/common/constants.js
View file @
58f3620
...
...
@@ -983,7 +983,7 @@ export const filterOpt = [
{
confId
:
2
,
confValue
:
"待我处理的"
},
{
confId
:
3
,
confValue
:
"我处理过的"
}
]
export
const
supervisorStatuOpt
=
[
export
const
supervisorStatuOpt
=
[
{
confId
:
1
,
confValue
:
"已跟进"
},
{
confId
:
0
,
confValue
:
"未跟进"
}
]
...
...
@@ -1061,11 +1061,23 @@ export const receiptStatusOpt = [
{
confId
:
1
,
confValue
:
"是"
}
]
// 财资数据 数据来源
export
const
dataSourceOpt
=
[
{
confId
:
1
,
confValue
:
"宁波财资"
},
{
confId
:
2
,
confValue
:
"人工导入"
}
]
// 财资数据 操作项
export
const
operationTypeOpt
=
[
{
confId
:
1
,
confValue
:
"重推财资数据"
},
{
confId
:
2
,
confValue
:
"推送财资数据"
},
{
confId
:
3
,
confValue
:
"获取财资数据"
}
{
confId
:
3
,
confValue
:
"获取财资数据"
},
{
confId
:
4
,
confValue
:
"获取流水明细"
},
{
confId
:
5
,
confValue
:
"获取回单"
},
{
confId
:
6
,
confValue
:
"推送流水明细"
},
{
confId
:
7
,
confValue
:
"推送回单"
},
{
confId
:
8
,
confValue
:
"重推流水明细"
},
{
confId
:
9
,
confValue
:
"重推回单"
}
]
// 财资数据 操作项
...
...
src/components/glsx-combi-form/index.vue
View file @
58f3620
...
...
@@ -383,6 +383,9 @@ import Province from "./provinceCity.vue"
import
mapView
from
"./mapView.vue"
import
GLDialog
from
"../glsx-dialog/index.vue"
import
{
beforeRangePickerOptions
,
afterRangePickerOptions
}
from
"./common"
import
{
rangePickerOptions_30day2
}
from
"@/common/format"
export
default
{
name
:
"GlsxCombiForm"
,
components
:
{
...
...
@@ -395,7 +398,8 @@ export default {
return
{
pickerOption
:
{
beforeRangePickerOptions
:
beforeRangePickerOptions
,
afterRangePickerOptions
:
afterRangePickerOptions
afterRangePickerOptions
:
afterRangePickerOptions
,
rangePickerOptions_30day2
:
rangePickerOptions_30day2
},
subdistrict
:
2
,
dialogMapVisible
:
false
,
...
...
src/router/modules/905_financialManagement.js
View file @
58f3620
...
...
@@ -338,6 +338,14 @@ export const routerName = {
parentId
:
"90509"
,
label
:
"回单"
,
handle
:
"handleReceipt"
},
{
authId
:
"9050907"
,
parentId
:
"90509"
,
label
:
"下载资金日报"
,
category
:
"Button"
,
type
:
"primary"
,
handle
:
"handleFundExport"
}
],
component
:
_import
(
"financeManage/theAssetData/index"
)
...
...
src/views/financeManage/theAssetData/components/detailDialog.vue
View file @
58f3620
...
...
@@ -6,18 +6,61 @@
class=
"detail-content-warn"
>
<div
v-loading=
"loading"
>
<div
class=
"form_div"
>
<div
class=
"tipsDiv"
v-if=
"detailInfo.jdSync == 1"
>
<div
class=
"tipsText"
>
<img
src=
"../image/info-circle-fill.png"
class=
"imgCla"
>
财资数据推送金蝶系统成功
<div>
财资数据同步金蝶系统状态
</div>
<div
class=
"tipsDiv"
>
<div
class=
"labelCla"
>
流水明细状态:
</div>
<div
v-if=
"detailInfo.jdSync == 1"
>
<div
class=
"tipsText"
>
<img
src=
"../image/info-circle-fill.png"
class=
"imgCla"
>
成功
</div>
</div>
<div
v-else
>
<div
class=
"tipsText"
>
<img
src=
"../image/icon.png"
class=
"imgCla"
>
失败
<div
class=
"tipsError"
:title=
"detailInfo.failReason"
>
原因:【
{{
detailInfo
.
failReason
?
(
detailInfo
.
failReason
.
length
>
40
?
(
detailInfo
.
failReason
.
slice
(
0
,
40
)
+
'...'
)
:
detailInfo
.
failReason
)
:
'-'
}}
】
</div>
<div
class=
"tipsBt"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"dataPush"
>
明细重推
</el-button>
</div>
</div>
</div>
</div>
<div
class=
"tipsDiv"
<div
class=
"tipsDiv"
>
<div
class=
"labelCla"
>
回单状态:
</div>
<div
v-if=
"detailInfo.receiptJdSync == 1"
>
<div
class=
"tipsText"
>
<img
src=
"../image/info-circle-fill.png"
class=
"imgCla"
>
成功
</div>
</div>
<div
v-else
>
<div
class=
"tipsText"
>
<img
src=
"../image/icon.png"
class=
"imgCla"
>
失败
<div
class=
"tipsError"
>
原因:【
{{
detailInfo
.
receiptFailReason
?
(
detailInfo
.
receiptFailReason
.
length
>
40
?
(
detailInfo
.
receiptFailReason
.
slice
(
0
,
40
)
+
'...'
)
:
detailInfo
.
receiptFailReason
)
:
'-'
}}
】
</div>
<div
class=
"tipsBt"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"receiptBatchSync"
>
回单重推
</el-button>
</div>
</div>
</div>
</div>
<!--
<div
class=
"tipsDiv"
v-if=
"detailInfo.jdSync == 0"
>
<div
class=
"tipsText"
>
<img
src=
"../image/icon.png"
class=
"imgCla"
>
财资数据推送金蝶系统
失败
class=
"imgCla"
>
失败
</div>
<div
class=
"tipsError"
>
原因:【
{{
detailInfo
.
failReason
?
detailInfo
.
failReason
:
"-"
}}
】
</div>
...
...
@@ -26,7 +69,7 @@
type=
"primary"
@
click=
"dataPush"
>
数据重推
</el-button>
</div>
</div>
</div>
-->
<el-form
class=
"edit-sub-block"
label-width=
"150px"
:inline=
"true"
>
...
...
@@ -159,7 +202,7 @@
</
template
>
<
script
>
import
{
nbcbAccDetail
,
nbcbAccDetailBatchSync
}
from
'@api/theAssetData'
import
{
nbcbAccDetail
,
nbcbAccDetailBatchSync
,
receiptBatchSync
}
from
'@api/theAssetData'
import
{
Util
,
deepClone
}
from
"@/common/util"
import
{
cdSignOpt
,
operationResultOpt
,
operationTypeOpt
}
from
'@/common/constants.js'
export
default
{
...
...
@@ -294,6 +337,24 @@ export default {
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
},
receiptBatchSync
()
{
this
.
$confirm
(
'请确认是否要执行当前操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
closeOnClickModal
:
false
}).
then
(()
=>
{
const
ids
=
[
this
.
paramsObj
.
id
]
receiptBatchSync
({
ids
:
ids
}).
then
(
res
=>
{
this
.
notice
.
okTips
()
this
.
getDetail
()
this
.
refreshFlag
=
true
})
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
}
}
}
...
...
@@ -413,16 +474,20 @@ export default {
.tipsDiv
{
display
:
flex
;
justify-content
:
center
;
/* 水平居中 */
//
justify-content
:
center
;
/* 水平居中 */
align-items
:
center
;
/* 垂直居中 */
flex-direction
:
column
;
//
flex-direction
:
column
;
margin
:
20px
0
34px
0
;
.labelCla
{
width
:
200px
;
text-align
:
right
;
}
.tipsText
{
display
:
flex
;
justify-content
:
center
;
/* 水平居中 */
//
justify-content
:
center
;
/* 水平居中 */
align-items
:
center
;
/* 垂直居中 */
font-weight
:
600
;
font-size
:
1
6
px
;
font-size
:
1
4
px
;
color
:
#000000
e6
;
}
.imgCla
{
...
...
@@ -431,10 +496,12 @@ export default {
.tipsError
{
font-size
:
12px
;
color
:
#eb4e4e
;
margin-top
:
8px
;
//
margin-top
:
8px
;
margin-left
:
20px
;
}
.tipsBt
{
margin-top
:
10px
;
//
margin-top
:
10px
;
margin-left
:
20px
;
}
}
...
...
src/views/financeManage/theAssetData/components/inputRange.vue
View file @
58f3620
...
...
@@ -42,7 +42,8 @@
@
click=
"handleClickIcon"
class=
"el-icon-circle-close"
></i>
</div>
<!----><!---->
<div
class=
"errorTips"
v-if=
"tipsShow"
>
最大金额需大于最小金额
</div>
</div>
</template>
<
script
>
...
...
@@ -56,7 +57,8 @@ export default {
oldVal
:
{
startInput
:
''
,
endInput
:
''
}
},
tipsShow
:
false
}
},
...
...
@@ -71,6 +73,9 @@ export default {
displayValue
(
val
)
{
if
(
val
)
{
this
.
userInput
=
val
if
(
val
.
length
==
0
)
{
this
.
tipsShow
=
false
}
}
}
},
...
...
@@ -101,6 +106,7 @@ export default {
handleClickIcon
(
event
)
{
this
.
userInput
[
0
]
=
null
this
.
userInput
[
1
]
=
null
this
.
tipsShow
=
false
},
valueIsEmpty
()
{
const
val
=
this
.
userInput
...
...
@@ -138,6 +144,9 @@ export default {
if
(
Array
.
isArray
(
val
))
{
if
(
+
val
[
0
]
>
+
val
[
1
])
{
val
[
1
]
=
null
this
.
tipsShow
=
true
}
else
{
this
.
tipsShow
=
false
}
}
}
...
...
@@ -169,5 +178,10 @@ export default {
}
}
}
.errorTips
{
color
:
red
;
//
text-align
:
center
;
font-size
:
12px
;
}
}
</
style
>
src/views/financeManage/theAssetData/components/refetchDialog.vue
View file @
58f3620
...
...
@@ -14,6 +14,23 @@
:form-obj=
"infoForm"
:form-data=
"editFormData"
:form-rules=
"formRules"
>
<div
slot=
"accHtml"
>
<el-select
v-model=
"infoForm.accNameList"
clearable
:style=
"
{ width: '400px'}"
placeholder="请选择单位名称"
multiple
collapse-tags>
<span
class=
"select-all"
>
<el-checkbox
v-model=
"allSelected"
@
change=
"toggleAll"
>
全选
</el-checkbox>
</span>
<el-option
v-for=
"item in baseData.accNameList"
:key=
"item.confId"
:label=
"item.confValue"
:value=
"item.confId"
></el-option>
</el-select>
</div>
</glsx-combi-form>
</div>
<!--
<span
class=
"dialog-footer"
>
...
...
@@ -50,49 +67,57 @@ export default {
},
handleFormRef
:
'handleFormRef'
,
formRules
:
{
transactionTime
:
[{
required
:
true
,
message
:
'请选择交易时间'
,
trigger
:
'change'
}]
,
transactionTime
:
[{
required
:
true
,
message
:
'请选择交易时间'
,
trigger
:
'change'
}]
},
editFormData
:
[{
label
:
'单位名称'
,
name
:
'accNameList'
,
type
:
'select'
,
isClear
:
true
,
multiple
:
true
,
collapseTags
:
true
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
optionsName
:
'accNameList'
},
{
label
:
'银行类别'
,
name
:
'bankType'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
optionsName
:
'bankTypeList'
},
{
label
:
'本方账号'
,
name
:
'bankAcc'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
optionsName
:
'bankAccList'
},
{
label
:
'交易时间'
,
name
:
'transactionTime'
,
type
:
'datePicker'
,
isClear
:
true
,
pickerOptions
:
'beforeRangePickerOptions'
}],
editFormData
:
[
{
label
:
'单位名称'
,
addHtml
:
'accHtml'
},
// {
// label: '单位名称',
// name: 'accNameList',
// type: 'select',
// isClear: true,
// multiple: true,
// collapseTags: true,
// optionList: [],
// optionId: 'confId',
// optionLabel: 'confValue',
// optionsName: 'accNameList'
// },
{
label
:
'银行类别'
,
name
:
'bankType'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
optionsName
:
'bankTypeList'
},
{
label
:
'本方账号'
,
name
:
'bankAcc'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
optionsName
:
'bankAccList'
},
{
label
:
'交易时间'
,
name
:
'transactionTime'
,
type
:
'datePicker'
,
isClear
:
true
,
// pickerOptions: 'beforeRangePickerOptions'
pickerOptions
:
"rangePickerOptions_30day2"
}],
baseData
:
{
accNameList
:
[],
bankTypeList
:
[],
bankAccList
:
[]
}
},
allSelected
:
false
}
},
...
...
@@ -163,6 +188,18 @@ export default {
})
},
// 实现全选功能的方法
toggleAll
()
{
console
.
log
(
'this.allSelected'
,
this
.
allSelected
)
if
(
this
.
allSelected
)
{
this
.
infoForm
.
accNameList
=
this
.
baseData
.
accNameList
.
map
(
option
=>
option
.
confId
)
}
else
{
this
.
infoForm
.
accNameList
=
[]
}
// 更新allSelected状态,确保下一次操作时状态正确
// this.allSelected = !this.allSelected
},
handleAddConfirm
()
{
this
.
$refs
.
editFormRef
.
$refs
[
this
.
handleFormRef
].
validate
(
valid
=>
{
if
(
valid
)
{
...
...
@@ -344,4 +381,7 @@ export default {
font-size
:
12px
;
color
:
#eb4e4e
;
}
.select-all
{
margin
:
0
0
20px
20px
;
}
</
style
>
src/views/financeManage/theAssetData/index.vue
View file @
58f3620
...
...
@@ -4,12 +4,38 @@
<d2-container>
<div
class=
"header"
slot=
"header"
style=
"padding: 10px 20px;"
>
style=
"padding: 10px 20px
20px 0
;"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:label-width=
"labelWidth"
:form-data=
"showFormData"
>
<!-- 同步状态 -->
<div
slot=
"jdSyncStatusHtml"
>
<el-select
v-model=
"searchForm.jdSyncType"
placeholder=
"请选择"
clearable
style=
"width: 150px;margin-right: 20px;"
>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
"流水明细"
value=
"1"
></el-option>
<el-option
label=
"回单"
value=
"2"
></el-option>
</el-select>
<el-select
v-model=
"searchForm.jdSyncStatus"
placeholder=
"请选择"
clearable
style=
"width: 150px;"
>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
v-for=
"(item, index) in baseData.jdSyncOpt"
:key=
"index"
:label=
"item.confValue"
:value=
"item.confId"
>
</el-option>
</el-select>
</div>
<!-- 交易金额 -->
<div
slot=
"transactionMoneyHtml"
>
<input-range
start-placeholder=
"最小金额"
...
...
@@ -84,7 +110,7 @@
import
{
Util
,
deepClone
}
from
'@/common/util'
// import { rangePickerOptions } from '@/common/format'
import
{
mapActions
,
mapState
}
from
'vuex'
import
{
cdSignOpt
,
jdSyncOpt
,
receiptStatusOpt
}
from
'@/common/constants.js'
import
{
cdSignOpt
,
jdSyncOpt
,
receiptStatusOpt
,
dataSourceOpt
}
from
'@/common/constants.js'
import
{
nbcbAccDetailPage
,
nbcbAccDetailConfig
,
nbcbAccDetailBatchSync
,
nbcbReceiptPdfUrl
}
from
'@api/theAssetData'
import
inputRange
from
'./components/inputRange'
import
refetchDialog
from
'./components/refetchDialog'
...
...
@@ -116,7 +142,11 @@ export default {
postScript
:
''
,
jdSync
:
''
,
transactionTime
:
''
,
receiptStatus
:
''
receiptStatus
:
''
,
receiptJdSync
:
''
,
jdSyncType
:
''
,
jdSyncStatus
:
''
,
dataSource
:
''
},
searchFormSearch
:
{},
showFormData
:
[{
...
...
@@ -179,10 +209,6 @@ export default {
optionLabel
:
'curName'
,
optionsName
:
'curCodeList'
},
{
label
:
'交易金额'
,
name
:
'transactionMoney'
,
addHtml
:
"transactionMoneyHtml"
},
{
label
:
'收支标志'
,
name
:
'cdSign'
,
type
:
'select'
,
...
...
@@ -197,15 +223,21 @@ export default {
type
:
'input'
,
maxlength
:
'20'
,
isClear
:
true
},
{
},
// {
// label: '同步状态',
// name: 'jdSync',
// type: 'select',
// isClear: true,
// optionList: [],
// optionId: 'confId',
// optionLabel: 'confValue',
// optionsName: 'jdSyncOpt'
// },
{
label
:
'同步状态'
,
name
:
'jdSync'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
optionsName
:
'jdSyncOpt'
name
:
'jdSyncStatus'
,
addHtml
:
"jdSyncStatusHtml"
},
{
label
:
'交易时间'
,
name
:
'transactionTime'
,
...
...
@@ -222,6 +254,19 @@ export default {
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
optionsName
:
'receiptStatusOpt'
},
{
label
:
'数据来源'
,
name
:
'dataSource'
,
type
:
'select'
,
isClear
:
true
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confValue'
,
optionsName
:
'dataSourceOpt'
},
{
label
:
'交易金额'
,
name
:
'transactionMoney'
,
addHtml
:
"transactionMoneyHtml"
}],
getListApi
:
nbcbAccDetailPage
,
tableParams
:
{
...
...
@@ -299,9 +344,9 @@ export default {
return
this
.
baseData
.
receiptStatusOpt
.
find
(
item
=>
item
.
confId
===
cellValue
.
receiptStatus
)?.
confValue
}
},
{
label
:
'同步状态'
,
label
:
'同步状态
(流水明细)
'
,
prop
:
'jdSync'
,
width
:
'1
0
0px'
,
width
:
'1
5
0px'
,
formatter
:
(
cellValue
)
=>
{
return
this
.
baseData
.
jdSyncOpt
.
find
(
item
=>
item
.
confId
===
cellValue
.
jdSync
)?.
confValue
},
...
...
@@ -311,6 +356,26 @@ export default {
1
:
'greenSpot'
}[
cellValue
.
jdSync
]
}
},
{
label
:
'同步状态(回单)'
,
prop
:
'receiptJdSync'
,
width
:
'150px'
,
formatter
:
(
cellValue
)
=>
{
return
this
.
baseData
.
jdSyncOpt
.
find
(
item
=>
item
.
confId
===
cellValue
.
receiptJdSync
)?.
confValue
},
className
:
(
cellValue
)
=>
{
return
{
0
:
'redSpot'
,
1
:
'greenSpot'
}[
cellValue
.
receiptJdSync
]
}
},
{
label
:
'数据来源'
,
prop
:
'dataSource'
,
width
:
'100px'
,
formatter
:
(
cellValue
)
=>
{
return
this
.
baseData
.
dataSourceOpt
.
find
(
item
=>
item
.
confId
===
cellValue
.
dataSource
)?.
confValue
}
}
]
},
...
...
@@ -323,6 +388,7 @@ export default {
cdSignOpt
:
deepClone
(
cdSignOpt
),
jdSyncOpt
:
deepClone
(
jdSyncOpt
),
receiptStatusOpt
:
deepClone
(
receiptStatusOpt
),
dataSourceOpt
:
deepClone
(
dataSourceOpt
)
},
recordInfo
:
null
,
...
...
@@ -368,6 +434,16 @@ export default {
delete
this
.
searchFormSearch
.
amtMin
delete
this
.
searchFormSearch
.
amtMax
}
if
(
this
.
searchFormSearch
.
jdSyncType
==
'1'
)
{
this
.
searchFormSearch
.
jdSync
=
this
.
searchFormSearch
.
jdSyncStatus
}
else
if
(
this
.
searchFormSearch
.
jdSyncType
==
'2'
)
{
this
.
searchFormSearch
.
receiptJdSync
=
this
.
searchFormSearch
.
jdSyncStatus
}
else
{
delete
this
.
searchFormSearch
.
jdSync
delete
this
.
searchFormSearch
.
receiptJdSync
}
delete
this
.
searchFormSearch
.
jdSyncType
delete
this
.
searchFormSearch
.
jdSyncStatus
resolve
()
})
},
...
...
@@ -394,9 +470,9 @@ export default {
selectableFn
(
row
,
index
)
{
var
isSelect
=
true
if
(
row
.
jdSync
==
1
)
{
// 已同步不可勾选
isSelect
=
false
}
//
if (row.jdSync == 1) { // 已同步不可勾选
//
isSelect = false
//
}
return
isSelect
},
...
...
@@ -417,7 +493,11 @@ export default {
postScript
:
''
,
jdSync
:
''
,
transactionTime
:
''
,
receiptStatus
:
''
receiptStatus
:
''
,
receiptJdSync
:
''
,
jdSyncType
:
''
,
jdSyncStatus
:
''
,
dataSource
:
''
}
this
.
$refs
.
recordTable
.
refreshTable
(
false
,
true
)
},
...
...
@@ -545,7 +625,37 @@ export default {
})
}
})
// window.open('http://qcimg01.glsx.com.cn:7060/group1/M00/07/46/wKgD3mdD9oaARUE4AABxS-wgZWk991.pdf')
},
// 资金日报导出
handleFundExport
()
{
var
params
=
deepClone
(
this
.
searchFormSearch
)
if
(
params
.
accNameList
.
length
>
0
)
{
params
.
accNameList
.
forEach
((
item
,
index
)
=>
{
const
name
=
`accNameList[
${
index
}
]`
params
[
name
]
=
item
})
delete
params
.
accNameList
}
// console.log(params)
// 去除为null的值
for
(
const
key
in
params
)
{
// console.log(params[key])
if
(
params
[
key
]
===
null
||
params
[
key
]
===
''
||
params
[
key
].
length
==
0
)
{
delete
params
[
key
]
}
}
params
.
method
=
'dj.smartcarlife.api.nbcb.acc.financial.report.download'
const
list
=
[
...
this
.
dowloadList
,
{
name
:
'资金日报导出'
,
exportParam
:
JSON
.
stringify
(
params
),
status
:
'waiting'
,
timeid
:
new
Date
().
getTime
()
}
]
this
.
actionSetDownloadList
({
list
,
type
:
'dowloadList'
})
}
}
...
...
yarn.lock
View file @
58f3620
...
...
@@ -8862,6 +8862,11 @@ pretty@2.0.0:
extend-shallow "^2.0.1"
js-beautify "^1.6.12"
print-js@^1.6.0:
version "1.6.0"
resolved "https://registry.npmmirror.com/print-js/-/print-js-1.6.0.tgz#692b046cf31992b46afa6c6d8a9db1c69d431d1f"
integrity sha512-BfnOIzSKbqGRtO4o0rnj/K3681BSd2QUrsIZy/+WdCIugjIswjmx3lDEZpXB2ruGf9d4b3YNINri81+J0FsBWg==
printj@~1.1.0:
version "1.1.2"
resolved "https://registry.npmjs.org/printj/-/printj-1.1.2.tgz"
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment