szh_zidingyibiaoti
张同海 2 years ago
parent 50d75cde72
commit 58fa53046b

@ -858,6 +858,7 @@ export default {
} else if (typeArr2.includes(field[1]) || typeArr4.includes(field[1])) {
label = this.emnuDefaultLabel(field[1])
}
console.log('新增走着??????', label, item.code)
initDetail.bookingEDIExt[label] = item.code
bookingEDIExt[label] = item.code
this.bookingDetails.bookingEDIExt[label] =

@ -369,7 +369,7 @@ export default {
}}
>
{this.packageList.map((item, index) => {
return <a-select-option value={index}>{item.name}</a-select-option>
return <a-select-option value={index}>{item.code}</a-select-option>
})}
</a-select>
)

@ -187,7 +187,7 @@
<a-input :allowClear="true" v-model="initCabinFrom.toName" />
</a-form-item>
</a-col>
<a-col :span="8">
<a-col :span="6">
<a-form-item
label="ATTN"
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
@ -197,7 +197,7 @@
<a-input :allowClear="true" v-model="initCabinFrom.attn" />
</a-form-item>
</a-col>
<a-col :span="8">
<a-col :span="6">
<a-form-item
label="电话"
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
@ -207,7 +207,7 @@
<a-input :allowClear="true" v-model="initCabinFrom.attnTel" />
</a-form-item>
</a-col>
<a-col :span="8">
<a-col :span="6">
<a-form-item
label="邮箱"
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
@ -217,8 +217,18 @@
<a-input :allowClear="true" v-model="initCabinFrom.attnMail" />
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item
label="手机"
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" v-model="initCabinFrom.attnPhone" />
</a-form-item>
</a-col>
<!-- from -->
<a-col :span="8">
<a-col :span="6">
<a-form-item
label="FROM"
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
@ -228,7 +238,7 @@
<a-input :allowClear="true" v-model="initCabinFrom.fromName" />
</a-form-item>
</a-col>
<a-col :span="8">
<a-col :span="6">
<a-form-item
label="电话"
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
@ -238,7 +248,7 @@
<a-input :allowClear="true" v-model="initCabinFrom.fromTel" />
</a-form-item>
</a-col>
<a-col :span="8">
<a-col :span="6">
<a-form-item
label="邮箱"
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
@ -248,6 +258,16 @@
<a-input :allowClear="true" v-model="initCabinFrom.fromMail" />
</a-form-item>
</a-col>
<a-col :span="6">
<a-form-item
label="手机"
:labelCol="{ xs: { span: 24 }, sm: { span: 5 } }"
:wrapperCol="{ xs: { span: 24 }, sm: { span: 15 } }"
has-feedback
>
<a-input :allowClear="true" v-model="initCabinFrom.fromPhone" />
</a-form-item>
</a-col>
</div>
<template v-if="modelType === 'initCabin'">
<div class="item-box cabin-box" :style="{ paddingTop: '0px' }">
@ -713,7 +733,7 @@
</template>
</a-modal>
<!-- 运踪弹窗 end -->
<pre-order ref="preOrder" :details="details" @frompre="frompre"/>
<pre-order ref="preOrder" :details="details" @frompre="frompre" />
</div>
</template>
<script>
@ -783,9 +803,11 @@ export default {
attn: '',
attnTel: '',
attnMail: '',
attnPhone: '',
fromName: '',
fromTel: '',
fromMail: '',
fromPhone: '',
orderUrl: {
urlTxxp: '',
urlVgm: '',
@ -874,9 +896,8 @@ export default {
}
},
methods: {
frompre(data){
frompre(data) {
this.$emit('frompre', data)
},
FnGoSendCar() {
BookingTruckGetTruckListByBooking({ bookingId: this.id }).then(res => {
@ -1095,9 +1116,11 @@ export default {
attn: '',
attnTel: '',
attnMail: '',
attnPhone: '',
fromName: '',
fromTel: '',
fromMail: '',
fromPhone: '',
orderUrl: {
urlTxxp: '',
urlVgm: '',
@ -1643,14 +1666,14 @@ export default {
cancelRemove() {
console.log('== 取消删除 ==')
},
openPreOrderFun () {
openPreOrderFun() {
if (!this.id) {
this.$message.error('请先保存主单')
return false
}
this.$refs.preOrder.init()
},
closeOpenPreOrder () {
closeOpenPreOrder() {
this.$refs.preOrder.close()
}
}

Loading…
Cancel
Save