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];
listItem[headerItem.label] = item[headerItem.prop]
}
lilstLocal.push({ ...allObj, ...listItem, "单据单位数量": item.xiugaihouxiaoshoushuliang })
lilstLocal.push({ ...allObj, ...listItem, "数量": item.xiugaihouxiaoshoushuliang })
}
// lilstLocal.push({ "": `${allMoney}` })
let jsonWorkSheet = this.$XLSX.utils.json_to_sheet(lilstLocal);

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

@ -37,7 +37,7 @@
<span>刷新</span>
</el-button>
<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">
<template #append>
<el-button @click="searchData">
@ -91,7 +91,7 @@ export default {
pageSizes: [16, 50, 100, 200],
total: 0,
searchParams: {
usercode: ""
username: ""
},
selectionData: [],
dialogFrom: {
@ -208,8 +208,8 @@ export default {
//
async searchData() {
let params = {}
if (this.searchParams.usercode) {
params["usercode"] = this.searchParams.usercode
if (this.searchParams.username) {
params["username"] = this.searchParams.username
}
this.updateSeach(params)
},

Loading…
Cancel
Save