|
@@ -252,15 +252,6 @@
|
|
<div class="timeItem">
|
|
<div class="timeItem">
|
|
<div class="name">
|
|
<div class="name">
|
|
<span>{{ item.title || item.remark }}</span>
|
|
<span>{{ item.title || item.remark }}</span>
|
|
- <!-- <a-button
|
|
|
|
- style="margin-left: 50px"
|
|
|
|
- @click="handleBut(butItem)"
|
|
|
|
- v-for="butItem in butList"
|
|
|
|
- :key="butItem"
|
|
|
|
- v-if="indexs == 0"
|
|
|
|
- >
|
|
|
|
- {{ butItem }}
|
|
|
|
- </a-button> -->
|
|
|
|
</div>
|
|
</div>
|
|
<div class="status" v-if="item.repairLogId">
|
|
<div class="status" v-if="item.repairLogId">
|
|
{{ item.subTitle }} <span>{{ item.createTime }}</span>
|
|
{{ item.subTitle }} <span>{{ item.createTime }}</span>
|
|
@@ -273,11 +264,6 @@
|
|
? '前台取回'
|
|
? '前台取回'
|
|
: `快递寄回 ${item.customerAddress.getTrackingNum}`
|
|
: `快递寄回 ${item.customerAddress.getTrackingNum}`
|
|
}}</div>
|
|
}}</div>
|
|
- <!-- <div class="itemText" v-if="item.customerAddress">{{
|
|
|
|
- item.customerAddress.sendType == 0
|
|
|
|
- ? '前台送修'
|
|
|
|
- : `快递寄送 ${item.customerAddress.sendTrackingNum}`
|
|
|
|
- }}</div> -->
|
|
|
|
<div
|
|
<div
|
|
class="itemText htmlText"
|
|
class="itemText htmlText"
|
|
v-if="item.repairRegisterVo"
|
|
v-if="item.repairRegisterVo"
|
|
@@ -456,15 +442,16 @@
|
|
},
|
|
},
|
|
];
|
|
];
|
|
async function enterDialog() {
|
|
async function enterDialog() {
|
|
- const style =
|
|
|
|
- '@page {margin:0mm 10mm};' +
|
|
|
|
- '@media print { .status{ overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }}'; //打印时去掉眉页眉尾
|
|
|
|
|
|
+ // const style = '@page { margin:0mm 10mm } .content_left{ width: calc(100% - 400px) !important} .content{width:100% !important} .content_right{width: 400px !important; float: right;}';
|
|
|
|
+ // const style =
|
|
|
|
+ // '@page {margin:0mm 10mm;width:100%};' +
|
|
|
|
+ // ' @media print { .status{ overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }} .content_left_info{ width: calc(100% - 400px) !important} .ant-descriptions{width: 400px !important}'; //打印时去掉眉页眉尾
|
|
printJS({
|
|
printJS({
|
|
printable: 'print', // 标签元素id
|
|
printable: 'print', // 标签元素id
|
|
type: 'html',
|
|
type: 'html',
|
|
headerStyle: 'font-weight:400;text-align:center;',
|
|
headerStyle: 'font-weight:400;text-align:center;',
|
|
targetStyles: ['*'],
|
|
targetStyles: ['*'],
|
|
- style,
|
|
|
|
|
|
+ // style: style,
|
|
});
|
|
});
|
|
}
|
|
}
|
|
async function getData() {
|
|
async function getData() {
|
|
@@ -736,6 +723,9 @@
|
|
}
|
|
}
|
|
&_left {
|
|
&_left {
|
|
width: calc(100% - 400px);
|
|
width: calc(100% - 400px);
|
|
|
|
+ &_info {
|
|
|
|
+ // width: calc(100% - 400px);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.bottom_but {
|
|
.bottom_but {
|
|
@@ -767,5 +757,33 @@
|
|
.ant-image {
|
|
.ant-image {
|
|
margin-right: 10px;
|
|
margin-right: 10px;
|
|
}
|
|
}
|
|
|
|
+ .content {
|
|
|
|
+ // .content {
|
|
|
|
+ width: 100%;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+
|
|
|
|
+ &_right {
|
|
|
|
+ width: 400px;
|
|
|
|
+ padding: 40px 0px 40px 20px;
|
|
|
|
+ .timeItem {
|
|
|
|
+ .status {
|
|
|
|
+ overflow: hidden;
|
|
|
|
+ text-overflow: ellipsis;
|
|
|
|
+ white-space: nowrap;
|
|
|
|
+ }
|
|
|
|
+ .ant-image-img {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ &_left {
|
|
|
|
+ width: calc(100% - 400px);
|
|
|
|
+ &_info {
|
|
|
|
+ // width: calc(100% - 400px);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|