Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
57836cc2
Commit
57836cc2
authored
May 24, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
a27695a3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
3772 additions
and
742 deletions
+3772
-742
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+25
-0
signedClientList.vue
src/components/SalesModule/Common/signedClientList.vue
+825
-737
MyCustomer.vue
src/components/SalesModule/MyCustomer.vue
+76
-1
customerApprovalFor.vue
src/components/SalesModule/customerApprovalFor.vue
+12
-3
signedFinance.vue
src/components/SalesModule/signedFinance.vue
+573
-0
signedFinanceALL.vue
src/components/SalesModule/signedFinanceALL.vue
+2244
-0
index.js
src/plug/index.js
+1
-1
config.js
src/router/config.js
+16
-0
No files found.
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
57836cc2
...
...
@@ -587,6 +587,15 @@
</el-select>
</span></p>
</div>
<div>
<p>
签约客户:
<span>
<el-select
filterable
v-model=
'msg.SigningCustomerId'
class=
"w135 _border_b_1"
>
<el-option
v-for=
'item in CustomerIdList'
:label=
'item.customerName'
:value=
'item.customerId'
:key=
'item.customerId'
>
</el-option>
</el-select>
</span></p>
</div>
</div>
<div
class=
"_remark"
>
<p>
{{$t('system.label_info')}}
</p>
...
...
@@ -778,6 +787,7 @@
Status
:
0
,
},
departmentList
:
[],
CustomerIdList
:
[],
companyList
:
[],
edit
:
false
,
IsUploadPic
:
0
,
...
...
@@ -1843,6 +1853,20 @@
}
},
err
=>
{})
},
getCustomerIdList
()
{
this
.
apipost
(
"customer_post_GetSigningCustomerPage"
,
{
pageIndex
:
1
,
pageSize
:
1000
,
CustomerStatus
:
0
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CustomerIdList
=
res
.
data
.
data
.
pageData
;
}
else
{
this
.
loading
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{},
);
},
getCompany
()
{
// 获取公司
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
companyMsg
,
res
=>
{
let
data
=
res
.
data
.
data
;
...
...
@@ -1931,6 +1955,7 @@
}
},
mounted
()
{
this
.
getCustomerIdList
();
let
userInfo
=
this
.
getLocalStorage
();
this
.
department
=
userInfo
.
DepartName
;
this
.
emplyeeName
=
userInfo
.
emName
;
...
...
src/components/SalesModule/Common/signedClientList.vue
View file @
57836cc2
This diff is collapsed.
Click to expand it.
src/components/SalesModule/MyCustomer.vue
View file @
57836cc2
...
...
@@ -628,6 +628,34 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"签约月结客户"
prop=
"SigningType"
>
<el-checkbox
v-model=
'addMsg.SigningType'
>
</el-checkbox>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"签约资料"
prop=
"SigningFile"
>
<el-upload
v-if=
"!saveMsg || !saveMsg.length"
class=
"upload-demo"
:disabled=
"!addMsg.SigningType"
style=
"display:inline-block;position:relative;top:-1px;left:3px;"
:http-request=
"uploadFileBtn"
:show-file-list=
"false"
action=
""
>
<el-button
size=
"small"
type=
"primary"
>
签约材料
</el-button>
</el-upload>
<template
v-if=
"addMsg.SigningType && saveMsg&& saveMsg.length>0"
>
<template
v-for=
"(subItem,subIndex) in saveMsg"
>
<a
style=
"margin-left:20px;color:blue;cursor:pointer;"
target=
"_blank"
:key=
"subIndex"
@
click=
"downloadFile(subItem.Path,subItem.FileName)"
>
{{
subItem
.
FileName
}}
</a>
<a
:key=
"subIndex+1000"
style=
"margin-left:20px;color:blue;cursor:pointer;"
@
click=
"DeleteFile(subIndex)"
>
删除
</a>
</
template
>
</template>
</el-form-item>
</el-col>
</el-row>
<el-row
v-if=
"isShow"
:gutter=
"20"
>
<el-col
:span=
"18"
>
...
...
@@ -815,6 +843,10 @@
export
default
{
data
()
{
return
{
saveMsg
:
[],
headers
:
{
'Content-Type'
:
'application/octet-stream'
},
addLayer1
:
false
,
allowAdd
:
true
,
defaultImg
:
'this.src="'
+
require
(
"../../assets/img/litheader.png"
)
+
'"'
,
...
...
@@ -982,6 +1014,41 @@
}
},
methods
:
{
uploadFileBtn
(
file
)
{
//上传
if
(
file
.
file
.
size
>
1024
*
1024
*
100
)
{
this
.
$message
.
warning
(
'文件大小不能超过100M!'
)
return
}
let
that
=
this
let
newArr
=
[];
newArr
.
push
(
file
.
file
)
let
path
=
"/Upload/Temporary/"
this
.
$message
.
info
(
'上传中...'
)
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
let
fileSize
=
file
.
file
.
size
<
1024
?
file
.
file
.
size
:
(
file
.
file
.
size
/
1024
).
toFixed
(
0
);
this
.
saveMsg
=
[]
console
.
log
(
'file'
,
file
,
x
)
this
.
saveMsg
.
push
({
Path
:
x
.
data
.
FilePath
,
FileName
:
file
.
file
.
name
,
MD5Sign
:
file
.
file
.
uid
,
FileSize
:
fileSize
,
FolderId
:
this
.
msg
.
ParentId
})
});
},
//删除文件
DeleteFile
(
subIndex
)
{
this
.
saveMsg
.
splice
(
subIndex
,
1
);
},
//下载文件
downloadFile
(
fileUrl
,
fileName
)
{
const
link
=
document
.
createElement
(
'a'
);
link
.
href
=
fileUrl
;
link
.
download
=
fileName
;
document
.
body
.
appendChild
(
link
);
link
.
click
();
},
yichangde
(
obj
)
{
this
.
apipost
(
"app_get_GetCustomerException"
,
{
customerId
:
obj
.
customerId
...
...
@@ -1432,7 +1499,9 @@
}
},
err
=>
{})
},
saveVisa
()
{
// 保存
saveVisa
()
{
//
this
.
addMsg
.
SigningType
=
this
.
addMsg
.
SigningType
?
1
:
0
console
.
log
(
'save'
,
this
.
addMsg
,
this
.
updateMsg
)
if
(
!
this
.
addMsg
.
contactNumber
){
this
.
$message
.
error
(
'请输入联系电话'
)
return
...
...
@@ -1445,6 +1514,12 @@
this
.
$message
.
error
(
'请输入联系人'
)
return
}
if
(
this
.
addMsg
.
SigningType
&&
!
this
.
saveMsg
.
length
){
this
.
$message
.
error
(
'请上传签约材料'
)
return
}
else
{
this
.
addMsg
.
SigningFile
=
this
.
saveMsg
[
0
].
Path
}
// if(!this.addMsg.UniqueCode){
// this.$message.error('请输入统一编码')
// return
...
...
src/components/SalesModule/customerApprovalFor.vue
View file @
57836cc2
...
...
@@ -136,7 +136,18 @@
</div>
</div>
</div>
<div>
<span>
签约额度
</span>
<el-input
v-model=
"addMsg.SigningPrice"
type=
"number"
></el-input>
</div>
<div>
<span>
有效日期
</span>
<el-date-picker
class=
"h34"
v-model=
"addMsg.SigningEndTime"
type=
"date"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</div>
<div
class=
"customerApprovalLayercontentBtn"
v-show=
"(customerStatus==0||customerStatus==1)&&isOk==-1"
>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('visa.v_tongguo')"
@
click=
"isOk=1;addMsg.AdviceStatus=1"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('visa.v_jujue')"
@
click=
"isOk=0;addMsg.AdviceStatus=2"
/>
...
...
@@ -171,8 +182,6 @@
<input
type=
"button"
class=
"hollowFixedBtn mg0"
:value=
"$t('pub.cancelBtn')"
@
click=
"isOk=-1"
/>
</div>
</div>
</div>
...
...
src/components/SalesModule/signedFinance.vue
0 → 100644
View file @
57836cc2
This diff is collapsed.
Click to expand it.
src/components/SalesModule/signedFinanceALL.vue
0 → 100644
View file @
57836cc2
This diff is collapsed.
Click to expand it.
src/plug/index.js
View file @
57836cc2
...
...
@@ -121,7 +121,7 @@ export default {
let
locationName
=
window
.
location
.
hostname
;
// domainUrl = "http://192.168.10.128";
// domainUrl = "http://192.168.10.9:8083" // 刘东电脑
domainUrl
=
"http://192.168.10.226
:8015
"
;
domainUrl
=
"http://192.168.10.226"
;
// domainUrl = "http://reborn.oytour.com";
let
crmLocalFileStreamDownLoadUrl
=
""
;
crmLocalFileStreamDownLoadUrl
=
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://crm.oytour.com"
:
"http://testcrm.oytour.com"
;
...
...
src/router/config.js
View file @
57836cc2
...
...
@@ -3204,6 +3204,22 @@ export default {
title
:
'月结签约客户列表'
},
},
{
// 月结签约客户 财务单据
path
:
'/signedFinance'
,
name
:
'signedFinance'
,
component
:
resolve
=>
require
([
'@/components/SalesModule/signedFinance'
],
resolve
),
meta
:
{
title
:
'财务单据'
},
},
{
// 月结签约客户 财务单据
path
:
'/signedFinanceAll'
,
name
:
'signedFinanceAll'
,
component
:
resolve
=>
require
([
'@/components/SalesModule/signedFinanceAll'
],
resolve
),
meta
:
{
title
:
'财务单据列表'
},
},
{
// 销售 销售任务详情
path
:
'/saleTaskDetail'
,
name
:
'saleTaskDetail'
,
...
...
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