gjy 3 年之前
父节点
当前提交
9fc6995752
共有 2 个文件被更改,包括 10 次插入10 次删除
  1. 1 1
      src/views/houseSelfCollect/acquisitionManagement.vue
  2. 9 9
      src/views/platformaudit/grainPulseDynamic.vue

+ 1 - 1
src/views/houseSelfCollect/acquisitionManagement.vue

@@ -10,7 +10,7 @@
             <el-option v-for="item in warehouseList" :key="item.id" :label="item.warehouseName" :value="item.id">
             </el-option>
           </el-select>
-          <el-checkbox v-model="checked" @change="allowEdit" :disabled="warehouseList.length==0">允许手动编辑重量</el-checkbox>
+          <el-checkbox v-hasPermission=" `acquisitionManagement.acquisition.allow`" v-model="checked" @change="allowEdit" :disabled="warehouseList.length==0">允许手动编辑重量</el-checkbox>
         </div>
       </template>
     </BaseHeaderLayout>

+ 9 - 9
src/views/platformaudit/grainPulseDynamic.vue

@@ -82,21 +82,21 @@
           <!-- class="record"
            class="record" -->
           <template slot-scope="scope">
-            <el-button
-              size="medium"
-              type="danger"
+            <div
+              class="record"
               v-if="scope.row.statusFlag == 1"
               @click="rejectList(scope.row)"
-              >驳回</el-button
             >
-            <el-button
-              size="medium"
-              type="primary"
-              v-if="scope.row.statusFlag == 1"
+              驳回
+            </div>
+            <div
+              class="record"
+               v-if="scope.row.statusFlag == 1"
               @click="adoptList(scope.row)"
               v-hasPermission="`audit.tranMerchant.tranMerchantInfo.view`"
-              >通过</el-button
             >
+              通过
+            </div>
             <template
               v-else
               v-hasPermission="`audit.tranMerchant.tranMerchantInfo.view`"