|
@@ -164,6 +164,7 @@
|
|
|
align="center"
|
|
|
class-name="small-padding fixed-width"
|
|
|
width="120px"
|
|
|
+ v-if="reprint"
|
|
|
>
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
@@ -188,6 +189,9 @@
|
|
|
import { listOrder, exportOrder,printOrderInfo } from "@/api/station/order";
|
|
|
import { stationinfo } from "@/api/station/gun";
|
|
|
import { listPrice, getPrice } from "@/api/station/price";
|
|
|
+import {
|
|
|
+ listManage
|
|
|
+} from "@/api/station/manage";
|
|
|
|
|
|
export default {
|
|
|
name: "Order_Oil",
|
|
@@ -224,11 +228,22 @@ export default {
|
|
|
},
|
|
|
// 表单校验
|
|
|
rules: {},
|
|
|
+ reprint:false,
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- console.log(this.levelId)
|
|
|
this.getList();
|
|
|
+ listManage({
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 1,
|
|
|
+ }).then((response) => {
|
|
|
+ const equipmentList = response.rows;
|
|
|
+ if(!!equipmentList){
|
|
|
+ if((equipmentList[0]||{}).deviceType=='1'){
|
|
|
+ this.reprint = true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
//字典
|
|
|
this.getDicts("pay_type").then((response) => {
|
|
|
this.payTypeOptions = response.data;
|