Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
6e3467db
Commit
6e3467db
authored
Sep 03, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
41f396ad
fdc43df0
Changes
17
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
997 additions
and
805 deletions
+997
-805
financial.js
src/api/ecw/financial.js
+12
-12
order.js
src/api/ecw/order.js
+8
-1
index.vue
src/components/DictSelector/index.vue
+1
-1
detail.vue
src/views/bpm/processInstance/detail.vue
+5
-0
query.vue
src/views/ecw/customer/query.vue
+28
-0
index.vue
src/views/ecw/customerCommissionInfo/index.vue
+209
-211
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+312
-184
openInvoice.vue
src/views/ecw/financial/openInvoice.vue
+122
-13
printVoucher.vue
src/views/ecw/financial/printVoucher.vue
+10
-9
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+193
-126
voucher.vue
src/views/ecw/financial/voucher.vue
+17
-12
associatedOrder.vue
src/views/ecw/order/associatedOrder.vue
+9
-3
warehouseDetails.vue
src/views/ecw/order/components/warehouseDetails.vue
+19
-1
mutexOrder.vue
src/views/ecw/order/mutexOrder.vue
+9
-2
transferWarehousing.vue
src/views/ecw/order/transferWarehousing.vue
+24
-9
index.vue
src/views/member/user/index.vue
+13
-4
underReview.vue
src/views/member/user/underReview.vue
+6
-217
No files found.
src/api/ecw/financial.js
View file @
6e3467db
...
...
@@ -46,20 +46,20 @@ export function getReceiptList(query) {
}
// 核销收款单
export
function
receiptVerification
(
id
)
{
return
request
({
url
:
'
/ecw/receipt/verification/
'
+
id
,
method
:
'
GET
'
})
}
//
export function receiptVerification(id) {
//
return request({
//
url: '/ecw/receipt/verification/' + id,
//
method: 'GET'
//
})
//
}
// 反核销收款单
export
function
receiptVerificationCancel
(
id
)
{
return
request
({
url
:
'
/ecw/receipt/verificationCancel/
'
+
id
,
method
:
'
GET
'
})
}
//
export function receiptVerificationCancel(id) {
//
return request({
//
url: '/ecw/receipt/verificationCancel/' + id,
//
method: 'GET'
//
})
//
}
// 获取收款单详情
export
function
getReceiptInfoByIds
(
query
)
{
...
...
src/api/ecw/order.js
View file @
6e3467db
...
...
@@ -163,7 +163,7 @@ export function orderWarehouseIn(data){
})
}
// 入仓
// 入仓
修改
export
function
orderWarehouseInUpdateApply
(
data
){
return
request
({
url
:
'
/order/order-warehouse-in/update-apply
'
,
...
...
@@ -171,6 +171,13 @@ export function orderWarehouseInUpdateApply(data){
data
})
}
// 获取入仓修改审批单详情-审批使用
export
function
getWarehouseUpdateApprovalInfo
(
id
)
{
return
request
({
url
:
'
/order/order-warehouse-in/get-update-approval-info?formId=
'
+
id
,
method
:
'
get
'
})
}
// 入仓完成
export
function
orderWarehouseInFinish
(
data
){
...
...
src/components/DictSelector/index.vue
View file @
6e3467db
<
template
>
<div
class=
"dict-selector"
>
<el-select
v-if=
"formType == 'select'"
v-model=
"valueSync"
:placeholder=
"placeholder"
clearable
:multiple=
"multiple"
:disabled=
"disabled"
>
<el-select
v-if=
"formType == 'select'"
v-model=
"valueSync"
:placeholder=
"placeholder"
clearable
:multiple=
"multiple"
:disabled=
"disabled"
@
change=
"val => $emit('change', val)"
>
<el-option
v-for=
"dict in formattedList"
:key=
"dict.value"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
...
...
src/views/bpm/processInstance/detail.vue
View file @
6e3467db
...
...
@@ -177,6 +177,11 @@ export default {
processId
:
this
.
processInstance
.
businessKey
,
type
:
1
},
warehouse_update
:
{
component
:
"
warehouseDetails
"
,
processId
:
this
.
processInstance
.
businessKey
,
type
:
4
},
container_modify
:
{
component
:
"
shippingDetail
"
,
processId
:
this
.
processInstance
.
businessKey
,
...
...
src/views/ecw/customer/query.vue
View file @
6e3467db
...
...
@@ -168,6 +168,34 @@
<
dict
-
tag
:
type
=
"
DICT_TYPE.BRAND_REG_TYPE
"
:
value
=
"
row.filing
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
授权开始
"
>
<
template
v
-
slot
=
"
{row
}
"
>
{{
parseTime
(
row
.
startTime
)
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
授权结束
"
>
<
template
v
-
slot
=
"
{row
}
"
>
{{
parseTime
(
row
.
endTime
)
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
授权证明
"
>
<
template
v
-
slot
=
"
{row
}
"
>
<
div
v
-
if
=
"
!!row.fileUrl && row.fileUrl.length > 0
"
>
<
span
v
-
for
=
"
(item, index) in row.fileUrl.split(',')
"
>
<
a
:
href
=
"
item
"
target
=
"
_blank
"
>
附件
{{
index
+
1
}}
<
/a>
,
<
/span
>
<
/div
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"
feeScale
"
:
formatter
=
"
(row) => getDictDataLabel(DICT_TYPE.BRAND_CUSTOMER_CHARGING_MODEL, row.feeScale)
"
label
=
"
收费标准
"
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"
createUsername
"
label
=
"
添加人
"
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
创建时间
"
>
<
template
v
-
slot
=
"
{row
}
"
>
{{
parseTime
(
row
.
createTime
)
}}
...
...
src/views/ecw/customerCommissionInfo/index.vue
View file @
6e3467db
<
template
>
<div
class=
"app-container"
>
<el-form
:rules=
"rules"
:model=
"form"
ref=
"form"
:inline=
"true"
>
<el-form
class=
"demo-ruleForm"
label-position=
"left"
label-width=
"110px"
:rules=
"rules"
:model=
"form"
ref=
"form"
>
<el-card
class=
"box-card"
style=
"padding: 10px"
>
<div
slot=
"header"
class=
"clearfix"
>
<el-row>
<el-col
:span=
"24
"
>
<el-col
:span=
"5
"
>
<el-form-item
label=
"客户名称"
prop=
"customerId"
>
<el-select
v-model=
"customerForm.name"
...
...
@@ -20,27 +22,26 @@
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"运输方式"
prop=
"transportId"
>
<div
style=
"width: 130px;"
>
<custom-selectors-dictionary
v-model=
"form.transportId"
:options=
"getDictDatas(DICT_TYPE.ECW_TRANSPORT_TYPE)"
></custom-selectors-dictionary>
<div>
<custom-selectors-dictionary
v-model=
"form.transportId"
:options=
"getDictDatas(DICT_TYPE.ECW_TRANSPORT_TYPE)"
></custom-selectors-dictionary>
</div>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"始发地"
prop=
"departureId"
>
<div
style=
"width: 130px;"
>
<div
>
<custom-selectors-dictionary
label-key=
"titleZh"
value-key=
"id"
v-model=
"form.departureId"
:options=
"exportCityList"
></custom-selectors-dictionary>
</div>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"5"
>
<el-form-item
label=
"目的地"
prop=
"objectiveId"
>
<div
style=
"width: 130px;"
>
<div
>
<custom-selectors-dictionary
label-key=
"titleZh"
value-key=
"id"
v-model=
"form.objectiveId"
:options=
"importCityList"
></custom-selectors-dictionary>
</div>
...
...
@@ -48,24 +49,25 @@
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"报关方式"
prop=
"customsType"
>
<div
style=
"width: 130px;"
>
<div
>
<custom-selectors-dictionary
v-model=
"form.customsType"
:options=
"getDictDatas(DICT_TYPE.SHIPPING_DECLARATION_TYPE)"
></custom-selectors-dictionary>
</div>
</el-form-item>
</el-col>
<el-col
:span=
"4
"
>
<el-col
:span=
"5
"
>
<el-form-item
label=
"备案"
prop=
"approval"
>
<div
style=
"width: 130px;"
>
<div
>
<custom-selectors-dictionary
v-model=
"form.approval"
:options=
"getDictDatas(DICT_TYPE.COMMISSION_PRODUCT_APPROVAL)"
></custom-selectors-dictionary>
</div>
</el-form-item>
</el-col>
</el-row>
</div>
<el-row>
<el-col
:span=
"24"
>
<el-form-item
label=
"佣金类型(明佣、暗佣)"
>
<el-form-item
label-width=
"150px"
label=
"佣金类型(明佣、暗佣)"
>
<el-radio-group
v-model=
"form.type"
>
<el-radio
v-for=
"(item,index) in getDictDatas(DICT_TYPE.COMMISSION_TYPE)"
v-show=
"item.value != 0"
:label=
"parseInt(item.value)"
:key=
"index"
>
{{
item
.
label
}}
...
...
@@ -195,7 +197,7 @@
</div>
</div>
<div
class=
"title"
>
<span
class=
"label"
>
成本价:
</span>
原价-暗佣佣金
<span
class=
"label"
>
成本价 = 原价-暗佣佣金
</span>
</div>
<div
class=
"box"
>
<div
class=
"label"
>
销售价上调:
</div>
...
...
@@ -214,7 +216,7 @@
</div>
</div>
<div
class=
"title"
>
<span
class=
"label"
>
实际佣金返点:
</span>
销售价-成本价
<span
class=
"label"
>
实际佣金返点 = 销售价-成本价
</span>
</div>
</div>
</el-col>
...
...
@@ -225,6 +227,7 @@
<el-button
style=
"width:200px"
@
click=
"cancel"
>
取消
</el-button>
</el-col>
</el-row>
</el-card>
</el-form>
</div>
</
template
>
...
...
@@ -320,11 +323,6 @@ export default {
// 表单校验
rules
:
{
customerId
:
[{
required
:
true
,
message
:
"
客户名称不能为空
"
,
trigger
:
"
blur
"
}],
departureId
:
[{
required
:
true
,
message
:
"
始发地不能为空
"
,
trigger
:
"
blur
"
}],
transportId
:
[{
required
:
true
,
message
:
"
运输方式不能为空
"
,
trigger
:
"
blur
"
}],
objectiveId
:
[{
required
:
true
,
message
:
"
目的地不能为空
"
,
trigger
:
"
blur
"
}],
customsType
:
[{
required
:
true
,
message
:
"
报关类别不能为空
"
,
trigger
:
"
blur
"
}],
approval
:
[{
required
:
true
,
message
:
"
产品备案不能为空
"
,
trigger
:
"
blur
"
}],
},
customerShow
:
true
,
id
:
undefined
,
//佣金id
...
...
@@ -618,11 +616,11 @@ export default {
}
.title
{
margin
:
1
5px
0
;
margin
:
2
5px
0
;
text-align
:
left
;
.label
{
vertical-align
:
middle
;
font-size
:
1
4
px
;
font-size
:
1
6
px
;
color
:
#606266
;
font-weight
:
700
;
}
...
...
src/views/ecw/financial/creatCollection.vue
View file @
6e3467db
This diff is collapsed.
Click to expand it.
src/views/ecw/financial/openInvoice.vue
View file @
6e3467db
...
...
@@ -28,7 +28,7 @@
<el-descriptions-item
label=
"纳税人识别号"
>
{{
invoiceData
.
taxpayer
}}
</el-descriptions-item>
<el-descriptions-item
label=
"地址"
>
{{
invoiceData
.
addressPhone
}}
</el-descriptions-item>
<el-descriptions-item
label=
"开户行"
>
{{
invoiceData
.
accountBank
}}
</el-descriptions-item>
<el-descriptions-item
label=
"税率"
>
<el-descriptions-item
label=
"税率
%
"
>
<el-form-item
label=
""
>
<el-input
v-model=
"invoiceData.taxRate"
></el-input>
</el-form-item>
...
...
@@ -57,24 +57,36 @@
</el-table-column>
<el-table-column
label=
"箱数"
align=
"center"
prop=
"num"
/>
<el-table-column
label=
"体积/重量"
align=
"center"
prop=
"weight"
></el-table-column>
<el-table-column
label=
"
费用
类型"
align=
"center"
prop=
"feeType"
>
<el-table-column
label=
"
收入
类型"
align=
"center"
prop=
"feeType"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.
ECW_TRANSPORT
_TYPE"
:type=
"DICT_TYPE.
FEE
_TYPE"
:value=
"scope.row.feeType"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"单价"
align=
"center"
prop=
"unitPrice"
/>
<el-table-column
label=
"总金额"
align=
"center"
prop=
"totalAmount"
/>
<el-table-column
label=
"税额"
align=
"center"
>
<el-table-column
label=
"单价金额"
align=
"center"
prop=
"unitPrice"
>
<
template
slot-scope=
"scope"
>
无
<span>
{{
scope
.
row
.
unitPrice
}}
</span>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"价税合计"
align=
"center
"
>
<el-table-column
label=
"总金额"
align=
"center"
prop=
"totalAmount
"
>
<
template
slot-scope=
"scope"
>
无
<span>
{{
scope
.
row
.
totalAmount
}}
</span>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"税额"
align=
"center"
prop=
"tax"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
tax
}}
</span>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
</
template
>
</el-table-column>
<el-table-column
label=
"价税合计"
align=
"center"
prop=
"taxAndTotalAmount"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
taxAndTotalAmount
}}
</span>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -99,6 +111,7 @@
<
script
>
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
{
getReceiptInvoicing
,
getInvoicingItem
,
updateReceiptInvoicing
}
from
"
@/api/ecw/financial
"
;
import
NP
from
'
number-precision
'
export
default
{
name
:
"
OpenInvoice
"
,
...
...
@@ -118,9 +131,9 @@ export default {
}
},
methods
:
{
getData
()
{
async
getData
()
{
this
.
loading
=
true
;
getReceiptInvoicing
(
this
.
id
).
then
((
res
)
=>
{
await
getReceiptInvoicing
(
this
.
id
).
then
((
res
)
=>
{
this
.
invoiceData
=
res
.
data
;
this
.
invoiceData
.
invoicingTypeId
=
this
.
invoiceData
.
invoicingTypeId
||
''
// if (!this.invoiceData.info || this.invoiceData.info.length == 0) {
...
...
@@ -129,9 +142,15 @@ export default {
this
.
loading
=
false
;
});
getInvoicingItem
({
id
:
this
.
id
}).
then
(
res
=>
{
res
.
data
.
map
(
v
=>
{
v
.
tax
=
NP
.
times
(
v
.
totalAmount
,
this
.
invoiceData
.
taxRate
/
100
)
v
.
taxAndTotalAmount
=
NP
.
plus
(
v
.
totalAmount
,
NP
.
times
(
v
.
totalAmount
,
this
.
invoiceData
.
taxRate
/
100
))
})
const
t
=
{
orderNo
:
'
合计
'
,
totalAmount
:
res
.
data
.
reduce
((
total
,
curr
)
=>
total
+
curr
.
totalAmount
,
0
)
totalAmount
:
res
.
data
.
reduce
((
total
,
curr
)
=>
NP
.
plus
(
total
,
curr
.
totalAmount
),
0
),
tax
:
res
.
data
.
reduce
((
total
,
curr
)
=>
NP
.
plus
(
total
,
curr
.
tax
),
0
),
taxAndTotalAmount
:
res
.
data
.
reduce
((
total
,
curr
)
=>
NP
.
plus
(
total
,
curr
.
taxAndTotalAmount
),
0
)
}
this
.
list
=
[...
res
.
data
,
t
]
})
...
...
@@ -148,8 +167,98 @@ export default {
})
},
getSummaries
(
param
)
{
return
[
'
收款人
'
,
this
.
invoiceData
.
payeeName
,
'
核销人
'
,
this
.
invoiceData
.
writeOffName
,
'
开票人
'
,
this
.
invoiceData
.
issuerName
,
''
,
'
价税合计大写
'
,
444
];
const
t
=
this
.
list
[
this
.
list
.
length
-
1
].
taxAndTotalAmount
return
[
'
收款人
'
,
this
.
invoiceData
.
payeeName
,
'
核销人
'
,
this
.
invoiceData
.
writeOffName
,
'
开票人
'
,
this
.
invoiceData
.
issuerName
,
''
,
'
价税合计大写
'
,
this
.
convertCurrency
(
t
)];
},
convertCurrency
(
money
)
{
//汉字的数字
var
cnNums
=
new
Array
(
'
零
'
,
'
壹
'
,
'
贰
'
,
'
叁
'
,
'
肆
'
,
'
伍
'
,
'
陆
'
,
'
柒
'
,
'
捌
'
,
'
玖
'
);
//基本单位
var
cnIntRadice
=
new
Array
(
''
,
'
拾
'
,
'
佰
'
,
'
仟
'
);
//对应整数部分扩展单位
var
cnIntUnits
=
new
Array
(
''
,
'
万
'
,
'
亿
'
,
'
兆
'
);
//对应小数部分单位
var
cnDecUnits
=
new
Array
(
'
角
'
,
'
分
'
,
'
毫
'
,
'
厘
'
);
//整数金额时后面跟的字符
var
cnInteger
=
'
整
'
;
//整型完以后的单位
var
cnIntLast
=
'
元
'
;
//最大处理的数字
var
maxNum
=
999999999999999.9999
;
//金额整数部分
var
integerNum
;
//金额小数部分
var
decimalNum
;
//输出的中文金额字符串
var
chineseStr
=
''
;
//分离金额后用的数组,预定义
var
parts
;
// 传入的参数为空情况
if
(
money
===
''
)
{
return
''
;
}
money
=
parseFloat
(
money
)
if
(
money
>=
maxNum
){
return
''
}
// 传入的参数为0情况
if
(
money
===
0
)
{
chineseStr
=
cnNums
[
0
]
+
cnIntLast
+
cnInteger
;
return
chineseStr
}
// 转为字符串
money
=
money
.
toString
();
// indexOf 检测某字符在字符串中首次出现的位置 返回索引值(从0 开始) -1 代表无
if
(
money
.
indexOf
(
'
.
'
)
==
-
1
)
{
integerNum
=
money
;
decimalNum
=
''
}
else
{
parts
=
money
.
split
(
'
.
'
);
integerNum
=
parts
[
0
];
decimalNum
=
parts
[
1
].
substr
(
0
,
4
);
}
//转换整数部分
if
(
parseInt
(
integerNum
,
10
)
>
0
){
let
zeroCount
=
0
;
let
IntLen
=
integerNum
.
length
for
(
let
i
=
0
;
i
<
IntLen
;
i
++
){
let
n
=
integerNum
.
substr
(
i
,
1
);
let
p
=
IntLen
-
i
-
1
;
let
q
=
p
/
4
;
let
m
=
p
%
4
;
if
(
n
==
'
0
'
){
zeroCount
++
;
}
else
{
if
(
zeroCount
>
0
){
chineseStr
+=
cnNums
[
0
]
}
zeroCount
=
0
;
chineseStr
+=
cnNums
[
parseInt
(
n
)]
+
cnIntRadice
[
m
];
}
if
(
m
==
0
&&
zeroCount
<
4
){
chineseStr
+=
cnIntUnits
[
q
];
}
}
// 最后+ 元
chineseStr
+=
cnIntLast
;
}
// 转换小数部分
if
(
decimalNum
!=
''
){
let
decLen
=
decimalNum
.
length
;
for
(
let
i
=
0
;
i
<
decLen
;
i
++
){
let
n
=
decimalNum
.
substr
(
i
,
1
);
if
(
n
!=
'
0
'
){
chineseStr
+=
cnNums
[
Number
(
n
)]
+
cnDecUnits
[
i
]
}
}
}
if
(
chineseStr
==
''
){
chineseStr
+=
cnNums
[
0
]
+
cnIntLast
+
cnInteger
;
}
else
if
(
decimalNum
==
''
){
chineseStr
+=
cnInteger
;
}
return
chineseStr
}
},
};
</
script
>
...
...
src/views/ecw/financial/printVoucher.vue
View file @
6e3467db
...
...
@@ -100,18 +100,11 @@
id
:
0
}
},
created
()
{
async
created
()
{
let
that
=
this
if
(
that
.
$route
.
query
.
id
){
that
.
id
=
that
.
$route
.
query
.
id
that
.
getCollectionData
()
getInvoicingItem
({
id
:
this
.
id
}).
then
(
res
=>
{
this
.
list
=
res
.
data
})
}
listSimpleUsers
().
then
(
res
=>
that
.
creatorData
=
res
.
data
)
getBankAccountPage
(
that
.
params
).
then
(
res
=>
that
.
bankData
=
res
.
data
.
list
)
listSimpleDepts
().
then
(
res
=>
{
await
listSimpleDepts
().
then
(
res
=>
{
res
.
data
.
forEach
((
item
)
=>
{
if
(
item
.
parentId
==
0
){
...
...
@@ -130,12 +123,20 @@
})
})
if
(
that
.
$route
.
query
.
id
){
that
.
id
=
that
.
$route
.
query
.
id
that
.
getCollectionData
()
getInvoicingItem
({
id
:
this
.
id
}).
then
(
res
=>
{
this
.
list
=
res
.
data
})
}
},
methods
:
{
getCollectionData
(){
let
that
=
this
getReceiptInfoByIds
({
id
:
that
.
id
}).
then
(
res
=>
{
that
.
form
=
res
.
data
that
.
form
.
departmentName
=
that
.
deptData
.
find
(
v
=>
v
.
id
==
that
.
form
.
departmentId
).
name
})
},
print
(){
...
...
src/views/ecw/financial/receiptDetail.vue
View file @
6e3467db
This diff is collapsed.
Click to expand it.
src/views/ecw/financial/voucher.vue
View file @
6e3467db
...
...
@@ -113,7 +113,11 @@
<span>
{{
scope
.
$index
+
1
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"收款单号"
align=
"center"
prop=
"receiptNo"
/>
<el-table-column
label=
"收款单号"
align=
"center"
prop=
"receiptNo"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"verificationCancelClick(scope.row)"
>
{{
scope
.
row
.
receiptNo
}}
</el-button>
</
template
>
</el-table-column>
<!-- <el-table-column label="自编号" align="center" prop="orderNo" /> -->
<el-table-column
label=
"订单号"
align=
"center"
prop=
"orderNo"
/>
<el-table-column
label=
"客户名称"
align=
"center"
prop=
"customerName"
/>
...
...
@@ -154,43 +158,44 @@
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
v
-
if
=
"
scope.row.state === 0 || scope.row.state == 1 || scope.row.state ==
5
"
v
-
if
=
"
scope.row.state === 0 || scope.row.state == 1 || scope.row.state ==
2 || scope.row.state == 3
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
handleAdd(scope.row.id)
"
>
编辑
<
/el-butto
n
>
<
el
-
button
v
-
if
=
"
scope.row.state ==
1
"
<
!--
<
el
-
button
v
-
if
=
"
scope.row.state ==
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
verificationClick(scope.row)
"
>
核销
<
/el-butto
n
>
>
-->
<
el
-
button
v
-
if
=
"
scope.row.state
!= 1 && scope.row.state != 5
"
v
-
if
=
"
scope.row.state
== 4 || scope.row.state == 5 || scope.row.state == 6
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
verificationCancelClick(scope.row)
"
>
反核销
<
/el-butto
n
>
<
el
-
button
v
-
if
=
"
scope.row.state ==
3
"
v
-
if
=
"
scope.row.state ==
5
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
openInvoice(scope.row.id)
"
>
开票
<
/el-butto
n
>
<
el
-
button
v
-
if
=
"
scope.row.state === 0
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
deleteClick(scope.row)
"
>
删除
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 1 || scope.row.state == 2 || scope.row.state == 3
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
verificationCancelClick(scope.row)
"
>
收款
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state == 0 || scope.row.state == 1
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
deleteClick(scope.row)
"
>
删除
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.state !=
5
"
v
-
if
=
"
scope.row.state !=
0
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
toprint(scope.row.id)
"
>
打印
<
/el-butto
n
>
<
el
-
button
v
-
if
=
"
scope.row.state !=
5
"
v
-
if
=
"
scope.row.state !=
0
"
size
=
"
mini
"
type
=
"
text
"
@
click
=
"
exportReceipt(scope.row.id)
"
...
...
@@ -241,8 +246,8 @@ import { DICT_TYPE } from "@/utils/dict";
import
CustomerSelector
from
"
@/components/CustomerSelector
"
;
import
{
getReceiptList
,
receiptVerification
,
receiptVerificationCancel
,
//
receiptVerification,
//
receiptVerificationCancel,
receiptExportExcel
,
deleteReceipt
}
from
"
@/api/ecw/financial
"
;
...
...
src/views/ecw/order/associatedOrder.vue
View file @
6e3467db
...
...
@@ -57,7 +57,11 @@
<dict-tag
:value=
"scope.row.orderBackVO.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
<el-table-column
label=
"操作人"
prop=
"creator"
>
<
template
v-slot=
"{row}"
>
{{
userList
.
find
(
i
=>
row
.
creator
==
i
.
id
).
nickname
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作时间"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
...
...
@@ -85,6 +89,7 @@ import {
}
from
"
@/api/ecw/associatedOrder
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
Template
from
"
@/views/cms/template
"
;
import
{
listSimpleUsers
}
from
"
@/api/system/user
"
;
export
default
{
name
:
"
associatedOrder
"
,
props
:{
...
...
@@ -114,7 +119,8 @@ export default {
list
:[],
DICT_TYPE
,
getDictDatas
,
multipleSelection
:[]
multipleSelection
:[],
userList
:[]
}
},
created
()
{
...
...
@@ -125,13 +131,13 @@ export default {
this
.
orderDetails
=
r
.
data
;
}
})
listSimpleUsers
().
then
(
r
=>
this
.
userList
=
r
.
data
)
},
methods
:{
getList
(){
guanlianList
(
this
.
params
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
list
=
r
.
data
console
.
log
(
this
.
list
[
0
])
}
})
},
...
...
src/views/ecw/order/components/warehouseDetails.vue
View file @
6e3467db
...
...
@@ -124,6 +124,12 @@
{{ FeeDetails.details
&&
FeeDetails.details.reason ? FeeDetails.details.reason :''}}
</div>
</div>
<div
v-if=
"type === 4"
>
<p>
申请理由
</p>
<div>
{{ FeeDetails.details || '' }}
</div>
</div>
</div>
</template>
...
...
@@ -133,7 +139,13 @@ import {
warehouseApprovalGetById
,
warehouseAreaPositionList
}
from
"
@/api/ecw/batchSingleApplication
"
;
import
{
applicationGetOrderByProcessId
,
feeApplicationGet
,
getOrder
,
getOrderPage
,}
from
"
@/api/ecw/order
"
;
import
{
applicationGetOrderByProcessId
,
feeApplicationGet
,
getOrder
,
getOrderPage
,
getWarehouseUpdateApprovalInfo
}
from
'
@/api/ecw/order
'
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
;
import
Template
from
"
@/views/cms/template
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
...
...
@@ -221,6 +233,12 @@ export default {
})
});
break
;
case
4
:
// 入仓修改
getWarehouseUpdateApprovalInfo
(
this
.
processInstanceID
).
then
(
r
=>
{
this
.
FeeDetails
.
details
=
r
.
data
.
details
})
break
}
}
...
...
src/views/ecw/order/mutexOrder.vue
View file @
6e3467db
...
...
@@ -57,7 +57,11 @@
<dict-tag
:value=
"scope.row.orderBackVO.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
<el-table-column
label=
"操作人"
>
<
template
v-slot=
"{row}"
>
{{
userList
.
find
(
i
=>
row
.
creator
==
i
.
id
).
nickname
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作时间"
prop=
"createTime"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
orderBackVO
.
createTime
)
...
...
@@ -85,6 +89,7 @@ import {
}
from
"
@/api/ecw/mutexOrder
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
Template
from
"
@/views/cms/template
"
;
import
{
listSimpleUsers
}
from
"
@/api/system/user
"
;
export
default
{
name
:
"
mutexOrder
"
,
props
:{
...
...
@@ -104,7 +109,8 @@ export default {
list
:[],
DICT_TYPE
,
getDictDatas
,
multipleSelection
:[]
multipleSelection
:[],
userList
:[]
}
},
created
()
{
...
...
@@ -115,6 +121,7 @@ export default {
this
.
orderDetails
=
r
.
data
;
}
})
listSimpleUsers
().
then
(
r
=>
this
.
userList
=
r
.
data
)
},
methods
:{
getList
(){
...
...
src/views/ecw/order/transferWarehousing.vue
View file @
6e3467db
...
...
@@ -8,8 +8,8 @@
<el-divider
content-position=
"left"
>
货物信息
</el-divider>
<el-table
:data=
" orderDetails.orderItemVOList && orderDetails.orderItemVOList.length > 0 ? orderDetails.orderItemVOList : [] "
>
<el-table-column
type=
"index"
label=
"序号"
></el-table-column>
<el-table
:
show-summary=
"true"
:summary-method=
"totalFn"
:
data=
" orderDetails.orderItemVOList && orderDetails.orderItemVOList.length > 0 ? orderDetails.orderItemVOList : [] "
>
<el-table-column
width=
"80"
type=
"index"
label=
"序号"
></el-table-column>
<el-table-column
label=
"品名"
>
<template
v-slot=
"
{row}">
<div>
{{
row
.
prodTitleZh
}}
</div>
...
...
@@ -18,22 +18,21 @@
</el-table-column>
<el-table-column
label=
"填单货物属性"
>
<
template
v-slot=
"{row}"
>
<el-descriptions
size=
"mini"
:column=
"
1
"
>
<el-descriptions
size=
"mini"
:column=
"
2
"
>
<el-descriptions-item
label=
"品牌"
>
{{
row
.
brand
}}
</el-descriptions-item>
<el-descriptions-item
label=
"箱数"
>
{{
row
.
num
}}
</el-descriptions-item>
<el-descriptions-item
label=
"体积"
>
{{
row
.
volume
}}
</el-descriptions-item>
<el-descriptions-item
label=
"重量"
>
</el-descriptions-item>
<el-descriptions-item
label=
"体积"
>
{{
row
.
volume
}}
m³
</el-descriptions-item>
<el-descriptions-item
label=
"重量"
>
{{
row
.
weight
}}
Kg
</el-descriptions-item>
</el-descriptions>
</
template
>
</el-table-column>
<el-table-column
label=
"入库货物属性"
>
<
template
v-slot=
"{row}"
>
<el-descriptions
size=
"mini"
:column=
"
4
"
>
<el-descriptions
size=
"mini"
:column=
"
2
"
>
<el-descriptions-item
label=
"品牌"
>
{{
row
.
brand
}}
</el-descriptions-item>
<el-descriptions-item
label=
"箱数"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
cartonsNum
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"体积"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
volume
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"重量"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
weight
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"体积"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
volume
:
''
}}
m³
</el-descriptions-item>
<el-descriptions-item
label=
"重量"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
weight
:
''
}}
Kg
</el-descriptions-item>
</el-descriptions>
</
template
>
</el-table-column>
...
...
@@ -238,6 +237,22 @@ export default {
this
.
$router
.
back
();
}
})
},
totalFn
({
columns
,
data
}){
// 体积,数量,重量 W:入仓
let
volume
=
0
,
num
=
0
,
weight
=
0
;
let
Wvolume
=
0
,
Wnum
=
0
,
Wweight
=
0
;
data
.
forEach
(
i
=>
{
volume
+=
Number
(
i
.
volume
)
num
+=
Number
(
i
.
num
)
weight
+=
Number
(
i
.
weight
)
Wvolume
+=
Number
(
i
.
warehouseInInfoVO
?
i
.
warehouseInInfoVO
.
volume
:
0
);
Wnum
+=
Number
(
i
.
warehouseInInfoVO
?
i
.
warehouseInInfoVO
.
num
:
0
)
Wweight
+=
Number
(
i
.
warehouseInInfoVO
?
i
.
warehouseInInfoVO
.
weight
:
0
)
})
let
text
=
`下单统计:
${
num
}
箱
${
volume
}
m³
${
weight
}
Kg`
let
text2
=
` 入仓统计:
${
Wnum
}
箱
${
Wvolume
}
m³
${
Wweight
}
Kg`
return
[
'
合计:
'
,
text
,
text2
]
}
},
}
...
...
src/views/member/user/index.vue
View file @
6e3467db
...
...
@@ -113,7 +113,11 @@
<
el
-
table
:
data
=
"
operationLogList
"
>
<
el
-
table
-
column
label
=
"
标题
"
prop
=
"
title
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作内容
"
prop
=
"
content
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作人
"
prop
=
"
userId
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作人
"
prop
=
"
userId
"
>
<
template
v
-
slot
=
"
{row
}
"
>
{{
list
.
find
(
i
=>
i
.
id
==
row
.
userId
).
identityName
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作时间
"
>
<
template
v
-
slot
:
default
=
"
scope
"
>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
...
...
@@ -533,6 +537,7 @@ export default {
if
(
valid
&&
this
.
IdDetails
.
status
===
3
){
let
res
=
await
new
Promise
((
resolve
)
=>
{
this
.
$confirm
(
'
是否要将当前状态修改为审核成功?
'
,
'
状态修改
'
,
{
distinguishCancelAndClose
:
true
,
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
...
...
@@ -542,7 +547,8 @@ export default {
resolve
(
r
)
}
)
}
)
p
.
auditPass
=
res
===
'
confirm
'
?
true
:
false
;
if
(
res
===
'
close
'
)
return
else
p
.
auditPass
=
res
===
'
confirm
'
?
true
:
false
;
}
else
if
(
valid
)
{
p
.
auditPass
=
false
;
}
else
{
...
...
@@ -572,12 +578,14 @@ export default {
if
(
valid
&&
this
.
enterpriseFrom
.
status
===
3
){
let
res
=
await
new
Promise
((
resolve
)
=>
{
this
.
$confirm
(
'
是否要将当前状态修改为审核成功?
'
,
'
状态修改
'
,
{
distinguishCancelAndClose
:
true
,
confirmButtonText
:
'
确定
'
,
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}
).
then
(
r
=>
resolve
(
r
)).
catch
(
r
=>
resolve
(
r
))
}
)
p
.
auditPass
=
res
===
'
confirm
'
?
true
:
false
;
if
(
res
===
'
close
'
)
return
else
p
.
auditPass
=
res
===
'
confirm
'
?
true
:
false
;
}
else
if
(
valid
){
p
.
auditPass
=
false
;
}
else
{
...
...
@@ -622,6 +630,7 @@ export default {
this
.
enterpriseFrom
.
status
=
2
this
.
enterpriseFrom
.
auditTime
=
new
Date
().
getTime
()
this
.
getEnterpriseFn
();
this
.
getList
()
}
}
)
}
...
...
src/views/member/user/underReview.vue
View file @
6e3467db
This diff is collapsed.
Click to expand it.
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