Qukatie 5 месяцев назад
Родитель
Сommit
8da9f0d0cb

+ 13 - 1
src/views/iosBasicData/finstlbills/assembly/finstlbillsitems.vue

@@ -7,6 +7,9 @@
             <template slot="menuLeft">
                 <slot name="menuLeft"></slot>
             </template>
+              <template slot="index" slot-scope="{ row,index }">
+                <span>{{ index+1 }}</span>
+            </template>
             <tempalte slot="currentStlAmountRMB" slot-scope="{ row }">
                 <el-input-number v-if="brfalse" v-model="row.currentStlAmountRMB" @change="armbChange(row)"
                     :controls="false" placeholder="请输入 本次对账CNY" size="mini" style="width: 100%;"
@@ -95,6 +98,12 @@ export default {
                 // menuFixed: false,
                 column: [
                     {
+                        label: "序号",
+                        prop: "index",
+                        width: 60,
+                        overHidden: true
+                    },
+                    {
                         label: "所属公司",
                         prop: "branchName",
                         width: 120,
@@ -403,6 +412,7 @@ export default {
         handelLoadmore(currentStartIndex, currentEndIndex) {
             this.currentStartIndex = currentStartIndex;
             this.currentEndIndex = currentEndIndex;
+            console.log(currentStartIndex, currentEndIndex)
         },
         armbChange(row) {
             if (Number(row.amount - row.reconciliationAmount) > 0) {
@@ -529,6 +539,7 @@ export default {
             //         this.$set(item,'tableSelect',0)
             //     }
             // }
+            console.log(arr)
             this.$emit('handleSelectionChange', arr)
         },
         // // 多选
@@ -634,7 +645,7 @@ export default {
             } else if (row.dc == 'C') {
                 rowStyle = 'color:#F56C6C;'
             }
-            return rowStyle + 'padding:0px;fontSize:12px'
+            return rowStyle
         },
         //自定义列保存
         async saveColumn(ref, option, optionBack, code) {
@@ -687,6 +698,7 @@ export default {
                     return true;
                 }
             });
+            console.log(list)
             return list
         }
     },

+ 2 - 2
src/views/iosBasicData/finstlbills/finstlbillsDetails.vue

@@ -437,9 +437,9 @@
                             :brfalse="!editSave" @handleSelectionChange="handleSelectionChange">
                             <template slot="menuLeft">
                                 <div>
-                                    <el-button size="small" type="info" style="margin-right: 8px" :disabled="editSave"
+                                    <!-- <el-button size="small" type="info" style="margin-right: 8px" :disabled="editSave"
                                         :loading="saveLoading" @click="SelectedRows">确认选定行
-                                    </el-button>
+                                    </el-button> -->
                                     <el-button size="small" type="danger" style="margin-left: 10px" :disabled="editSave"
                                         :loading="saveLoading" @click="batchDeletefun">一键删除
                                     </el-button>