Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
portalhtml
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
rex
portalhtml
Commits
d55887d4
Commit
d55887d4
authored
Oct 13, 2021
by
jiangqihao
Browse files
Options
Browse Files
Download
Plain Diff
新增总代理商
parents
f0bab561
9438c3a8
Changes
25
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
184 additions
and
1320 deletions
+184
-1320
customers.js
src/api/customers.js
+13
-7
zh.js
src/lang/zh.js
+2
-1
Navbar.vue
src/layout/components/Navbar.vue
+2
-2
constant.js
src/views/customers/potential-customers/constant.js
+79
-134
index.vue
src/views/customers/potential-customers/index.vue
+45
-4
SystemNotice.vue
src/views/dashboard/admin/components/SystemNotice.vue
+1
-1
constant.js
...oice/incoice-details/components/apply-invoice/constant.js
+0
-47
index.vue
...nvoice/incoice-details/components/apply-invoice/index.vue
+0
-30
constant.js
...voice/incoice-details/components/list-invoice/constant.js
+0
-128
index.vue
...invoice/incoice-details/components/list-invoice/index.vue
+0
-46
constant.js
...ce/incoice-details/components/remarks-invoice/constant.js
+0
-27
index.vue
...oice/incoice-details/components/remarks-invoice/index.vue
+0
-85
constant.js
...voice/incoice-details/components/rise-invoice/constant.js
+0
-56
index.vue
...invoice/incoice-details/components/rise-invoice/index.vue
+0
-36
index.vue
src/views/invoice/incoice-details/index.vue
+0
-119
constant.js
src/views/invoice/invoice-list/constant.js
+0
-89
index.vue
src/views/invoice/invoice-list/index.vue
+0
-105
index.vue
src/views/invoice/invoice-overview/index.vue
+0
-15
constant.js
src/views/invoice/invoicing-list/constant.js
+0
-122
index.vue
src/views/invoice/invoicing-list/index.vue
+0
-77
constant.js
src/views/invoice/invoicing-requisition/constant.js
+0
-85
index.vue
src/views/invoice/invoicing-requisition/index.vue
+0
-68
index.vue
src/views/invoice/review/index.vue
+0
-13
index.vue
src/views/login/city-register/index.vue
+13
-10
index.vue
src/views/login/prov-register/index.vue
+29
-13
No files found.
src/api/customers.js
View file @
d55887d4
...
@@ -8,7 +8,11 @@ export const customer = {
...
@@ -8,7 +8,11 @@ export const customer = {
updateUrl
:
'/customer/update'
,
updateUrl
:
'/customer/update'
,
deleteUrl
:
'/customer/delete'
,
deleteUrl
:
'/customer/delete'
,
}
}
//查询省级供应商待审批列表
export
const
province
=
{
searchUrl
:
'/customer/searchProcessCustomer'
,
}
// 查询全部代理商数据
// 查询全部代理商数据
export
function
getAllData
(
data
)
{
export
function
getAllData
(
data
)
{
return
request
({
return
request
({
...
@@ -55,6 +59,15 @@ export function districtSearch(data){
...
@@ -55,6 +59,15 @@ export function districtSearch(data){
}
}
// 客户发布记录
// 客户发布记录
// 签约产品组
export
function
searchProduct
(
data
)
{
return
request
({
method
:
'post'
,
url
:
'/commonSession/searchAll'
,
data
})
}
// // 客户发布记录
// export const releaseRecord = {
// export const releaseRecord = {
// createUrl: '/releaserecord/create',
// createUrl: '/releaserecord/create',
// searchUrl: '/releaserecord/search',
// searchUrl: '/releaserecord/search',
...
@@ -102,13 +115,6 @@ export function districtSearch(data){
...
@@ -102,13 +115,6 @@ export function districtSearch(data){
// })
// })
// }
// }
// // 一级分类
// export function fetchFirstLevelClassification() {
// return request({
// method: 'post',
// url: '/levelClassification/searchAllOne'
// })
// }
// // 二级分类
// // 二级分类
// export function fetchSecondLevelClassification(data) {
// export function fetchSecondLevelClassification(data) {
...
...
src/lang/zh.js
View file @
d55887d4
...
@@ -185,7 +185,8 @@ export default {
...
@@ -185,7 +185,8 @@ export default {
takeEffect
:
'生效'
,
takeEffect
:
'生效'
,
invalid
:
'失效'
,
invalid
:
'失效'
,
baseInfo
:
'基础信息'
,
baseInfo
:
'基础信息'
,
viewAttachments
:
'查看附件'
viewAttachments
:
'查看附件'
,
approve
:
'审批'
},
},
example
:
{
example
:
{
warning
:
'创建和编辑页面是不能被 keep-alive 缓存的,因为keep-alive 的 include 目前不支持根据路由来缓存,所以目前都是基于 component name 来进行缓存的。如果你想类似的实现缓存效果,可以使用 localStorage 等浏览器缓存方案。或者不要使用 keep-alive 的 include,直接缓存所有页面。详情见'
warning
:
'创建和编辑页面是不能被 keep-alive 缓存的,因为keep-alive 的 include 目前不支持根据路由来缓存,所以目前都是基于 component name 来进行缓存的。如果你想类似的实现缓存效果,可以使用 localStorage 等浏览器缓存方案。或者不要使用 keep-alive 的 include,直接缓存所有页面。详情见'
...
...
src/layout/components/Navbar.vue
View file @
d55887d4
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
</ul>
</ul>
</li>
</li>
<!-- 消息三小列表 -->
<!-- 消息三小列表 -->
<li
<
!--
<
li
v-for=
"route in topRoutes.slice(-1)"
v-for=
"route in topRoutes.slice(-1)"
:key=
"route.meta.title"
:key=
"route.meta.title"
class=
"nav-item"
class=
"nav-item"
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
/>
/>
<span>
{{
route
.
meta
.
topTitle
}}
</span>
<span>
{{
route
.
meta
.
topTitle
}}
</span>
<el-badge
:value=
"2"
class=
"item"
/>
<el-badge
:value=
"2"
class=
"item"
/>
</li>
</li>
-->
</ul>
</ul>
<!--
<div
class=
"Mymessage"
>
<!--
<div
class=
"Mymessage"
>
<router-link
to=
"/message/index"
>
<router-link
to=
"/message/index"
>
...
...
src/views/customers/potential-customers/constant.js
View file @
d55887d4
import
dictionary
from
'@/api/dictionary
'
import
i18n
from
'@/lang
'
import
{
customer
}
from
'@/api/customers'
import
{
province
,
searchProduct
}
from
'@/api/customers'
// 潜在客户主列表配置
const
tableConfig
=
{
const
tableConfig
=
{
url
:
customer
.
searchUrl
,
url
:
province
.
searchUrl
,
initialParams
:
{
roleCode
:
'BUP002'
},
defaultColumns
:
{
defaultColumns
:
{
minWidth
:
120
,
minWidth
:
120
,
showOverflowTooltip
:
true
,
showOverflowTooltip
:
true
,
align
:
'center'
align
:
'center'
},
},
columns
:
{
searchColums
:
{
Name
:
{
Name
:
{
label
:
'客户名称'
,
label
:
'公司名称'
,
showInSearch
:
true
,
type
:
'input'
,
type
:
'input'
,
fixed
:
'left'
,
renderItem
:
(
h
,
scope
,
listeners
)
=>
{
renderItem
:
(
h
,
scope
,
listeners
)
=>
{
return
h
(
return
h
(
'el-button'
,
{
'el-button'
,
{
on
:
{
on
:
{
click
:
(
e
)
=>
listeners
.
handleCheck
(
scope
.
row
)
click
:
(
e
)
=>
listeners
.
handleDetails
(
scope
.
row
)
},
},
props
:
{
props
:
{
type
:
'text'
type
:
'text'
}
}
},
scope
.
row
.
ID
)
}
},
},
scope
.
row
.
Name
)
ExtProductGroup_SDK
:
{
label
:
'签约产品组'
,
showInSearch
:
true
,
type
:
'select'
,
fixed
:
'left'
,
isOptions
:
'true'
,
options
:
async
data
=>
{
const
res
=
await
searchProduct
({
code
:
'ExtProductGroup_SDK'
,
module
:
'Customer'
})
var
result
=
res
.
map
(
item
=>
{
return
{
text
:
item
.
content
,
value
:
item
.
keyword
}
})
return
result
},
},
showInSearch
:
true
},
},
Ext_CustomerType_KUT
:
{
label
:
'客户类型'
,
type
:
'select'
,
value
:
'Ext_CustomerType_KUTText'
,
showInSearch
:
true
,
options
:
dictionary
.
customerType
},
},
Ext_CustomerStatus_KUT
:
{
columns
:
{
label
:
'客户状态'
,
ExtCustomerID_SDK
:
{
type
:
'select'
,
label
:
'代理商编码'
,
value
:
'Ext_CustomerStatus_KUTText'
,
type
:
'input'
showInSearch
:
true
,
options
:
dictionary
.
customerStatus
},
},
Ext_CustomerMainContactName_KUT
:
{
Name
:
{
label
:
'
联系人
'
,
label
:
'
公司名称
'
,
type
:
'input'
type
:
'input'
},
},
Ext
_CustomerMainContactPhone_KUT
:
{
Ext
CorporateName_SDK
:
{
label
:
'
手机号码
'
,
label
:
'
法定人代表
'
,
type
:
'input'
type
:
'input'
},
},
Ext
_CustomerFollowUpDate_KUT
:
{
Ext
SocialUnifiedCreditCode_SDK
:
{
label
:
'
最后跟进
'
,
label
:
'
统一社会信用代码
'
,
type
:
'input'
type
:
'input'
},
},
Ext_CustomerForm_KUT
:
{
label
:
'来源'
,
CreationOn
:
{
value
:
'Ext_CustomerForm_KUTText
'
,
label
:
'注册时间
'
,
type
:
'input'
type
:
'input'
},
},
// Ext_QuoteOppotunity_KUT: {
// type: 'input',
// label: '代理商类型',
// showInSearch: true
// },
handle
:
{
handle
:
{
label
:
'操作'
,
label
:
'操作'
,
hideInFilter
:
true
,
fixed
:
'right'
,
fixed
:
'right'
,
minWidth
:
100
,
hideInFilter
:
true
,
renderItem
:
(
h
,
scope
,
listeners
)
=>
{
renderItem
:
(
h
,
scope
,
listeners
)
=>
{
return
h
(
'div'
,
{},
[
return
h
(
'div'
,
[
h
(
h
(
'el-button'
,
{
'el-button'
,
{
on
:
{
click
:
(
e
)
=>
listeners
.
handleEdit
(
scope
.
row
)
},
class
:
'el-icon-edit'
,
props
:
{
type
:
'text'
}
},
'编辑'
),
scope
.
row
.
Ext_CustomerStatus_KUTText
===
'草稿'
&&
h
(
'el-button'
,
{
on
:
{
on
:
{
click
:
(
e
)
=>
listeners
.
handleDelete
(
scope
.
row
)
click
:
(
e
)
=>
listeners
.
handleEdit
(
scope
.
row
,
'approve'
)
},
},
class
:
'el-icon-delete'
,
props
:
{
props
:
{
type
:
'text'
type
:
'text'
,
label
:
'审批'
}
}
},
},
i18n
.
t
(
'table.approve'
)),
'删除'
)
// h('el-button', {
// on: {
// click: (e) => listeners.handleTakeEffect(scope.row, 'takeEffect')
// },
// props: {
// icon: 'el-icon-circle-check',
// type: 'text'
// }
// }, i18n.t('table.takeEffect')),
// h('el-button', {
// on: {
// click: (e) => listeners.handleInvalid(scope.row, 'invalid')
// },
// props: {
// icon: 'el-icon-circle-check',
// type: 'text'
// }
// }, i18n.t('table.invalid'))
])
])
}
}
}
}
}
}
}
}
// 注销客户弹框配置
export
default
tableConfig
const
CancellationFormConfig
=
{
title
:
'注销原因'
,
createUrl
:
customer
.
updateUrl
,
labelPosition
:
'left'
,
submitBtnText
:
'确定'
,
span
:
22
,
formDesc
:
{
Ext_CustomerStatus_KUT
:
{
type
:
'input'
,
label
:
'客户状态'
,
default
:
'131'
,
vif
:
false
,
layout
:
24
},
Ext_CustomerCancellationReasons_KUT
:
{
type
:
'textarea'
,
label
:
'注销原因'
,
layout
:
24
}
}
}
// 激活客户弹框配置
const
ActivationFormConfig
=
{
title
:
'激活原因'
,
createUrl
:
customer
.
updateUrl
,
labelPosition
:
'left'
,
submitBtnText
:
'确定'
,
span
:
22
,
formDesc
:
{
Ext_CustomerStatus_KUT
:
{
type
:
'input'
,
label
:
'客户状态'
,
default
:
'111'
,
vif
:
false
,
layout
:
24
},
Ext_CustomerActivationReasons_KUT
:
{
type
:
'textarea'
,
label
:
'激活原因'
,
layout
:
24
}
}
}
// 移入资源池弹框配置
const
ResourcePoolFormConfig
=
{
title
:
'移入资源池'
,
createUrl
:
customer
.
toPoolUrl
,
labelPosition
:
'left'
,
submitBtnText
:
'确定'
,
span
:
22
,
formDesc
:
{
Ext_CustomerActivationReasons_KUT
:
{
type
:
'textarea'
,
label
:
'移入资源池原因'
,
layout
:
24
}
}
}
export
default
{
tableConfig
,
ActivationFormConfig
,
CancellationFormConfig
,
ResourcePoolFormConfig
}
src/views/customers/potential-customers/index.vue
View file @
d55887d4
<
template
>
<
template
>
<h3>
测试
</h3>
<div
class=
"app-container"
>
<ele-search
:columns=
"tableConfig.searchColums"
@
handleSearch=
"handleSearch"
@
handleReset=
"handleReset"
/>
<div
class=
"table-container"
>
<ele-table
ref=
"eleTable"
v-bind=
"tableConfig"
:expand-params=
"expandParams"
:listeners=
"tableListeners"
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
constant
from
'./constant'
import
tableMixin
from
'@/mixins/table'
export
default
{
export
default
{
mixins
:
[
tableMixin
],
inject
:
[
'reload'
],
data
()
{
return
{
expandParams
:
{},
// 筛选条件
tableListeners
:
{},
// 事件监听对象,供ele-table内部调用
tableConfig
:
constant
}
},
created
()
{
this
.
tableListeners
=
{
// handleDetails: this.handleDetails, // 添加
// handleTakeEffect: this.handleTakeEffect, // 生效
handleEdit
:
this
.
handleEdit
,
// 编辑
// handleInvalid: this.handleInvalid // 失效
}
},
methods
:
{
// 编辑
handleEdit
(
val
)
{
this
.
$router
.
push
({
path
:
'/customersAdd'
,
query
:{
id
:
val
.
ObjectID
}
})
},
}
}
}
</
script
>
</
script
>
<
style
>
<
style
>
</
style
>
</
style
>
src/views/dashboard/admin/components/SystemNotice.vue
View file @
d55887d4
...
@@ -32,7 +32,7 @@ export default {
...
@@ -32,7 +32,7 @@ export default {
}
}
},
},
created
()
{
created
()
{
this
.
getTableData
()
//
this.getTableData()
},
},
mounted
()
{
mounted
()
{
},
},
...
...
src/views/invoice/incoice-details/components/apply-invoice/constant.js
deleted
100644 → 0
View file @
f0bab561
const
applyConfig
=
{
defaultColumns
:
{
minWidth
:
120
,
showOverflowTooltip
:
true
,
align
:
'center'
},
columns
:
{
numberID
:
{
type
:
'input'
,
label
:
'序号'
},
GoodsORTaxableServicesName
:
{
type
:
'input'
,
label
:
'货物或应税劳务、服务名称'
},
SpecificationModel
:
{
type
:
'input'
,
label
:
'规格型号'
},
Unit
:
{
type
:
'input'
,
label
:
'单位'
},
Quantity
:
{
type
:
'input'
,
label
:
'数量'
},
UnitPrice
:
{
type
:
'input'
,
label
:
'单价'
},
Money
:
{
type
:
'input'
,
label
:
'金额'
},
TaxRate
:
{
type
:
'input'
,
label
:
'税率'
},
TaxAmount
:
{
type
:
'input'
,
label
:
'税额'
}
}
}
export
default
applyConfig
src/views/invoice/incoice-details/components/apply-invoice/index.vue
deleted
100644 → 0
View file @
f0bab561
<
template
>
<div
class=
"apply"
>
<Title
:title=
"apply"
/>
<ele-table
ref=
"eleTable"
v-bind=
"applyConfig"
/>
</div>
</
template
>
<
script
>
import
constant
from
'./constant'
import
Title
from
'@/components/Title'
export
default
{
components
:
{
Title
},
data
()
{
return
{
apply
:
'开票申请信息'
,
applyConfig
:
constant
}
}
}
</
script
>
<
style
>
</
style
>
src/views/invoice/incoice-details/components/list-invoice/constant.js
deleted
100644 → 0
View file @
f0bab561
const
tableConfig
=
{
defaultColumns
:
{
minWidth
:
120
,
showOverflowTooltip
:
true
,
align
:
'center'
},
columns
:
{
BillOfParcels
:
{
type
:
'input'
,
label
:
'订单行'
,
fixed
:
'left'
},
OrderID
:
{
type
:
'input'
,
label
:
'订单编号'
},
OrderType
:
{
type
:
'input'
,
label
:
'订单类型'
},
CustomerID
:
{
type
:
'input'
,
label
:
'客户编号'
},
CustomerName
:
{
type
:
'input'
,
label
:
'客户名称'
},
ReceiptPlace
:
{
type
:
'input'
,
label
:
'收获地点'
},
ShippingTime
:
{
type
:
'input'
,
label
:
'出货时间'
},
MaterialCode
:
{
type
:
'input'
,
label
:
'物料编码'
},
MaterialCodeDescription
:
{
type
:
'input'
,
label
:
'物料编码说明'
},
Quantity
:
{
type
:
'input'
,
label
:
'数量'
},
Unit
:
{
type
:
'input'
,
label
:
'单位'
},
UnitPrice
:
{
type
:
'input'
,
label
:
'单价'
},
Money
:
{
type
:
'input'
,
label
:
'金额'
},
InvoiceSource
:
{
type
:
'input'
,
label
:
'发票来源'
},
Currency
:
{
type
:
'input'
,
label
:
'币种'
},
ExchangeRate
:
{
type
:
'input'
,
label
:
'汇率'
},
IsInformationComplete
:
{
type
:
'input'
,
label
:
'资料是否齐全'
},
IsCustomsDeclaration
:
{
type
:
'input'
,
label
:
'是否有报关单'
},
CustomsDeclarationID
:
{
type
:
'input'
,
label
:
'报关单号'
},
CheckFeedback
:
{
type
:
'input'
,
label
:
'审核反馈'
},
TwiceCheckFeedback
:
{
type
:
'input'
,
label
:
'复核反馈'
},
ConfirmStatus
:
{
type
:
'input'
,
label
:
'状态'
},
handle
:
{
label
:
'操作'
,
fixed
:
'right'
,
minWidth
:
200
,
hideInFilter
:
true
,
renderItem
:
(
h
,
scope
,
listeners
)
=>
{
return
h
(
'div'
,
[
h
(
'el-button'
,
{
on
:
{
click
:
(
e
)
=>
listeners
.
handleEdit
(
scope
.
row
)
},
props
:
{
icon
:
'el-icon-success'
,
type
:
'text'
}
},
'通过'
),
h
(
'el-button'
,
{
on
:
{
click
:
(
e
)
=>
listeners
.
handleTakeEffect
(
scope
.
row
)
},
props
:
{
icon
:
'el-icon-error'
,
type
:
'text'
}
},
'未通过'
)
])
}
}
}
}
export
default
tableConfig
src/views/invoice/incoice-details/components/list-invoice/index.vue
deleted
100644 → 0
View file @
f0bab561
<
template
>
<div
class=
"list"
>
<Title
:title=
"list"
/>
<div
class=
"listHanle"
>
<div
class=
"listHanle_title"
>
<span><i
class=
"el-icon-pie-chart"
/>
行数:10
</span>
<span>
数量:1000
</span>
<span>
金额:1000
</span>
</div>
</div>
<ele-table
ref=
"eleTable"
v-bind=
"tableConfig"
/>
</div>
</
template
>
<
script
>
import
constant
from
'./constant'
import
Title
from
'@/components/Title'
export
default
{
components
:
{
Title
},
data
()
{
return
{
tableConfig
:
constant
,
list
:
'开票清单信息'
}
}
}
</
script
>
<
style
lang=
'scss'
scoped
>
.listHanle
{
height
:
60px
;
line-height
:
60px
;
.listHanle_title
{
float
:
right
;
span
{
padding-right
:
20px
;
}
}
}
</
style
>
src/views/invoice/incoice-details/components/remarks-invoice/constant.js
deleted
100644 → 0
View file @
f0bab561
const
formConfigNote
=
{
isShowBackBtn
:
false
,
isShowSubmitBtn
:
true
,
detailUrl
:
'/invoiceApply/getOne'
,
formDesc
:
{
SpecialInstructions
:
{
type
:
'input'
,
label
:
'特殊说明'
,
disabled
:
true
,
layout
:
12
},
ReferenceNote
:
{
type
:
'input'
,
label
:
'参考备注'
,
disabled
:
true
,
layout
:
12
},
ActualNote
:
{
type
:
'input'
,
label
:
'实际备注'
,
disabled
:
true
,
layout
:
12
}
}
}
export
default
formConfigNote
src/views/invoice/incoice-details/components/remarks-invoice/index.vue
deleted
100644 → 0
View file @
f0bab561
<
template
>
<div
class=
"remarks"
>
<Title
:title=
"remarks"
/>
<div
class=
"remarks-btn"
>
<div
class=
"addBtn"
>
<el-button
type=
"text"
@
click=
"handleAdd"
>
编辑
</el-button>
</div>
</div>
<detail-table
:table-config=
"formConfigNote"
:table-data=
"tableData"
/>
</div>
</
template
>
<
script
>
import
DetailTable
from
'@/components/DetailTable'
import
constant
from
'./constant'
import
Title
from
'@/components/Title'
import
{
invoiceApplyUpdate
,
invoiceApplyGetOne
}
from
'@/api/invoice'
export
default
{
components
:
{
DetailTable
,
Title
},
props
:
{
objectId
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
return
{
remarks
:
'特殊开票及备注说明'
,
formConfigNote
:
constant
,
tableData
:
{}
}
},
watch
:
{
objectId
:
{
handler
(
newVal
)
{
console
.
log
(
newVal
)
},
deep
:
true
,
immediate
:
true
}
},
methods
:
{
handleAdd
()
{
this
.
$prompt
(
'实际备注'
,
'编辑实际备注'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
}).
then
(({
value
})
=>
{
// console.log(value, this.objectId)
invoiceApplyUpdate
({
objectID
:
this
.
objectId
.
objectID
,
actualNote
:
value
}).
then
(
res
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'修改成功'
})
this
.
toUpdate
()
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'取消输入'
})
})
},
toUpdate
()
{
invoiceApplyGetOne
(
this
.
objectId
).
then
(
res
=>
{
console
.
log
(
res
.
results
[
0
])
this
.
tableData
=
res
.
results
[
0
]
})
}
}
}
</
script
>
<
style
lang=
'scss'
scoped
>
.remarks-btn
{
height
:
30px
;
line-height
:
30px
;
padding
:
0
20px
;
.addBtn
{
float
:
right
;
}
}
</
style
>
src/views/invoice/incoice-details/components/rise-invoice/constant.js
deleted
100644 → 0
View file @
f0bab561
const
formConfig
=
{
isShowBackBtn
:
false
,
isShowSubmitBtn
:
true
,
detailUrl
:
'/invoiceApply/getOne'
,
formDesc
:
{
CustomerName
:
{
type
:
'input'
,
label
:
'客户名称'
,
disabled
:
true
,
layout
:
12
},
DetailedAddress
:
{
type
:
'input'
,
label
:
'地址'
,
disabled
:
true
,
layout
:
12
},
TaxpayerIdentificationNumber
:
{
type
:
'input'
,
label
:
'纳税人识别号'
,
disabled
:
true
,
layout
:
12
},
DepositBank
:
{
type
:
'input'
,
layout
:
12
,
label
:
'开户行'
},
BankNumber
:
{
type
:
'input'
,
label
:
'账户'
,
disabled
:
true
,
layout
:
12
},
Phone
:
{
type
:
'input'
,
label
:
'电话'
,
disabled
:
true
,
layout
:
12
},
BillingType
:
{
type
:
'input'
,
label
:
'开票类型'
,
disabled
:
true
,
layout
:
12
},
Currency
:
{
type
:
'input'
,
label
:
'币种'
,
disabled
:
true
,
layout
:
12
}
}
}
export
default
formConfig
src/views/invoice/incoice-details/components/rise-invoice/index.vue
deleted
100644 → 0
View file @
f0bab561
<
template
>
<div
class=
"rise"
>
<Title
:title=
"rise"
/>
<detail-table
:table-config=
"formConfig"
:table-data=
"tableData"
/>
</div>
</
template
>
<
script
>
import
DetailTable
from
'@/components/DetailTable'
import
constant
from
'./constant'
import
Title
from
'@/components/Title'
export
default
{
components
:
{
DetailTable
,
Title
},
props
:
{
objectId
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
return
{
formConfig
:
constant
,
rise
:
'客户抬头信息'
,
tableData
:
{}
}
}
}
</
script
>
<
style
>
</
style
>
src/views/invoice/incoice-details/index.vue
deleted
100644 → 0
View file @
f0bab561
<
template
>
<div
v-loading=
"loading"
class=
"app-container"
>
<div
class=
"detail-header-container"
>
<div
class=
"detail-header-title"
>
<h3>
深圳市深蓝集团
</h3>
<div
class=
"detail-header-info"
>
<div>
<i
class=
"el-icon-c-scale-to-original"
/>
<span>
申请编码:
{{
tableData
.
ID
}}
</span>
</div>
<div>
<i
class=
"el-icon-c-scale-to-original"
/>
<span>
申请状态:
{{
tableData
.
Ext_QuoteStatus_KUT
}}
</span>
</div>
</div>
</div>
<div
class=
"detail-header-info"
>
<div><span>
申请总金额:
{{
tableData
.
RequisitionTotalAmount
}}
</span></div>
<div><span>
申请人:
{{
tableData
.
RequisitionPerson
}}
</span></div>
<div><span>
开票时间:
{{
tableData
.
BillingTime
}}
</span></div>
<div><span>
是否同步ERP:
{{
tableData
.
IsToERP
?
'是'
:
'否'
}}
</span></div>
<div><span>
同步状态:
{{
tableData
.
CreationDateTime
?
'同步成功'
:
'同步失败'
}}
</span></div>
</div>
</div>
<div
class=
"detail-content-container"
>
<Remarks
:object-id=
"objectID"
/>
<Rise
/>
<Apply
:object-id=
"objectID"
/>
<List
:object-id=
"objectID"
/>
<div
class=
"floor-btn"
>
<div
class=
"btn"
>
<el-button
type=
"primary"
size=
"medium"
>
<i
class=
"el-icon-error"
/>
不同意开票
</el-button>
<el-button
type=
"primary"
size=
"medium"
>
<i
class=
"el-icon-success"
/>
同意开票
</el-button>
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
invoiceApplyGetOne
}
from
'@/api/invoice'
import
Remarks
from
'./components/remarks-invoice/index'
import
Rise
from
'./components/rise-invoice/index'
import
Apply
from
'./components/apply-invoice/index'
import
List
from
'./components/list-invoice/index'
export
default
{
components
:
{
Remarks
,
Rise
,
Apply
,
List
},
data
()
{
return
{
tableData
:
{},
objectID
:
''
,
loading
:
false
}
},
created
()
{
this
.
getTableData
()
},
methods
:
{
getTableData
()
{
this
.
objectID
=
this
.
$route
.
query
this
.
loading
=
true
invoiceApplyGetOne
(
this
.
objectID
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
tableData
=
res
.
results
[
0
]
this
.
loading
=
false
})
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
::v-deep
.apply
.el-table--border
{
margin-top
:
40px
;
}
.listHanle
{
height
:
60px
;
line-height
:
60px
;
.listHanle_title
{
float
:
right
;
span
{
padding-right
:
20px
;
}
}
}
.floor-btn
{
height
:
200px
;
line-height
:
200px
;
.btn
{
float
:
right
;
}
}
.remarks-btn
{
height
:
30px
;
line-height
:
30px
;
padding
:
0
20px
;
.addBtn
{
float
:
right
;
}
}
</
style
>
src/views/invoice/invoice-list/constant.js
deleted
100644 → 0
View file @
f0bab561
import
{
billingMessage
}
from
'@/api/invoice'
const
tableConfig
=
{
url
:
billingMessage
.
searchUrl
,
defaultColumns
:
{
minWidth
:
120
,
showOverflowTooltip
:
true
,
align
:
'center'
},
columns
:
{
InvoiceNo
:
{
type
:
'input'
,
showInSearch
:
true
,
fixed
:
'left'
,
label
:
'发票号码'
},
InvoicingRequisitionNo
:
{
type
:
'input'
,
label
:
'申请单号'
},
InvoiceCode
:
{
type
:
'input'
,
label
:
'发票代码'
},
InvoiceType
:
{
type
:
'input'
,
showInSearch
:
true
,
label
:
'发票类型'
},
InvoiceAmount
:
{
type
:
'input'
,
label
:
'发票金额'
},
BillingTime
:
{
type
:
'input'
,
label
:
'开票时间'
},
SignStatus
:
{
type
:
'input'
,
label
:
'开票状态'
},
SignTime
:
{
type
:
'input'
,
label
:
'签收时间'
},
SignBack
:
{
type
:
'input'
,
label
:
'签收回执'
},
CourierCompany
:
{
type
:
'input'
,
label
:
'快递公司'
},
CourierNumber
:
{
type
:
'input'
,
label
:
'快递单号'
},
handle
:
{
label
:
'操作'
,
fixed
:
'right'
,
minWidth
:
200
,
hideInFilter
:
true
,
renderItem
:
(
h
,
scope
,
listeners
)
=>
{
return
h
(
'div'
,
[
h
(
'el-button'
,
{
on
:
{
click
:
(
e
)
=>
listeners
.
enterInvoice
(
scope
.
row
,
'录入发票'
)
},
props
:
{
icon
:
'el-icon-full-screen'
,
type
:
'text'
}
},
'录入发票'
),
h
(
'el-button'
,
{
on
:
{
click
:
(
e
)
=>
listeners
.
uploadReceipt
(
scope
.
row
,
'上传回执'
)
},
props
:
{
icon
:
'el-icon-circle-check'
,
type
:
'text'
}
},
'上传回执'
)
])
}
}
}
}
export
default
tableConfig
src/views/invoice/invoice-list/index.vue
deleted
100644 → 0
View file @
f0bab561
<
template
>
<div
class=
"app-container"
>
<ele-search
:columns=
"tableConfig.columns"
@
handleSearch=
"handleSearch"
@
handleReset=
"handleReset"
@
handleFilter=
"handleFilter"
/>
<div
class=
"table-container"
>
<TableBtns>
<template
v-slot:left
>
<el-button
type=
"primary"
icon=
"el-icon-success"
@
click=
"confirmReceipt"
>
确认收票
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-edit-outline"
@
click=
"fillLogistics"
>
填写物流
</el-button>
</
template
>
</TableBtns>
<ele-table
ref=
"eleTable"
v-bind=
"tableConfig"
:expand-params=
"expandParams"
:listeners=
"tableListeners"
@
handleSelectionChange=
"handleSelectionChange"
/>
</div>
</div>
</template>
<
script
>
import
constant
from
'./constant'
import
tableMixin
from
'@/mixins/table'
import
{
billingMessageUpdate
}
from
'@/api/invoice'
export
default
{
mixins
:
[
tableMixin
],
data
()
{
return
{
expandParams
:
{},
// 筛选条件
tableListeners
:
{},
// 事件监听对象,供ele-table内部调用
tableConfig
:
constant
,
selection
:
[]
}
},
created
()
{
this
.
tableListeners
=
{
enterInvoice
:
this
.
enterInvoice
,
// 录入发票
uploadReceipt
:
this
.
uploadReceipt
// 上传回执
}
},
methods
:
{
// 录入发票
enterInvoice
(
row
)
{
console
.
log
(
'录入发票'
,
row
)
},
// 上传回执
uploadReceipt
(
row
)
{
console
.
log
(
'上传回执'
,
row
)
},
handleSelectionChange
(
selection
)
{
console
.
log
(
selection
)
this
.
selection
=
selection
},
confirmReceipt
()
{
console
.
log
(
this
.
selection
)
if
(
this
.
selection
.
length
===
0
)
{
this
.
$message
({
type
:
'warning'
,
message
:
'请选择需要收票的发票'
})
}
else
{
this
.
$confirm
(
' 是否确定签收发票?'
,
'确定提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
billingMessageUpdate
(
this
.
selection
).
then
(
res
=>
{
this
.
$message
({
type
:
'success'
,
message
:
'签收成功!'
})
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
})
})
}
},
fillLogistics
()
{
console
.
log
(
'确认物流'
)
}
}
}
</
script
>
<
style
>
</
style
>
src/views/invoice/invoice-overview/index.vue
deleted
100644 → 0
View file @
f0bab561
<
template
>
<div>
<h2>
发票总览
</h2>
</div>
</
template
>
<
script
>
export
default
{
}
</
script
>
<
style
>
</
style
>
src/views/invoice/invoicing-list/constant.js
deleted
100644 → 0
View file @
f0bab561
// import { invoiceApply } from '@/api/invoice'
const
tableConfig
=
{
// url: invoiceApply.billingMessageSearchUrl,
defaultColumns
:
{
minWidth
:
120
,
showOverflowTooltip
:
true
,
align
:
'center'
},
columns
:
{
BillOfParcels
:
{
type
:
'input'
,
fixed
:
'left'
,
label
:
'订单行'
},
OrderID
:
{
type
:
'input'
,
showInSearch
:
true
,
label
:
'订单编号'
},
OrderType
:
{
type
:
'input'
,
label
:
'订单类型'
},
InvoicingRequisitionNo
:
{
type
:
'input'
,
label
:
'开票申请单号'
},
CustomerID
:
{
type
:
'input'
,
label
:
'客户编号'
},
CustomerName
:
{
type
:
'input'
,
showInSearch
:
true
,
label
:
'客户名称'
},
ReceiptPlace
:
{
type
:
'input'
,
label
:
'收货地点'
},
ShippingTime
:
{
type
:
'input'
,
label
:
'出货时间'
},
MaterialCode
:
{
type
:
'input'
,
label
:
'物料编码'
},
MaterialCodeDescription
:
{
type
:
'input'
,
label
:
'物料编码说明'
},
Quantity
:
{
type
:
'input'
,
label
:
'数量'
},
Unit
:
{
type
:
'input'
,
label
:
'单位'
},
UnitPrice
:
{
type
:
'input'
,
label
:
'单价'
},
Money
:
{
type
:
'input'
,
label
:
'金额'
},
InvoiceSource
:
{
type
:
'input'
,
label
:
'发票来源'
},
Currency
:
{
type
:
'input'
,
label
:
'币种'
},
ExchangeRate
:
{
type
:
'input'
,
label
:
'汇率'
},
// InvoiceCode: {
// type: 'input',
// label: '发票代码'
// },
InvoiceNo
:
{
type
:
'input'
,
label
:
'发票号码'
},
IsInformationComplete
:
{
type
:
'input'
,
label
:
'资料是否齐全'
},
IsEmbedded
:
{
type
:
'input'
,
label
:
'是否嵌入式'
},
IsCustomsDeclaration
:
{
type
:
'input'
,
label
:
'是否有报关单'
},
CustomsDeclarationID
:
{
type
:
'input'
,
label
:
'报关单号'
},
CheckFeedback
:
{
type
:
'input'
,
label
:
'审核反馈'
},
ConfirmStatus
:
{
type
:
'input'
,
label
:
'确认状态'
},
SignStatus
:
{
type
:
'input'
,
label
:
'状态'
,
fixed
:
'right'
}
}
}
export
default
tableConfig
src/views/invoice/invoicing-list/index.vue
deleted
100644 → 0
View file @
f0bab561
<
template
>
<div
class=
"app-container"
>
<ele-search
:columns=
"tableConfig.columns"
@
handleSearch=
"handleSearch"
@
handleReset=
"handleReset"
@
handleFilter=
"handleFilter"
/>
<div
class=
"table-container"
>
<TableBtns>
<template
v-slot:left
>
<el-button
type=
"primary"
icon=
"el-icon-success"
size=
"medium"
@
click=
"handleAdd"
>
开票申请
</el-button>
</
template
>
</TableBtns>
<ele-table
ref=
"eleTable"
v-bind=
"tableConfig"
:expand-params=
"expandParams"
:listeners=
"tableListeners"
@
handleSelectionChange=
"handleSelectionChange"
/>
</div>
</div>
</template>
<
script
>
import
constant
from
'./constant'
import
tableMixin
from
'@/mixins/table'
export
default
{
mixins
:
[
tableMixin
],
data
()
{
return
{
expandParams
:
{},
// 筛选条件
tableListeners
:
{},
// 事件监听对象,供ele-table内部调用
tableConfig
:
constant
}
},
created
()
{
this
.
tableListeners
=
{
handleDetails
:
this
.
handleDetails
,
// 添加
handleTakeEffect
:
this
.
handleTakeEffect
,
// 生效
handleEdit
:
this
.
handleEdit
// 编辑
}
},
methods
:
{
// 新增报价,报价申请
handleAdd
()
{
},
// 报价编辑
handleEdit
(
row
)
{
console
.
log
(
'编辑页面'
,
row
)
},
// 报价单详情页
handleDetails
(
row
)
{
console
.
log
(
row
)
},
// 报价单生效
handleTakeEffect
()
{
console
.
log
(
'生效'
)
},
handleSelectionChange
(
selection
)
{
console
.
log
(
selection
)
this
.
selection
=
selection
}
}
}
</
script
>
<
style
>
</
style
>
src/views/invoice/invoicing-requisition/constant.js
deleted
100644 → 0
View file @
f0bab561
import
{
invoiceApply
}
from
'@/api/invoice'
const
tableConfig
=
{
url
:
invoiceApply
.
searchUrl
,
defaultColumns
:
{
minWidth
:
120
,
showOverflowTooltip
:
true
,
align
:
'center'
},
columns
:
{
InvoicingRequisitionNo
:
{
type
:
'input'
,
label
:
'申请单号'
,
showInSearch
:
true
,
fixed
:
'left'
},
RequisitionType
:
{
type
:
'input'
,
label
:
'申请类型'
},
SignStatusText
:
{
type
:
'input'
,
label
:
'开票状态'
,
showInSearch
:
true
},
RequisitionTotalAmount
:
{
type
:
'input'
,
label
:
'申请总金额'
},
CustomerName
:
{
type
:
'input'
,
label
:
'客户名称'
,
showInSearch
:
true
},
CreateName
:
{
type
:
'input'
,
label
:
'申请人'
},
CreateOn
:
{
type
:
'input'
,
label
:
'申请时间'
},
ReferenceNote
:
{
type
:
'input'
,
label
:
'参考备注'
},
ActualNote
:
{
type
:
'input'
,
label
:
'实际备注'
},
DisagreementReasons
:
{
type
:
'input'
,
label
:
'不同意原因'
},
TwiceCheckNoPastReasons
:
{
type
:
'input'
,
label
:
'复核未通过原因'
},
IsToERP
:
{
type
:
'input'
,
label
:
'是否同步ERP'
},
Total_invoice_price
:
{
label
:
'操作'
,
fixed
:
'right'
,
minWidth
:
200
,
hideInFilter
:
true
,
renderItem
:
(
h
,
scope
,
listeners
)
=>
{
return
h
(
'div'
,
[
h
(
'el-button'
,
{
on
:
{
click
:
(
e
)
=>
listeners
.
handleDetails
(
scope
.
row
)
},
props
:
{
icon
:
'el-icon-d-arrow-right'
,
type
:
'text'
}
},
'详情'
)
])
}
}
}
}
export
default
tableConfig
src/views/invoice/invoicing-requisition/index.vue
deleted
100644 → 0
View file @
f0bab561
<
template
>
<div
class=
"app-container"
>
<ele-search
:columns=
"tableConfig.columns"
@
handleSearch=
"handleSearch"
@
handleReset=
"handleReset"
@
handleFilter=
"handleFilter"
/>
<div
class=
"table-container"
>
<TableBtns>
<template
v-slot:left
>
<el-button
icon=
"el-icon-upload2"
@
click=
"handleAdd"
>
导出申请
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-sort"
@
click=
"handleSynchronization"
>
ERP同步
</el-button>
</
template
>
</TableBtns>
<ele-table
ref=
"eleTable"
v-bind=
"tableConfig"
:expand-params=
"expandParams"
:listeners=
"tableListeners"
@
handleSelectionChange=
"handleSelectionChange"
/>
</div>
</div>
</template>
<
script
>
import
constant
from
'./constant'
import
tableMixin
from
'@/mixins/table'
export
default
{
mixins
:
[
tableMixin
],
data
()
{
return
{
expandParams
:
{},
// 筛选条件
tableListeners
:
{},
// 事件监听对象,供ele-table内部调用
tableConfig
:
constant
}
},
created
()
{
this
.
tableListeners
=
{
handleDetails
:
this
.
handleDetails
// 详情
}
},
methods
:
{
// 详情页
handleDetails
(
row
)
{
console
.
log
(
row
)
this
.
$router
.
push
({
path
:
'/invoiceDetails'
,
query
:
{
objectID
:
row
.
ObjectID
}
})
},
handleSelectionChange
(
selection
)
{
console
.
log
(
selection
)
this
.
selection
=
selection
}
}
}
</
script
>
<
style
>
</
style
>
src/views/invoice/review/index.vue
deleted
100644 → 0
View file @
f0bab561
<
template
>
<h2>
复刻
</h2>
</
template
>
<
script
>
export
default
{
}
</
script
>
<
style
>
</
style
>
src/views/login/city-register/index.vue
View file @
d55887d4
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
:offset=
"1"
:offset=
"1"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"省份:"
<el-form-item
label=
"省份:"
prop=
"extProvince
Nam
e_SDK"
prop=
"extProvince
Cod
e_SDK"
label-width=
"80px"
label-width=
"80px"
>
>
<el-select
v-model=
"formData.extProvinceCode_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择省份"
no-match-text=
"无匹配数据"
@
change=
"handleSelect"
>
<el-select
v-model=
"formData.extProvinceCode_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择省份"
no-match-text=
"无匹配数据"
@
change=
"handleSelect"
>
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
<el-col
:span=
"7"
<el-col
:span=
"7"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"市:"
<el-form-item
label=
"市:"
prop=
"extCity
Nam
e_SDK"
prop=
"extCity
Cod
e_SDK"
label-width=
"80px"
label-width=
"80px"
required
>
required
>
<el-select
v-model=
"formData.extCityCode_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择市"
@
change=
"handleSelectCity"
>
<el-select
v-model=
"formData.extCityCode_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择市"
@
change=
"handleSelectCity"
>
...
@@ -131,7 +131,7 @@
...
@@ -131,7 +131,7 @@
<el-col
:span=
"7"
<el-col
:span=
"7"
class=
"padding-bottom"
>
class=
"padding-bottom"
>
<el-form-item
label=
"区:"
<el-form-item
label=
"区:"
prop=
"extDistrict
Nam
e_SDK"
prop=
"extDistrict
Cod
e_SDK"
label-width=
"80px"
label-width=
"80px"
required
>
required
>
<el-select
v-model=
"formData.extDistrictCode_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择区"
no-match-text=
"无匹配数据"
>
<el-select
v-model=
"formData.extDistrictCode_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择区"
no-match-text=
"无匹配数据"
>
...
@@ -320,8 +320,8 @@
...
@@ -320,8 +320,8 @@
label=
"社会统一信用代码"
>
label=
"社会统一信用代码"
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"
page.
TotalRecords>0"
<pagination
v-show=
"TotalRecords>0"
:total=
"
page.
TotalRecords"
:total=
"TotalRecords"
:page
.
sync=
"page.currentPage"
:page
.
sync=
"page.currentPage"
:limit
.
sync=
"page.pageSize"
:limit
.
sync=
"page.pageSize"
@
pagination=
"getList"
/>
@
pagination=
"getList"
/>
...
@@ -351,7 +351,7 @@ export default {
...
@@ -351,7 +351,7 @@ export default {
countryArea
:
''
,
countryArea
:
''
,
title
:
'城市代理商注册'
,
title
:
'城市代理商注册'
,
loading
:
false
,
loading
:
false
,
formInline
:
[]
,
formInline
:
{}
,
recordList
:
[],
recordList
:
[],
tableData
:
[],
tableData
:
[],
fileList
:[],
fileList
:[],
...
@@ -363,9 +363,9 @@ export default {
...
@@ -363,9 +363,9 @@ export default {
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
extRegisteredCapital_SDK
:
[{
required
:
true
,
message
:
'请输入注册资本(万元)'
,
trigger
:
'blur'
}],
extRegisteredCapital_SDK
:
[{
required
:
true
,
message
:
'请输入注册资本(万元)'
,
trigger
:
'blur'
}],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
extProvince
Nam
e_SDK
:
[{
required
:
true
,
message
:
'请选择省份'
,
trigger
:
'blur'
}],
extProvince
Cod
e_SDK
:
[{
required
:
true
,
message
:
'请选择省份'
,
trigger
:
'blur'
}],
extCity
Nam
e_SDK
:
[{
required
:
true
,
message
:
'请选择市'
,
trigger
:
'blur'
}],
extCity
Cod
e_SDK
:
[{
required
:
true
,
message
:
'请选择市'
,
trigger
:
'blur'
}],
extDistrict
Nam
e_SDK
:
[{
required
:
true
,
message
:
'请选择区'
,
trigger
:
'blur'
}],
extDistrict
Cod
e_SDK
:
[{
required
:
true
,
message
:
'请选择区'
,
trigger
:
'blur'
}],
extAddressDetail_SDK
:
[{
required
:
true
,
message
:
'请输入详细经营地址'
,
trigger
:
'blur'
}],
extAddressDetail_SDK
:
[{
required
:
true
,
message
:
'请输入详细经营地址'
,
trigger
:
'blur'
}],
extLeader_SDK
:
[{
required
:
true
,
message
:
'请输入公司负责人姓名'
,
trigger
:
'blur'
}],
extLeader_SDK
:
[{
required
:
true
,
message
:
'请输入公司负责人姓名'
,
trigger
:
'blur'
}],
extLeaderPhone_SDK
:
[{
required
:
true
,
message
:
'请输入公司负责人联系电话'
,
trigger
:
'blur'
}],
extLeaderPhone_SDK
:
[{
required
:
true
,
message
:
'请输入公司负责人联系电话'
,
trigger
:
'blur'
}],
...
@@ -375,9 +375,11 @@ export default {
...
@@ -375,9 +375,11 @@ export default {
extUnisEmail_SDK
:
[{
required
:
true
,
message
:
'请输入Unis业务负责人邮箱'
,
trigger
:
'blur'
}],
extUnisEmail_SDK
:
[{
required
:
true
,
message
:
'请输入Unis业务负责人邮箱'
,
trigger
:
'blur'
}],
},
},
dialogTableVisible
:
false
,
dialogTableVisible
:
false
,
TotalRecords
:
0
,
page
:
{
page
:
{
currentPage
:
0
,
currentPage
:
0
,
pageSize
:
0
pageSize
:
0
,
}
}
}
}
...
@@ -394,6 +396,7 @@ export default {
...
@@ -394,6 +396,7 @@ export default {
this
.
$request
(
Qcc
.
searchUrl
,
this
.
page
).
then
((
resp
)
=>
{
this
.
$request
(
Qcc
.
searchUrl
,
this
.
page
).
then
((
resp
)
=>
{
this
.
tableData
=
resp
.
results
.
Result
this
.
tableData
=
resp
.
results
.
Result
this
.
page
=
resp
.
results
.
Paging
this
.
page
=
resp
.
results
.
Paging
this
.
TotalRecords
=
resp
.
results
.
Paging
.
TotalRecords
})
})
},
},
selectCountry
(){
selectCountry
(){
...
...
src/views/login/prov-register/index.vue
View file @
d55887d4
...
@@ -288,7 +288,7 @@
...
@@ -288,7 +288,7 @@
</el-col>
</el-col>
<el-col
:span=
"12"
class=
"padding-bottom"
>
<el-col
:span=
"12"
class=
"padding-bottom"
>
<el-form-item
label=
"签约产品组:"
prop=
"ExtProductGroup_SDK"
label-width=
"120px"
>
<el-form-item
label=
"签约产品组:"
prop=
"ExtProductGroup_SDK"
label-width=
"120px"
>
<el-select
v-model=
"formData.ExtProductGroup_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-select
v-model=
"formData.ExtProductGroup_SDK"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-option
<el-option
v-for=
"item in bOptions"
v-for=
"item in bOptions"
:key=
"item.id"
:key=
"item.id"
...
@@ -300,7 +300,7 @@
...
@@ -300,7 +300,7 @@
</el-col>
</el-col>
<el-col
:span=
"11"
:offset=
"1"
class=
"padding-bottom"
>
<el-col
:span=
"11"
:offset=
"1"
class=
"padding-bottom"
>
<el-form-item
label=
"签约总代:"
prop=
"extTotalAgent_SDK"
label-width=
"100px"
>
<el-form-item
label=
"签约总代:"
prop=
"extTotalAgent_SDK"
label-width=
"100px"
>
<el-select
v-model=
"formData.extTotalAgent_SDK"
style=
"width: 91%"
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-select
v-model=
"formData.extTotalAgent_SDK"
style=
"width: 91%"
multiple
filterable
placeholder=
"请选择"
no-match-text=
"无匹配数据"
>
<el-option
<el-option
v-for=
"item in cOptions"
v-for=
"item in cOptions"
:key=
"item.id"
:key=
"item.id"
...
@@ -329,11 +329,7 @@
...
@@ -329,11 +329,7 @@
action=
"https://jsonplaceholder.typicode.com/posts/"
action=
"https://jsonplaceholder.typicode.com/posts/"
:limit=
'1'
:limit=
'1'
:auto-upload=
"false"
:auto-upload=
"false"
:before-upload=
"beforeUploadFile"
:on-change=
"fileChange"
:on-change=
"fileChange"
:on-exceed=
"exceedFile"
:on-success=
"handleSuccess"
:on-error=
"handleError"
:file-list=
"fileList"
>
:file-list=
"fileList"
>
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
</el-upload>
</el-upload>
...
@@ -383,8 +379,8 @@
...
@@ -383,8 +379,8 @@
label=
"社会统一信用代码"
>
label=
"社会统一信用代码"
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"
page.
TotalRecords>0"
<pagination
v-show=
"TotalRecords>0"
:total=
"
page.
TotalRecords"
:total=
"TotalRecords"
:page
.
sync=
"page.currentPage"
:page
.
sync=
"page.currentPage"
:limit
.
sync=
"page.pageSize"
:limit
.
sync=
"page.pageSize"
@
pagination=
"getList"
/>
@
pagination=
"getList"
/>
...
@@ -409,7 +405,7 @@ export default {
...
@@ -409,7 +405,7 @@ export default {
inputEnter
:
false
,
inputEnter
:
false
,
countryArea
:
''
,
countryArea
:
''
,
loading
:
false
,
loading
:
false
,
formInline
:
[]
,
formInline
:
{}
,
recordList
:
[],
recordList
:
[],
tableData
:
[],
tableData
:
[],
fileList
:[],
fileList
:[],
...
@@ -420,7 +416,7 @@ export default {
...
@@ -420,7 +416,7 @@ export default {
bOptions
:[],
bOptions
:[],
cOptions
:[],
cOptions
:[],
supplierBaseRules
:
{
supplierBaseRules
:
{
Name
:
[{
required
:
true
,
message
:
'请选择公司名称'
,
trigger
:
'blur'
}],
Name
:
[{
required
:
true
,
message
:
'请选择公司名称'
,
trigger
:
[
'change'
,
'blur'
]
}],
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
extSocialUnifiedCreditCode_SDK
:
[{
required
:
true
,
message
:
'请输入统一社会信用代码'
,
trigger
:
'blur'
}],
extRegisteredCapital_SDK
:
[{
required
:
true
,
message
:
'请输入注册资本(万元)'
,
trigger
:
'blur'
}],
extRegisteredCapital_SDK
:
[{
required
:
true
,
message
:
'请输入注册资本(万元)'
,
trigger
:
'blur'
}],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
extCorporateName_SDK
:
[{
required
:
true
,
message
:
'请输入法人'
,
trigger
:
'blur'
}],
...
@@ -442,6 +438,7 @@ export default {
...
@@ -442,6 +438,7 @@ export default {
extTotalAgent_SDK
:
[{
required
:
true
,
message
:
'请选择签约总代'
,
trigger
:
'blur'
}],
extTotalAgent_SDK
:
[{
required
:
true
,
message
:
'请选择签约总代'
,
trigger
:
'blur'
}],
},
},
dialogTableVisible
:
false
,
dialogTableVisible
:
false
,
TotalRecords
:
0
,
page
:
{
page
:
{
currentPage
:
0
,
currentPage
:
0
,
pageSize
:
0
pageSize
:
0
...
@@ -451,6 +448,11 @@ export default {
...
@@ -451,6 +448,11 @@ export default {
},
},
watch
:
{
watch
:
{
},
computed
:{
visitedViews
()
{
return
this
.
$store
.
state
.
tagsView
.
visitedViews
},
},
},
created
()
{
created
()
{
this
.
selectCountry
()
this
.
selectCountry
()
...
@@ -462,6 +464,7 @@ export default {
...
@@ -462,6 +464,7 @@ export default {
this
.
$request
(
Qcc
.
searchUrl
,
this
.
page
).
then
((
resp
)
=>
{
this
.
$request
(
Qcc
.
searchUrl
,
this
.
page
).
then
((
resp
)
=>
{
this
.
tableData
=
resp
.
results
.
Result
this
.
tableData
=
resp
.
results
.
Result
this
.
page
=
resp
.
results
.
Paging
this
.
page
=
resp
.
results
.
Paging
this
.
TotalRecords
=
resp
.
results
.
Paging
.
TotalRecords
})
})
},
},
selectCountry
(){
selectCountry
(){
...
@@ -517,10 +520,23 @@ export default {
...
@@ -517,10 +520,23 @@ export default {
// return false;
// return false;
// }
// }
// });
// });
this
.
formData
.
ExtCustomerType_SDK
=
101
this
.
formData
.
ExtCustomerType_SDK
=
101
this
.
$request
(
Customer
.
searchUrl
,
this
.
paramsToFormData
(
this
.
formData
)).
then
((
resp
)
=>
{
this
.
$request
(
Customer
.
searchUrl
,
this
.
paramsToFormData
(
this
.
formData
)).
then
((
resp
)
=>
{
this
.
$message
.
success
(
'提交成功!'
)
this
.
$message
.
success
(
'提交成功!'
)
window
.
close
();
// this.handleClickGoBack()
})
},
handleClickGoBack
()
{
// const visitedViews = this.$store.state.tagsView.visitedViews
// const path = this.$route.path
// visitedViews.forEach(function(item, index) {
// if (item.path == path) {
// visitedViews.splice(index, 1)
// }
// })
this
.
$store
.
dispatch
(
'tagsView/delView'
,
this
.
visitedViews
).
then
((
visitedViews
)
=>
{
this
.
$router
.
back
()
})
})
},
},
paramsToFormData
(
obj
)
{
paramsToFormData
(
obj
)
{
...
@@ -537,7 +553,7 @@ export default {
...
@@ -537,7 +553,7 @@ export default {
return
formData
;
return
formData
;
},
},
reSet
()
{
reSet
()
{
formInline
.
Name
=
''
this
.
formInline
.
Name
=
''
},
},
handleClose
()
{
handleClose
()
{
this
.
dialogTableVisible
=
false
this
.
dialogTableVisible
=
false
...
...
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