Browse Source

修改界面

branch_ccpg_220107
佐 张 3 years ago
parent
commit
a9bdcf764d
  1. 125
      vue/src/views/ux/vw/dataInput/hq_f/index.vue
  2. 66
      vue/src/views/ux/vw/dataInput/hq_m/index.vue
  3. 135
      vue/src/views/ux/vw/dataInput/hq_y/index.vue

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

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

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

Loading…
Cancel
Save