index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  1. <template>
  2. <div>
  3. <basic-container v-show="isShow">
  4. <avue-crud :option="option" :data="dataList" ref="crud" v-model="form" :page.sync="page" :search.sync="search"
  5. :table-loading="loading" @row-del="rowDel" :before-open="beforeOpen" :before-close="beforeClose"
  6. @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange"
  7. @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad"
  8. @tree-load="treeLoad" @saveColumn="saveColumn" @resetColumn="resetColumn"
  9. @search-criteria-switch="searchCriteriaSwitch" :cell-style="cellStyle">
  10. <template slot="menuLeft" slot-scope="{size}">
  11. <el-button type="success" :size="size" icon="el-icon-copy-document" @click="copyOrder" :disabled="single">复制单据
  12. </el-button>
  13. <el-button type="info" :size="size" icon="el-icon-printer">报表打印</el-button>
  14. <el-button type="warning" :size="size" icon="el-icon-thumb" :disabled="multiple" @click="applyPayment">申请货款
  15. </el-button>
  16. </template>
  17. <template slot-scope="scope" slot="orgOrderNo">
  18. <span style="color: #409EFF;cursor: pointer" @click.stop="beforeOpenPage(scope.row, scope.index)">{{
  19. scope.row.orgOrderNo
  20. }}</span>
  21. </template>
  22. <template slot="corpIdSearch">
  23. <crop-select v-model="search.corpId" corpType="GYS"></crop-select>
  24. </template>
  25. <template slot-scope="scope" slot="corpId">
  26. <span style="color: #409EFF;cursor: pointer" @click.stop="beforeOpenPage(scope.row, scope.index)">{{
  27. scope.row.strCorpName
  28. }}</span>
  29. </template>
  30. <template slot-scope="scope" slot="orderNo">
  31. <span style="color: #409EFF;cursor: pointer" @click.stop="beforeOpenPage(scope.row, scope.index)">{{
  32. scope.row.orderNo
  33. }}</span>
  34. </template>
  35. <template slot-scope="scope" slot="createUser">
  36. {{ scope.row.createUserName }}
  37. </template>
  38. <template slot-scope="scope" slot="createFreight">
  39. {{ scope.row.createFreight == 1 ? '是' : '否' }}
  40. </template>
  41. <template slot-scope="scope" slot="menu">
  42. <el-button type="text" icon="el-icon-delete" size="small" @click.stop="createPlant(scope.row, scope.index)"
  43. :disabled="scope.row.status > 0 || scope.row.createFreight == 1">生成工厂发货
  44. </el-button>
  45. <!-- <el-button-->
  46. <!-- type="text"-->
  47. <!-- icon="el-icon-edit"-->
  48. <!-- size="small"-->
  49. <!-- @click.stop="editOpen(scope.row,scope.index)"-->
  50. <!-- >编辑-->
  51. <!-- </el-button>-->
  52. <el-button type="text" icon="el-icon-delete" size="small" @click.stop="rowDel(scope.row, scope.index)"
  53. :disabled="(scope.row.itemsList && scope.row.itemsList.length == 0) || scope.row.createFreight == 1">删除
  54. </el-button>
  55. </template>
  56. </avue-crud>
  57. </basic-container>
  58. <detail-page ref="detail" @goBack="goBack" :detailData="detailData" v-if="!isShow"></detail-page>
  59. <el-dialog title="账单" append-to-body class="el-dialogDeep" :visible.sync="applyPaymentDialog" width="60%"
  60. :close-on-click-modal="false" :destroy-on-close="true" :close-on-press-escape="false" v-dialog-drag>
  61. <apply-payment v-if="applyPaymentDialog" :billType="billType" :billData="billData" :arrList="applyPaymentList"
  62. @choceFun="choceFun">
  63. </apply-payment>
  64. </el-dialog>
  65. <el-dialog append-to-body title="账单" class="el-dialogDeep" :visible.sync="financialAccountDialog" width="70%"
  66. :close-on-click-modal="false" :destroy-on-close="true" :close-on-press-escape="false" v-dialog-drag>
  67. <financial-account v-if="financialAccountDialog" :billType="billType" :billData="billData"
  68. :checkData="financeData" :arrList="applyPaymentList" @choceFun="choceFun" tradeType="GN" @submit="feeSubmit" :addBut="false">
  69. </financial-account>
  70. </el-dialog>
  71. </div>
  72. </template>
  73. <script>
  74. import option from "./configuration/mainList.json";
  75. import { customerList, deleteDetails, generateShipment, genfactory, getApplyAmount } from "@/api/basicData/purchaseOrder"
  76. import detailPage from "./detailsPageEdit";
  77. import { defaultDate } from "@/util/date";
  78. import ApplyPayment from "@/components/finance/applyPayment";
  79. import financialAccount from "../../../components/finance/financialAccount";
  80. import { gainUser } from "@/api/basicData/customerInquiry";
  81. import { customerList as feeList } from "@/api/basicData/basicFeesDesc";
  82. import { getCurrentDate } from "@/util/date";
  83. export default {
  84. name: "customerInformation",
  85. props: {
  86. detailData: {
  87. type: Object
  88. }
  89. },
  90. components: {
  91. detailPage,
  92. ApplyPayment,
  93. financialAccount
  94. },
  95. data() {
  96. return {
  97. configuration: {
  98. multipleChoices: false,
  99. multiple: false,
  100. collapseTags: false,
  101. placeholder: "请点击右边按钮选择",
  102. dicData: [],
  103. clearable: true,
  104. },
  105. search: {},
  106. loading: false,
  107. form: {},
  108. option: {},
  109. parentId: 0,
  110. dataList: [],
  111. page: {
  112. pageSize: 10,
  113. currentPage: 1,
  114. total: 0,
  115. pageSizes: [10, 50, 100, 200, 300]
  116. },
  117. // 非单个禁用
  118. single: true,
  119. // 非多个禁用
  120. multiple: true,
  121. selection: [],
  122. isShow: true,
  123. detailData: {},
  124. billType: "申请", //账单类型
  125. billData: {}, //账单需要数据
  126. financeData: {
  127. url: "/financialManagement/paymentRequest/index",
  128. pageStatus: "this.$store.getters.pqStatus",
  129. pageLabel: "付费申请",
  130. checkType: 'ffsq'
  131. }, // 账单请核需要的路由
  132. applyPaymentDialog: false,//生成账单组件
  133. financialAccountDialog: false,
  134. applyPaymentList: [],
  135. feesOption: [],
  136. }
  137. },
  138. async created() {
  139. this.search.requiredArrivalDate = defaultDate(1)
  140. // this.option = option
  141. this.option = await this.getColumnData(this.getColumnName(17), option);
  142. this.getWorkDicts("payment_term").then(res => {
  143. this.findObject(this.option.column, "paymentType").dicData =
  144. res.data.data;
  145. });
  146. gainUser().then(res => {
  147. this.findObject(this.option.column, "createUser").dicData = res.data.data;
  148. })
  149. feeList().then(res => {
  150. this.feesOption = res.data.data.records
  151. })
  152. let i = 0;
  153. this.option.column.forEach(item => {
  154. if (item.search) i++
  155. })
  156. if (i % 3 !== 0) {
  157. const num = 3 - Number(i % 3)
  158. this.option.searchMenuSpan = num * 8;
  159. this.option.searchMenuPosition = "right";
  160. }
  161. this.option.column.forEach(item => {
  162. if (item.pickerOptions) {
  163. item.pickerOptions = {
  164. shortcuts: [{
  165. text: '最近一周',
  166. onClick(picker) {
  167. const end = new Date();
  168. const start = new Date();
  169. start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
  170. picker.$emit('pick', [start, end]);
  171. }
  172. }, {
  173. text: '最近一个月',
  174. onClick(picker) {
  175. const end = new Date();
  176. const start = new Date();
  177. start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
  178. picker.$emit('pick', [start, end]);
  179. }
  180. }, {
  181. text: '最近三个月',
  182. onClick(picker) {
  183. const end = new Date();
  184. const start = new Date();
  185. start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
  186. picker.$emit('pick', [start, end]);
  187. }
  188. }]
  189. }
  190. }
  191. })
  192. },
  193. activated() {
  194. if (this.$route.query.check) {
  195. this.isShow = true
  196. // this.beforeOpenPage({id: this.$route.query.check.billId})
  197. this.detailData = {
  198. id: this.$route.query.check.billId,
  199. check: this.$route.query.check,
  200. };
  201. this.isShow = false;
  202. this.$store.commit("DOMCG_IN_DETAIL");
  203. }
  204. if (this.$route.query.params) {
  205. this.beforeOpenPage({ id: this.$route.query.params })
  206. }
  207. },
  208. methods: {
  209. cellStyle() {
  210. return "padding:0;height:40px;";
  211. },
  212. searchCriteriaSwitch(type) {
  213. if (type) {
  214. this.option.height = this.option.height - 90
  215. } else {
  216. this.option.height = this.option.height + 90
  217. }
  218. this.$refs.crud.getTableHeight()
  219. },
  220. //删除列表后面的删除按钮触发触发(row, index, done)
  221. rowDel(row, index, done) {
  222. this.$confirm("确定将选择数据删除?", {
  223. confirmButtonText: "确定",
  224. cancelButtonText: "取消",
  225. type: "warning"
  226. }).then(() => {
  227. return deleteDetails(row.id);
  228. }).then(() => {
  229. this.$message({
  230. type: "success",
  231. message: "操作成功!"
  232. });
  233. this.page.currentPage = 1;
  234. this.onLoad(this.page, { parentId: 0 });
  235. });
  236. },
  237. //查询全部
  238. initData() {
  239. customerList().then(res => {
  240. const column = this.findObject(this.option.column, "parentId");
  241. column.dicData = res.data.data.records;
  242. });
  243. },
  244. //新增子项触发
  245. handleAdd(row) {
  246. this.parentId = row.id;
  247. const column = this.findObject(this.option.column, "parentId");
  248. column.value = row.id;
  249. column.addDisabled = true;
  250. this.$refs.crud.rowAdd();
  251. },
  252. //查看跳转页面
  253. beforeOpenPage(row, index) {
  254. const data = {
  255. moduleName: 'cg',
  256. tableName: 'business_order',
  257. billId: row.id,
  258. no: localStorage.getItem('browserID')
  259. }
  260. this.checkLock(data).then(res => {
  261. if (res.data.code == 200) {
  262. this.detailData = {
  263. seeDisabled: true,
  264. id: row.id,
  265. };
  266. this.isShow = false;
  267. this.$store.commit("DOMCG_IN_DETAIL");
  268. }
  269. }).catch(err => {
  270. this.detailData = {
  271. id: row.id,
  272. seeDisabled: true,
  273. opDisabled: true
  274. };
  275. this.isShow = false;
  276. this.$store.commit("DOMCG_IN_DETAIL");
  277. })
  278. },
  279. //新增跳转页面
  280. beforeOpen(row, index) {
  281. this.detailData = {
  282. id: row.id,
  283. };
  284. this.isShow = false;
  285. this.$store.commit("DOMCG_IN_DETAIL");
  286. },
  287. editOpen(row, index) {
  288. const data = {
  289. moduleName: 'cg',
  290. tableName: 'business_order',
  291. billId: row.id,
  292. no: localStorage.getItem('browserID')
  293. }
  294. this.checkLock(data).then(res => {
  295. if (res.data.code == 200) {
  296. this.detailData = {
  297. seeDisabled: true,
  298. id: row.id,
  299. };
  300. this.isShow = false;
  301. this.$store.commit("DOMCG_IN_DETAIL");
  302. }
  303. }).catch(err => {
  304. this.detailData = {
  305. id: row.id,
  306. seeDisabled: true,
  307. opDisabled: true
  308. };
  309. this.isShow = false;
  310. this.$store.commit("DOMCG_IN_DETAIL");
  311. })
  312. },
  313. // 复制新单
  314. copyOrder() {
  315. const id = this.selection[0].id;
  316. this.detailData = {
  317. copyId: id,
  318. };
  319. this.isShow = false;
  320. this.$store.commit("DOMCG_IN_DETAIL");
  321. },
  322. //点击新增时触发
  323. beforeClose(done) {
  324. this.parentId = "";
  325. const column = this.findObject(this.option.column, "parentId");
  326. column.value = "";
  327. column.addDisabled = false;
  328. done();
  329. },
  330. //点击搜索按钮触发
  331. searchChange(params, done) {
  332. if (params.requiredArrivalDate) {
  333. this.$set(params, 'requiredArrivalStartDate', params.requiredArrivalDate[0] + " " + "00:00:00")
  334. this.$set(params, 'requiredArrivalEndDate', params.requiredArrivalDate[1] + " " + "23:59:59")
  335. this.$delete(params, 'requiredArrivalDate')
  336. }
  337. if (params.createTime) {
  338. params.createStartTime = params.createTime[0] + " " + "00:00:00"
  339. params.createEndTime = params.createTime[1] + " " + "23:59:59"
  340. this.$delete(params, 'createTime')
  341. }
  342. this.page.currentPage = 1;
  343. this.onLoad(this.page, params);
  344. done()
  345. },
  346. searchReset() {
  347. },
  348. selectionChange(list) {
  349. this.selection = []
  350. this.selection = list;
  351. this.single = list.length !== 1;
  352. this.multiple = list.length == 0
  353. },
  354. currentChange(currentPage) {
  355. this.page.currentPage = currentPage;
  356. },
  357. sizeChange(pageSize) {
  358. this.page.pageSize = pageSize;
  359. },
  360. refreshChange() {
  361. this.page.currentPage = 1;
  362. this.onLoad(this.page, this.search);
  363. },
  364. onLoad(page, params) {
  365. let data = this.gobackSearch(params)
  366. let queryParams = Object.assign({ tradeType: 'GN' }, data, {
  367. size: page.pageSize,
  368. current: page.currentPage,
  369. // billType:'CG',
  370. // corpsTypeId: this.treeDeptId
  371. })
  372. this.loading = true;
  373. customerList(queryParams).then(res => {
  374. this.dataList = res.data.data.records
  375. this.page.total = res.data.data.total
  376. this.option.height = window.innerHeight - 240;
  377. }).finally(() => {
  378. this.loading = false;
  379. })
  380. },
  381. //树桩列点击展开触发
  382. treeLoad(tree, treeNode, resolve) {
  383. const parentId = tree.id;
  384. customerList({ parentId: parentId }).then(res => {
  385. resolve(res.data.data.records);
  386. });
  387. },
  388. goBack() {
  389. this.selection = []
  390. this.applyPaymentList = []
  391. this.single = true
  392. this.multiple = true
  393. this.detailData = this.$options.data().detailData
  394. this.isShow = true;
  395. this.onLoad(this.page, this.search);
  396. },
  397. gobackSearch(params) {
  398. params = Object.assign({}, this.search)
  399. if (params.requiredArrivalDate && params.requiredArrivalDate != '') {
  400. params.requiredArrivalStartDate = params.requiredArrivalDate[0] + " " + "00:00:00"
  401. params.requiredArrivalEndDate = params.requiredArrivalDate[1] + " " + "23:59:59"
  402. this.$delete(params, 'requiredArrivalDate')
  403. }
  404. if (params.createTime && params.createTime != '') {
  405. params.createStartTime = params.createTime[0] + " " + "00:00:00"
  406. params.createEndTime = params.createTime[1] + " " + "23:59:59"
  407. this.$delete(params, 'createTime')
  408. }
  409. return params
  410. },
  411. //列保存触发
  412. async saveColumn() {
  413. /**
  414. * 已定义全局方法,直接使用,saveColumnData保存列数据方法,参数传值(表格名称,当前表格的option数据)
  415. * 已定义全局方法,直接使用,getColumnName方法用来获取枚举值,参数根据自己定义的code值获取中文名
  416. * 一定要执行异步操作,要等接口成功返回,才能执行下一行代码
  417. */
  418. const inSave = await this.saveColumnData(
  419. this.getColumnName(17),
  420. this.option
  421. );
  422. if (inSave) {
  423. this.$message.success("保存成功");
  424. //关闭窗口
  425. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  426. this.$nextTick(() => {
  427. this.$refs.crud.doLayout()
  428. })
  429. }
  430. },
  431. async resetColumn() {
  432. this.option = option;
  433. const inSave = await this.delColumnData(
  434. this.getColumnName(17),
  435. option
  436. );
  437. if (inSave) {
  438. this.$nextTick(() => {
  439. this.$refs.crud.doLayout()
  440. })
  441. this.$message.success("重置成功");
  442. //关闭窗口
  443. this.$refs.crud.$refs.dialogColumn.columnBox = false;
  444. }
  445. },
  446. // 申请货款
  447. async applyPayment() {
  448. this.applyPaymentList = []
  449. if (this.selection.length > 1) {
  450. for (let item in this.selection) {
  451. if (this.selection[0].corpId !== this.selection[item].corpId) {
  452. return this.$message.error('批量结算供应商必须一致')
  453. }
  454. }
  455. }
  456. let forData = await this.forData()
  457. if (forData) {
  458. return this.$message.error('订单号:' + forData + '货款余额不足')
  459. }
  460. let a = []
  461. this.selection.forEach(item => {
  462. item.itemsList = item.itemsList ? item.itemsList : [];
  463. let amount = Number(item.debitAmount) - Number(item.settlmentAmount);
  464. let quantity = 0;
  465. item.itemsList.map(e => {
  466. if (e.submitPay != 1) {
  467. // amount += Number(e.amount)
  468. quantity += Number(e.orderQuantity)
  469. }
  470. })
  471. const price = quantity === 0 ? 0 : Number(amount) / Number(quantity)
  472. let form = {
  473. belongCompany: item.belongCompany,
  474. srcOrderno: item.orderNo,
  475. itemType: "采购",
  476. corpsName: [{ cname: item.strCorpName, id: item.id }],
  477. corpId: item.corpId,
  478. srcParentId: item.id,
  479. currency: 'CNY',
  480. exchangeRate: '1',
  481. taxRate: '0',
  482. accDate: item.businesDate,
  483. srcType: 1,
  484. tradeType: 'GN',
  485. optionType: 'GN',
  486. costType: this.feesOption.find(e => e.cname == '货款') ? this.feesOption.find(e => e.cname == '货款').id : null,
  487. amount,
  488. quantity,
  489. price,
  490. unit: '条',
  491. remarks: item.orderRemark,
  492. }
  493. a.push(form)
  494. // item.itemsList.forEach(e => {
  495. // let form = {
  496. // srcOrderno:item.orderNo,
  497. // itemType:"采购",
  498. // optionType:"GN",
  499. // corpsName: [{cname: item.strCorpName, id: item.id}],
  500. // corpId:item.corpId,
  501. // srcParentId: item.id,
  502. // currency: 'CNY',
  503. // exchangeRate: '1',
  504. // taxRate: '0',
  505. // accDate: item.businesDate,
  506. // srcType: 1,
  507. // tradeType: 'GN',
  508. // costType: this.feesOption.find(e => e.cname == '货款')? this.feesOption.find(e => e.cname == '货款').id: null,
  509. // goodName: e.goodsName,
  510. // price: e.price,
  511. // quantity: e.orderQuantity,
  512. // unit: e.unit,
  513. // amount: e.amount,
  514. // }
  515. // a.push(form)
  516. // })
  517. })
  518. this.applyPaymentList = [...a]
  519. // this.beforeBillData(true);
  520. this.financialAccountDialog = true;
  521. },
  522. async forData() {
  523. for (let item in this.selection) {
  524. let res = await getApplyAmount({ srcBillId: this.selection[item].id, billType: "申请" })
  525. if (this.selection[item].orderAmount <= res.data.data) {
  526. return this.selection[item].orderNo
  527. }
  528. }
  529. },
  530. beforeBillData(type) {
  531. if (type) { //申请货款
  532. // this.billData.srcId = -1
  533. }
  534. },
  535. //关闭账单
  536. choceFun() {
  537. this.financialAccountDialog = false
  538. },
  539. feeSubmit() {
  540. this.onLoad(this.page, this.search)
  541. },
  542. // 生成工厂发货
  543. createPlant(row, index) {
  544. let ids = [];
  545. row.itemsList.forEach(item => {
  546. ids.push(item.id)
  547. })
  548. let data = {
  549. id: row.id,
  550. orderItemIds: ids
  551. }
  552. generateShipment(data).then(res => {
  553. this.$confirm("此操作将生成工厂发货,是否继续?", {
  554. confirmButtonText: "确定",
  555. cancelButtonText: "取消",
  556. type: "warning"
  557. }).then(() => {
  558. res.data.data.orgId = res.data.data.id
  559. res.data.data.deliveryStatus = '录入'
  560. res.data.data.salesCompany = res.data.data.belongToCorpId
  561. res.data.data.totalWeight = res.data.data.cartonWeight
  562. res.data.data.totalVolumn = res.data.data.cntrVolumn
  563. res.data.data.deliveryAmount = 0
  564. res.data.data.totalQuantity = 0
  565. res.data.data.purchaseAmount = 0
  566. res.data.data.orderItemsList.forEach(item => {
  567. item.containerVolume = item.cntrVolumn
  568. item.actualWeight = item.cartonWeight
  569. item.specificationAndModel = item.itemType
  570. item.orgOrderNo = res.data.data.orgOrderNo
  571. item.inventoryNumber = item.storageQuantity
  572. item.srcId = item.id
  573. item.purchaseAmount = item.purchaseAmount
  574. item.purchaseQuantity = Number(item.orderQuantity)
  575. item.actualQuantity = (Number(item.orderQuantity) - Number(item.actualQuantity))
  576. res.data.data.deliveryAmount = Number(res.data.data.deliveryAmount) + Number(item.deliveryAmount)
  577. res.data.data.totalQuantity = Number(res.data.data.totalQuantity) + Number(item.actualQuantity)
  578. res.data.data.purchaseAmount = Number(res.data.data.purchaseAmount) + Number(item.deliveryAmount)
  579. res.data.data.deliveryAmount = Number(res.data.data.deliveryAmount ? res.data.data.deliveryAmount : 0).toFixed(2)
  580. res.data.data.purchaseAmount = Number(res.data.data.purchaseAmount ? res.data.data.purchaseAmount : 0).toFixed(2)
  581. delete item.id
  582. delete item.pid
  583. })
  584. res.data.data.deliveryItemsList = res.data.data.orderItemsList
  585. res.data.data.businessDate = getCurrentDate()
  586. delete res.data.data.createTime
  587. delete res.data.data.id
  588. delete res.data.data.sysNo
  589. delete res.data.data.orderItemsList
  590. delete res.data.data.corpName
  591. delete res.data.data.belongToCorpList
  592. res.data.data.deliveryAmount = res.data.data.debitAmount
  593. res.data.data.srcOrderNo = res.data.data.orgOrderNo
  594. delete res.data.data.debitAmount
  595. res.data.data.deliveryItemsList.forEach(item => item.deliveryAmount = item.amount)
  596. genfactory(res.data.data).then(() => {
  597. this.$message.success('生成工厂发货成功')
  598. this.onLoad(this.page, this.search);
  599. })
  600. });
  601. // this.$router.$avueRouter.closeTag("/businessManagement/receipt/index");
  602. // this.$router.push({
  603. // path: "/businessManagement/receipt/index",
  604. // query: { form: JSON.stringify(res.data.data) },
  605. // });
  606. })
  607. },
  608. }
  609. }
  610. </script>
  611. <style scoped>
  612. </style>