Forráskód Böngészése

面损表-选择指派人

jbb 1 éve
szülő
commit
6648089405

+ 5 - 5
src/views/cost-allocation-total/modal/SelectUserModal.vue

@@ -43,7 +43,7 @@
           :dataSource="dataSource1"
           :pagination="ipagination"
           :loading="loading"
-          :scroll="{ y: 240 }"
+          :scroll="{ y: 280 }"
           :rowSelection="{selectedRowKeys: selectedRowKeys,onSelectAll:onSelectAll,onSelect:onSelect,onChange: onSelectChange}"
           @change="handleTableChange">
 
@@ -177,9 +177,9 @@
         this.selectedRowKeys=[]
       },
       handleOk() {
-        if(this.selectedRowKeys.length>1){
-          this.$message.error('只能勾选一条数据');
-        }else{
+        // if(this.selectedRowKeys.length>1){
+        //   this.$message.error('只能勾选一条数据');
+        // }else{
           this.dataSource2 = this.selectionRows
         var name = []
         this.selectionRows.map(item=>name.push(item.realname))
@@ -187,7 +187,7 @@
         this.visible = false
         this.selectedRowKeys = []
         this.selectionRows = []
-        }
+        // }
         
       },
       add() {

+ 2 - 2
src/views/cost-allocation-total/modal/detailFabricLossTable.vue

@@ -1086,8 +1086,8 @@ export default {
     handlecLose(){
          this.detailModVis = false
          this.AssignedPerson='no',
-      this.AssignedPersonQx='no',
-      this.authority='no'
+         this.AssignedPersonQx='no',
+         this.authority='no'
          this.fabricLoss={fabricPoOrderList:[],fabricOMOrderList1:[],fabricOMOrderList2:[],fabricCostAssistList:[],fabricCostClothList:[],fabricCostClothesList:[],fabricCostInvoiceList:[],fabricExpensesList:[],fabricAccidentList:[]}
     },
     closeInformation(data,text){