|
@@ -148,6 +148,11 @@
|
|
|
@click.native="handleSaleOrderPrint"
|
|
@click.native="handleSaleOrderPrint"
|
|
|
>打印(销售订单)</el-dropdown-item
|
|
>打印(销售订单)</el-dropdown-item
|
|
|
>
|
|
>
|
|
|
|
|
+ <el-dropdown-item
|
|
|
|
|
+ v-if="$hasPermission('eom:saleorder:print')"
|
|
|
|
|
+ @click.native="handleOutboundPrint"
|
|
|
|
|
+ >打印(出库单)</el-dropdown-item
|
|
|
|
|
+ >
|
|
|
</el-dropdown-menu>
|
|
</el-dropdown-menu>
|
|
|
</el-dropdown>
|
|
</el-dropdown>
|
|
|
|
|
|
|
@@ -430,6 +435,10 @@
|
|
|
ref="printTemplateSaleOrderSimpleRef"
|
|
ref="printTemplateSaleOrderSimpleRef"
|
|
|
:groupName="groupName"
|
|
:groupName="groupName"
|
|
|
></printTemplateSaleOrderSimple>
|
|
></printTemplateSaleOrderSimple>
|
|
|
|
|
+ <printTemplateHt1
|
|
|
|
|
+ ref="printTemplateHt1Ref"
|
|
|
|
|
+ :groupName="groupName"
|
|
|
|
|
+ ></printTemplateHt1>
|
|
|
<add-adjust-dialog
|
|
<add-adjust-dialog
|
|
|
v-if="addAdjustDialogFlag"
|
|
v-if="addAdjustDialogFlag"
|
|
|
:addAdjustDialogFlag.sync="addAdjustDialogFlag"
|
|
:addAdjustDialogFlag.sync="addAdjustDialogFlag"
|
|
@@ -495,6 +504,7 @@ import printTemplateRt from './components/printTemplateRt.vue';
|
|
|
import printTemplateHtBatch from './components/printTemplateHtBatch.vue';
|
|
import printTemplateHtBatch from './components/printTemplateHtBatch.vue';
|
|
|
import printTemplateHtStock from './components/printTemplateHtStock.vue';
|
|
import printTemplateHtStock from './components/printTemplateHtStock.vue';
|
|
|
import printTemplateSaleOrderSimple from './components/printTemplateSaleOrderSimple.vue';
|
|
import printTemplateSaleOrderSimple from './components/printTemplateSaleOrderSimple.vue';
|
|
|
|
|
+import printTemplateHt1 from './invoice/components/print-template-ht-1.vue';
|
|
|
import stockUnlock from './components/stockUnlock.vue';
|
|
import stockUnlock from './components/stockUnlock.vue';
|
|
|
|
|
|
|
|
|
|
|
|
@@ -536,6 +546,7 @@ export default {
|
|
|
printTemplateHtBatch,
|
|
printTemplateHtBatch,
|
|
|
printTemplateHtStock,
|
|
printTemplateHtStock,
|
|
|
printTemplateSaleOrderSimple,
|
|
printTemplateSaleOrderSimple,
|
|
|
|
|
+ printTemplateHt1,
|
|
|
stockUnlock
|
|
stockUnlock
|
|
|
},
|
|
},
|
|
|
//客户管理数据
|
|
//客户管理数据
|
|
@@ -1389,6 +1400,9 @@ export default {
|
|
|
},
|
|
},
|
|
|
handleSaleOrderPrint() {
|
|
handleSaleOrderPrint() {
|
|
|
this.$refs.printTemplateSaleOrderSimpleRef.open(this.selection.map((v) => v.id));
|
|
this.$refs.printTemplateSaleOrderSimpleRef.open(this.selection.map((v) => v.id));
|
|
|
|
|
+ },
|
|
|
|
|
+ handleOutboundPrint() {
|
|
|
|
|
+ this.$refs.printTemplateHt1Ref.open(this.selection.map((v) => v.id), false, 'saleOrder');
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|