ccj il y a 2 ans
Parent
commit
95f7cb2e33

+ 8 - 7
src/layout/index/top/index.vue

@@ -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
+              // }
             
           })
       },

+ 2 - 2
src/views/outboundManagement/weighingManagementrecord.vue

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

+ 1 - 0
src/views/profitable/cashout.vue

@@ -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"

+ 2 - 1
src/views/profitable/cashoutaduitNQ.vue

@@ -49,7 +49,8 @@
             </el-input>
           </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"
+            <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"
         @onChange="onChange" 
        />
         </el-form-item>