pull/24/head^2
xiaozhiyong 1 year ago
parent b46c851e5c
commit 27a14874a4
  1. 9
      src/components/autocomplete/index.vue
  2. 4
      src/views/oilFinalStatement/oilFinalStatementAddList.vue
  3. 5
      src/views/oilFinalStatement/oilFinalStatementListInfo.vue

@ -75,7 +75,14 @@ export default {
if (type === 'Array') {
return item => {
return this.config.labelKey.reduce((prev, cur) => {
prev += /^[^0-9a-zA-Z]/.test(cur) ? cur : item[cur]
let type = this.$utils.typeJudgment(cur)
let _function =
type != 'Function'
? item => {
return /^[^0-9a-zA-Z]/.test(cur) ? cur : item[cur]
}
: cur
prev += _function(item)
return prev
}, '')
}

@ -207,7 +207,7 @@
</el-row>
<div :span="24" style="margin-top: 50px; text-align: center; width: 100%">
<el-divider style="width: 100%"></el-divider>
<div style="display: flex; justify-content: end; width: 90%; margin: 0 auto">
<div style="display: flex; justify-content: flex-end; width: 90%; margin: 0 auto">
<el-button @click="close" size="mini">取消</el-button>
<el-button size="mini" type="primary" :disabled="!setWait" @click="addList">确认提交</el-button>
</div>
@ -654,7 +654,7 @@ export default {
/* flex: 1; */
display: flex;
align-items: center;
justify-content: end;
justify-content: flex-end;
font-size: 16px;
}

@ -179,10 +179,8 @@
</div>
</template>
<script>
import { imgCompress } from '@/utils'
import internalCompanyApi from '@/api/user/internalCompany'
import utils from '@/utils/encode'
const JSESSIONID = utils.uuid()
export default {
filters: {},
props: {
@ -194,7 +192,6 @@ export default {
data() {
return {
tableHeight: document.documentElement.clientHeight - 470 - 55,
imgCompress,
companyList: [],
roleList: [],
roleTypeList: [],

Loading…
Cancel
Save