|
|
@ -26,12 +26,12 @@ export default { |
|
|
|
dataLoading: true, |
|
|
|
// config默认项 |
|
|
|
configDefult:{ |
|
|
|
header:['供应商', '供应商代码', '到货单号', '到货日期', '到货时间窗口','收货口','状态' ], |
|
|
|
header:['供应商', '供应商代码', '是否有PO','到货单号','到货日期', '到货时间窗口','收货口','状态' ], |
|
|
|
waitTime: util.waitTime, |
|
|
|
carousel: 'page', |
|
|
|
// index: true, |
|
|
|
// indexHeader: '序号', |
|
|
|
// columnWidth: [350], |
|
|
|
columnWidth: [350], |
|
|
|
align: ['left','center','center','center','center','center','center',], |
|
|
|
hoverPause: false, // 鼠标悬浮时,不停止轮播 |
|
|
|
rowNum: 10, |
|
|
@ -286,16 +286,17 @@ export default { |
|
|
|
let _item = [] |
|
|
|
_item[0] = item.supplierName;//供应商 |
|
|
|
_item[1] = item.supplierCode;//供应商代码 |
|
|
|
_item[2] = item.asnNumber;//到货单号 |
|
|
|
_item[3] = dateUtil.formatTimeStrToStr(item.arrivalDate);//到货日期 |
|
|
|
_item[4] = item.timeWindow;//到货窗口时间 |
|
|
|
_item[5] = item.dockCode;//发货口 |
|
|
|
_item[2] = item.isNoHasPo == 0 ? '是' : '否';//是否有PO |
|
|
|
_item[3] = item.asnNumber;//到货单号 |
|
|
|
_item[4] = dateUtil.formatTimeStrToStr(item.arrivalDate);//到货日期 |
|
|
|
_item[5] = item.timeWindow;//到货窗口时间 |
|
|
|
_item[6] = item.dockCode;//发货口 |
|
|
|
if(item.status == 'red'){ |
|
|
|
_item[6] = `<span class="statusBlockItem statusBlockItem_warning">延迟</span>`;//状态 |
|
|
|
_item[7] = `<span class="statusBlockItem statusBlockItem_warning">延迟</span>`;//状态 |
|
|
|
}else if(item.status == 'green'){ |
|
|
|
_item[6] = `<span class="statusBlockItem statusBlockItem_normal">收货中</span>`;//状态 |
|
|
|
_item[7] = `<span class="statusBlockItem statusBlockItem_normal">收货中</span>`;//状态 |
|
|
|
}else{ |
|
|
|
_item[6] = `<span class="statusBlockItem statusBlockItem_white">未到收货时间</span>`;//状态 |
|
|
|
_item[7] = `<span class="statusBlockItem statusBlockItem_white">未到收货时间</span>`;//状态 |
|
|
|
} |
|
|
|
rows.push(_item) |
|
|
|
}) |
|
|
|