@@ -420,6 +420,7 @@
}
// this.barCode = ''
//判断当前账号公司是否是二维码上公司
+ debugger
if (this.userINfo.userCompany != _userCompId) {
console.log('请切换公司在试!')
this.$message.error('当前身份不可操作');
@@ -564,15 +565,15 @@
})
.toPromise()
.then((response) => {
- if ( response.personCharge == userName || (response.otherPersonCharge && response.otherPersonCharge.indexOf(userName) != -1)) {
+ // if ( response.personCharge == userName || (response.otherPersonCharge && response.otherPersonCharge.indexOf(userName) != -1)) {
//扫码枪扫码后显示弹框
this.getQRCodeData(this.tmp)
- }else{
- console.log('你没有该权限,不可操作')
- this.$message.error('当前身份不可操作');
- this.barCode = ''
- return
- }
+ // }else{
+ // console.log('你没有该权限,不可操作')
+ // this.$message.error('当前身份不可操作');
+ // this.barCode = ''
+ // return
+ // }
},
@@ -96,7 +96,7 @@
</el-table>
<div style="text-align: center">
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"
- :page-size="deptCircularPage.pageSize" layout="total, sizes, prev, pager, next, jumper"
+ :page-sizes="[20, 30, 50, 100, 500, 1000, 9999]" layout="total, sizes, prev, pager, next, jumper"
:total="deptBudgetTotal">
</el-pagination>
</div>
@@ -220,7 +220,7 @@
//分页
dialogViewSpareMoney: false,
currentPage: 1,
- pageSize: 10,
+ pageSize: 20,
inspect:{},
deptCircularPage: {},
deptBudgetTotal: 0,
@@ -67,6 +67,7 @@
</el-form-item>
<el-form-item label-width='100px' label="附件">
<ws-upload ref="upload" accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .xls, .xlsx" :comp-id="compId" :appendix-ids="deptBudgetList.addressUrl" :size-limit="size"
+ :limit="99"
@onChange="onChange"
/>
<!-- <el-upload ref='uploadfiles' :file-list='dataList' :action="global.uploadPath" :on-preview="Previewf"
@@ -49,7 +49,8 @@
</el-input>
- <ws-upload ref="upload" accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .xls, .xlsx" :comp-id="compId" :appendix-ids="deptBudgetList.addressUrl" :size-limit="size"
+ <ws-upload ref="upload" accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .xls, .xlsx" :comp-id="compId" :appendix-ids="deptBudgetList.addressUrl"
+ :limit="99" :size-limit="size"