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
7fdc83ca
Commit
7fdc83ca
authored
Dec 19, 2022
by
houjn@hikoon.cn
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
parents
c9690919
79f1ea04
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
21 deletions
+22
-21
index.vue
src/views/ecw/box/ladingBill/index.vue
+4
-4
query.vue
src/views/ecw/box/query.vue
+4
-6
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+3
-2
edit.vue
src/views/ecw/coupon/edit.vue
+1
-1
edit.vue
src/views/ecw/customer/edit.vue
+1
-1
index.vue
src/views/ecw/product/index.vue
+8
-6
index.vue
src/views/ecw/productPrice/index.vue
+1
-1
No files found.
src/views/ecw/box/ladingBill/index.vue
View file @
7fdc83ca
...
@@ -30,14 +30,14 @@
...
@@ -30,14 +30,14 @@
{{
scope
.
row
.
isCargoControl
?
'
是
'
:
'
否
'
}}
{{
scope
.
row
.
isCargoControl
?
'
是
'
:
'
否
'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('计划箱数')"
align=
"center"
prop=
"
loadN
um"
>
<el-table-column
:label=
"$t('计划箱数')"
align=
"center"
prop=
"
n
um"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
loadN
um
}}{{
$t
(
'
箱
'
)
}}
{{
scope
.
row
.
n
um
}}{{
$t
(
'
箱
'
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('实装箱数')"
align=
"center"
prop=
"
n
um"
>
<el-table-column
:label=
"$t('实装箱数')"
align=
"center"
prop=
"
loadN
um"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
n
um
}}{{
$t
(
'
箱
'
)
}}
{{
scope
.
row
.
loadN
um
}}{{
$t
(
'
箱
'
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('提货点')"
align=
"center"
prop=
"destWarehouse"
/>
<el-table-column
:label=
"$t('提货点')"
align=
"center"
prop=
"destWarehouse"
/>
...
...
src/views/ecw/box/query.vue
View file @
7fdc83ca
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"billAbnId"
:label=
"$t('异常')"
align=
"center"
>
<el-table-column
prop=
"billAbnId"
:label=
"$t('异常')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_TICKET_EXCEPTION"
:value=
"scope.row.
opStep
"
/>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_TICKET_EXCEPTION"
:value=
"scope.row.
billAbnId
"
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"abnDetail"
:label=
"$t('异常描述')"
align=
"center"
width=
"700"
></el-table-column>
<el-table-column
prop=
"abnDetail"
:label=
"$t('异常描述')"
align=
"center"
width=
"700"
></el-table-column>
...
@@ -605,13 +605,11 @@ export default {
...
@@ -605,13 +605,11 @@ export default {
getBoxSum() {
getBoxSum() {
return (boxStatistics) => {
return (boxStatistics) => {
if (boxStatistics) {
if (boxStatistics) {
return this.$t("{num}箱 {volum
}m³
", {
return this.$t("{num}箱 {volum
e}m³ {weight}kg
", {
num: boxStatistics.num ?? 0,
num: boxStatistics.num ?? 0,
volume: boxStatistics.weight ?? 0,
volume: boxStatistics.volume ?? 0,
weight: boxStatistics.weight ?? 0,
});
});
/* `
$
{
boxStatistics
.
num
??
0
}
箱
$
{
boxStatistics
.
volume
??
0
}
m3
$
{
boxStatistics
.
weight
??
0
}
kg
`; */
}
}
return;
return;
};
};
...
...
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
7fdc83ca
...
@@ -153,8 +153,9 @@
...
@@ -153,8 +153,9 @@
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('备案')
"
align
=
"
center
"
prop
=
"
productRecord
"
width
=
"
100
"
>
<
el
-
table
-
column
:
label
=
"
$t('备案')
"
align
=
"
center
"
prop
=
"
productRecord
"
width
=
"
100
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
{row
}
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_BRAND_TYPE
"
:
value
=
"
scope.row.productRecord
"
/>
<
template
v
-
if
=
"
row.brandName
"
>
{{
row
.
brandName
}}
<
/template
>
<
dict
-
tag
v
-
else
:
type
=
"
DICT_TYPE.ECW_IS_BRAND
"
:
value
=
"
row.feeType
"
/>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('操作')
"
align
=
"
center
"
width
=
"
160
"
class
-
name
=
"
small-padding fixed-width
"
fixed
=
"
right
"
>
<
el
-
table
-
column
:
label
=
"
$t('操作')
"
align
=
"
center
"
width
=
"
160
"
class
-
name
=
"
small-padding fixed-width
"
fixed
=
"
right
"
>
...
...
src/views/ecw/coupon/edit.vue
View file @
7fdc83ca
...
@@ -509,7 +509,7 @@ export default {
...
@@ -509,7 +509,7 @@ export default {
currencyId
=
this
.
currencyList
[
0
].
id
currencyId
=
this
.
currencyList
[
0
].
id
}
}
this
.
$set
(
item
,
'
reduceCurrencyId
'
,
currencyId
)
this
.
$set
(
item
,
'
reduceCurrencyId
'
,
currencyId
)
}
}
else
this
.
$set
(
item
,
'
reduceCurrencyDisabled
'
,
false
)
return
return
}
}
...
...
src/views/ecw/customer/edit.vue
View file @
7fdc83ca
...
@@ -535,7 +535,7 @@ export default {
...
@@ -535,7 +535,7 @@ export default {
type
:
[{
required
:
true
,
message
:
this
.
$t
(
'
客户类别不能为空
'
),
trigger
:
"
blur
"
}],
type
:
[{
required
:
true
,
message
:
this
.
$t
(
'
客户类别不能为空
'
),
trigger
:
"
blur
"
}],
createTime
:
[{
required
:
true
,
message
:
this
.
$t
(
'
创建时间不能为空
'
),
trigger
:
"
blur
"
}],
createTime
:
[{
required
:
true
,
message
:
this
.
$t
(
'
创建时间不能为空
'
),
trigger
:
"
blur
"
}],
source
:
[{
required
:
true
,
message
:
this
.
$t
(
'
客户来源不能为空
'
),
trigger
:
"
blur
"
}],
source
:
[{
required
:
true
,
message
:
this
.
$t
(
'
客户来源不能为空
'
),
trigger
:
"
blur
"
}],
customerService
:
[{
required
:
true
,
message
:
this
.
$t
(
'
客户经理不能为空
'
),
trigger
:
"
blur
"
}],
customerService
:
[{
required
:
this
.
customerId
===
'
0
'
,
message
:
this
.
$t
(
'
客户经理不能为空
'
),
trigger
:
"
blur
"
}],
status
:
[{
required
:
true
,
message
:
this
.
$t
(
'
客户状态不能为空
'
),
trigger
:
"
blur
"
}],
status
:
[{
required
:
true
,
message
:
this
.
$t
(
'
客户状态不能为空
'
),
trigger
:
"
blur
"
}],
...
...
src/views/ecw/product/index.vue
View file @
7fdc83ca
...
@@ -54,6 +54,10 @@
...
@@ -54,6 +54,10 @@
<el-button
type=
"primary"
plain
icon=
"el-icon-setting"
size=
"mini"
@
click=
"handleEdit"
v-hasPermi=
"['ecw:product:attr']"
>
{{
$t
(
'
批量设置商品属性
'
)
}}
</el-button>
<el-button
type=
"primary"
plain
icon=
"el-icon-setting"
size=
"mini"
@
click=
"handleEdit"
v-hasPermi=
"['ecw:product:attr']"
>
{{
$t
(
'
批量设置商品属性
'
)
}}
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
...
@@ -92,14 +96,11 @@
...
@@ -92,14 +96,11 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"status"
align=
"center"
:label=
"$t('状态')"
width=
"120"
>
<
!-- <
el-table-column prop="status" align="center" :label="$t('状态')" width="120">
<template slot-scope="scope">
<template slot-scope="scope">
<dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/>
<dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/>
<!--
<el-select
v-model=
"scope.row.status"
@
change=
"handleStatusChange(scope.row, 'status')"
>
<el-option
v-for=
"statusItem in statusDictDatas"
:key=
"statusItem.id"
:label=
"statusItem.value == CommonStatusEnum.ENABLE + '' ? '已上架' : '已下架'"
:value=
"parseInt(statusItem.value)"
/>
</el-select>
-->
</template>
</template>
</el-table-column>
</el-table-column>
-->
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -385,6 +386,7 @@ export default {
...
@@ -385,6 +386,7 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
// 处理查询参数
// 处理查询参数
let
params
=
{
...
this
.
queryParams
};
let
params
=
{
...
this
.
queryParams
};
params
.
filter
=
false
;
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
'
createTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
'
createTime
'
);
// 执行查询
// 执行查询
getProductPage
(
params
).
then
(
response
=>
{
getProductPage
(
params
).
then
(
response
=>
{
...
@@ -502,7 +504,7 @@ export default {
...
@@ -502,7 +504,7 @@ export default {
this
.
exportLoading
=
true
;
this
.
exportLoading
=
true
;
return
exportProductExcel
(
params
);
return
exportProductExcel
(
params
);
}).
then
(
response
=>
{
}).
then
(
response
=>
{
this
.
$download
.
excel
(
response
,
'
${table.classComment}.xls
'
);
this
.
$download
.
excel
(
response
,
'
商品.xlsx
'
);
this
.
exportLoading
=
false
;
this
.
exportLoading
=
false
;
}).
catch
(()
=>
{
});
}).
catch
(()
=>
{
});
},
},
...
...
src/views/ecw/productPrice/index.vue
View file @
7fdc83ca
...
@@ -77,7 +77,7 @@
...
@@ -77,7 +77,7 @@
<el-button
v-if=
"!$route.query.product_id"
type=
"primary"
plain
icon=
"el-icon-setting"
size=
"mini"
@
click=
"batchBlock"
:disabled=
"multiple"
>
{{
$t
(
'
批量加入黑名单
'
)
}}
</el-button>
<el-button
v-if=
"!$route.query.product_id"
type=
"primary"
plain
icon=
"el-icon-setting"
size=
"mini"
@
click=
"batchBlock"
:disabled=
"multiple"
>
{{
$t
(
'
批量加入黑名单
'
)
}}
</el-button>
<el-button
v-if=
"!$route.query.product_id"
type=
"primary"
plain
icon=
"el-icon-setting"
size=
"mini"
@
click=
"batchOff"
:disabled=
"multiple"
>
{{
$t
(
'
批量下架
'
)
}}
</el-button>
<el-button
v-if=
"!$route.query.product_id"
type=
"primary"
plain
icon=
"el-icon-setting"
size=
"mini"
@
click=
"batchOff"
:disabled=
"multiple"
>
{{
$t
(
'
批量下架
'
)
}}
</el-button>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
<el-button
v-if=
"!$route.query.product_id"
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
>
{{
$t
(
'
导出
'
)
}}
</el-button>
</el-col>
</el-col>
<!--指定商品-->
<!--指定商品-->
...
...
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