|
|
@ -1,27 +1,65 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div class="mod-config"> |
|
|
<div class="mod-config"> |
|
|
|
|
|
|
|
|
<el-form label-position="top" style="" :inline="true" :model="queryData" |
|
|
|
|
|
@keyup.enter.native="getDataList()"> |
|
|
|
|
|
<el-form-item label="卷号"> |
|
|
|
|
|
<el-input v-model="queryData.rollno" clearable> |
|
|
|
|
|
|
|
|
<el-form label-position="top" style="" :inline="true" |
|
|
|
|
|
> |
|
|
|
|
|
<el-row > |
|
|
|
|
|
<el-form-item label="标签条码"> |
|
|
|
|
|
<el-input v-model="searchData.rollNo" clearable> |
|
|
</el-input> |
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="物料编码"> |
|
|
<el-form-item label="物料编码"> |
|
|
<el-input v-model="queryData.partno" clearable> |
|
|
|
|
|
|
|
|
<el-input v-model="searchData.partNo" clearable> |
|
|
</el-input> |
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item style="margin-top: 18px"> |
|
|
|
|
|
<el-button @click="getDataList()" type="primary">查询</el-button> |
|
|
|
|
|
|
|
|
<el-form-item label="物料名称"> |
|
|
|
|
|
<el-input v-model="searchData.partDescription" clearable> |
|
|
|
|
|
</el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="仓库号"> |
|
|
|
|
|
<el-input v-model="searchData.warehouseId" clearable> |
|
|
|
|
|
</el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="库位号"> |
|
|
|
|
|
<el-input v-model="searchData.locationId" clearable> |
|
|
|
|
|
</el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="批次号"> |
|
|
|
|
|
<el-input v-model="searchData.batchNo" clearable> |
|
|
|
|
|
</el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
|
|
|
<el-form-item label="批次号"> |
|
|
|
|
|
<el-select v-model="searchData.status" > |
|
|
|
|
|
<el-option label="全部" value=""></el-option> |
|
|
|
|
|
<el-option label="待检" value="待检"></el-option> |
|
|
|
|
|
<el-option label="待入" value="待入"></el-option> |
|
|
|
|
|
<el-option label="在库" value="在库"></el-option> |
|
|
|
|
|
<el-option label="在途" value="在途"></el-option> |
|
|
|
|
|
<el-option label="出库" value="出库"></el-option> |
|
|
|
|
|
<el-option label="冻结" value="冻结"></el-option> |
|
|
|
|
|
</el-select> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
<el-row > |
|
|
|
|
|
<el-form-item style="margin-top: 5px"> |
|
|
|
|
|
<el-button @click="getMainData()" type="primary">查询</el-button> |
|
|
|
|
|
<el-button @click="getDataList()" type="primary">打印</el-button> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-row> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<el-table |
|
|
<el-table |
|
|
:height="height" |
|
|
:height="height" |
|
|
:data="dataList" |
|
|
:data="dataList" |
|
|
border |
|
|
border |
|
|
v-loading="dataListLoading" |
|
|
v-loading="dataListLoading" |
|
|
|
|
|
@selection-change="handleSelectionChange" |
|
|
highlight-current-row |
|
|
highlight-current-row |
|
|
style="width: 100%;"> |
|
|
style="width: 100%;"> |
|
|
|
|
|
<el-table-column |
|
|
|
|
|
type="selection" |
|
|
|
|
|
width="55" |
|
|
|
|
|
align="center"> |
|
|
|
|
|
</el-table-column> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
v-for="(item,index) in columnList" :key="index" |
|
|
v-for="(item,index) in columnList" :key="index" |
|
|
:sortable="item.columnSortable" |
|
|
:sortable="item.columnSortable" |
|
|
@ -39,16 +77,16 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<el-table-column |
|
|
|
|
|
fixed="right" |
|
|
|
|
|
header-align="center" |
|
|
|
|
|
align="center" |
|
|
|
|
|
width="150" |
|
|
|
|
|
label="操作"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<a type="text" size="small" @click="printRoll(scope.row)" herf="#">卷补打</a> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<!-- <el-table-column--> |
|
|
|
|
|
<!-- fixed="right"--> |
|
|
|
|
|
<!-- header-align="center"--> |
|
|
|
|
|
<!-- align="center"--> |
|
|
|
|
|
<!-- width="150"--> |
|
|
|
|
|
<!-- label="操作">--> |
|
|
|
|
|
<!-- <template slot-scope="scope">--> |
|
|
|
|
|
<!-- <a type="text" size="small" @click="printRoll(scope.row)" herf="#">卷补打</a>--> |
|
|
|
|
|
<!-- </template>--> |
|
|
|
|
|
<!-- </el-table-column>--> |
|
|
|
|
|
|
|
|
</el-table> |
|
|
</el-table> |
|
|
|
|
|
|
|
|
@ -61,295 +99,285 @@ |
|
|
|
|
|
|
|
|
import {getCRollInfoList} from '@/api/crollinfo/crollinfo.js' |
|
|
import {getCRollInfoList} from '@/api/crollinfo/crollinfo.js' |
|
|
import {rollPrint} from '@/api/finishedProductWarehouse/rollPrint.js' |
|
|
import {rollPrint} from '@/api/finishedProductWarehouse/rollPrint.js' |
|
|
|
|
|
import {getInboundQcResultData, getKuCunLabelData} from '../../../api/wms/wms' |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
height: 450, |
|
|
height: 450, |
|
|
queryData: { |
|
|
|
|
|
day1: '', |
|
|
|
|
|
day2: '', |
|
|
|
|
|
rollno: '', |
|
|
|
|
|
partno: '' |
|
|
|
|
|
|
|
|
searchData: { |
|
|
|
|
|
site:this.$store.state.user.site, |
|
|
|
|
|
partNo:'', |
|
|
|
|
|
partDescription:'', |
|
|
|
|
|
warehouseId:'', |
|
|
|
|
|
locationId:'', |
|
|
|
|
|
rollNo:'', |
|
|
|
|
|
status:'', |
|
|
|
|
|
batchNo:'', |
|
|
|
|
|
page: 1, |
|
|
|
|
|
limit: 10, |
|
|
}, |
|
|
}, |
|
|
|
|
|
pageIndex: 1, |
|
|
|
|
|
pageSize: 50, |
|
|
|
|
|
totalPage: 0, |
|
|
columnList: [ |
|
|
columnList: [ |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "rollno", |
|
|
|
|
|
"columnLabel": "卷号", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 100, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 10, |
|
|
|
|
|
"status": true, |
|
|
|
|
|
"fixed": true, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "string", |
|
|
|
|
|
"align": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "partno", |
|
|
|
|
|
"columnLabel": "物料编号", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 100, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 20, |
|
|
|
|
|
"status": true, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "string", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1BuNo', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "buNo", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "center", |
|
|
|
|
|
columnLabel: "BU", |
|
|
|
|
|
columnWidth: '70', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "partDescription", |
|
|
|
|
|
"columnLabel": "物料描述", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 250, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 30, |
|
|
|
|
|
"status": true, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "string", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1RollNo', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "rollNo", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "center", |
|
|
|
|
|
columnLabel: "标签条码", |
|
|
|
|
|
columnWidth: '110', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "site", |
|
|
|
|
|
"columnLabel": "工厂编号", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 80, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 40, |
|
|
|
|
|
"status": true, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "string", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1WarehouseId', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "warehouseId", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "仓库编码", |
|
|
|
|
|
columnWidth: '100', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "rollqty", |
|
|
|
|
|
"columnLabel": "卷数量", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 41, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 7, |
|
|
|
|
|
"status": true, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "number", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1LocationId', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "locationId", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "库位编码", |
|
|
|
|
|
columnWidth: '100', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "status", |
|
|
|
|
|
"columnLabel": "状态", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 80, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 50, |
|
|
|
|
|
"status": true, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "number", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1QtyOnHand', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "qtyOnHand", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "right", |
|
|
|
|
|
columnLabel: "标签数量", |
|
|
|
|
|
columnWidth: '100', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "sourcetype", |
|
|
|
|
|
"columnLabel": "来源类型", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 80, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 60, |
|
|
|
|
|
"status": true, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "string", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1ParentRollNo', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "parentRollNo", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "上级标签号", |
|
|
|
|
|
columnWidth: '100', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "warehouseid", |
|
|
|
|
|
"columnLabel": "仓库编码", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 80, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 70, |
|
|
|
|
|
"status": false, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "string", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1PartNo', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "partNo", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "物料编码", |
|
|
|
|
|
columnWidth: '120', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "supplierid", |
|
|
|
|
|
"columnLabel": "供应商编号", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 80, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 80, |
|
|
|
|
|
"status": false, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "string", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1PartDescription', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "partDescription", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "物料名称", |
|
|
|
|
|
columnWidth: '240', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "suppliername", |
|
|
|
|
|
"columnLabel": "供应商名称", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 80, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 90, |
|
|
|
|
|
"status": false, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "string", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1PartDescEn', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "partDescEn", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "英文物料名称", |
|
|
|
|
|
columnWidth: '200', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "createdby", |
|
|
|
|
|
"columnLabel": "创建人", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 80, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 100, |
|
|
|
|
|
"status": true, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "string", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1Status', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "status", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "标签状态", |
|
|
|
|
|
columnWidth: '80', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "rolldate", |
|
|
|
|
|
"columnLabel": "卷创建时间", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 120, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 110, |
|
|
|
|
|
"status": true, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "date", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1LabelType', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "labelType", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "标签类型", |
|
|
|
|
|
columnWidth: '80', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "manufacturedate", |
|
|
|
|
|
"columnLabel": "制造日期", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 120, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 111, |
|
|
|
|
|
"status": true, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "string", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1OrderRef1', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "orderRef1", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "left", |
|
|
|
|
|
columnLabel: "关联单号", |
|
|
|
|
|
columnWidth: '100', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "createddate", |
|
|
|
|
|
"columnLabel": "创建时间", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 150, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 112, |
|
|
|
|
|
"status": true, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "date", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1OrderRef2', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "orderRef2", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "right", |
|
|
|
|
|
columnLabel: "关联单行号", |
|
|
|
|
|
columnWidth: '80', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"userId": this.$store.state.user.name, |
|
|
|
|
|
"tableId": "105003002RP", |
|
|
|
|
|
"tableName": "卷标签打印", |
|
|
|
|
|
"columnProp": "remark", |
|
|
|
|
|
"columnLabel": "备注", |
|
|
|
|
|
"columnHidden": false, |
|
|
|
|
|
"columnImage": false, |
|
|
|
|
|
"columnSortable": false, |
|
|
|
|
|
"columnWidth": 80, |
|
|
|
|
|
"format": null, |
|
|
|
|
|
"sortLv": 113, |
|
|
|
|
|
"status": false, |
|
|
|
|
|
"fixed": false, |
|
|
|
|
|
"serialNumber": null, |
|
|
|
|
|
"columnType": "string", |
|
|
|
|
|
"align": null |
|
|
|
|
|
|
|
|
userId: this.$store.state.user.name, |
|
|
|
|
|
functionId: this.functionId, |
|
|
|
|
|
serialNumber: '680Table1ManufactureDate', |
|
|
|
|
|
tableId: "680Table1", |
|
|
|
|
|
tableName: "库存标签表", |
|
|
|
|
|
columnProp: "manufactureDate", |
|
|
|
|
|
headerAlign: "center", |
|
|
|
|
|
align: "center", |
|
|
|
|
|
columnLabel: "生产日期", |
|
|
|
|
|
columnWidth: '120', |
|
|
|
|
|
columnHidden: false, |
|
|
|
|
|
columnImage: false, |
|
|
|
|
|
columnSortable: false, |
|
|
|
|
|
sortLv: 0, |
|
|
|
|
|
status: true, |
|
|
|
|
|
fixed: false |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
], |
|
|
], |
|
|
dataList: [], |
|
|
dataList: [], |
|
|
|
|
|
|
|
|
dataListLoading: false, |
|
|
dataListLoading: false, |
|
|
|
|
|
|
|
|
|
|
|
selectionDataList:[], |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
|
@ -378,7 +406,23 @@ export default { |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
handleSelectionChange(val){ |
|
|
|
|
|
this.selectionDataList = val |
|
|
|
|
|
console.log(this.selectionDataList) |
|
|
|
|
|
}, |
|
|
|
|
|
getMainData(){ |
|
|
|
|
|
this.searchData.limit = this.pageSize |
|
|
|
|
|
this.searchData.page = this.pageIndex |
|
|
|
|
|
getKuCunLabelData(this.searchData).then(({data}) => { |
|
|
|
|
|
if (data.code === 0) { |
|
|
|
|
|
this.dataList = data.page.list |
|
|
|
|
|
this.pageIndex = data.page.currPage |
|
|
|
|
|
this.pageSize = data.page.pageSize |
|
|
|
|
|
this.totalPage = data.page.totalCount |
|
|
|
|
|
} |
|
|
|
|
|
this.dataListLoading = false |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|
|
|
|
|
|
|
|