|
@@ -69,16 +69,24 @@
|
|
|
: ""
|
|
|
}}
|
|
|
</p>
|
|
|
- <p>{{props.scope.row.subject == 1?'姓名:':'企业全称:'}}{{ props.scope.row.invoiceTitle }}</p>
|
|
|
- <p>{{props.scope.row.subject == 1?'身份证号:':'纳税人号:'}}{{ props.scope.row.taxRegistryNumber }}</p>
|
|
|
+ <p>
|
|
|
+ {{ props.scope.row.subject == 1 ? "姓名:" : "企业全称:"
|
|
|
+ }}{{ props.scope.row.invoiceTitle }}
|
|
|
+ </p>
|
|
|
+ <p>
|
|
|
+ {{ props.scope.row.subject == 1 ? "身份证号:" : "纳税人号:"
|
|
|
+ }}{{ props.scope.row.taxRegistryNumber }}
|
|
|
+ </p>
|
|
|
<p>开票备注:{{ props.scope.row.openRemark }}</p>
|
|
|
</template>
|
|
|
<template slot="invoice1" slot-scope="props">
|
|
|
- <p v-if="props.scope.row.invoiceMode.includes(2)">收票邮箱:{{ props.scope.row.email }}</p>
|
|
|
+ <p v-if="props.scope.row.invoiceMode.includes(2)">
|
|
|
+ 收票邮箱:{{ props.scope.row.email }}
|
|
|
+ </p>
|
|
|
<template v-if="props.scope.row.invoiceMode.includes(3)">
|
|
|
<p>收票姓名:{{ props.scope.row.consignee }}</p>
|
|
|
- <p>收票电话:{{ props.scope.row.collectionTelephone }}</p>
|
|
|
- <p>收票地址:{{ props.scope.row.shippingAddress }}</p>
|
|
|
+ <p>收票电话:{{ props.scope.row.collectionTelephone }}</p>
|
|
|
+ <p>收票地址:{{ props.scope.row.shippingAddress }}</p>
|
|
|
</template>
|
|
|
</template>
|
|
|
<template slot="invoice2" slot-scope="props">
|
|
@@ -87,8 +95,19 @@
|
|
|
<p v-if="props.scope.row.invoiceMode.includes(3)">纸质快递</p>
|
|
|
</template>
|
|
|
<template slot="btn" slot-scope="props">
|
|
|
- <el-button type="text" @click="examineFunc(props.scope.row)" :disabled="props.scope.row.invoiceStatus != 1">审核</el-button>
|
|
|
- <el-button type="text" @click="handleFunc(props.scope.row)" :disabled="props.scope.row.invoiceStatus != 2 && props.scope.row.invoiceStatus != 4"
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click="examineFunc(props.scope.row)"
|
|
|
+ :disabled="props.scope.row.invoiceStatus != 1"
|
|
|
+ >审核</el-button
|
|
|
+ >
|
|
|
+ <el-button
|
|
|
+ type="text"
|
|
|
+ @click="handleFunc(props.scope.row)"
|
|
|
+ :disabled="
|
|
|
+ props.scope.row.invoiceStatus != 2 &&
|
|
|
+ props.scope.row.invoiceStatus != 4
|
|
|
+ "
|
|
|
>处理</el-button
|
|
|
>
|
|
|
<el-button
|
|
@@ -118,7 +137,7 @@
|
|
|
<script>
|
|
|
import dialogRemark from "./dialogRemark.vue";
|
|
|
import dialogHandle from "./dialogHandle.vue";
|
|
|
-import dialogExamine from "./dialogExamine.vue"
|
|
|
+import dialogExamine from "./dialogExamine.vue";
|
|
|
import pictureList from "@/components/Comon/pictureList.vue";
|
|
|
import searchBoxNew from "@/components/searchBoxNew";
|
|
|
import tableList from "@/components/tableList";
|
|
@@ -132,7 +151,7 @@ export default {
|
|
|
pictureList,
|
|
|
dialogRemark,
|
|
|
dialogHandle,
|
|
|
- dialogExamine
|
|
|
+ dialogExamine,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -144,7 +163,7 @@ export default {
|
|
|
num: true,
|
|
|
choice: true,
|
|
|
addHide: true,
|
|
|
- openCheckMore:true,
|
|
|
+ openCheckMore: true,
|
|
|
backFatherBtn: {
|
|
|
status: false,
|
|
|
title: "未定义",
|
|
@@ -316,26 +335,32 @@ export default {
|
|
|
this.search();
|
|
|
},
|
|
|
methods: {
|
|
|
- blushAll(){
|
|
|
- if(this.$refs.tableList.allCheckData.length == 0){
|
|
|
- this.$message.error("请勾选数据")
|
|
|
- return
|
|
|
+ blushAll() {
|
|
|
+ if (this.$refs.tableList.allCheckData.length == 0) {
|
|
|
+ this.$message.error("请勾选数据");
|
|
|
+ return;
|
|
|
}
|
|
|
- if(!(this.$refs.tableList.allCheckData.every(i => i.washStatus == 1))){
|
|
|
- this.$message.error("请选择待冲红数据")
|
|
|
- return
|
|
|
+ if (!this.$refs.tableList.allCheckData.every((i) => i.washStatus == 1)) {
|
|
|
+ this.$message.error("请选择待冲红数据");
|
|
|
+ return;
|
|
|
}
|
|
|
- let invoiceIds = this.$refs.tableList.allCheckData.map(i => i.invoiceId)
|
|
|
- this.blush(invoiceIds)
|
|
|
+ let invoiceIds = this.$refs.tableList.allCheckData.map(
|
|
|
+ (i) => i.invoiceId
|
|
|
+ );
|
|
|
+ this.blush(invoiceIds);
|
|
|
},
|
|
|
pictureFunc(item) {
|
|
|
if (item.prop == "unApplyNum") {
|
|
|
- this.formData.invoiceStatus = 1;
|
|
|
+ this.formData = {
|
|
|
+ pageSize: 10,
|
|
|
+ pageNum: 1,
|
|
|
+ invoiceStatus: 1,
|
|
|
+ };
|
|
|
this.search();
|
|
|
}
|
|
|
},
|
|
|
- examineFunc(row){
|
|
|
- this.$refs.dialogExamine.openBoxs(row)
|
|
|
+ examineFunc(row) {
|
|
|
+ this.$refs.dialogExamine.openBoxs(row);
|
|
|
},
|
|
|
remarkFunc(row) {
|
|
|
this.dialogVisible = true;
|
|
@@ -374,7 +399,7 @@ export default {
|
|
|
pageSize: 10,
|
|
|
pageNum: 1,
|
|
|
};
|
|
|
- this.$refs.tableList.clearMoreActive()
|
|
|
+ this.$refs.tableList.clearMoreActive();
|
|
|
}
|
|
|
this.$api
|
|
|
.orderinvoicecompanylist(this.formData)
|