lc18518571399 9 months ago
parent
commit
67ccacef74
  1. 2
      front/src/renderer/src/views/dingdan.vue
  2. 8
      front/src/renderer/src/views/user.vue

2
front/src/renderer/src/views/dingdan.vue

@ -572,7 +572,7 @@ export default {
let headerItem = this.exportS6[j]; let headerItem = this.exportS6[j];
listItem[headerItem.label] = item[headerItem.prop] listItem[headerItem.label] = item[headerItem.prop]
} }
lilstLocal.push({ ...allObj, ...listItem, "单据单位数量": item.xiugaihouxiaoshoushuliang }) lilstLocal.push({ ...allObj, ...listItem, "数量": item.xiugaihouxiaoshoushuliang })
} }
// lilstLocal.push({ "": `${allMoney}` }) // lilstLocal.push({ "": `${allMoney}` })
let jsonWorkSheet = this.$XLSX.utils.json_to_sheet(lilstLocal); let jsonWorkSheet = this.$XLSX.utils.json_to_sheet(lilstLocal);

8
front/src/renderer/src/views/user.vue

@ -37,7 +37,7 @@
<span>刷新</span> <span>刷新</span>
</el-button> </el-button>
<div class="inputClass"> <div class="inputClass">
<el-input v-model="searchParams.usercode" style="max-width: 600px" placeholder="请输入客户编号" clearable <el-input v-model="searchParams.username" style="max-width: 600px" placeholder="请输入简称" clearable
@clear="searchData" @keyup.enter="searchData"> @clear="searchData" @keyup.enter="searchData">
<template #append> <template #append>
<el-button @click="searchData"> <el-button @click="searchData">
@ -91,7 +91,7 @@ export default {
pageSizes: [16, 50, 100, 200], pageSizes: [16, 50, 100, 200],
total: 0, total: 0,
searchParams: { searchParams: {
usercode: "" username: ""
}, },
selectionData: [], selectionData: [],
dialogFrom: { dialogFrom: {
@ -208,8 +208,8 @@ export default {
// //
async searchData() { async searchData() {
let params = {} let params = {}
if (this.searchParams.usercode) { if (this.searchParams.username) {
params["usercode"] = this.searchParams.usercode params["username"] = this.searchParams.username
} }
this.updateSeach(params) this.updateSeach(params)
}, },

Loading…
Cancel
Save