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
7668b8fb
Commit
7668b8fb
authored
Dec 30, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善订单编辑翻译
parent
6c33ac08
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
36 deletions
+38
-36
index.vue
src/components/DictSelector/index.vue
+2
-2
index.vue
src/components/Selector/index.vue
+1
-1
index.vue
src/views/ecw/box/ladingBill/index.vue
+1
-1
edit.vue
src/views/ecw/order/edit.vue
+34
-32
No files found.
src/components/DictSelector/index.vue
View file @
7668b8fb
<
template
>
<div
class=
"dict-selector"
>
<el-select
v-if=
"formType == 'select'"
v-model=
"valueSync"
:placeholder=
"placeholder"
:clearable=
"clearable"
:multiple=
"multiple"
:disabled=
"disabled"
@
change=
"val => $emit('change', val)"
>
<el-select
v-if=
"formType == 'select'"
v-model=
"valueSync"
:placeholder=
"placeholder
|| $t('请选择')
"
:clearable=
"clearable"
:multiple=
"multiple"
:disabled=
"disabled"
@
change=
"val => $emit('change', val)"
>
<el-option
v-for=
"dict in formattedList"
:key=
"dict.value"
:label=
"$l(dict, 'label')"
:value=
"dict.value"
/>
</el-select>
...
...
@@ -27,7 +27,7 @@ export default {
props
:{
placeholder
:
{
type
:
String
,
default
:
'
请选择
'
default
:
null
},
type
:
String
,
value
:
[
String
,
Number
,
Array
,
Boolean
],
...
...
src/components/Selector/index.vue
View file @
7668b8fb
<
template
>
<el-select
v-model=
"valueSync"
:multiple=
"multiple"
:disabled=
"disabled"
:filterable=
"filterable"
>
<el-select
v-model=
"valueSync"
:multiple=
"multiple"
:disabled=
"disabled"
:filterable=
"filterable"
:placeholder=
"$t('请选择')"
>
<el-option
v-for=
"item in optionsFormated"
:key=
"item.key"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</
template
>
...
...
src/views/ecw/box/ladingBill/index.vue
View file @
7668b8fb
...
...
@@ -74,7 +74,7 @@
<el-row>
<el-col
class=
"totle-info"
>
<div>
总计
:{{getSumData}}
</div>
<div>
{{$t('总计')}}
:{{getSumData}}
</div>
<div>
容量:{{calcCapacity}}
</div>
</el-col>
</el-row>
...
...
src/views/ecw/order/edit.vue
View file @
7668b8fb
...
...
@@ -278,10 +278,10 @@
<el-card
class=
"mt-10"
>
<div
class=
"card-title"
slot=
"header"
>
{{$t('通用')}}
</div>
<div
class=
"form-section"
>
<el-form-item
label=
"唛头
"
prop=
"marks"
>
<el-form-item
:label=
"$t('唛头')
"
prop=
"marks"
>
<el-input
v-model=
"form.marks"
></el-input>
</el-form-item>
<el-form-item
label=
"是否控货
"
prop=
"isCargoControl"
class=
"ml-20"
>
<el-form-item
:label=
"$t('是否控货')
"
prop=
"isCargoControl"
class=
"ml-20"
>
<dict-selector
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
formatter=
"bool"
v-model=
"form.isCargoControl"
form-type=
"radio"
/>
</el-form-item>
</div>
...
...
@@ -574,7 +574,20 @@ export default {
},
ccIdArr
:
[],
// 表单校验
rules
:
{
labelStyle
:
'
width:120px
'
,
showBatchImportDialog
:
false
,
// 显示批量导入弹窗
importList
:[],
exportLoading
:
false
,
// 装下单模板下载状态
contactChooseType
:
null
,
// 联系人选择对象consignor(发货人) 或者 consignee(收货人)
quickCreateType
:
null
,
// 快速新建客户类型,1发货人,2收货人
showWorkFlow
:
false
,
// 是否显示工作流表单
calculating
:
false
,
// 是否正在计算费用,防止频繁重新请求
initing
:
true
,
// 初始化中
};
},
computed
:{
rules
(){
return
{
marks
:
[
{
required
:
true
,
message
:
this
.
$t
(
'
请填写唛头
'
)},
{
...
...
@@ -603,19 +616,8 @@ export default {
customsType
:
[{
required
:
true
,
message
:
this
.
$t
(
'
请选择单证报关
'
)}],
warehouseType
:
[{
required
:
true
,
message
:
this
.
$t
(
'
请选择入仓类型
'
)}],
harvestMethod
:
[{
required
:
true
,
message
:
this
.
$t
(
'
请选择收货方式
'
)}]
}
},
labelStyle
:
'
width:120px
'
,
showBatchImportDialog
:
false
,
// 显示批量导入弹窗
importList
:[],
exportLoading
:
false
,
// 装下单模板下载状态
contactChooseType
:
null
,
// 联系人选择对象consignor(发货人) 或者 consignee(收货人)
quickCreateType
:
null
,
// 快速新建客户类型,1发货人,2收货人
showWorkFlow
:
false
,
// 是否显示工作流表单
calculating
:
false
,
// 是否正在计算费用,防止频繁重新请求
initing
:
true
,
// 初始化中
};
},
computed
:{
// 是否已完成入仓
inWarehouse
(){
return
!!
this
.
form
.
inWarehouseState
&&
this
.
form
.
inWarehouseState
>
201
...
...
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