|
@ -46,7 +46,7 @@ |
|
|
v-model="searchContent" |
|
|
v-model="searchContent" |
|
|
clearable |
|
|
clearable |
|
|
size="small" |
|
|
size="small" |
|
|
placeholder="按照采购订单号搜索..." |
|
|
placeholder="按照看板号搜索..." |
|
|
style="width: 200px" |
|
|
style="width: 200px" |
|
|
class="search-container" |
|
|
class="search-container" |
|
|
@keyup.enter.native="handleFilter" |
|
|
@keyup.enter.native="handleFilter" |
|
@ -264,61 +264,42 @@ export default { |
|
|
/** 列表字段 */ |
|
|
/** 列表字段 */ |
|
|
getDefaultField() { |
|
|
getDefaultField() { |
|
|
var tempsTabs = []; |
|
|
var tempsTabs = []; |
|
|
tempsTabs.push({ label: "行号", prop: "lineNumber", width: 100 }); |
|
|
|
|
|
tempsTabs.push({ label: "采购类型", prop: "purchaseType", width: 150 }); |
|
|
|
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "采购订单号", |
|
|
label: "看板号", |
|
|
prop: "purchaseOrderNo", |
|
|
prop: "hqhKanBan", |
|
|
width: 220, |
|
|
|
|
|
}); |
|
|
|
|
|
tempsTabs.push({ |
|
|
|
|
|
label: "采购订单行项目", |
|
|
|
|
|
prop: "purchaseOrderNoItem", |
|
|
|
|
|
width: 170, |
|
|
|
|
|
}); |
|
|
|
|
|
tempsTabs.push({ |
|
|
|
|
|
label: "采购订单文本", |
|
|
|
|
|
prop: "purchaseOrderNoText", |
|
|
|
|
|
width: 170, |
|
|
width: 170, |
|
|
}); |
|
|
}); |
|
|
tempsTabs.push({ label: "收货数量", prop: "receiptQty", width: 120 }); |
|
|
tempsTabs.push({ label: "看板编号", prop: "kanbanNumber", width: 250 }); |
|
|
tempsTabs.push({ label: "开票数量", prop: "invoicedQty", width: 120 }); |
|
|
|
|
|
tempsTabs.push({ label: "不含税金额", prop: "amountNoTax", width: 150 }); |
|
|
|
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "采购价格不含税", |
|
|
label: "物料凭证号", |
|
|
prop: "purchasePriceNoTax", |
|
|
prop: "materialVoucherNo", |
|
|
width: 200, |
|
|
width: 200, |
|
|
}); |
|
|
}); |
|
|
tempsTabs.push({ label: "科目号", prop: "accountNum", width: 150 }); |
|
|
|
|
|
tempsTabs.push({ label: "物料代码", prop: "materialCode", width: 180 }); |
|
|
|
|
|
tempsTabs.push({ label: "物料描述", prop: "materialDesc", width: 250 }); |
|
|
|
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "日期", |
|
|
label: "物料号", |
|
|
prop: "spareDate", |
|
|
prop: "materialCode", |
|
|
width: 150, |
|
|
width: 200, |
|
|
formType: "datetime", |
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "交货单号", |
|
|
label: "验收单日期", |
|
|
prop: "deliveryOrderNo", |
|
|
prop: "acceptanceDate", |
|
|
width: 150, |
|
|
width: 170, |
|
|
}); |
|
|
}); |
|
|
|
|
|
tempsTabs.push({ label: "供应商", prop: "supplier", width: 120 }); |
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "交货行号", |
|
|
label: "存储地点", |
|
|
prop: "deliveryLineNum", |
|
|
prop: "storageLocation", |
|
|
width: 150, |
|
|
width: 120, |
|
|
}); |
|
|
}); |
|
|
tempsTabs.push({ label: "批次号", prop: "batchNo", width: 150 }); |
|
|
|
|
|
tempsTabs.push({ label: "税率", prop: "taxRate", width: 100 }); |
|
|
|
|
|
tempsTabs.push({ label: "税码", prop: "taxCode", width: 110 }); |
|
|
|
|
|
tempsTabs.push({ |
|
|
tempsTabs.push({ |
|
|
label: "德国发票号", |
|
|
label: "存储地点描述", |
|
|
prop: "germanInvoiceNo", |
|
|
prop: "storageLocationDesc", |
|
|
width: 150, |
|
|
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 }); |
|
|
tempsTabs.push({ label: "工厂名称", prop: "factoryName", width: 220 }); |
|
|
|
|
|
return tempsTabs; |
|
|
return tempsTabs; |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
@ -436,8 +417,7 @@ export default { |
|
|
// return { 0: "其他", 2: "已结" }[row[column.property]]; |
|
|
// return { 0: "其他", 2: "已结" }[row[column.property]]; |
|
|
// } |
|
|
// } |
|
|
if ( |
|
|
if ( |
|
|
column.property == "settleInputDate" || |
|
|
column.property == "acceptanceDate" |
|
|
column.property == "settleDate" |
|
|
|
|
|
) { |
|
|
) { |
|
|
var date = row[column.property]; |
|
|
var date = row[column.property]; |
|
|
if (date == undefined) { |
|
|
if (date == undefined) { |
|
@ -489,7 +469,7 @@ export default { |
|
|
this.getList(); |
|
|
this.getList(); |
|
|
this.listQuery.Filters = []; |
|
|
this.listQuery.Filters = []; |
|
|
if (this.searchContent != "") { |
|
|
if (this.searchContent != "") { |
|
|
var column = "purchaseOrderNo"; |
|
|
var column = "hqhKanBan"; |
|
|
let filter = { |
|
|
let filter = { |
|
|
logic: 0, |
|
|
logic: 0, |
|
|
column: column, |
|
|
column: column, |
|
|