Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
35c311cf
Commit
35c311cf
authored
Apr 24, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改base_API
parent
e76cd9ca
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
135 additions
and
33 deletions
+135
-33
quasar.conf.js
quasar.conf.js
+3
-3
orderlist.vue
src/components/sale/orderlist.vue
+107
-6
CashAccount.vue
src/pages/financial/CashAccount.vue
+5
-7
ChoiceAddFinancialDocuments.vue
...inancial/financalDocument/ChoiceAddFinancialDocuments.vue
+7
-7
addReceivablesDocuments.vue
...es/financial/financalDocument/addReceivablesDocuments.vue
+1
-1
paySetting.vue
src/pages/financial/paySetting.vue
+7
-4
erpindex.js
src/utils/erpindex.js
+1
-1
url.js
src/utils/url.js
+4
-4
No files found.
quasar.conf.js
View file @
35c311cf
...
...
@@ -51,12 +51,12 @@ module.exports = function (ctx) {
env
:
ctx
.
dev
?
{
//API: 'http://192.168.1.36:8300/api'
// API: 'https://localhost:5001/api'
API
:
'http://192.168.
1.13
:8085/api'
,
API
:
'http://192.168.
20.6
:8085/api'
,
// API: 'http://eduapi.oytour.com/api'
API_ZC
:
'http://192.168.
1.13
:8087/api'
API_ZC
:
'http://192.168.
20.6
:8087/api'
}
:
{
API
:
'http://eduapi.oytour.com/api'
,
API_ZC
:
'http://propertyedu.oytour.com'
API_ZC
:
'http://propertyedu.oytour.com
/api
'
},
// transpile: false,
...
...
src/components/sale/orderlist.vue
View file @
35c311cf
...
...
@@ -287,8 +287,31 @@
<div
class=
"col"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<!-- <q-btn flat size="xs" icon="edit" v-if="AuthorityObj.isShowFinanceBtn&&isEdit"
style="font-weight:400;color: #02C499" label="修改" /> -->
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,1)"
/>
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=!showChooseStudent"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<div>
<table
class=
"Contract_Table"
style=
"width: 500px;max-height:220px;overflow:auto;"
>
<tr>
<th>
选择
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td><q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</table>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,1)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
</div>
</q-banner>
</q-popup-proxy>
</div>
<div
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.FinanceList"
:index=
"j"
...
...
@@ -301,7 +324,28 @@
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,2)"
/>
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=!showChooseStudent"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<div>
<table
class=
"Contract_Table"
style=
"width: 500px;max-height:220px;overflow:auto;"
>
<tr>
<th>
选择
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td><q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</table>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,2)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
</div>
</q-banner>
</q-popup-proxy>
</div>
<div
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.RefundFinanceList"
:index=
"j"
...
...
@@ -487,7 +531,28 @@
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,1)"
/>
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=!showChooseStudent"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<div>
<table
class=
"Contract_Table"
style=
"width: 500px;max-height:220px;overflow:auto;"
>
<tr>
<th>
选择
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td><q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</table>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,1)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
</div>
</q-banner>
</q-popup-proxy>
</div>
<div
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.FinanceList"
:index=
"j"
...
...
@@ -500,7 +565,28 @@
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,2)"
/>
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=!showChooseStudent"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<div>
<table
class=
"Contract_Table"
style=
"width: 500px;max-height:220px;overflow:auto;"
>
<tr>
<th>
选择
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td><q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</table>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,2)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
</div>
</q-banner>
</q-popup-proxy>
</div>
<div
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.RefundFinanceList"
:index=
"j"
...
...
@@ -656,14 +742,18 @@
isShowEduForm
:
false
,
eduObj
:{},
isShowPop
:
false
isShowPop
:
false
,
showChooseStudent
:
false
,
//收款单据,是否显示单选学生
chooseStudent
:
""
,
//收款单据,单选学生
}
},
created
()
{
this
.
initAuth
();
this
.
Employee
();
},
mounted
()
{
},
mounted
()
{},
methods
:
{
//初始化权限信息
initAuth
()
{
...
...
@@ -895,6 +985,16 @@
},
//财务单据
chanceType
(
obj
,
type
)
{
if
(
this
.
chooseStudent
==
""
){
this
.
$q
.
notify
({
icon
:
'close'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
'请选择学生'
,
position
:
'top'
})
return
}
let
TCIDARR
=
[]
//留学就业订单
if
(
obj
&&
obj
.
OrderType
==
2
)
{
...
...
@@ -936,6 +1036,7 @@
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
),
'tradeWay'
:
obj
.
tradeWay
,
"GuestId"
:
this
.
chooseStudent
}
});
},
...
...
src/pages/financial/CashAccount.vue
View file @
35c311cf
...
...
@@ -282,10 +282,9 @@
</el-select>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
style=
"line-height: 30px;"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('pub.addBtn')"
@
click=
"addShow=true,text=$t('pub.addBtn'),ed=false"
style=
"line-height: 30px;"
/>
<q-btn
color=
"primary"
size=
"11px"
:label=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
style=
"marginRight:10px"
/>
<!-- 新增 -->
<q-btn
color=
"primary"
size=
"11px"
:label=
"$t('pub.addBtn')"
@
click=
"addShow=true,text=$t('pub.addBtn'),ed=false"
/>
</li>
</ul>
</div>
...
...
@@ -372,9 +371,8 @@
<p
class=
"_tit"
>
{{
text
}}{{
$t
(
'fnc.acc'
)
}}
</p>
</el-col>
<el-col
:span=
"4"
class=
"_add_saveBtn"
>
<button
type=
"button"
class=
"normalBtn"
@
click=
"submitForm('addMsg',1)"
>
{{
$t
(
'pub.saveBtn'
)
}}
</button>
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"cancelEdit(),resetForm('addMsg'),addShow=false"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</button>
<q-btn
color=
"primary"
size=
"11px"
:label=
"$t('pub.saveBtn')"
@
click=
"submitForm('addMsg',1)"
style=
"marginRight:10px"
/>
<q-btn
text-color=
"primary"
size=
"11px"
:label=
"$t('pub.cancelBtn')"
@
click=
"cancelEdit(),resetForm('addMsg'),addShow=false"
/>
</el-col>
</el-row>
<el-form
class=
"_info_box clearfix"
:model=
"addMsg"
ref=
"addMsg"
:rules=
"rules"
label-width=
"110px"
>
...
...
src/pages/financial/financalDocument/ChoiceAddFinancialDocuments.vue
View file @
35c311cf
...
...
@@ -126,7 +126,7 @@
this
.
$router
.
push
({
path
:
'/financial/financalDocument/addReceivablesDocuments'
,
query
:{
"Handmsg"
:
this
.
Handmsg
,
"tradeWay"
:
this
.
tradeWay
,
"platformAccount"
:
this
.
platformAccount
,
"id"
:
id
,
"Name"
:
Name
,
"Type"
:
Type
,
"orderObj"
:
this
.
orderObj
,
'path'
:
this
.
$route
.
query
.
path
,
'IsUploadPic'
:
IsUploadPic
,
'Cmd'
:
this
.
$route
.
query
.
Cmd
,
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增收款单'
}
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增收款单'
,
GuestId
:
this
.
$route
.
query
.
GuestId
}
});
}
// 财务收据
...
...
@@ -135,14 +135,14 @@
this
.
$router
.
push
({
path
:
'/financial/financalDocument/addReceivablesDocuments'
,
query
:{
"Handmsg"
:
Handmsg
,
"tradeWay"
:
this
.
tradeWay
,
"platformAccount"
:
this
.
platformAccount
,
"id"
:
id
,
"Name"
:
Name
,
"Type"
:
Type
,
"orderObj"
:
this
.
orderObj
,
'path'
:
this
.
$route
.
query
.
path
,
'IsUploadPic'
:
IsUploadPic
,
'Cmd'
:
this
.
$route
.
query
.
Cmd
,
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增收款单'
}
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增收款单'
,
GuestId
:
this
.
$route
.
query
.
GuestId
}
});
}
else
{
this
.
$router
.
push
({
path
:
'/financial/financalDocument/addReceivablesDocuments'
,
query
:{
"tradeWay"
:
this
.
tradeWay
,
"platformAccount"
:
this
.
platformAccount
,
"id"
:
id
,
"Name"
:
Name
,
"Type"
:
Type
,
"orderObj"
:
this
.
orderObj
,
'path'
:
this
.
$route
.
query
.
path
,
'IsUploadPic'
:
IsUploadPic
,
'Cmd'
:
this
.
$route
.
query
.
Cmd
,
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增收款单'
}
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增收款单'
,
GuestId
:
this
.
$route
.
query
.
GuestId
}
});
}
}
else
if
(
this
.
active
==
2
){
...
...
@@ -152,24 +152,24 @@
this
.
$router
.
push
({
path
:
'/financial/financalDocument/'
+
path
,
query
:{
"czmsg"
:
this
.
czmsg
,
"id"
:
id
,
"Name"
:
Name
,
"Type"
:
Type
,
"orderObj"
:
this
.
orderObj
,
'path'
:
this
.
$route
.
query
.
path
,
'IsUploadPic'
:
IsUploadPic
,
'Cmd'
:
this
.
$route
.
query
.
Cmd
,
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增付款单'
}
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增付款单'
,
GuestId
:
this
.
$route
.
query
.
GuestId
}
});
}
else
{
this
.
$router
.
push
({
path
:
'/financial/financalDocument/'
+
path
,
query
:{
"id"
:
id
,
"Name"
:
Name
,
"Type"
:
Type
,
"orderObj"
:
this
.
orderObj
,
'path'
:
this
.
$route
.
query
.
path
,
'IsUploadPic'
:
IsUploadPic
,
'Cmd'
:
this
.
$route
.
query
.
Cmd
,
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增付款单'
}
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增付款单'
,
GuestId
:
this
.
$route
.
query
.
GuestId
}
});
}
}
else
if
(
this
.
active
==
4
){
this
.
$router
.
push
({
path
:
'/financial/financalDocument/'
+
path
,
query
:{
"id"
:
id
,
"Name"
:
Name
,
"Type"
:
2
,
"orderObj"
:
this
.
orderObj
,
'path'
:
this
.
$route
.
query
.
path
,
'IsUploadPic'
:
IsUploadPic
,
'Cmd'
:
this
.
$route
.
query
.
Cmd
,
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增付款单'
}
query
:{
"id"
:
id
,
"Name"
:
Name
,
"Type"
:
2
,
"orderObj"
:
this
.
orderObj
,
'path'
:
this
.
$route
.
query
.
path
,
'IsUploadPic'
:
IsUploadPic
,
'Cmd'
:
this
.
$route
.
query
.
Cmd
,
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增付款单'
,
GuestId
:
this
.
$route
.
query
.
GuestId
}
});
}
else
{
this
.
$router
.
push
({
path
:
'/financial/financalDocument/addFinancialGZDocuments'
,
query
:{
"id"
:
id
,
"Name"
:
Name
,
"Type"
:
Type
,
"orderObj"
:
this
.
orderObj
,
'path'
:
this
.
$route
.
query
.
path
,
'IsUploadPic'
:
IsUploadPic
,
'Cmd'
:
this
.
$route
.
query
.
Cmd
,
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增挂账单'
}
query
:{
"id"
:
id
,
"Name"
:
Name
,
"Type"
:
Type
,
"orderObj"
:
this
.
orderObj
,
'path'
:
this
.
$route
.
query
.
path
,
'IsUploadPic'
:
IsUploadPic
,
'Cmd'
:
this
.
$route
.
query
.
Cmd
,
'companyID'
:
this
.
$route
.
query
.
companyID
,
blank
:
'y'
,
tab
:
'新增挂账单'
,
GuestId
:
this
.
$route
.
query
.
GuestId
}
});
}
},
...
...
src/pages/financial/financalDocument/addReceivablesDocuments.vue
View file @
35c311cf
...
...
@@ -1312,7 +1312,7 @@
this
.
msg
.
OrderTradeWay
=
this
.
tradeWay
;
this
.
msg
.
PlatformAccountId
=
this
.
platformAccount
;
this
.
loading
=
true
;
this
.
msg
.
GuestId
=
this
.
$route
.
query
.
GuestId
this
.
apipost
(
'Financial_post_Set'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$confirm
(
this
.
$t
(
'tips.czcgsfjxzhidan'
),
this
.
$t
(
'tips.tips'
),
{
...
...
src/pages/financial/paySetting.vue
View file @
35c311cf
...
...
@@ -170,7 +170,8 @@
.page_paySetting
.query-box
.iconfont
{
cursor
:
pointer
;
background-color
:
#E95252
;
/* background-color: #E95252; */
background-color
:
var
(
--q-color-primary
);
color
:
white
;
width
:
30px
;
height
:
30px
;
...
...
@@ -193,9 +194,11 @@
</span>
</li>
<li>
<button
class=
"hollowFixedBtn"
@
click=
"resetPageIndex(),getList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
class=
"normalBtn"
@
click=
"addShow=true,text=$t('pub.addBtn'),IsAdd=true,cancelEdit(),disabledOption()"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
<!--
<button
class=
"hollowFixedBtn"
@
click=
"resetPageIndex(),getList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
-->
<q-btn
color=
"primary"
size=
"11px"
:label=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getList()"
style=
"marginRight:10px"
/>
<!--
<button
class=
"normalBtn"
@
click=
"addShow=true,text=$t('pub.addBtn'),IsAdd=true,cancelEdit(),disabledOption()"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
-->
<q-btn
color=
"primary"
size=
"11px"
:label=
"$t('pub.addBtn')"
@
click=
"addShow=true,text=$t('pub.addBtn'),IsAdd=true,cancelEdit(),disabledOption()"
/>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('fnc.qhpaiban')"
placement=
"top-end"
>
<i
v-if=
"transitionShow"
class=
"iconfont icon-biaoge"
@
click=
"switchMethod(1)"
></i>
<i
v-if=
"transitionShow2"
class=
"iconfont icon-icon-ssan"
@
click=
"switchMethod(2)"
></i>
...
...
src/utils/erpindex.js
View file @
35c311cf
...
...
@@ -80,7 +80,7 @@ export default {
},
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
'http://192.168.
1.13
:8083'
;
let
domainUrl
=
'http://192.168.
20.6
:8083'
;
let
viewFileUrl
=
'http://192.168.1.36:8120'
;
let
locationName
=
window
.
location
.
hostname
;
if
(
locationName
.
indexOf
(
'testerp.oytour'
)
!==
-
1
)
{
...
...
src/utils/url.js
View file @
35c311cf
export
let
url_jump_zc
=
"http://zcedu.oytour.com/"
// export let UploadUrl="http://192.168.1
.214:8120"//上传文件到本地服务器
export
let
UploadUrl
=
"http://uploadfile.oytour.com"
// export let ViittoFileUrl="http://192.168.1
.214:8120"//文件站点
export
let
ViittoFileUrl
=
"http://staticfile.oytour.com"
export
let
UploadUrl
=
"http://192.168.20
.214:8120"
//上传文件到本地服务器
//
export let UploadUrl="http://uploadfile.oytour.com"
export
let
ViittoFileUrl
=
"http://192.168.20
.214:8120"
//文件站点
//
export let ViittoFileUrl="http://staticfile.oytour.com"
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