Browse Source

前端H平台导入界面

branch_ccpg_220107
44673626 3 years ago
parent
commit
8897cba282
  1. 68
      vue/src/views/ux/vw/dataInput/hq_h/index.vue
  2. 40
      vue/static/tableFieldForSearch.json

68
vue/src/views/ux/vw/dataInput/hq_h/index.vue

@ -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,

40
vue/static/tableFieldForSearch.json

@ -2780,17 +2780,17 @@
{ {
"fieldId": 3, "fieldId": 3,
"formType": "text", "formType": "text",
"name": "采购订单号", "name": "看板号",
"type": 1, "type": 1,
"value": "", "value": "",
"fieldType": 1, "fieldType": 1,
"fieldName": "purchaseOrderNo", "fieldName": "hqhKanBan",
"setting": [] "setting": []
}, },
{ {
"fieldId": 5, "fieldId": 5,
"formType": "text", "formType": "text",
"name": "物料代码", "name": "物料",
"type": 1, "type": 1,
"value": "", "value": "",
"fieldType": 1, "fieldType": 1,
@ -2800,41 +2800,11 @@
{ {
"fieldId": 5, "fieldId": 5,
"formType": "text", "formType": "text",
"name": "科目号", "name": "存储地点描述",
"type": 1, "type": 1,
"value": "", "value": "",
"fieldType": 1, "fieldType": 1,
"fieldName": "accountNum", "fieldName": "storageLocationDesc",
"setting": []
},
{
"fieldId": 5,
"formType": "text",
"name": "交货单号",
"type": 1,
"value": "",
"fieldType": 1,
"fieldName": "deliveryOrderNo",
"setting": []
},
{
"fieldId": 5,
"formType": "text",
"name": "工厂",
"type": 1,
"value": "",
"fieldType": 1,
"fieldName": "factory",
"setting": []
},
{
"fieldId": 5,
"formType": "text",
"name": "工厂名称",
"type": 1,
"value": "",
"fieldType": 1,
"fieldName": "factoryName",
"setting": [] "setting": []
} }
] ]

Loading…
Cancel
Save