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
c5e889b6
Commit
c5e889b6
authored
Mar 28, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单箱数点击后弹窗入仓记录的页面加上储位
供应商等一些bug
parent
7fd2f52f
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
67 additions
and
12 deletions
+67
-12
booking.vue
src/views/ecw/box/shippingSea/nodePage/booking.vue
+2
-2
ladingSelect.vue
...iews/ecw/box/shippingSea/nodePage/common/ladingSelect.vue
+36
-0
subMaterial.vue
src/views/ecw/box/shippingSea/nodePage/subMaterial.vue
+12
-5
warehouseDetail.vue
...ws/ecw/box/shippingSea/nodePage/tally/warehouseDetail.vue
+1
-1
seaProcess.vue
src/views/ecw/box/shippingSea/seaProcess.vue
+4
-0
shippingSea.vue
src/views/ecw/box/shippingSea/shippingSea.vue
+8
-1
index.vue
src/views/ecw/ladingShipper/index.vue
+2
-2
edit.vue
src/views/ecw/supplier/edit.vue
+1
-0
index.vue
src/views/ecw/supplier/index.vue
+1
-1
No files found.
src/views/ecw/box/shippingSea/nodePage/booking.vue
View file @
c5e889b6
...
...
@@ -10,8 +10,8 @@
<el-form-item
:label=
"$t('驳船港')"
>
<dockSelect
v-model=
"bookingObj.bargePortId"
:placeholder=
"$t('请选择驳船港')"
:allDocks=
"this.$attrs.allDocks"
/>
</el-form-item>
<el-form-item
:label=
"$t('
大船
港')"
>
<dockSelect
v-model=
"bookingObj.bigPortId"
:placeholder=
"$t('请选择
大船
港')"
:allDocks=
"this.$attrs.allDocks"
/>
<el-form-item
:label=
"$t('
起运
港')"
>
<dockSelect
v-model=
"bookingObj.bigPortId"
:placeholder=
"$t('请选择
起运
港')"
:allDocks=
"this.$attrs.allDocks"
/>
</el-form-item>
<el-form-item
:label=
"$t('目的港')"
>
<dockSelect
v-model=
"bookingObj.destPortId"
:placeholder=
"$t('请选择目的港')"
:allDocks=
"this.$attrs.allDocks"
/>
...
...
src/views/ecw/box/shippingSea/nodePage/common/ladingSelect.vue
0 → 100644
View file @
c5e889b6
<
template
>
<el-select
filterable
:value=
"value === 0 ? undefined : value"
@
change=
"change"
v-bind=
"$attrs"
clearable
>
<el-option
v-for=
"user in getUser"
:key=
"user.id"
:value=
"user.id"
:label=
"$l(user, 'company')"
></el-option>
</el-select>
</
template
>
<
script
>
/**
* 用户
*/
export
default
{
name
:
"
userSelect
"
,
inheritAttrs
:
false
,
props
:
{
value
:
Number
|
Array
,
allUsers
:
Array
,
},
model
:
{
prop
:
"
value
"
,
event
:
"
change
"
,
},
data
()
{
return
{};
},
computed
:
{
getUser
()
{
return
this
.
allUsers
;
},
},
methods
:
{
change
(
val
)
{
this
.
$emit
(
"
change
"
,
val
);
},
},
};
</
script
>
src/views/ecw/box/shippingSea/nodePage/subMaterial.vue
View file @
c5e889b6
...
...
@@ -6,13 +6,12 @@
</el-form-item>
<el-form-item
:label=
"$t('提单号M/BL NO.')"
class=
"two-element"
>
<el-input
v-model=
"subMaterialObj.blMblNo"
:placeholder=
"$t('请输入提单号')"
></el-input>
<el-button
type=
"primary"
>
{{
$t
(
'
提单确认件
'
)
}}
</el-button>
</el-form-item>
<el-form-item
label=
"SO NO."
>
<el-input
v-model=
"subMaterialObj.soNo"
:placeholder=
"$t('请输入SO NO')"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('
装货
港')"
>
<dockSelect
v-model=
"subMaterialObj.startPortId"
:placeholder=
"$t('请选择
装货
港')"
:allDocks=
"this.$attrs.allDocks"
/>
<el-form-item
:label=
"$t('
起运
港')"
>
<dockSelect
v-model=
"subMaterialObj.startPortId"
:placeholder=
"$t('请选择
起运
港')"
:allDocks=
"this.$attrs.allDocks"
/>
</el-form-item>
<el-form-item
:label=
"$t('目的港')"
>
<dockSelect
v-model=
"subMaterialObj.destPortId"
:placeholder=
"$t('请选择目的港')"
:allDocks=
"this.$attrs.allDocks"
/>
...
...
@@ -21,7 +20,7 @@
<supplierSelect
v-model=
"subMaterialObj.shipCompanyId"
:companyType=
"'9'"
:placeholder=
"$t('请选择船公司')"
:allSupplier=
"this.$attrs.allSupplier"
/>
</el-form-item>
<el-form-item
:label=
"$t('托运人')"
>
<
userSelect
v-model=
"subMaterialObj.shipperId"
:placeholder=
"$t('请选择托运人')"
:allUsers=
"this.$attrs.allUsers
"
/>
<
ladingSelect
v-model=
"subMaterialObj.shipperId"
:placeholder=
"$t('请选择托运人')"
:allUsers=
"this.$attrs.allLading
"
/>
</el-form-item>
<el-form-item
:label=
"$t('收货人')"
>
<el-input
v-model=
"subMaterialObj.consigneeName"
></el-input>
...
...
@@ -78,6 +77,7 @@
import
supplierSelect
from
"
./common/supplierSelect.vue
"
;
import
dockSelect
from
"
./common/dockSelect.vue
"
;
import
userSelect
from
"
./common/userSelect.vue
"
;
import
ladingSelect
from
"
./common/ladingSelect.vue
"
;
import
{
getUnitList
}
from
"
@/api/ecw/unit
"
;
import
{
getCabinetPage
}
from
"
@/api/ecw/cabinet
"
;
import
{
billCreate
}
from
"
@/api/ecw/boxSea
"
;
...
...
@@ -90,7 +90,7 @@ import { formatNumberString, constantDict, serviceMsg } from "../utils";
export
default
{
name
:
"
subMaterial
"
,
inheritAttrs
:
false
,
components
:
{
supplierSelect
,
dockSelect
,
userSelect
},
components
:
{
supplierSelect
,
dockSelect
,
userSelect
,
ladingSelect
},
props
:
{
shipmentObj
:
Object
,
},
...
...
@@ -121,6 +121,7 @@ export default {
let
cabinetItem
=
cabinetList
[
index
];
if
(
cabinetItem
.
id
==
this
.
shipmentObj
.
cabinetId
)
{
this
.
cabinetType
=
cabinetItem
.
name
;
this
.
$set
(
this
.
subMaterialObj
,
'
cbm
'
,
cabinetItem
.
ladingBill
)
}
}
});
...
...
@@ -131,7 +132,13 @@ export default {
...
oldData
,
packageUnit
:
oldData
.
packageUnit
===
0
?
undefined
:
oldData
.
packageUnit
,
};
console
.
log
(
this
.
shipmentObj
)
this
.
$set
(
this
.
subMaterialObj
,
'
agentId
'
,
this
.
shipmentObj
.
agentInfo
?.
agentId
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
soNo
'
,
this
.
shipmentObj
.
bookSeaInfo
?.
sono
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
markNo
'
,
"
N/M
"
)
this
.
$set
(
this
.
subMaterialObj
,
'
startPortId
'
,
this
.
shipmentObj
.
bookSeaInfo
?.
bigPortId
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
destPortId
'
,
this
.
shipmentObj
.
bookSeaInfo
?.
destPortId
||
undefined
)
this
.
$set
(
this
.
subMaterialObj
,
'
containerSealNo
'
,(
this
.
shipmentObj
.
trailerInfo
?.
tlContainerNo
||
''
)
+
'
/
'
+
(
this
.
shipmentObj
.
trailerInfo
?.
tlStripSeal
||
'
/
'
))
this
.
getSup
(
this
.
subMaterialObj
.
agentId
)
},
methods
:
{
...
...
src/views/ecw/box/shippingSea/nodePage/tally/warehouseDetail.vue
View file @
c5e889b6
<
template
>
<!-- 订单获取入仓记录 -->
<el-dialog
:title=
"title"
visible
:before-close=
"closeDialog"
:close-on-click-modal=
"false"
width=
"
1000px
"
append-to-body
>
<el-dialog
:title=
"title"
visible
:before-close=
"closeDialog"
:close-on-click-modal=
"false"
width=
"
95%
"
append-to-body
>
<el-table
v-if=
"warehouseItem && warehouseItem.orderWarehouseInBackItemDoList"
:data=
"warehouseItem.orderWarehouseInBackItemDoList"
>
<el-table-column
type=
"index"
:label=
"$t('序号')"
/>
<el-table-column
:label=
"$t('箱数')"
prop=
"cartonsNum"
/>
...
...
src/views/ecw/box/shippingSea/seaProcess.vue
View file @
c5e889b6
...
...
@@ -131,6 +131,10 @@ export default {
},
/** 节点点击 */
nodeClick
(
currIndex
,
node
)
{
// if () {
// this.$message.error(this.$t("没有此操作的权限"));
// return;
// }
if
(
currIndex
>
this
.
currIndex
)
{
this
.
$message
.
error
(
this
.
$t
(
"
请先完成上一步
"
));
return
;
...
...
src/views/ecw/box/shippingSea/shippingSea.vue
View file @
c5e889b6
...
...
@@ -26,7 +26,7 @@
</el-card>
<!-- 海运流程图 -->
<seaProcess
:seaBaseData=
"seaBaseData"
:shipmentObj=
"shipmentObj"
:allSupplier=
"allSupplier"
:allDocks=
"allDocks"
:allUsers=
"allUsers"
:warehouseList=
"warehouseList"
@
getBoxInfo=
"getBoxInfo"
/>
<seaProcess
:seaBaseData=
"seaBaseData"
:shipmentObj=
"shipmentObj"
:allSupplier=
"allSupplier"
:allDocks=
"allDocks"
:allUsers=
"allUsers"
:
allLading=
"allLading"
:
warehouseList=
"warehouseList"
@
getBoxInfo=
"getBoxInfo"
/>
<!-- 海运步骤图 -->
<seaStepDetail
:seaBaseData=
"seaBaseData"
:shipmentObj=
"shipmentObj"
:allSupplier=
"allSupplier"
:allDocks=
"allDocks"
:allUsers=
"allUsers"
:warehouseList=
"warehouseList"
/>
...
...
@@ -43,6 +43,7 @@ import { getWarehouseList } from "@/api/ecw/warehouse";
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
import
{
getDockPage
}
from
"
@/api/ecw/dock
"
;
import
{
listUser
}
from
"
@/api/system/user
"
;
import
{
getLadingShipperPage
}
from
"
@/api/ecw/ladingShipper
"
;
// 这里引入的数据切换语言后要刷新才生效,优化办法是label同时配备labelEn字段,然后再页面上用$l函数调用
import
{
seaBaseData
}
from
"
./utils
"
;
...
...
@@ -64,6 +65,8 @@ export default {
warehouseList
:
[],
// 供应商
allSupplier
:
[],
// 托运人
allLading
:
[],
// 码头
allDocks
:
[],
// 用户
...
...
@@ -90,6 +93,10 @@ export default {
return
item
;
});
});
// 托运人
getLadingShipperPage
({
pageNo
:
"
1
"
,
pageSize
:
"
10000
"
}).
then
(
res
=>
{
this
.
allLading
=
res
.
data
.
list
})
// 码头
getDockPage
({
pageNo
:
"
1
"
,
pageSize
:
"
10000
"
}).
then
((
res
)
=>
{
const
{
data
}
=
res
;
...
...
src/views/ecw/ladingShipper/index.vue
View file @
c5e889b6
...
...
@@ -200,7 +200,7 @@ export default {
/** 删除按钮操作 */
handleDelete
(
row
)
{
const
id
=
row
.
id
;
this
.
$modal
.
confirm
(
this
.
$t
(
'
是否确认删除
供应商
编号为{id}的数据项?
'
,
{
id
})).
then
(
function
()
{
this
.
$modal
.
confirm
(
this
.
$t
(
'
是否确认删除
提单托运人
编号为{id}的数据项?
'
,
{
id
})).
then
(
function
()
{
return
deleteLadingShipper
(
id
);
}).
then
(()
=>
{
this
.
getList
();
...
...
@@ -215,7 +215,7 @@ export default {
params
.
pageSize
=
undefined
;
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
'
createTime
'
);
// 执行导出
this
.
$modal
.
confirm
(
this
.
$t
(
'
是否确认导出所有
供应商
数据项?
'
)).
then
(()
=>
{
this
.
$modal
.
confirm
(
this
.
$t
(
'
是否确认导出所有
提单托运人
数据项?
'
)).
then
(()
=>
{
this
.
exportLoading
=
true
;
return
exportLadingShipperExcel
(
params
);
}).
then
(
response
=>
{
...
...
src/views/ecw/supplier/edit.vue
View file @
c5e889b6
...
...
@@ -752,6 +752,7 @@ export default {
this
.
$set
(
this
.
formData
,
'
companyTypeArr
'
,
this
.
strToArray
(
response
.
data
.
companyType
))
this
.
$set
(
this
.
formData
,
'
settlementPeriod
'
,
response
.
data
.
settlementPeriod
==
0
?
null
:
response
.
data
.
settlementPeriod
)
this
.
$set
(
this
.
formData
,
'
priceAdvantage
'
,
response
.
data
.
priceAdvantage
==
0
?
null
:
response
.
data
.
priceAdvantage
)
this
.
formData
.
bankList
.
forEach
(
item
=>
{
item
.
currency
=
+
item
.
currency
})
...
...
src/views/ecw/supplier/index.vue
View file @
c5e889b6
...
...
@@ -64,7 +64,7 @@
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
fixed=
"right"
: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"
>
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleDetail(scope.row)"
v-hasPermi=
"['ecw:supplier:query']"
>
{{
$t
(
'
详情
'
)
}}
</el-button>
...
...
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