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