Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
contractmanage
Project
Project
Details
Activity
Releases
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
张伯涛
contractmanage
Commits
ea75f264
Commit
ea75f264
authored
Jan 26, 2022
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口地址修改
parent
05b719ce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
24 deletions
+23
-24
add.vue
src/views/list/add.vue
+18
-19
index.vue
src/views/list/index.vue
+5
-5
No files found.
src/views/list/add.vue
View file @
ea75f264
...
...
@@ -59,7 +59,7 @@
</el-select>
</el-form-item>
-->
<el-form-item
label=
"合同语言"
prop=
"CONLANGUAGE"
>
<el-select
v-model=
"form.CONLANGUAGE"
placeholder=
"请选择"
>
<el-select
v-model=
"form.CONLANGUAGE"
filterable
placeholder=
"请选择"
>
<el-option
v-for=
"item in language"
:key=
"item.id"
...
...
@@ -83,9 +83,6 @@
<el-form-item
label=
"内部合同关联校验码"
prop=
"OPPOSITECONMAINCODE"
:rules=
"[
{ required: true, message: '请输入项目名称', trigger: 'blur' }
]"
>
<el-input
v-model
.
trim=
"form.OPPOSITECONMAINCODE"
placeholder=
"请输入"
maxlength=
"100"
/>
</el-form-item>
...
...
@@ -363,7 +360,7 @@
<span>
签约方编码(合同签约主体)
</span>
</el-col>
<el-col
:span=
"3"
class=
"bigCol"
>
<span>
签约
核算组织
</span>
<span>
签约
对方名称
</span>
</el-col>
<el-col
:span=
"3"
class=
"bigCol"
>
<span>
行政往来名称
</span>
...
...
@@ -446,7 +443,7 @@
<span>
签约方编码(合同签约主体)
</span>
</el-col>
<el-col
:span=
"3"
class=
"bigCol"
>
<span>
签约
核算组织
</span>
<span>
签约
对方名称
</span>
</el-col>
<el-col
:span=
"3"
class=
"bigCol"
>
<span>
行政往来名称
</span>
...
...
@@ -538,7 +535,7 @@
<span>
签约方编码(合同签约主体)
</span>
</el-col>
<el-col
:span=
"3"
class=
"bigCol"
>
<span>
签约
核算组织
</span>
<span>
签约
对方名称
</span>
</el-col>
<el-col
:span=
"3"
class=
"bigCol"
>
<span>
行政往来名称
</span>
...
...
@@ -636,7 +633,7 @@
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"总金额币种"
prop=
"CURRENCY"
>
<el-select
v-model=
"form.CURRENCY"
placeholder=
"请选择"
>
<el-select
filterable
v-model=
"form.CURRENCY"
placeholder=
"请选择"
>
<el-option
v-for=
"item in ZCURRENCY"
:key=
"item.id"
...
...
@@ -671,6 +668,7 @@
>
<el-select
v-model=
"form.TZXX.PAYMENTCURRENCY"
filterable
placeholder=
"请选择"
>
<el-option
...
...
@@ -830,6 +828,7 @@
]"
>
<el-select
filterable
v-model=
"form.TZXX.INVOICETYPE"
placeholder=
"请选择"
style=
"width: 70%"
...
...
@@ -1643,7 +1642,7 @@ export default {
CONCODE
:
[{
required
:
true
,
message
:
'合同编码'
,
trigger
:
'blur'
},
{
max
:
64
,
message
:
'长度64个字符以内'
,
trigger
:
'blur'
}],
ISSUPPLYCONTRACT
:
[{
required
:
true
,
message
:
'是否补充合同'
,
trigger
:
'blur'
},
{
max
:
30
,
message
:
'长度30个字符以内'
,
trigger
:
'blur'
}],
// SUPCONMAINCODE: [{ max: 64, message: '长度64个字符以内', trigger: 'blur' }],
OPPOSITECONMAINCODE
:
[{
max
:
100
,
message
:
'长度100个字符以内'
,
trigger
:
'blur'
}],
//
OPPOSITECONMAINCODE: [{ max: 100, message: '长度100个字符以内', trigger: 'blur' }],
PROJNUMBER
:
[{
required
:
true
,
message
:
'项目编码'
,
trigger
:
'blur'
},
{
max
:
100
,
message
:
'长度100个字符以内'
,
trigger
:
'blur'
}],
// PROJNAME: [{ required: true, message: '项目名称', trigger: 'blur' }, { max: 100, message: '长度100个字符以内', trigger: 'blur' }],
INCOMEEXPENDTYPE
:
[{
required
:
true
,
message
:
'收支类型'
,
trigger
:
'blur'
},
{
max
:
30
,
message
:
'长度30个字符以内'
,
trigger
:
'blur'
}],
...
...
@@ -1677,8 +1676,8 @@ export default {
// CONTRACTPAYMENTTERMS: [{ required: true, message: '请输入合同价款支付条件', trigger: 'blur' }, { max: 1024, message: '长度1024个字符以内', trigger: 'blur' }],
ISSFYYFK
:
[{
required
:
true
,
message
:
'是否存在预付款'
,
trigger
:
'blur'
},
{
max
:
30
,
message
:
'长度30个字符以内'
,
trigger
:
'blur'
}],
// PAYRULE: [{ required: true, message: '预付款支付条件', trigger: 'blur' }, { max: 1024, message: '长度1024个字符以内', trigger: 'blur' }],
TAXRATE
:
[{
required
:
true
,
message
:
'税率(%)'
,
trigger
:
'blur'
},
{
validator
:
this
.
isNum
,
trigger
:
'blur'
}],
//
TAXRATE: [{ required: true, message: '税率(%)', trigger: 'blur' },
//
{ validator: this.isNum, trigger: 'blur' }],
PAYRATIO
:
[{
required
:
true
,
message
:
'预付款比例'
,
trigger
:
'blur'
},
{
validator
:
this
.
isNum
,
trigger
:
'blur'
}],
PAYAMT
:
[{
required
:
true
,
message
:
'预付款金额'
,
trigger
:
'blur'
},
...
...
@@ -1753,7 +1752,7 @@ export default {
getDetails
()
{
if
(
this
.
$route
.
query
.
type
===
'update'
)
{
const
FROMID
=
this
.
$route
.
query
.
row
.
FROMID
this
.
$axios
.
get
(
'http://1
0.19.103.15
:8090/contract/contract/detail/'
+
FROMID
).
then
(
res
=>
{
this
.
$axios
.
get
(
'http://1
17.122.212.101
:8090/contract/contract/detail/'
+
FROMID
).
then
(
res
=>
{
this
.
form
=
res
.
data
.
data
this
.
form
.
BUSINESSTYPEName
=
this
.
$route
.
query
.
businessTypeName
if
(
this
.
form
.
PROJNAME
===
''
)
{
...
...
@@ -1801,7 +1800,7 @@ export default {
}
},
findMap
()
{
this
.
$axios
.
get
(
'http://1
0.19.103.15
:8090/contract/contract/getDictData'
).
then
(
res
=>
{
this
.
$axios
.
get
(
'http://1
17.122.212.101
:8090/contract/contract/getDictData'
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
language
=
res
.
data
.
data
.
LANGUAGE
this
.
DM_BZJLX
=
res
.
data
.
data
.
DM_BZJLX
...
...
@@ -1860,7 +1859,7 @@ export default {
downLoadFile
(
row
)
{
// 下载按钮
console
.
log
(
row
)
this
.
$axios
.
get
(
'http://1
0.19.103.15
:8090/contractjxx/contract-fjxx/downLoad/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
this
.
$axios
.
get
(
'http://1
17.122.212.101
:8090/contractjxx/contract-fjxx/downLoad/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
if
(
!
res
.
errno
)
{
console
.
log
(
this
.
data
)
}
...
...
@@ -1888,7 +1887,7 @@ export default {
console
.
log
(
'参数参数'
,
formData
)
this
.
$axios
({
method
:
'post'
,
url
:
'http://1
0.19.103.15
:8090/contractjxx/contract-fjxx/upload'
,
url
:
'http://1
17.122.212.101
:8090/contractjxx/contract-fjxx/upload'
,
data
:
formData
})
.
then
((
res
)
=>
{
if
(
!
res
.
errno
)
{
...
...
@@ -1908,7 +1907,7 @@ export default {
formData
.
append
(
'file'
,
file
.
file
)
this
.
$axios
({
method
:
'post'
,
url
:
'http://1
0.19.103.15
:8090/contractjxx/contract-fjxx/upload'
,
url
:
'http://1
17.122.212.101
:8090/contractjxx/contract-fjxx/upload'
,
data
:
formData
})
.
then
((
res
)
=>
{
if
(
!
res
.
errno
)
{
...
...
@@ -2007,7 +2006,7 @@ export default {
},
delFile
(
i
,
row
)
{
this
.
form
.
FJXX
.
splice
(
i
,
1
)
this
.
$axios
.
delete
(
'http://1
0.19.103.15
:8090/contractjxx/contract-fjxx/realDeleteByBusinessId/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
this
.
$axios
.
delete
(
'http://1
17.122.212.101
:8090/contractjxx/contract-fjxx/realDeleteByBusinessId/'
+
row
.
BUSINESSID
).
then
(
res
=>
{
// eslint-disable-next-line no-empty
if
(
!
res
.
errno
)
{}
})
...
...
@@ -2069,7 +2068,7 @@ export default {
if
(
this
.
$route
.
query
.
type
===
'add'
)
{
this
.
$axios
({
method
:
'post'
,
url
:
'http://1
0.19.103.15
:8090/contract/contract/add'
,
url
:
'http://1
17.122.212.101
:8090/contract/contract/add'
,
data
:
this
.
form
})
.
then
((
res
)
=>
{
if
(
!
res
.
errno
)
{
...
...
@@ -2088,7 +2087,7 @@ export default {
}
else
if
(
this
.
$route
.
query
.
type
===
'update'
)
{
this
.
$axios
({
method
:
'put'
,
url
:
'http://1
0.19.103.15
:8090/contract/contract/merge'
,
url
:
'http://1
17.122.212.101
:8090/contract/contract/merge'
,
data
:
this
.
form
})
.
then
((
res
)
=>
{
if
(
!
res
.
errno
)
{
...
...
src/views/list/index.vue
View file @
ea75f264
...
...
@@ -367,7 +367,7 @@ obj=this.typeform*/
cancelButtonText
:
'取消'
,
type
:
'warning'
}
).
then
(()
=>
{
this
.
$axios
.
put
(
'http://1
0.19.103.15
:8090/contract/contract/mergeSynchronizationStatus/'
+
row
.
FROMID
).
then
(
res
=>
{
this
.
$axios
.
put
(
'http://1
17.122.212.101
:8090/contract/contract/mergeSynchronizationStatus/'
+
row
.
FROMID
).
then
(
res
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'修改成功!'
...
...
@@ -392,7 +392,7 @@ obj=this.typeform*/
cancelButtonText
:
'取消'
,
type
:
'warning'
}
).
then
(()
=>
{
this
.
$axios
.
put
(
'http://1
0.19.103.15
:8090/contract/contract/push/'
+
row
.
FROMID
).
then
(
res
=>
{
this
.
$axios
.
put
(
'http://1
17.122.212.101
:8090/contract/contract/push/'
+
row
.
FROMID
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
'200'
)
{
this
.
$message
({
type
:
'success'
,
...
...
@@ -414,7 +414,7 @@ obj=this.typeform*/
BatchExecution
()
{
this
.
$axios
({
method
:
'post'
,
url
:
'http://1
0.19.103.15
:8090/contract/contract/synchron'
url
:
'http://1
17.122.212.101
:8090/contract/contract/synchron'
}
)
.
then
((
res
)
=>
{
if
(
!
res
.
errno
)
{
...
...
@@ -433,7 +433,7 @@ obj=this.typeform*/
this
.
findContract
()
}
,
findContract
()
{
this
.
$axios
.
get
(
'http://1
0.19.103.15
:8090/contract/contract/queryDemoContractByPage'
,
this
.
$axios
.
get
(
'http://1
17.122.212.101
:8090/contract/contract/queryDemoContractByPage'
,
{
params
:
{
USERID
:
123
,
...
...
@@ -463,7 +463,7 @@ obj=this.typeform*/
cancelButtonText
:
'取消'
,
type
:
'warning'
}
).
then
(()
=>
{
this
.
$axios
.
delete
(
'http://1
0.19.103.15
:8090/contract/contract/realDelete/'
+
row
.
FROMID
).
then
(
res
=>
{
this
.
$axios
.
delete
(
'http://1
17.122.212.101
:8090/contract/contract/realDelete/'
+
row
.
FROMID
).
then
(
res
=>
{
if
(
!
res
.
errno
)
{
this
.
$message
({
type
:
'success'
,
...
...
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