|
@@ -16,7 +16,7 @@
|
|
|
<el-button icon="el-icon-plus" type="primary" @click="add"
|
|
<el-button icon="el-icon-plus" type="primary" @click="add"
|
|
|
>新建</el-button
|
|
>新建</el-button
|
|
|
>
|
|
>
|
|
|
- <el-button v-if="$hasPermission('wms:inventoryAllocation:print1')" :disabled="selection.length > 1" icon="el-icon-download" type="primary" @click="printExl"
|
|
|
|
|
|
|
+ <!-- <el-button v-if="$hasPermission('wms:inventoryAllocation:print1')" :disabled="selection.length > 1" icon="el-icon-download" type="primary" @click="printExl"
|
|
|
>打印送货单</el-button
|
|
>打印送货单</el-button
|
|
|
>
|
|
>
|
|
|
<el-button v-if="$hasPermission('wms:inventoryAllocation:print2')" :disabled="selection.length > 1" icon="el-icon-download" type="primary" @click="printExl2"
|
|
<el-button v-if="$hasPermission('wms:inventoryAllocation:print2')" :disabled="selection.length > 1" icon="el-icon-download" type="primary" @click="printExl2"
|
|
@@ -25,7 +25,38 @@
|
|
|
|
|
|
|
|
<el-button v-if="$hasPermission('wms:inventoryAllocation:printHT')" :disabled="selection.length > 1" icon="el-icon-download" type="primary" @click="printExlHT"
|
|
<el-button v-if="$hasPermission('wms:inventoryAllocation:printHT')" :disabled="selection.length > 1" icon="el-icon-download" type="primary" @click="printExlHT"
|
|
|
>打印送货单</el-button
|
|
>打印送货单</el-button
|
|
|
|
|
+ > -->
|
|
|
|
|
+
|
|
|
|
|
+ <el-dropdown
|
|
|
|
|
+ trigger="click"
|
|
|
|
|
+ :disabled="selection?.length === 0 || selection.length > 1"
|
|
|
>
|
|
>
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ class="el-icon-printer"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ >
|
|
|
|
|
+ 打印<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+ <el-dropdown-menu slot="dropdown">
|
|
|
|
|
+ <el-dropdown-item
|
|
|
|
|
+ v-if="$hasPermission('wms:inventoryAllocation:print1')"
|
|
|
|
|
+ @click.native="printExl"
|
|
|
|
|
+ >打印送货单</el-dropdown-item
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-dropdown-item
|
|
|
|
|
+ v-if="$hasPermission('wms:inventoryAllocation:print2')"
|
|
|
|
|
+ @click.native="printExl2"
|
|
|
|
|
+ >打印送货单带车</el-dropdown-item
|
|
|
|
|
+ >
|
|
|
|
|
+ <el-dropdown-item
|
|
|
|
|
+ v-if="$hasPermission('wms:inventoryAllocation:printHT')"
|
|
|
|
|
+ @click.native="printExlHT"
|
|
|
|
|
+ >打印送货单</el-dropdown-item
|
|
|
|
|
+ >
|
|
|
|
|
+ </el-dropdown-menu>
|
|
|
|
|
+ </el-dropdown>
|
|
|
|
|
+
|
|
|
<el-button v-if="$hasPermission('wms:inventoryAllocation:statement')" :disabled="selection.length == 0" type="primary" @click="handleGenerateStatement('add')"
|
|
<el-button v-if="$hasPermission('wms:inventoryAllocation:statement')" :disabled="selection.length == 0" type="primary" @click="handleGenerateStatement('add')"
|
|
|
>生成对账单</el-button
|
|
>生成对账单</el-button
|
|
|
>
|
|
>
|