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

40
vue/static/tableFieldForSearch.json

@ -2780,17 +2780,17 @@
{
"fieldId": 3,
"formType": "text",
"name": "采购订单号",
"name": "看板号",
"type": 1,
"value": "",
"fieldType": 1,
"fieldName": "purchaseOrderNo",
"fieldName": "hqhKanBan",
"setting": []
},
{
"fieldId": 5,
"formType": "text",
"name": "物料代码",
"name": "物料",
"type": 1,
"value": "",
"fieldType": 1,
@ -2800,41 +2800,11 @@
{
"fieldId": 5,
"formType": "text",
"name": "科目号",
"name": "存储地点描述",
"type": 1,
"value": "",
"fieldType": 1,
"fieldName": "accountNum",
"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",
"fieldName": "storageLocationDesc",
"setting": []
}
]

Loading…
Cancel
Save