|
|
@ -281,11 +281,18 @@ export default { |
|
|
|
prop: "materialCode", |
|
|
|
width: 200, |
|
|
|
}); |
|
|
|
tempsTabs.push({ |
|
|
|
label: "验收单号", |
|
|
|
prop: "acceptanceNo", |
|
|
|
width: 130, |
|
|
|
}); |
|
|
|
tempsTabs.push({ |
|
|
|
label: "验收单日期", |
|
|
|
prop: "acceptanceDate", |
|
|
|
width: 170, |
|
|
|
}); |
|
|
|
tempsTabs.push({ label: "数量", prop: "price", width: 100 }); |
|
|
|
tempsTabs.push({ label: "金额", prop: "amt", width: 100 }); |
|
|
|
tempsTabs.push({ label: "供应商", prop: "supplier", width: 120 }); |
|
|
|
tempsTabs.push({ |
|
|
|
label: "存储地点", |
|
|
@ -297,8 +304,6 @@ export default { |
|
|
|
prop: "storageLocationDesc", |
|
|
|
width: 250, |
|
|
|
}); |
|
|
|
tempsTabs.push({ label: "数量", prop: "price", width: 100 }); |
|
|
|
tempsTabs.push({ label: "金额", prop: "amt", width: 100 }); |
|
|
|
tempsTabs.push({ label: "工厂", prop: "factory", width: 150 }); |
|
|
|
return tempsTabs; |
|
|
|
}, |
|
|
@ -416,9 +421,7 @@ export default { |
|
|
|
// if (column.property === "state") { |
|
|
|
// return { 0: "其他", 2: "已结" }[row[column.property]]; |
|
|
|
// } |
|
|
|
if ( |
|
|
|
column.property == "acceptanceDate" |
|
|
|
) { |
|
|
|
if (column.property == "acceptanceDate") { |
|
|
|
var date = row[column.property]; |
|
|
|
if (date == undefined) { |
|
|
|
return ""; |
|
|
|