|
|
@ -196,14 +196,16 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="操作" width="180" fixed="right">
|
|
|
|
<el-table-column label="操作" width="180" fixed="right">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-button type="text" :disabled="scope.row.checkStatus==1" v-if="showSup" size="small" @click.native.stop="determine(scope.row)">确认</el-button>
|
|
|
|
<el-button type="text" :disabled="scope.row.checkStatus==1" size="small"
|
|
|
|
<el-button
|
|
|
|
@click.native.stop="determine(scope.row)">确认
|
|
|
|
type="text"
|
|
|
|
</el-button>
|
|
|
|
size="small"
|
|
|
|
<!--<el-button-->
|
|
|
|
@click.native.stop="InvoiceRegister1(scope.row)"
|
|
|
|
<!-- type="text"-->
|
|
|
|
>发票登记
|
|
|
|
<!-- size="small"-->
|
|
|
|
</el-button
|
|
|
|
<!-- @click.native.stop="InvoiceRegister1(scope.row)"-->
|
|
|
|
>
|
|
|
|
<!-->发票登记-->
|
|
|
|
|
|
|
|
<!--</el-button-->
|
|
|
|
|
|
|
|
<!-->-->
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
@click="getNewInv(scope.row)"
|
|
|
|
@click="getNewInv(scope.row)"
|
|
|
@ -341,7 +343,10 @@
|
|
|
|
row-key="id"
|
|
|
|
row-key="id"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="发票编码" width="150"
|
|
|
|
|
|
|
|
prop="invoiceEncode"
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
label="物资名称"
|
|
|
|
label="物资名称"
|
|
|
|
prop="cpmctymc" width="150"
|
|
|
|
prop="cpmctymc" width="150"
|
|
|
@ -366,10 +371,7 @@
|
|
|
|
label="发票代码" width="150"
|
|
|
|
label="发票代码" width="150"
|
|
|
|
prop="invoiceCode"
|
|
|
|
prop="invoiceCode"
|
|
|
|
></el-table-column>
|
|
|
|
></el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
|
|
|
|
label="发票编码" width="150"
|
|
|
|
|
|
|
|
prop="invoiceEncode"
|
|
|
|
|
|
|
|
></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
|
label="开票日期" width="150"
|
|
|
|
label="开票日期" width="150"
|
|
|
|
prop="invoiceDate"
|
|
|
|
prop="invoiceDate"
|
|
|
@ -462,9 +464,6 @@
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog
|
|
|
|
<el-dialog
|
|
|
|
:title="formMap[formName]"
|
|
|
|
:title="formMap[formName]"
|
|
|
|
:visible.sync="InvoiceRegisterv"
|
|
|
|
:visible.sync="InvoiceRegisterv"
|
|
|
@ -559,6 +558,7 @@ export default {
|
|
|
|
imgList: [],
|
|
|
|
imgList: [],
|
|
|
|
imgViewerVisible: false,
|
|
|
|
imgViewerVisible: false,
|
|
|
|
BASE_URL: process.env.VUE_APP_BASE_API,
|
|
|
|
BASE_URL: process.env.VUE_APP_BASE_API,
|
|
|
|
|
|
|
|
IMAGE_URL: process.env.VUE_APP_SYNC_API,
|
|
|
|
showSearch: true,
|
|
|
|
showSearch: true,
|
|
|
|
filterQuery: {
|
|
|
|
filterQuery: {
|
|
|
|
id: "",
|
|
|
|
id: "",
|
|
|
@ -777,7 +777,7 @@ export default {
|
|
|
|
this.showSearch = !this.showSearch;
|
|
|
|
this.showSearch = !this.showSearch;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
showImgViewer(row) {
|
|
|
|
showImgViewer(row) {
|
|
|
|
this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name=";
|
|
|
|
this.certFileUrl = this.IMAGE_URL + "/mapi" + "/udiwms/image/register/file/getImage?type=image2&name=";
|
|
|
|
this.imgList = [];
|
|
|
|
this.imgList = [];
|
|
|
|
previewImage({imageUrl: row.licenseUrl, certFileUrl: this.certFileUrl}).then(response => {
|
|
|
|
previewImage({imageUrl: row.licenseUrl, certFileUrl: this.certFileUrl}).then(response => {
|
|
|
|
if (response.code === 20000) {
|
|
|
|
if (response.code === 20000) {
|
|
|
@ -1039,11 +1039,11 @@ export default {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.bizDetailLoading = true;
|
|
|
|
this.bizDetailLoading = true;
|
|
|
|
this.bizQuery.orderIdFk = this.currentRow.billNo;
|
|
|
|
|
|
|
|
if (row != null) {
|
|
|
|
if (row != null) {
|
|
|
|
|
|
|
|
this.bizQuery.orderIdFk = row.orderIdFk;
|
|
|
|
this.bizQuery.batchNo = row.batchNo;
|
|
|
|
this.bizQuery.batchNo = row.batchNo;
|
|
|
|
this.bizQuery.relId = row.bindRlFk;
|
|
|
|
this.bizQuery.relId = row.bindRlFk;
|
|
|
|
this.bizQuery.bizIdFk = row.id;
|
|
|
|
// this.bizQuery.bizIdFk = row.id;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
filterListInvoice(this.bizQuery).then((res) => {
|
|
|
|
filterListInvoice(this.bizQuery).then((res) => {
|
|
|
|
this.bizDetailLoading = false;
|
|
|
|
this.bizDetailLoading = false;
|
|
|
@ -1157,6 +1157,7 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
,
|
|
|
|
,
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
|
|
|
|
|
|
|
|
let supId = this.$store.getters.customerId;
|
|
|
|
let supId = this.$store.getters.customerId;
|
|
|
|
if (supId == "110") {
|
|
|
|
if (supId == "110") {
|
|
|
|
this.showSup = true;
|
|
|
|
this.showSup = true;
|
|
|
|