|
|
@ -74,11 +74,20 @@ |
|
|
|
var removeFlag = [[${@permission.hasPermi('purchase:purchaseStorage:remove')}]]; |
|
|
|
var cancelFlag = [[${@permission.hasPermi('purchase:purchaseStorage:cancel')}]]; |
|
|
|
var restoreFlag = [[${@permission.hasPermi('purchase:purchaseStorage:restore')}]]; |
|
|
|
var storageStatusDatas = [[${@dict.getType('eceiptStatus')}]]; |
|
|
|
var qualityStatusDatas = [[${@dict.getType('qualityStatus')}]]; |
|
|
|
var purchaseStorageTypeDatas = [[${@dict.getType('purchase_storage_type')}]]; |
|
|
|
var purchaseOrderTypeDatas = [[${@dict.getType('sys_order_type')}]]; |
|
|
|
var purchaseDeptTypeDatas = [[${@dict.getType('warehouseDept')}]]; |
|
|
|
|
|
|
|
|
|
|
|
// var storageStatusDatas = [[${@dict.getType('eceiptStatus')}]]; |
|
|
|
// var qualityStatusDatas = [[${@dict.getType('qualityStatus')}]]; |
|
|
|
// var purchaseStorageTypeDatas = [[${@dict.getType('purchase_storage_type')}]]; |
|
|
|
// var purchaseOrderTypeDatas = [[${@dict.getType('sys_order_type')}]]; |
|
|
|
// var purchaseDeptTypeDatas = [[${@dict.getType('warehouseDept')}]]; |
|
|
|
var warehouseStorageStatusDatas = [[${@dict.getType('warehouse_storage_status')}]]; |
|
|
|
var warehouseQualityStatusDatas = [[${@dict.getType('warehouse_quality_status')}]]; |
|
|
|
var warehouseStorageTypeDatas = [[${@dict.getType('warehouse_storage_type')}]]; |
|
|
|
var warehouseOrderTypeDatas = [[${@dict.getType('storage_order_type')}]]; |
|
|
|
var warehouseDeptTypeDatas = [[${@dict.getType('warehouse_dept_type')}]]; |
|
|
|
|
|
|
|
|
|
|
|
var prefix = ctx + "purchase/purchaseStorage"; |
|
|
|
$(function() { |
|
|
|
var options = { |
|
|
@ -94,23 +103,43 @@ |
|
|
|
fixedRightNumber: 1, // 冻结右列个数 |
|
|
|
columns: [ |
|
|
|
{checkbox: true}, |
|
|
|
{title: '采购入库单id',field: 'purchaseStorageId',visible: false}, |
|
|
|
{title: '入库单号',field: 'purchaseStorageCode',}, |
|
|
|
{title: '关联订单号',field: 'purchaseOrderCode',}, |
|
|
|
{title: '入库状态',field: 'storageStatus', |
|
|
|
formatter: function(value, row, index) {return $.table.selectDictLabel(storageStatusDatas, value);} |
|
|
|
{title: '入库单id',field: 'warehouseStorageId',visible: false}, |
|
|
|
{title: '入库单号',field: 'warehouseStorageCode',}, |
|
|
|
{title: '关联订单号',field: 'relatedOrderCode',}, |
|
|
|
{ |
|
|
|
title: '入库状态', |
|
|
|
field: 'warehouseStorageStatus', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return $.table.selectDictLabel(warehouseStorageStatusDatas, value); |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '品质状态',field: 'qualityStatus', |
|
|
|
formatter: function(value, row, index) {return $.table.selectDictLabel(qualityStatusDatas, value);} |
|
|
|
{ |
|
|
|
title: '品质状态', |
|
|
|
field: 'warehouseQualityStatus', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return $.table.selectDictLabel(warehouseQualityStatusDatas, value); |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '入库类型',field: 'purchaseStorageType', |
|
|
|
formatter: function(value, row, index) {return $.table.selectDictLabel(purchaseStorageTypeDatas, value);} |
|
|
|
{ |
|
|
|
title: '入库类型', |
|
|
|
field: 'warehouseStorageType', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return $.table.selectDictLabel(warehouseStorageTypeDatas, value); |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '订单类型',field: 'purchaseOrderType', |
|
|
|
formatter: function(value, row, index) {return $.table.selectDictLabel(purchaseOrderTypeDatas, value);} |
|
|
|
{ |
|
|
|
title: '订单类型', |
|
|
|
field: 'warehouseOrderType', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return $.table.selectDictLabel(warehouseOrderTypeDatas, value); |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '入库部门',field: 'purchaseDeptType', |
|
|
|
formatter: function(value, row, index) {return $.table.selectDictLabel(purchaseDeptTypeDatas, value);} |
|
|
|
{ |
|
|
|
title: '入库部门', |
|
|
|
field: 'warehouseDeptType', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return $.table.selectDictLabel(warehouseDeptTypeDatas, value); |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '通知已到货数量',field: 'notifyArrivedNum',}, |
|
|
|
{title: '实际已到货数量',field: 'actualArrivedNum',}, |
|
|
@ -120,12 +149,21 @@ |
|
|
|
{title: '入库数量',field: 'storageNum',}, |
|
|
|
{title: '到货时间',field: 'arrivedTime',}, |
|
|
|
{title: '暂收时间',field: 'temporaryTime',}, |
|
|
|
{title: '交付质检时间',field: 'deliveryInspectionTime',}, |
|
|
|
{title: '交检时间',field: 'deliveryInspectionTime',}, |
|
|
|
{title: '品质时间',field: 'qualityTime',}, |
|
|
|
{title: '入库时间',field: 'storageTime',}, |
|
|
|
{title: '仓库员', field: 'storageEmployee',}, |
|
|
|
{title: '仓库ID',field: 'stockId',}, |
|
|
|
{title: '仓库名称',field: 'stockName',}, |
|
|
|
{ |
|
|
|
title: '仓库员', |
|
|
|
field: 'warehouseEmployee', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '仓库ID', |
|
|
|
field: 'warehouseCode', |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: '仓库名称', |
|
|
|
field: 'warehouseName', |
|
|
|
}, |
|
|
|
{title: '录入时间',field: 'createTime',}, |
|
|
|
{title: '录入人',field: 'createBy',}, |
|
|
|
{title: '更新人',field: 'updateBy', }, |
|
|
|