Compare commits

..

No commits in common. '176789104f57f7c80f3a36dde36c1f666115e937' and 'd9b9cae3049d8c875b02bc63b1476084ca329255' have entirely different histories.

  1. 43
      src/views/statistics/invoiceList.vue

@ -153,8 +153,8 @@
>邮箱推送
</el-button>
</el-row>
<!--@sort-change="handleSort" -->
<custom-table
@sort-change="handleSort"
:columns="tableColumn"
:data="tableList"
:default-sort="{ prop: 'kprq', order: 'descending' }"
@ -365,7 +365,6 @@ export default {
return {
fpzldmType:'',
sureOrderModel:false,
saveList:{},
invoiceCopyRow:void 0,
qrcodeModel:false,
ewmSrc:'',
@ -838,12 +837,6 @@ export default {
fixed: "left",
},
{label: "序号", type: "index", width: "50", fixed: "left"},
{
label: "凭证号",
width: "170",
prop: "pzh",
sortable: "custom",
},
{
label: "开票时间",
width: "150",
@ -1105,7 +1098,6 @@ export default {
width: "",
prop: "ddh",
},
{
label: "发票代码",
width: "120",
@ -1180,7 +1172,6 @@ export default {
],
downloading:false,
bbloading:false,
orderBy:'',
};
},
watch:{
@ -1201,13 +1192,9 @@ export default {
},
methods: {
handleSort(column, prop, order) {
if(column.prop == "pzh"){
column.order == 'ascending' ? this.orderBy = 'pzhAsc' : this.orderBy = 'pzhDesc';
}
this.queryInvoices();
},
// toggle() {
// this.searchIsShow = !this.searchIsShow;
// },
pageChange(cur) {
this.page.page = cur.page;
this.page.limit = cur.limit;
@ -1218,26 +1205,17 @@ export default {
this.queryYwlx();
this.queryInvoices();
},
saveBtn(row){
saveBtn(){
this.sureOrderModel = true;
this.fpzldmType = '001';
this.saveList = row
this.fpzldmType = void 0;
},
sureCopyBtn(row){
let fpdm = ''
if(this.fpzldmType == '001'){
fpdm = '01'
}else if(this.fpzldmType == '002'){
fpdm = '02'
}else {
fpdm = this.fpzldmType
}
showLoading()
createOrderByCopyInvoiceApi({
fpzldm:fpdm,
entList:JSON.stringify([this.saveList.entId]),
fpqqlshList:JSON.stringify([this.saveList.fpqqlsh]),
xhfNsrsbh:JSON.stringify([this.saveList.xhfNsrsbh]),
fpzldm:JSON.stringify(this.fpzldmType),
entList:JSON.stringify([row.entId]),
fpqqlshList:JSON.stringify([row.fpqqlsh]),
xhfNsrsbh:JSON.stringify([row.xhfNsrsbh]),
}).then((response) => {
if (response.code == "0000") {
this.$message({
@ -1397,7 +1375,6 @@ export default {
}
let data = {
orderBy:this.orderBy,
zfbz: this.queryParams.zfbz,
startTime: this.queryParams.time[0],
endTime: this.queryParams.time[1],

Loading…
Cancel
Save