|
|
|
@ -6,8 +6,11 @@ |
|
|
|
</el-form> |
|
|
|
|
|
|
|
<el-table |
|
|
|
@row-click="changeData" |
|
|
|
highlight-current-row |
|
|
|
:height="height" |
|
|
|
:data="dataList" |
|
|
|
ref="mainTable" |
|
|
|
border |
|
|
|
v-loading="dataListLoading" |
|
|
|
style="width: 100%;"> |
|
|
|
@ -15,14 +18,17 @@ |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="150" |
|
|
|
fixed="left" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">修改</a> |
|
|
|
<a type="text" size="small" @click="deleteHandle(scope.row.id)">删除</a> |
|
|
|
<a type="text" size="small" @click="updateModel(scope.row)">修改</a> |
|
|
|
<a type="text" size="small" @click="addOrUpdateHandle(scope.row)">下达</a> |
|
|
|
<a type="text" size="small" @click="addOrUpdateHandle(scope.row)">仓库确认</a> |
|
|
|
<a type="text" size="small" @click="deleteHandle(scope.row)">删除</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
v-for="(item,index) in columnList" :key="index" |
|
|
|
v-for="(item,index) in columnList1" :key="index" |
|
|
|
:sortable="item.columnSortable" |
|
|
|
:prop="item.columnProp" |
|
|
|
:header-align="item.headerAlign" |
|
|
|
@ -47,17 +53,56 @@ |
|
|
|
:total="totalPage" |
|
|
|
layout="total, sizes, prev, pager, next, jumper"> |
|
|
|
</el-pagination> |
|
|
|
<el-tabs style="font-size: 12px;min-height: 200px" class="customer-tab" v-model="activeName" type="border-card" @tab-click="tabClick" > |
|
|
|
<el-tab-pane label="明细" name="detail"> |
|
|
|
<el-table |
|
|
|
:height="height" |
|
|
|
:data="dataList2" |
|
|
|
border |
|
|
|
style="width: 100%;"> |
|
|
|
<el-table-column |
|
|
|
v-for="(item,index) in columnList2" :key="index" |
|
|
|
:sortable="item.columnSortable" |
|
|
|
:prop="item.columnProp" |
|
|
|
:header-align="item.headerAlign" |
|
|
|
:show-overflow-tooltip="item.showOverflowTooltip" |
|
|
|
:align="item.align" |
|
|
|
:fixed="item.fixed==''?false:item.fixed" |
|
|
|
:min-width="item.columnWidth" |
|
|
|
:label="item.columnLabel"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
fixed="left" |
|
|
|
header-align="center" |
|
|
|
align="center" |
|
|
|
width="100" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="text" size="small" @click="deleteNotifySOS(scope.row)">删除</a> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-tab-pane> |
|
|
|
|
|
|
|
</el-tabs> |
|
|
|
|
|
|
|
<!-- 导入 --> |
|
|
|
<del-upload-excel ref="delUploadExcel" @refreshPageTables="searchTable" v-drag></del-upload-excel> |
|
|
|
<del-upload-excel ref="delUploadExcel" @refreshTable="searchTable" v-drag></del-upload-excel> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import delUploadExcel from "./del_upload_excel.vue"; |
|
|
|
import {} from "@/api/sysLanguage.js" |
|
|
|
import { |
|
|
|
searchEcssCoDelNotifyHeader, |
|
|
|
searchEcssCoDelNotifyDetail, |
|
|
|
|
|
|
|
}from "@/api/ecss/ecss.js" |
|
|
|
export default { |
|
|
|
name: "null", |
|
|
|
components:{ |
|
|
|
@ -70,6 +115,7 @@ |
|
|
|
totalPage: 0, |
|
|
|
height: 200, |
|
|
|
dataList:[], |
|
|
|
dataList2:[], |
|
|
|
dataListLoading: false, |
|
|
|
searchData: { |
|
|
|
page: 1, |
|
|
|
@ -80,7 +126,8 @@ |
|
|
|
buttons:{ |
|
|
|
search:'查询', |
|
|
|
}, |
|
|
|
columnList: [ |
|
|
|
activeName:'detail', |
|
|
|
columnList1: [ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
@ -125,7 +172,7 @@ |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "delNo", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
align: "center", |
|
|
|
columnLabel: "发货通知单号", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
@ -133,36 +180,36 @@ |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80 |
|
|
|
columnWidth: 110 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1ItemNo', |
|
|
|
serialNumber: '801001Table1ReadyDate', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "itemNo", |
|
|
|
columnProp: "readyDate", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "行号", |
|
|
|
align: "center", |
|
|
|
columnLabel: "ReadyDate", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80 |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1NotifyDate', |
|
|
|
serialNumber: '801001Table1CustomerName', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "notifyDate", |
|
|
|
columnProp: "customerName", |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: "发货日期", |
|
|
|
align: "left", |
|
|
|
columnLabel: "客户名称", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -174,13 +221,13 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1NotifyStatus', |
|
|
|
serialNumber: '801001Table1ShippingMode', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "notifyStatus", |
|
|
|
columnProp: "shippingMode", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "通知单状态", |
|
|
|
columnLabel: "ShippingMode", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -192,13 +239,13 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1SalesOrder', |
|
|
|
serialNumber: '801001Table1Destination', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "salesOrder", |
|
|
|
columnProp: "destination", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "销售订单号", |
|
|
|
columnLabel: "Destination", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -210,135 +257,173 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1Line', |
|
|
|
serialNumber: '801001Table1NotifyStatus', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "line", |
|
|
|
columnProp: "notifyStatus", |
|
|
|
headerAlign: "center", |
|
|
|
align: "right", |
|
|
|
columnLabel: "销售单行号", |
|
|
|
align: "left", |
|
|
|
columnLabel: "通知单状态", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80 |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1ReadyDate', |
|
|
|
serialNumber: '801001Table1NotifyDate', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "readyDate", |
|
|
|
columnProp: "notifyDate", |
|
|
|
headerAlign: "center", |
|
|
|
align: "center", |
|
|
|
columnLabel: "ReadyDate", |
|
|
|
columnLabel: "发货日期", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
columnWidth: 120 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1CustomerName', |
|
|
|
serialNumber: '801001Table1ErpDelNo', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "customerName", |
|
|
|
columnProp: "erpDelNo", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "客户名称", |
|
|
|
columnLabel: "ERP发货单号", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1CustomerPO', |
|
|
|
serialNumber: '801001Table1CreateBy', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "customerPO", |
|
|
|
columnProp: "createBy", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "客户采购单号", |
|
|
|
columnLabel: "创建人", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
columnWidth: 80 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1Version', |
|
|
|
serialNumber: '801001Table1CreateDate', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "version", |
|
|
|
columnProp: "createDate", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "Version", |
|
|
|
align: "center", |
|
|
|
columnLabel: "创建时间", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
columnWidth: 130 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1Status', |
|
|
|
serialNumber: '801001Table1UpdateBy', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "status", |
|
|
|
columnProp: "updateBy", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "Status", |
|
|
|
columnLabel: "修改人", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
columnWidth: 80 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1Family', |
|
|
|
serialNumber: '801001Table1UpdateDate', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "family", |
|
|
|
columnProp: "updateDate", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "Family", |
|
|
|
align: "center", |
|
|
|
columnLabel: "修改时间", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
columnWidth: 130 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1PartNo', |
|
|
|
serialNumber: '801001Table1Remark', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "remark", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "Remark", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 300 |
|
|
|
}, |
|
|
|
], |
|
|
|
columnList2: [ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table2ItemNo', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "itemNo", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "行号", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table2PartNo', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "partNo", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
@ -354,9 +439,9 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1PartDescription', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
serialNumber: '801001Table2PartDescription', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "partDescription", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
@ -372,9 +457,9 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1Qty', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
serialNumber: '801001Table2Qty', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "qty", |
|
|
|
headerAlign: "center", |
|
|
|
align: "right", |
|
|
|
@ -390,13 +475,49 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1Lt', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "lt", |
|
|
|
serialNumber: '801001Table2SalesOrder', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "salesOrder", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "销售订单号", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table2Line', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "line", |
|
|
|
headerAlign: "center", |
|
|
|
align: "right", |
|
|
|
columnLabel: "LT (wks)", |
|
|
|
columnLabel: "销售单行号", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 80 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table2CustomerPO', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "customerPO", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "客户采购单号", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -408,13 +529,13 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1CmcComment', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "cmcComment", |
|
|
|
serialNumber: '801001Table2Version', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "version", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "CMC Comment", |
|
|
|
columnLabel: "Version", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -426,13 +547,13 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1Destination', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "destination", |
|
|
|
serialNumber: '801001Table2Status', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "status", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "Destination", |
|
|
|
columnLabel: "Status", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -444,13 +565,13 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1SaleType', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "saleType", |
|
|
|
serialNumber: '801001Table2Family', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "family", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "内外销方式", |
|
|
|
columnLabel: "Family", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -462,13 +583,31 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1AwbBl', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "awbBl", |
|
|
|
serialNumber: '801001Table2Lt', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "lt", |
|
|
|
headerAlign: "center", |
|
|
|
align: "right", |
|
|
|
columnLabel: "LT (wks)", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table2CmcComment', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "cmcComment", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "AWB/ BL#", |
|
|
|
columnLabel: "CMC Comment", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -480,13 +619,13 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1ShippingNumber', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "shippingNumber", |
|
|
|
serialNumber: '801001Table2SaleType', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "saleType", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "ShippingNumber", |
|
|
|
columnLabel: "内外销方式", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -498,13 +637,13 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1ShippingMode', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "shippingMode", |
|
|
|
serialNumber: '801001Table2AwbBl', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "awbBl", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "ShippingMode", |
|
|
|
columnLabel: "AWB/ BL#", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -516,9 +655,27 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1ForwarderInfo', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
serialNumber: '801001Table2ShippingNumber', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "shippingNumber", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "ShippingNumber", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table2ForwarderInfo', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "forwarderInfo", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
@ -534,9 +691,9 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1Currency', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
serialNumber: '801001Table2Currency', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "currency", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
@ -552,9 +709,9 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1Tp', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
serialNumber: '801001Table2Tp', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "tp", |
|
|
|
headerAlign: "center", |
|
|
|
align: "right", |
|
|
|
@ -570,9 +727,9 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1TtlAmount', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
serialNumber: '801001Table2TtlAmount', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "ttlAmount", |
|
|
|
headerAlign: "center", |
|
|
|
align: "right", |
|
|
|
@ -588,9 +745,9 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1SumPrice', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
serialNumber: '801001Table2SumPrice', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "sumPrice", |
|
|
|
headerAlign: "center", |
|
|
|
align: "right", |
|
|
|
@ -606,9 +763,9 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1So', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
serialNumber: '801001Table2So', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "so", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
@ -624,9 +781,9 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1Upc', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
serialNumber: '801001Table2Upc', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "upc", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
@ -642,31 +799,13 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1ErpDelNo', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
columnProp: "erpDelNo", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
columnLabel: "ERP发货单号", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 100 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1ErpDelItemNo', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
serialNumber: '801001Table2ErpDelItemNo', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "erpDelItemNo", |
|
|
|
headerAlign: "center", |
|
|
|
align: "right", |
|
|
|
columnLabel: "行号", |
|
|
|
columnLabel: "ERP发货单行号", |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
@ -678,9 +817,9 @@ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 801001, |
|
|
|
serialNumber: '801001Table1Remark', |
|
|
|
tableId: "801001Table1", |
|
|
|
tableName: "关务系统发货通知单", |
|
|
|
serialNumber: '801001Table2Remark', |
|
|
|
tableId: "801001Table2", |
|
|
|
tableName: "关务系统发货通知单明细", |
|
|
|
columnProp: "remark", |
|
|
|
headerAlign: "center", |
|
|
|
align: "left", |
|
|
|
@ -694,6 +833,7 @@ |
|
|
|
columnWidth: 300 |
|
|
|
}, |
|
|
|
], |
|
|
|
currentRow:{}, |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
@ -716,7 +856,7 @@ |
|
|
|
searchTable(){ |
|
|
|
this.searchData.limit = this.pageSize |
|
|
|
this.searchData.page = this.pageIndex |
|
|
|
searchNotifyHeader(this.searchData).then(({data}) => { |
|
|
|
searchEcssCoDelNotifyHeader(this.searchData).then(({data}) => { |
|
|
|
//区分请求成功和失败的状况 |
|
|
|
if (data && data.code == 0) { |
|
|
|
this.dataList = data.page.list |
|
|
|
@ -734,11 +874,39 @@ |
|
|
|
} |
|
|
|
}); |
|
|
|
}, |
|
|
|
changeData(row){ |
|
|
|
this.currentRow = JSON.parse(JSON.stringify(row)); |
|
|
|
this.headerData=row; |
|
|
|
this.refreshCurrentTabTable (); |
|
|
|
}, |
|
|
|
importModel(){ |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs.delUploadExcel.init() |
|
|
|
}) |
|
|
|
}, |
|
|
|
refreshCurrentTabTable(){ |
|
|
|
if(this.currentRow===''||this.currentRow===null){ |
|
|
|
this.currentRow={site:'',delNo:''} |
|
|
|
} |
|
|
|
if(this.activeName==='detail'){ |
|
|
|
searchEcssCoDelNotifyDetail(this.currentRow).then(({data}) => { |
|
|
|
//区分请求成功和失败的状况 |
|
|
|
if (data && data.code == 0) { |
|
|
|
this.dataList2 = data.rows |
|
|
|
|
|
|
|
} else { |
|
|
|
this.dataList2 = []; |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
tabClick (tab, event) { |
|
|
|
// 刷新列表数据 |
|
|
|
this.refreshCurrentTabTable() |
|
|
|
}, |
|
|
|
updateModel(){ |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
|
|
|
|
|