|
@@ -211,7 +211,7 @@
|
|
|
:isReturnGoodsCreate="true"
|
|
:isReturnGoodsCreate="true"
|
|
|
@done="reload"
|
|
@done="reload"
|
|
|
></add-invoice-dialog>
|
|
></add-invoice-dialog>
|
|
|
- <printTemplateHt ref="printTemplateHtRef"></printTemplateHt>
|
|
|
|
|
|
|
+ <printTemplateHt ref="printTemplateHtRef" :groupName="groupName"></printTemplateHt>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -236,6 +236,7 @@
|
|
|
import tabMixins from '@/mixins/tableColumnsMixin';
|
|
import tabMixins from '@/mixins/tableColumnsMixin';
|
|
|
import addInvoiceDialog from '@/views/saleManage/saleOrder/invoice/components/addInvoiceDialog.vue';
|
|
import addInvoiceDialog from '@/views/saleManage/saleOrder/invoice/components/addInvoiceDialog.vue';
|
|
|
import printTemplateHt from './components/printTemplateHt.vue';
|
|
import printTemplateHt from './components/printTemplateHt.vue';
|
|
|
|
|
+ import { enterprisePage } from '@/api/contractManage/contractBook';
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
mixins: [dictMixins, tabMixins],
|
|
mixins: [dictMixins, tabMixins],
|
|
@@ -268,6 +269,7 @@
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ groupName: '',
|
|
|
activeComp: 'saleorder',
|
|
activeComp: 'saleorder',
|
|
|
tabOptions: [
|
|
tabOptions: [
|
|
|
{ key: 'saleorder', name: '销售订单' },
|
|
{ key: 'saleorder', name: '销售订单' },
|
|
@@ -420,7 +422,16 @@
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {},
|
|
computed: {},
|
|
|
-
|
|
|
|
|
|
|
+ created() {
|
|
|
|
|
+ enterprisePage({
|
|
|
|
|
+ pageNum: 1,
|
|
|
|
|
+ size: 200
|
|
|
|
|
+ }).then((res) => {
|
|
|
|
|
+ if (res.list?.length > 0) {
|
|
|
|
|
+ this.groupName = res.list[0].name;
|
|
|
|
|
+ }
|
|
|
|
|
+ });
|
|
|
|
|
+ },
|
|
|
methods: {
|
|
methods: {
|
|
|
handlePrint() {
|
|
handlePrint() {
|
|
|
if (this.selection.length > 1) return this.$message.warning('请选择一条');
|
|
if (this.selection.length > 1) return this.$message.warning('请选择一条');
|