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
ad8138da
Commit
ad8138da
authored
May 13, 2024
by
lanbaoming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-05-13二批问题处理和BUG修复
parent
a663b9f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
9 deletions
+52
-9
supplierSelect.vue
...ws/ecw/box/shippingAir/nodePage/common/supplierSelect.vue
+20
-5
cusDeclaration.vue
src/views/ecw/box/shippingAir/nodePage/cusDeclaration.vue
+4
-2
index.vue
src/views/report/vz/index.vue
+28
-2
No files found.
src/views/ecw/box/shippingAir/nodePage/common/supplierSelect.vue
View file @
ad8138da
...
@@ -25,9 +25,10 @@ export default {
...
@@ -25,9 +25,10 @@ export default {
companyType
:
String
,
companyType
:
String
,
value
:
Number
,
value
:
Number
,
allSupplier
:
Array
,
allSupplier
:
Array
,
//0-國内供應商,1-國外供應商 lanbm 2024-05-11 添加注释
areaType
:
{
areaType
:
{
type
:
Number
,
type
:
Number
,
default
:
0
default
:
0
,
},
},
},
},
model
:
{
model
:
{
...
@@ -39,13 +40,27 @@ export default {
...
@@ -39,13 +40,27 @@ export default {
},
},
computed
:
{
computed
:
{
getSuppliers
()
{
getSuppliers
()
{
//alert(this.areaType);
//alert(this.companyType);
let
allSupplier
=
this
.
allSupplier
.
filter
(
let
allSupplier
=
this
.
allSupplier
.
filter
(
(
item
)
=>
item
.
areaType
==
this
.
areaType
(
item
)
=>
item
.
areaType
==
this
.
areaType
);
);
if
(
this
.
areaType
==
1
||
!
this
.
companyType
)
return
allSupplier
;
//0-國内供應商,1-國外供應商 lanbm 2024-05-11 添加注释
return
allSupplier
.
filter
((
item
)
=>
//if(this.areaType == 1 || !this.companyType) return allSupplier;
item
.
companyTypes
.
includes
(
this
.
companyType
)
//lanbm 2024-05-11 把或改且,解决空运供应商获取是海运供应商问题
);
//
if
(
this
.
areaType
==
1
)
return
allSupplier
;
if
(
this
.
companyType
==
null
||
this
.
companyType
==
""
||
this
.
companyType
==
undefined
)
{
return
allSupplier
;
}
else
{
return
allSupplier
.
filter
((
item
)
=>
item
.
companyTypes
.
includes
(
this
.
companyType
)
);
}
},
},
},
},
methods
:
{
methods
:
{
...
...
src/views/ecw/box/shippingAir/nodePage/cusDeclaration.vue
View file @
ad8138da
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('报关公司名称')"
>
<el-form-item
:label=
"$t('报关公司名称')"
>
<supplierSelect
v-model=
"cusDeclarationObj.dcCompanyId"
:companyType=
"'
2
'"
:placeholder=
"$t('请选择报关公司名称')"
:allSupplier=
"this.$attrs.allSupplier"
/>
<supplierSelect
v-model=
"cusDeclarationObj.dcCompanyId"
:companyType=
"'
7
'"
:placeholder=
"$t('请选择报关公司名称')"
:allSupplier=
"this.$attrs.allSupplier"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('截关时间')"
>
<el-form-item
:label=
"$t('截关时间')"
>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
v-model=
"cusDeclarationObj.dcCutOffTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
v-model=
"cusDeclarationObj.dcCutOffTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<!-- 查验 -->
<div
v-show=
"cusDeclarationObj.dcCustomsStatus === '3'"
>
<div
v-show=
"cusDeclarationObj.dcCustomsStatus === '3'"
>
<el-form-item
:label=
"$t('查验')"
>
<el-form-item
:label=
"$t('查验')"
>
<el-radio-group
v-model=
"cusDeclarationObj.dcCheckStatus"
:disabled=
"inReview || inOverReview || isCheckDeal('check')"
>
<el-radio-group
v-model=
"cusDeclarationObj.dcCheckStatus"
:disabled=
"inReview || inOverReview || isCheckDeal('check')"
>
...
@@ -213,6 +213,8 @@ import dayjs from 'dayjs'
...
@@ -213,6 +213,8 @@ import dayjs from 'dayjs'
/**
/**
* 报关
* 报关
* lanbm 2024-05-11 把 报关公司名称 下拉列表中的
* company_type 有2 改为7 解决下来框中的公司是海运公司类型的BUG
*/
*/
export
default
{
export
default
{
name
:
'
cusDeclaration
'
,
name
:
'
cusDeclaration
'
,
...
...
src/views/report/vz/index.vue
View file @
ad8138da
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
type=
"primary"
type=
"primary"
plain
plain
icon=
"el-icon-plus"
icon=
"el-icon-plus"
v-show=
"
fals
e"
v-show=
"
tru
e"
size=
"mini"
size=
"mini"
@
click=
"TestFun"
@
click=
"TestFun"
>
>
...
@@ -165,7 +165,10 @@ import {
...
@@ -165,7 +165,10 @@ import {
}
from
"
@/api/report/vz
"
;
}
from
"
@/api/report/vz
"
;
import
Treeselect
from
"
@riophae/vue-treeselect
"
;
import
Treeselect
from
"
@riophae/vue-treeselect
"
;
import
"
@/assets/styles/vue-treeselect.css
"
;
import
"
@/assets/styles/vue-treeselect.css
"
;
//弹出消息框
import
{
MessageBox
}
from
"
element-ui
"
;
import
{
MessageBox
}
from
"
element-ui
"
;
//日期库函数
import
dayjs
from
"
dayjs
"
;
//2024-05-01合并
//2024-05-01合并
export
default
{
export
default
{
...
@@ -351,9 +354,32 @@ export default {
...
@@ -351,9 +354,32 @@ export default {
.
catch
(()
=>
{});
.
catch
(()
=>
{});
},
},
TestFun
()
{
TestFun
()
{
var
bR
=
dayjs
(
'
2024-05-11
'
).
isBefore
(
dayjs
(
'
2024-05-12
'
));
alert
(
bR
);
//获取当前日期
var
now
=
dayjs
().
format
(
'
YYYY-MM-DD dddd HH:mm:ss.SSS A
'
);
MessageBox
(
now
);
//dayjs("2019-01-25").toArray(); // [ 2019, 0, 25, 0, 0, 0, 0 ]
var
dJs
=
dayjs
(
"
2019-01-25
"
).
toJSON
();
//'2019-01-25T02:00:00.000Z'
//MessageBox(dJs);
//dayjs 使用的相关参考
//https://segmentfault.com/a/1190000040835957?sort=newest
//https://dayjs.fenxianglu.cn/category/plugin.html#advancedformat
//年 : dayjs().year()
//月 : dayjs().month()
//日 : dayjs().date()
//星期 : dayjs().day()
//时 : dayjs().hour()
//分 : dayjs().minute()
//秒 : dayjs().second()
//毫秒 : dayjs().millisecond()
//调用后台函数
/*
test().then((response) => {
test().then((response) => {
this.$modal.msgSuccess("测试发送");
this.$modal.msgSuccess("测试发送");
});
});
*/
},
},
/** 导出按钮操作 */
/** 导出按钮操作 */
handleExport
()
{
handleExport
()
{
...
...
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