瀏覽代碼

权限码

lsx 2 年之前
父節點
當前提交
a53714bdb0

+ 1 - 1
src/views/business/inventory/detail.vue

@@ -60,7 +60,7 @@
         <el-col :span="24" :offset="1" :xs="{span: 24, offset: 0}" style="margin-bottom: 10px;">
           <el-button
         v-if="status && status.value == 1"
-          v-hasPermi="['business:ticket:on']"
+          v-hasPermi="['business:channelGoodsOrder:push']"
           type="primary"
           @click="toInventory()"
         >去结算</el-button>

+ 2 - 2
src/views/business/inventory/index.vue

@@ -115,9 +115,9 @@
       <el-table-column label="操作" align="center" width="80">
         <template slot-scope="{ row }">
           <div>
-            <el-button v-hasPermi="['order:store:query']" type="text" @click="getDetail(row)">查看详情
+            <el-button v-hasPermi="['business:channelGoods:query']" type="text" @click="getDetail(row)">查看详情
             </el-button>
-            <el-button v-hasPermi="['order:store:ship']" v-if="row.status && row.status.value == 1" type="text" @click="toInventory(row)">去结算
+            <el-button v-hasPermi="['business:channelGoodsOrder:push']" v-if="row.status && row.status.value == 1" type="text" @click="toInventory(row)">去结算
             </el-button>
           </div>
         </template>

+ 1 - 1
src/views/order/store/detail.vue

@@ -61,7 +61,7 @@
         </el-col>
         <el-button
           v-if="status.value === 1 || status.value === 4"
-          v-hasPermi="['business:ticket:on']"
+          v-hasPermi="['channelGoods:channel:ship']"
           type="primary"
           @click="toGoods()"
         >发货</el-button

+ 3 - 3
src/views/order/store/index.vue

@@ -97,7 +97,7 @@
           icon="el-icon-download"
           size="small"
           @click="handleExportDraw"
-          v-hasPermi="['order:store:export']"
+          v-hasPermi="['channelGoods:channel:export']"
         >导出订单
         </el-button
         >
@@ -190,7 +190,7 @@
         <template slot-scope="{ row }">
           <div>
             <el-button
-              v-hasPermi="['order:store:query']"
+              v-hasPermi="['channelGoods:channel:query']"
               type="text"
               @click="getDetail(row)"
             >查看详情
@@ -198,7 +198,7 @@
             >
             <el-button
               v-if="row.status.value === 1 || row.status.value === 4"
-              v-hasPermi="['order:store:ship']"
+              v-hasPermi="['channelGoods:channel:ship']"
               type="text"
               @click="toGoods(row)"
             >发货