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
c28fa477
Commit
c28fa477
authored
Oct 19, 2022
by
dcy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
77578bf2
eb55a7a0
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
20 deletions
+44
-20
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+2
-3
edit.vue
src/views/ecw/order/edit.vue
+9
-3
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+1
-1
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+3
-3
batchEdit.vue
src/views/ecw/productPrice/batchEdit.vue
+13
-4
edit.vue
src/views/ecw/productPrice/edit.vue
+16
-6
No files found.
src/views/ecw/financial/creatCollection.vue
View file @
c28fa477
...
...
@@ -412,6 +412,7 @@
<!--
<
div
slot
=
"
header
"
class
=
"
card-title
"
>
添加未收客户款项
<
/div> --
>
<!--
搜索工作栏
-->
<
el
-
form
v
-
if
=
"
open
"
:
model
=
"
queryParams
"
ref
=
"
queryForm
"
size
=
"
small
"
...
...
@@ -518,7 +519,6 @@
@
selection
-
change
=
"
handleSelectionChange
"
row
-
key
=
"
id
"
height
=
"
calc(100vh - 480px)
"
:
key
=
"
dialogTableKey
"
>
<
el
-
table
-
column
type
=
"
selection
"
width
=
"
55
"
:
reserve
-
selection
=
"
true
"
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('订单号')
"
align
=
"
center
"
prop
=
"
orderNo
"
/>
...
...
@@ -718,8 +718,7 @@ export default {
discountForm
:
{
}
,
selectListRow
:
{
}
,
selectListIndex
:
0
,
flag
:
false
,
orderData
:{
}
flag
:
false
}
;
}
,
async
created
()
{
...
...
src/views/ecw/order/edit.vue
View file @
c28fa477
...
...
@@ -291,7 +291,7 @@
</div>
<div>
<el-form-item
:label=
"$t('外部仓库')"
prop=
"isExternalWarehouse"
>
<el-checkbox
label=
""
:checked=
"!!
form.isExternalWarehouse"
@
change=
"form.isExternalWarehouse=$event"
:disabled=
"false"
></el-checkbox>
<el-checkbox
label=
""
v-model=
"
form.isExternalWarehouse"
@
change=
"form.isExternalWarehouse=$event"
:disabled=
"false"
></el-checkbox>
</el-form-item>
<div
v-if=
"form.isExternalWarehouse"
class=
"pl-50"
>
<div
v-for=
"(item, index) in form.externalWarehouseDtoList"
class=
"flex"
:key=
"index"
>
...
...
@@ -583,7 +583,7 @@ export default {
computed
:{
// 是否已完成入仓
inWarehouse
(){
return
this
.
form
.
inWarehouseState
&&
this
.
form
.
inWarehouseState
>
201
return
!!
this
.
form
.
inWarehouseState
&&
this
.
form
.
inWarehouseState
>
201
},
exportCityList
(){
return
this
.
tradeCityList
.
filter
(
item
=>
item
.
type
==
2
||
item
.
type
==
3
)
...
...
@@ -739,7 +739,13 @@ export default {
},
'
form.isExternalWarehouse
'
(
isExternalWarehouse
){
// 勾选外部仓则添加一个默认的,取消则删除默认的空的
this
.
$set
(
this
.
form
,
'
externalWarehouseDtoList
'
,
isExternalWarehouse
?
[{}]
:
[])
if
(
!
isExternalWarehouse
){
this
.
$set
(
this
.
form
,
'
externalWarehouseDtoList
'
,
[])
}
else
if
(
!
this
.
form
.
externalWarehouseDtoList
.
length
){
this
.
$set
(
this
.
form
,
'
externalWarehouseDtoList
'
,
[{}])
}
},
// 选择的路线变化后,需要判断是否开通了对应的服务,如果没开通需要取消对应的服务选择
selectedRouter
(
val
){
...
...
src/views/ecw/order/prepayDeal.vue
View file @
c28fa477
...
...
@@ -384,7 +384,7 @@
'
handlerParams.orderExceptionHandlerResult
'
(
val
){
if
(
val
==
'
no_pay
'
){
this
.
showWorkFlow
=
true
}
}
else
this
.
showWorkFlow
=
false
}
}
,
computed
:
{
...
...
src/views/ecw/order/warehousing/components/editDialog.vue
View file @
c28fa477
...
...
@@ -586,7 +586,7 @@ export default {
}
return
orderWarehouseIn
({
...
this
.
form1
,
brandType
:
this
.
form1
.
brand
?
1
:
0
,
brandType
:
this
.
warehousing
.
brandType
,
orderId
:
this
.
warehousing
.
orderId
,
orderItemId
:
undefined
,
orderNo
:
this
.
warehousing
.
orderNo
,
...
...
@@ -616,7 +616,7 @@ export default {
// 入仓修改
return
orderWarehouseInUpdateApply
({
...
this
.
form
,
brandType
:
this
.
form
.
brand
?
1
:
0
,
brandType
:
this
.
warehousing
.
brandType
,
orderId
:
this
.
warehousing
.
orderId
,
orderItemId
:
this
.
warehousing
.
orderItemId
,
orderNo
:
this
.
warehousing
.
orderNo
,
...
...
@@ -643,7 +643,7 @@ export default {
// 首次入仓
return
orderWarehouseIn
({
...
this
.
form
,
brandType
:
(
this
.
form
.
brand
&&
this
.
form
.
brand
!==
'
0
'
)
?
1
:
0
,
brandType
:
this
.
warehousing
.
brandType
,
orderId
:
this
.
warehousing
.
orderId
,
orderItemId
:
this
.
warehousing
.
orderItemId
,
orderNo
:
this
.
warehousing
.
orderNo
,
...
...
src/views/ecw/productPrice/batchEdit.vue
View file @
c28fa477
...
...
@@ -9,10 +9,16 @@
<div
slot=
"header"
style=
"font-size:20px;"
>
{{
$t
(
'
价格设置
'
)
}}
<span>
<
el-checkbox
label=
""
@
change=
"form.advanceStatus=$event ? 1 : 0"
>
{{
$t
(
'
预付
'
)
}}
</el-checkbox
>
<
!--
<el-checkbox
label=
""
@
change=
"form.needPay=$event ? 1 : 0"
>
{{
$t
(
'
预付
'
)
}}
</el-checkbox>
--
>
<el-checkbox
label=
""
@
change=
"form.stepPrice=$event ? 1 : 0"
>
{{
$t
(
'
阶梯订单
'
)
}}
</el-checkbox>
</span>
</div>
<el-form-item
:label=
"$t('预付')"
prop=
"needPay"
>
<el-radio-group
v-model=
"form.needPay"
>
<el-radio
:label=
"1"
>
预付
</el-radio>
<el-radio
:label=
"0"
>
均可
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
:label=
"$t('单价模式')"
prop=
"priceType"
>
<dict-selector
:type=
"DICT_TYPE.ECW_PRICE_TYPE"
v-model=
"form.priceType"
form-type=
"radio"
defaultable
/>
</el-form-item>
...
...
@@ -187,7 +193,7 @@
<
/el-form
>
<
div
style
=
"
margin: 20px 0
"
>
<
el
-
button
@
click
=
"
submitForm
"
type
=
"
primary
"
>
{{
$t
(
'
确认提交
'
)
}}
<
/el-button
>
<
el
-
button
@
click
=
"
submitForm
"
type
=
"
primary
"
:
loading
=
"
loading
"
>
{{
$t
(
'
确认提交
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
default
"
@
click
=
"
$router.back()
"
>
{{
$t
(
'
返回上一页
'
)
}}
<
/el-button
>
<
/div
>
<
/div
>
...
...
@@ -225,7 +231,7 @@ export default {
titleEn: [{ required: true, message: "英文名称不能为空", trigger: "blur"
}
], */
transportPrice
:
[{
required
:
true
,
message
:
this
.
$t
(
"
海运费不能为空
"
),
trigger
:
"
blur
"
}
],
clearancePrice
:
[{
required
:
true
,
message
:
this
.
$t
(
"
清关费不能为空
"
),
trigger
:
"
blur
"
}
],
advanceStatus
:
[{
required
:
true
,
message
:
this
.
$t
(
"
是否预付不能为空
"
),
trigger
:
"
blur
"
}
],
/* advanceStatus: [{ required: true, message: this.$t("是否预付不能为空"), trigger: "blur"
}
], */
//containerLocation: [
{
required
:
true
,
message
:
"
货柜位置不能为空
"
,
trigger
:
"
blur
"
}
],
//square: [
{
required
:
true
,
message
:
"
方数不能为空
"
,
trigger
:
"
blur
"
}
],
// zhongLinjie:[
{
required
:
true
,
message
:
"
默认重货标准不能为空
"
,
trigger
:
"
blur
"
}
],
...
...
@@ -238,7 +244,8 @@ export default {
unitList
:
[],
productTypeList
:
[],
productDisabled
:
true
,
lineList
:
[]
//路线数组
lineList
:
[],
//路线数组
loading
:
false
}
}
,
computed
:
{
...
...
@@ -378,10 +385,12 @@ export default {
if
(
data
.
lineChannelList
.
length
<
1
){
return
this
.
$message
.
error
(
this
.
$t
(
'
请选择需要修改的路线
'
))
}
this
.
loading
=
true
batchUpdateProductPrice
(
data
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
修改成功
"
));
this
.
$router
.
replace
(
'
/lineProject/product-price?
'
+
(
new
URLSearchParams
(
this
.
$route
.
query
)).
toString
())
}
)
.
finally
(
res
=>
this
.
loading
=
false
)
}
);
}
,
}
...
...
src/views/ecw/productPrice/edit.vue
View file @
c28fa477
...
...
@@ -63,10 +63,16 @@
<div
slot=
"header"
style=
"font-size:20px;"
>
{{$t('价格设置')}}
<span>
<el-checkbox
label=
""
v-model=
"needPay"
>
{{$t('预付')}}
</el-checkbox>
<el-checkbox
v-if=
"$route.query.action != 'batchUpdate'"
label=
""
v-model=
"needPay"
>
{{$t('预付')}}
</el-checkbox>
<el-checkbox
label=
""
v-model=
"stepPrice"
>
{{$t('阶梯定价')}}
</el-checkbox>
</span>
</div>
<el-form-item
:label=
"$t('预付')"
prop=
"needPay"
v-if=
"$route.query.action == 'batchUpdate'"
>
<el-radio-group
v-model=
"form.needPay"
>
<el-radio
:label=
"1"
>
预付
</el-radio>
<el-radio
:label=
"0"
>
均可
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
:label=
"$t('单价模式')"
prop=
"priceType"
>
<dict-selector
:type=
"DICT_TYPE.ECW_PRICE_TYPE"
v-model=
"form.priceType"
form-type=
"radio"
formatter=
"number"
defaultable
/>
</el-form-item>
...
...
@@ -194,7 +200,7 @@
<
/el-form
>
<
div
style
=
"
margin: 20px 0
"
>
<
el
-
button
@
click
=
"
submitForm
"
type
=
"
primary
"
v
-
if
=
"
!readonly
"
>
{{
$t
(
'
确认提交
'
)
}}
<
/el-button
>
<
el
-
button
@
click
=
"
submitForm
"
type
=
"
primary
"
v
-
if
=
"
!readonly
"
:
loading
=
"
loading
"
>
{{
$t
(
'
确认提交
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
default
"
@
click
=
"
$router.back()
"
>
{{
$t
(
'
返回上一页
'
)
}}
<
/el-button
>
<
/div
>
<
/div
>
...
...
@@ -241,7 +247,8 @@ export default {
productTypeList
:
[],
productDisabled
:
true
,
readonly
:
false
,
lineList
:
[]
//路线数组
lineList
:
[],
//路线数组
loading
:
false
}
}
,
computed
:
{
...
...
@@ -455,10 +462,11 @@ export default {
// 修改单条路线
if
(
this
.
$route
.
query
.
action
==
'
update
'
)
{
this
.
loading
=
true
return
updateProductPrice
(
data
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
请求成功
"
));
this
.
$router
.
back
()
}
)
}
)
.
finally
(
res
=>
this
.
loading
=
false
)
}
// 批量修改(单个商品的单个路线,多个路线,或者全部路线)的提交
...
...
@@ -491,10 +499,11 @@ export default {
return
this
.
$message
.
error
(
this
.
$t
(
'
请选择需要修改的路线
'
))
}
data
.
productIdList
=
[
this
.
form
.
productId
]
this
.
loading
=
true
batchUpdateProductPrice
(
data
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
修改成功
"
));
this
.
$router
.
replace
(
'
/product/product-price?
'
+
(
new
URLSearchParams
(
this
.
$route
.
query
)).
toString
())
}
)
}
)
.
finally
(
res
=>
this
.
loading
=
false
)
return
;
}
// 添加的提交
...
...
@@ -504,10 +513,11 @@ export default {
if
((
this
.
form
.
priceType
==
0
&&
!
this
.
form
.
transportPrice
)
||
(
this
.
form
.
priceType
==
1
&&
!
this
.
form
.
allPrice
)){
return
this
.
$message
.
error
(
this
.
$t
(
'
运费/全包价不能为0
'
))
}
this
.
loading
=
true
createProductPrice
(
data
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
请求成功
"
));
this
.
$router
.
replace
(
'
/product/product-price?
'
+
(
new
URLSearchParams
(
this
.
$route
.
query
)).
toString
())
}
);
}
)
.
finally
(
res
=>
this
.
loading
=
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