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
93b346ea
Commit
93b346ea
authored
Jul 27, 2023
by
wanglh1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出仓修改
parent
b8ce5f77
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
3 deletions
+68
-3
checkout.vue
src/views/ecw/box/shippingAir/nodePage/checkout.vue
+67
-2
shipment.vue
src/views/ecw/box/shippingAir/nodePage/shipment.vue
+1
-1
No files found.
src/views/ecw/box/shippingAir/nodePage/checkout.vue
View file @
93b346ea
<
template
>
<div>
<el-form
ref=
"airCheckoutForm"
:model=
"airCheckoutObj"
:rules=
"rules"
label-width=
"80px"
>
<el-form
ref=
"airCheckoutForm"
:model=
"airCheckoutObj"
:rules=
"rules"
label-width=
"100px"
>
<el-form-item
:label=
"$t('')"
prop=
"deliverType"
>
<el-radio-group
v-model=
"airShipmentObj.deliverType"
:disabled=
"true"
>
<el-radio
v-for=
"item in deliverTypes"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-radio>
</el-radio-group>
</el-form-item>
<div
v-show=
"airShipmentObj.deliverType === '1'"
>
<el-form-item
:label=
"$t('送货时间')"
>
<el-date-picker
type=
"datetime"
:disabled=
"true"
:placeholder=
"$t('请选择日期')"
v-model=
"airShipmentObj.deliverTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
<el-form-item
:label=
"$t('送货地址')"
>
<el-input
v-model=
"airShipmentObj.deliverAddress"
:disabled=
"true"
:placeholder=
"$t('请输入送货地址')"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('车牌')"
>
<el-input
v-model=
"airShipmentObj.licensePlate"
:disabled=
"true"
:placeholder=
"$t('请输入车牌')"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('司机')"
>
<el-input
v-model=
"airShipmentObj.driver"
:disabled=
"true"
:placeholder=
"$t('请输入司机')"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('司机联系方式')"
>
<el-input
v-model=
"airShipmentObj.driverPhone"
:disabled=
"true"
:placeholder=
"$t('请输入司机联系方式')"
></el-input>
</el-form-item>
</div>
<div
v-show=
"airShipmentObj.deliverType === '2'"
>
<el-form-item
:label=
"$t('自提时间')"
>
<el-date-picker
type=
"datetime"
:disabled=
"true"
:placeholder=
"$t('请选择日期')"
v-model=
"airShipmentObj.deliverTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
<el-form-item
:label=
"$t('自提地址')"
>
<el-input
v-model=
"airShipmentObj.deliverAddress"
:disabled=
"true"
:placeholder=
"$t('请输入自提地址')"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('车牌')"
>
<el-input
v-model=
"airShipmentObj.licensePlate"
:disabled=
"true"
:placeholder=
"$t('请输入车牌')"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('司机')"
>
<el-input
v-model=
"airShipmentObj.driver"
:disabled=
"true"
:placeholder=
"$t('请输入司机')"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('司机联系方式')"
>
<el-input
v-model=
"airShipmentObj.driverPhone"
:disabled=
"true"
:placeholder=
"$t('请输入司机联系方式')"
></el-input>
</el-form-item>
</div>
<el-form-item
:label=
"$t('出仓日期')"
>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
v-model=
"airCheckoutObj.checkoutTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
...
...
@@ -39,8 +94,13 @@ export default {
components
:
{
userSelect
,
ImageUpload
},
data
()
{
return
{
// 空运出
货
对象
// 空运出
仓
对象
airCheckoutObj
:
{},
// 空运出货对象
airShipmentObj
:
{},
// 送货方式
deliverTypes
:
constantDict
.
deliverType
,
// 校验
rules
:
{
//deliverType: [{ required: true, message: this.$t("必填"), trigger: "change" }],
...
...
@@ -52,6 +112,11 @@ export default {
let
oldData
=
{
...
this
.
$attrs
.
shipmentObj
[
voName
]
};
oldData
=
formatDateStr
(
oldData
,
[
"
checkoutTime
"
]);
this
.
airCheckoutObj
=
oldData
;
let
shipmentdData
=
{
...
this
.
$attrs
.
shipmentObj
[
"
boxAirShipmentBackVO
"
]
};
shipmentdData
=
formatDateStr
(
shipmentdData
,
[
"
deliverTime
"
]);
shipmentdData
=
formatNumberString
(
shipmentdData
,
[
"
deliverType
"
]);
this
.
airShipmentObj
=
shipmentdData
;
},
methods
:
{
/** 提交 */
...
...
src/views/ecw/box/shippingAir/nodePage/shipment.vue
View file @
93b346ea
<
template
>
<div>
<el-form
ref=
"airShipmentForm"
:model=
"airShipmentObj"
:rules=
"rules"
label-width=
"
8
0px"
>
<el-form
ref=
"airShipmentForm"
:model=
"airShipmentObj"
:rules=
"rules"
label-width=
"
10
0px"
>
<el-form-item
:label=
"$t('')"
prop=
"deliverType"
>
<el-radio-group
v-model=
"airShipmentObj.deliverType"
>
<el-radio
v-for=
"item in deliverTypes"
:key=
"item.value"
:label=
"item.value"
>
{{
item
.
label
}}
</el-radio>
...
...
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