From a9bdcf764dfd72878f92af80bf38a43acb94dbe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=90=20=E5=BC=A0?= <2366389513@qq.com> Date: Thu, 6 Jan 2022 14:44:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/views/ux/vw/dataInput/hq_f/index.vue | 125 +++++++++++------ vue/src/views/ux/vw/dataInput/hq_m/index.vue | 66 ++++----- vue/src/views/ux/vw/dataInput/hq_y/index.vue | 135 ++++++++++++------- 3 files changed, 201 insertions(+), 125 deletions(-) diff --git a/vue/src/views/ux/vw/dataInput/hq_f/index.vue b/vue/src/views/ux/vw/dataInput/hq_f/index.vue index 4d622545..ff358a34 100644 --- a/vue/src/views/ux/vw/dataInput/hq_f/index.vue +++ b/vue/src/views/ux/vw/dataInput/hq_f/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,63 +264,108 @@ 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", + label: "看板号", + prop: "hqhKanBan", width: 170, }); + tempsTabs.push({ label: "看板编号", prop: "kanbanNumber", width: 250 }); tempsTabs.push({ - label: "采购订单文本", - prop: "purchaseOrderNoText", - width: 170, + label: "物料凭证号", + prop: "materialVoucherNo", + width: 200, }); - 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: "purchasePriceNoTax", + label: "物料号", + prop: "materialCode", 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: "acceptanceNo", + width: 130, }); - tempsTabs.push({ - label: "交货单号", - prop: "deliveryOrderNo", - width: 150, + 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: "交货行号", - 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: "factory", width: 150 }); - tempsTabs.push({ label: "工厂名称", prop: "factoryName", width: 220 }); return tempsTabs; }, + // 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", + // 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: "purchasePriceNoTax", + // 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", + // }); + + // tempsTabs.push({ + // label: "交货单号", + // prop: "deliveryOrderNo", + // width: 150, + // }); + // tempsTabs.push({ + // label: "交货行号", + // prop: "deliveryLineNum", + // width: 150, + // }); + // 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, + // }); + // tempsTabs.push({ label: "工厂", prop: "factory", width: 150 }); + // tempsTabs.push({ label: "工厂名称", prop: "factoryName", width: 220 }); + // return tempsTabs; + // }, }, methods: { handleCommand(command) { @@ -489,7 +534,7 @@ export default { this.getList(); this.listQuery.Filters = []; if (this.searchContent != "") { - var column = "purchaseOrderNo"; + var column = "hqhKanBan"; let filter = { logic: 0, column: column, diff --git a/vue/src/views/ux/vw/dataInput/hq_m/index.vue b/vue/src/views/ux/vw/dataInput/hq_m/index.vue index f4c47c4e..8ebbf02b 100644 --- a/vue/src/views/ux/vw/dataInput/hq_m/index.vue +++ b/vue/src/views/ux/vw/dataInput/hq_m/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,47 @@ 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", + label: "看板号", + prop: "hqmKanBan", width: 170, }); + tempsTabs.push({ label: "看板编号", prop: "kanbanNumber", width: 250 }); tempsTabs.push({ - label: "采购订单文本", - prop: "purchaseOrderNoText", - width: 170, + label: "物料凭证号", + prop: "materialVoucherNo", + width: 200, }); - 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: "purchasePriceNoTax", + label: "物料号", + prop: "materialCode", 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: "acceptanceNo", + width: 130, }); - tempsTabs.push({ - label: "交货单号", - prop: "deliveryOrderNo", - width: 150, + 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: "交货行号", - 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: "factory", width: 150 }); - tempsTabs.push({ label: "工厂名称", prop: "factoryName", width: 220 }); return tempsTabs; }, }, @@ -489,7 +475,7 @@ export default { this.getList(); this.listQuery.Filters = []; if (this.searchContent != "") { - var column = "purchaseOrderNo"; + var column = "hqmKanBan"; let filter = { logic: 0, column: column, diff --git a/vue/src/views/ux/vw/dataInput/hq_y/index.vue b/vue/src/views/ux/vw/dataInput/hq_y/index.vue index f9eb78a3..0b86b2c4 100644 --- a/vue/src/views/ux/vw/dataInput/hq_y/index.vue +++ b/vue/src/views/ux/vw/dataInput/hq_y/index.vue @@ -46,7 +46,7 @@ v-model="searchContent" clearable size="small" - placeholder="按照采购订单号搜索..." + placeholder="按照看板号搜索..." style="width: 200px" class="search-container" @keyup.enter.native="handleFilter" @@ -262,65 +262,110 @@ export default { }, computed: { /** 列表字段 */ - getDefaultField() { + 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", + label: "看板号", + prop: "btCarKanBan", width: 170, }); + tempsTabs.push({ label: "看板编号", prop: "kanbanNumber", width: 250 }); tempsTabs.push({ - label: "采购订单文本", - prop: "purchaseOrderNoText", - width: 170, + label: "物料凭证号", + prop: "materialVoucherNo", + width: 200, }); - 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: "purchasePriceNoTax", + label: "物料号", + prop: "materialCode", 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: "acceptanceNo", + width: 130, }); - tempsTabs.push({ - label: "交货单号", - prop: "deliveryOrderNo", - width: 150, + 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: "交货行号", - 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: "factory", width: 150 }); - tempsTabs.push({ label: "工厂名称", prop: "factoryName", width: 220 }); return tempsTabs; }, + // 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", + // 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: "purchasePriceNoTax", + // 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", + // }); + + // tempsTabs.push({ + // label: "交货单号", + // prop: "deliveryOrderNo", + // width: 150, + // }); + // tempsTabs.push({ + // label: "交货行号", + // prop: "deliveryLineNum", + // width: 150, + // }); + // 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, + // }); + // tempsTabs.push({ label: "工厂", prop: "factory", width: 150 }); + // tempsTabs.push({ label: "工厂名称", prop: "factoryName", width: 220 }); + // return tempsTabs; + // }, }, methods: { handleCommand(command) { @@ -350,7 +395,7 @@ export default { } console.log("一汽轿车平台导出:" + JSON.stringify(this.listQuery)); this.$axios - .posts("/api/settleaccount/HQHPlatform/Export", this.listQuery) + .posts("/api/settleaccount/BT_Carlatform/Export", this.listQuery) .then((res) => { let fileNameOfProject = res; this.$axios @@ -399,7 +444,7 @@ export default { //this.listLoading = true; this.listQuery.SkipCount = (this.page - 1) * 1000; this.$axios - .posts("/api/settleaccount/HQHPlatform/listVersion", this.listQuery) + .posts("/api/settleaccount/BT_Carlatform/listversion", this.listQuery) .then((response) => { this.versionList = []; response.items.forEach((element) => { @@ -462,7 +507,7 @@ export default { } console.log("列表查询条件:" + JSON.stringify(this.listQuery)); this.$axios - .posts("/api/settleaccount/HQHPlatform/list", this.listQuery) + .posts("/api/settleaccount/BT_Carlatform/list", this.listQuery) .then((response) => { this.list = response.items; this.totalCount = response.totalCount; @@ -478,7 +523,7 @@ export default { fetchData(id) { //循环动态 this.$axios - .gets("/api/settleaccount/HQHPlatform/" + id) + .gets("/api/settleaccount/BT_Carlatform/" + id) .then((response) => { this.form = response; }); @@ -489,7 +534,7 @@ export default { this.getList(); this.listQuery.Filters = []; if (this.searchContent != "") { - var column = "purchaseOrderNo"; + var column = "btCarKanBan"; let filter = { logic: 0, column: column,