Commit 981c26e9 authored by huyf's avatar huyf

提单

parent 213600ae
...@@ -224,6 +224,7 @@ ...@@ -224,6 +224,7 @@
<el-dropdown-item command="error">异常登记</el-dropdown-item> <el-dropdown-item command="error">异常登记</el-dropdown-item>
<el-dropdown-item command="cost">费用登记</el-dropdown-item> <el-dropdown-item command="cost">费用登记</el-dropdown-item>
<el-dropdown-item command="delete">删除</el-dropdown-item> <el-dropdown-item command="delete">删除</el-dropdown-item>
<el-dropdown-item command="editLadingBill">编辑提货单</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
<el-dropdown trigger="click"> <el-dropdown trigger="click">
...@@ -289,6 +290,9 @@ ...@@ -289,6 +290,9 @@
:shipmentObj="currRow" :shipmentObj="currRow"
/> />
</template> </template>
<template v-if="dialogCfg.dialogType === 'editLadingBill'">
<ladingBill v-if="dialogCfg.open" @closeDialog="closeDialog" :shipmentObj="currRow" :getCabinetName="getCabinetName" />
</template>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
...@@ -306,13 +310,15 @@ import { getWarehouseList } from '@/api/ecw/warehouse' ...@@ -306,13 +310,15 @@ import { getWarehouseList } from '@/api/ecw/warehouse'
import costForm from './costForm.vue' import costForm from './costForm.vue'
import regError from './regError.vue' import regError from './regError.vue'
import editForm from './editSeaAirForm.vue' import editForm from './editSeaAirForm.vue'
import ladingBill from "./ladingBill/index.vue";
export default { export default {
name: 'box', name: 'box',
components: { components: {
costForm, costForm,
regError, regError,
editForm editForm,
ladingBill,
}, },
data() { data() {
return { return {
...@@ -538,6 +544,15 @@ export default { ...@@ -538,6 +544,15 @@ export default {
this.handleDelete(row) this.handleDelete(row)
break break
case "editLadingBill":
const cabinetLabel = this.getCabinetName(row.cabinetId);
const title = `查看提单 ${row.selfNo ?? ""} 柜号:${
row.cubNo ?? ""
} 柜型:${cabinetLabel}`;
this.$set(this.dialogCfg, "title", title);
this.$set(this.dialogCfg, "fullscreen", true);
break;
case 'cost': case 'cost':
this.$set(this.dialogCfg, 'title', '费用登记') this.$set(this.dialogCfg, 'title', '费用登记')
break break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment