fix:复制功能传参问题修复

dev
zhaoxingchang.sd 11 months ago
parent d9b9cae304
commit e10fc916bf
  1. 12
      src/views/statistics/invoiceList.vue

@ -365,6 +365,7 @@ export default {
return { return {
fpzldmType:'', fpzldmType:'',
sureOrderModel:false, sureOrderModel:false,
saveList:{},
invoiceCopyRow:void 0, invoiceCopyRow:void 0,
qrcodeModel:false, qrcodeModel:false,
ewmSrc:'', ewmSrc:'',
@ -1205,17 +1206,18 @@ export default {
this.queryYwlx(); this.queryYwlx();
this.queryInvoices(); this.queryInvoices();
}, },
saveBtn(){ saveBtn(row){
this.sureOrderModel = true; this.sureOrderModel = true;
this.fpzldmType = void 0; this.fpzldmType = '001';
this.saveList = row
}, },
sureCopyBtn(row){ sureCopyBtn(row){
showLoading() showLoading()
createOrderByCopyInvoiceApi({ createOrderByCopyInvoiceApi({
fpzldm:JSON.stringify(this.fpzldmType), fpzldm:JSON.stringify(this.fpzldmType),
entList:JSON.stringify([row.entId]), entList:JSON.stringify([this.saveList.entId]),
fpqqlshList:JSON.stringify([row.fpqqlsh]), fpqqlshList:JSON.stringify([this.saveList.fpqqlsh]),
xhfNsrsbh:JSON.stringify([row.xhfNsrsbh]), xhfNsrsbh:JSON.stringify([this.saveList.xhfNsrsbh]),
}).then((response) => { }).then((response) => {
if (response.code == "0000") { if (response.code == "0000") {
this.$message({ this.$message({

Loading…
Cancel
Save