|
|
@@ -256,7 +256,8 @@
|
|
|
<el-button class="el-button--small-yh" type="primary" :loading="saveLoading" size="small" @click="calculateInterest()"
|
|
|
>利息计算
|
|
|
</el-button>
|
|
|
- <el-button type="info" size="small" icon="el-icon-printer" @click.stop="openReport()">合同打印</el-button>
|
|
|
+ <el-button type="info" size="small" icon="el-icon-printer" @click.stop="openReport()">订货合同</el-button>
|
|
|
+ <el-button type="info" size="small" icon="el-icon-printer" @click.stop="openReport2()">配资合同</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</basic-container>
|
|
|
@@ -493,7 +494,8 @@
|
|
|
</el-form>
|
|
|
</div>
|
|
|
|
|
|
- <report-dialog :switchDialog="switchDialog" :reportId="form.id" reportName="配资" @onClose="onClose()" />
|
|
|
+ <report-dialog :switchDialog="switchDialog" :reportId="form.id" reportName="订货合同" @onClose="onClose()" />
|
|
|
+ <report-dialog :switchDialog="switchDialog2" :reportId="form.id" reportName="配资合同" @onClose="onClose()" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -1441,6 +1443,7 @@ export default {
|
|
|
// 查询时loading页面
|
|
|
pageLoading: false,
|
|
|
switchDialog: false,
|
|
|
+ switchDialog2: false,
|
|
|
// 商品信息表格loading
|
|
|
goodsLoading: false,
|
|
|
dialogVisibleDL: false,
|
|
|
@@ -1714,6 +1717,10 @@ export default {
|
|
|
openReport() {
|
|
|
this.switchDialog = !this.switchDialog;
|
|
|
},
|
|
|
+ // 报表
|
|
|
+ openReport2() {
|
|
|
+ this.switchDialog2 = !this.switchDialog2;
|
|
|
+ },
|
|
|
// 导出
|
|
|
exportHandle() {
|
|
|
this.$confirm("是否导出产品信息?", "提示", {
|