zhouhao преди 2 години
родител
ревизия
e8583a37f9
променени са 2 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 3 2
      src/views/finance/change_apply.vue
  2. 1 1
      src/views/finance/change_list.vue

+ 3 - 2
src/views/finance/change_apply.vue

@@ -69,7 +69,7 @@
                   class="dateStyle"
                   @change="changeCustomerNumber($event,0)"
                   filterable
-                  v-model="scope.row.customerNumber"
+                  v-model.trim="scope.row.customerNumber"
                   placeholder="请选择"
                 >
                   <el-option v-for="item in customerData" :key="item.id" :label="item.number" :value="item.number"> </el-option>
@@ -282,9 +282,10 @@ export default {
         v.bz = ''
         v.name = ''
       })
-      this.searchForm.customerNumber = ''
+      this.searchForm.customerName = ''
       this.dataList[0].customerId = ''
       this.dataList[0].customerNumber = ''
+      this.dataList[0].customerName = ''
       this.dataList[0].allowanceAmount = ''
       this.dataList[1].customerId = ''
       this.dataList[1].customerNumber = ''

+ 1 - 1
src/views/finance/change_list.vue

@@ -246,7 +246,7 @@
               <template slot-scope="scope">
                 <el-button
                   @click="submitFn(scope.row.id)"
-                  v-if="$checkBtnRole('apply', $route.meta.roles) && isCustomer && scope.row.examineStatus == 'SAVE'"
+                  v-if="$checkBtnRole('apply', $route.meta.roles)  && scope.row.examineStatus == 'SAVE'"
                   type="text"
                   class="textColor"
                   slot="reference"