Browse Source

【埃驰看板】收货看板-添加字段

master
安虹睿 9 months ago
parent
commit
f9062bf624
  1. 19
      PC/IAC_LargeScreen/src/views/reserveBoard.vue

19
PC/IAC_LargeScreen/src/views/reserveBoard.vue

@ -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)
})

Loading…
Cancel
Save