sales_list.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732
  1. <template>
  2. <div class="app-container">
  3. <div v-show="!isShowDetail && !isShowExamine && !isShowReturnForm">
  4. <!-- 筛选条件 -->
  5. <div class="screen-container">
  6. <el-form
  7. ref="screenForm"
  8. :model="screenForm"
  9. label-width="85px"
  10. size="mini"
  11. label-position="left"
  12. >
  13. <el-row :gutter="20">
  14. <el-col :xs="24" :sm="24" :lg="24">
  15. <el-form-item prop="orderNum" label-width="0">
  16. <el-radio-group v-model="screenForm.status" @change="getList()">
  17. <el-radio-button label="">全部</el-radio-button>
  18. <el-radio-button
  19. v-for="(item, index) in statusList"
  20. :key="index"
  21. :label="item.value"
  22. >{{ item.label }}</el-radio-button
  23. >
  24. </el-radio-group>
  25. </el-form-item>
  26. </el-col>
  27. <el-col :xs="24" :sm="12" :lg="6">
  28. <el-form-item label="发货单号" prop="orderNum">
  29. <el-input
  30. v-model="screenForm.orderNum"
  31. placeholder="请输入发货单号"
  32. ></el-input>
  33. </el-form-item>
  34. </el-col>
  35. <el-col :xs="24" :sm="12" :lg="6">
  36. <el-form-item label="订单号" prop="mainOrderId">
  37. <el-input
  38. v-model="screenForm.mainOrderId"
  39. placeholder="请输入订单号"
  40. ></el-input>
  41. </el-form-item>
  42. </el-col>
  43. <el-col :xs="24" :sm="12" :lg="6">
  44. <el-form-item label="经销商名称" prop="jxsName">
  45. <el-input
  46. v-model="screenForm.jxsName"
  47. placeholder="请输入经销商名称"
  48. ></el-input>
  49. </el-form-item>
  50. </el-col>
  51. <el-col :xs="24" :sm="12" :lg="6">
  52. <el-form-item label="经销商编号" prop="jxsNum">
  53. <el-input
  54. v-model="screenForm.jxsNum"
  55. placeholder="请输入规格型号"
  56. ></el-input>
  57. </el-form-item>
  58. </el-col>
  59. <el-col :xs="24" :sm="12" :lg="6">
  60. <el-form-item label="产品名称" prop="chName">
  61. <el-input
  62. v-model="screenForm.chName"
  63. placeholder="请输入产品名称"
  64. ></el-input>
  65. </el-form-item>
  66. </el-col>
  67. <el-col :xs="24" :sm="12" :lg="6">
  68. <el-form-item label="物料编码" prop="chNum">
  69. <el-input
  70. v-model="screenForm.chNum"
  71. placeholder="请输入物料编码"
  72. ></el-input>
  73. </el-form-item>
  74. </el-col>
  75. <el-col :xs="24" :sm="12" :lg="6">
  76. <el-form-item label="规格型号" prop="model">
  77. <el-input
  78. v-model="screenForm.model"
  79. placeholder="请输入规格型号"
  80. ></el-input>
  81. </el-form-item>
  82. </el-col>
  83. <el-col :xs="24" :sm="12" :lg="6">
  84. <el-form-item label="仓库" prop="warehouse">
  85. <el-select v-model="screenForm.warehouse" placeholder="请选择仓库" filterable clearable multiple collapse-tags style="width: 100%">
  86. <el-option :label="item.name" :value="item.id" v-for="(item, index) in warehouseList" :key="index"></el-option>
  87. </el-select>
  88. </el-form-item>
  89. </el-col>
  90. <el-col :xs="24" :sm="12" :lg="6">
  91. <el-form-item label="单据日期" prop="date">
  92. <el-date-picker
  93. v-model="screenForm.date"
  94. type="datetimerange"
  95. range-separator="至"
  96. style="width: 100%"
  97. value-format="yyyy-MM-dd HH:mm:ss"
  98. start-placeholder="开始日期"
  99. end-placeholder="结束日期"
  100. >
  101. </el-date-picker>
  102. </el-form-item>
  103. </el-col>
  104. <el-col :xs="24" :sm="12" :lg="6">
  105. <el-form-item label="审核日期" prop="approval">
  106. <el-date-picker
  107. v-model="screenForm.approval"
  108. type="datetimerange"
  109. range-separator="至"
  110. style="width: 100%"
  111. value-format="yyyy-MM-dd HH:mm:ss"
  112. start-placeholder="开始日期"
  113. end-placeholder="结束日期"
  114. >
  115. </el-date-picker>
  116. </el-form-item>
  117. </el-col>
  118. <el-col :xs="24" :sm="12" :lg="6">
  119. <el-form-item label="出库单号" prop="id">
  120. <el-input
  121. v-model="screenForm.id"
  122. placeholder="请输入出库单号"
  123. ></el-input>
  124. </el-form-item>
  125. </el-col>
  126. <el-col :xs="24" :sm="12" :lg="6" class="tr">
  127. <el-form-item label="">
  128. <el-button @click="resetScreenForm">清空</el-button>
  129. <el-button type="primary" @click="submitScreenForm"
  130. >搜索</el-button
  131. >
  132. </el-form-item>
  133. </el-col>
  134. </el-row>
  135. </el-form>
  136. </div>
  137. <div class="mymain-container">
  138. <div class="btn-group clearfix">
  139. <div class="fl">
  140. <el-button
  141. size="mini"
  142. type="primary"
  143. icon="el-icon-plus"
  144. @click="toReturnForm()"
  145. v-if="$checkBtnRole('refund', $route.meta.roles)"
  146. >退货申请</el-button
  147. >
  148. <el-button
  149. size="mini"
  150. type="warning"
  151. icon="el-icon-finished"
  152. @click="batchExamine"
  153. :disabled="multipleSelection.length < 1"
  154. v-if="$checkBtnRole('examine', $route.meta.roles)"
  155. >批量审批</el-button
  156. >
  157. </div>
  158. <div class="fr">
  159. <ExportButton :exUrl="'sale/order/export'" :exParams="exParams" />
  160. </div>
  161. </div>
  162. <div class="table">
  163. <el-table
  164. v-loading="listLoading"
  165. :data="dataList"
  166. element-loading-text="Loading"
  167. border
  168. fit
  169. :row-style="rowClass"
  170. @selection-change="handleSelectionChange"
  171. show-summary
  172. :summary-method="$getSummaries"
  173. >
  174. <el-table-column
  175. align="center"
  176. type="selection"
  177. width="55"
  178. fixed="left"
  179. ></el-table-column>
  180. <el-table-column
  181. align="left"
  182. label="状态"
  183. prop="examineStatus"
  184. min-width="100"
  185. show-overflow-tooltip
  186. >
  187. <template slot-scope="scope">
  188. {{ scope.row.examineStatus | statusFilter }}
  189. </template>
  190. </el-table-column>
  191. <!-- <el-table-column
  192. align="left"
  193. label="发票号"
  194. prop="billReceipt"
  195. min-width="250"
  196. show-overflow-tooltip
  197. >
  198. <template slot-scope="scope">
  199. {{ scope.row.billReceipt }}
  200. </template>
  201. </el-table-column> -->
  202. <el-table-column
  203. align="left"
  204. label="销售出库单号"
  205. prop="id"
  206. min-width="110"
  207. show-overflow-tooltip
  208. >
  209. <template slot-scope="scope">
  210. <CopyButton :copyText="scope.row.id" />
  211. <span>{{ scope.row.id }}</span>
  212. </template>
  213. </el-table-column>
  214. <el-table-column align="left" label="发货单号" prop="orderNo" min-width="130" show-overflow-tooltip>
  215. <template slot-scope="scope">
  216. <CopyButton :copyText="scope.row.orderNo" />
  217. <span>{{scope.row.orderNo}}</span>
  218. </template>
  219. </el-table-column>
  220. <el-table-column align="left" label="订单号" prop="orderNo" min-width="140" show-overflow-tooltip>
  221. <template slot-scope="scope">
  222. <CopyButton :copyText="scope.row.orderType === 'TRADE' ? scope.row.enginOrderNo : scope.row.mainOrderId" />
  223. <span>{{scope.row.orderType === 'TRADE' || scope.row.orderType === 'HOME' ? scope.row.enginOrderNo : scope.row.mainOrderId}}</span>
  224. </template>
  225. </el-table-column>
  226. <el-table-column
  227. align="left"
  228. label="仓库"
  229. prop="correspondName"
  230. min-width="100"
  231. show-overflow-tooltip
  232. ></el-table-column>
  233. <el-table-column
  234. align="left"
  235. label="经销商编码"
  236. prop="customerNumber"
  237. min-width="100"
  238. show-overflow-tooltip
  239. >
  240. <template slot-scope="scope">
  241. <CopyButton :copyText="scope.row.customerNumber" />
  242. <span>{{ scope.row.customerNumber }}</span>
  243. </template>
  244. </el-table-column>
  245. <el-table-column
  246. align="left"
  247. label="经销商名称"
  248. prop="customerName"
  249. min-width="250"
  250. show-overflow-tooltip
  251. >
  252. <template slot-scope="scope">
  253. <CopyButton :copyText="scope.row.customerName" />
  254. <span>{{ scope.row.customerName }}</span>
  255. </template>
  256. </el-table-column>
  257. <el-table-column
  258. align="left"
  259. label="物料编码"
  260. prop="materialCode"
  261. min-width="120"
  262. show-overflow-tooltip
  263. >
  264. <template slot-scope="scope">
  265. <CopyButton :copyText="scope.row.materialCode" />
  266. <span>{{ scope.row.materialCode }}</span>
  267. </template>
  268. </el-table-column>
  269. <el-table-column
  270. align="left"
  271. label="产品编码"
  272. prop="materialOldNumber"
  273. min-width="140"
  274. show-overflow-tooltip
  275. >
  276. <template slot-scope="scope">
  277. <CopyButton :copyText="scope.row.materialOldNumber" />
  278. <span>{{ scope.row.materialOldNumber }}</span>
  279. </template>
  280. </el-table-column>
  281. <el-table-column
  282. align="left"
  283. label="产品名称"
  284. prop="materialName"
  285. min-width="160"
  286. show-overflow-tooltip
  287. >
  288. <template slot-scope="scope">
  289. <CopyButton :copyText="scope.row.materialName" />
  290. <span>{{ scope.row.materialName }}</span>
  291. </template>
  292. </el-table-column>
  293. <el-table-column
  294. align="left"
  295. label="规格型号"
  296. prop="specification"
  297. min-width="350"
  298. show-overflow-tooltip
  299. >
  300. <template slot-scope="scope">
  301. <CopyButton :copyText="scope.row.specification" />
  302. <span>{{ scope.row.specification }}</span>
  303. </template>
  304. </el-table-column>
  305. <el-table-column
  306. align="left"
  307. label="单位"
  308. prop="unit"
  309. min-width="100"
  310. show-overflow-tooltip
  311. ></el-table-column>
  312. <el-table-column
  313. align="right"
  314. label="数量"
  315. prop="refundableQty"
  316. min-width="100"
  317. show-overflow-tooltip
  318. ></el-table-column>
  319. <!-- <el-table-column align="right" label="单价" prop="price" min-width="100" show-overflow-tooltip>
  320. <template slot-scope="scope">
  321. {{ scope.row.price | numToFixed }}
  322. </template>
  323. </el-table-column> -->
  324. <!-- <el-table-column align="right" label="订单金额" prop="payAmount" min-width="100" show-overflow-tooltip>
  325. <template slot-scope="scope">
  326. {{ scope.row.payAmount | numToFixed }}
  327. </template>
  328. </el-table-column> -->
  329. <!-- <el-table-column align="left" label="订单备注" prop="headerRemark" min-width="160" show-overflow-tooltip></el-table-column> -->
  330. <!-- <el-table-column align="left" label="发货申请备注" prop="remark" min-width="160" show-overflow-tooltip></el-table-column> -->
  331. <!-- <el-table-column align="left" label="表体备注" prop="invoiceRemark" min-width="160" show-overflow-tooltip></el-table-column> -->
  332. <!-- <el-table-column align="left" label="业务员" prop="serviceName" min-width="100" show-overflow-tooltip></el-table-column> -->
  333. <!-- <el-table-column align="left" label="表头业务员" prop="k3ServiceName" min-width="100" show-overflow-tooltip></el-table-column> -->
  334. <el-table-column
  335. align="center"
  336. label="操作"
  337. width="120"
  338. fixed="right"
  339. >
  340. <template slot-scope="scope">
  341. <el-button type="text" @click="toDetail(scope.row)"
  342. >详情</el-button
  343. >
  344. <el-button type="text" v-if="scope.row.type ===2 && scope.row.examineStatus!=='OK'"
  345. @click="toDetail(scope.row),edit = true"
  346. >编辑</el-button
  347. >
  348. <el-button
  349. type="text"
  350. @click="toExamine(scope.row)"
  351. v-if="
  352. $checkBtnRole('examine', $route.meta.roles) &&
  353. scope.row.examineStatus === 'WAIT'
  354. "
  355. >审批</el-button
  356. >
  357. <el-popconfirm
  358. style="margin-left: 10px"
  359. title="确定弃审吗?"
  360. @onConfirm="handleAbandon(scope.row.id)"
  361. v-if="
  362. $checkBtnRole('examine', $route.meta.roles) &&
  363. scope.row.examineStatus === 'OK'
  364. "
  365. >
  366. <el-button slot="reference" type="text">弃审</el-button>
  367. </el-popconfirm>
  368. </template>
  369. </el-table-column>
  370. </el-table>
  371. </div>
  372. </div>
  373. <div class="pagination clearfix">
  374. <div class="fr">
  375. <el-pagination
  376. @size-change="handleSizeChange"
  377. @current-change="handleCurrentChange"
  378. :current-page="currentPage"
  379. :page-sizes="[10, 20, 30, 50, 100]"
  380. :page-size="10"
  381. layout="total, sizes, prev, pager, next, jumper"
  382. :total="listTotal"
  383. >
  384. </el-pagination>
  385. </div>
  386. </div>
  387. </div>
  388. <ExamineDialog
  389. :isShow.sync="isShowExamineDialog"
  390. :examineForm.sync="examineForm"
  391. />
  392. <SalesDetail
  393. :listItem="queryItem"
  394. :edit ='edit'
  395. v-if="isShowDetail"
  396. @backListFormDetail="backList"
  397. />
  398. <SalesExamine
  399. :listItem="queryItem"
  400. v-if="isShowExamine"
  401. @backListFormExamine="backList"
  402. />
  403. <SalesReturnForm
  404. :listItem="queryItem"
  405. v-if="isShowReturnForm"
  406. @backListFormDetail="backList"
  407. />
  408. </div>
  409. </template>
  410. <script>
  411. import {
  412. abandonData,
  413. examineBatch,
  414. examineJudge,
  415. getList,
  416. getWarehouseList,
  417. } from "@/api/supply/sales";
  418. import SalesDetail from "@/views/supply/sales/components/sales_detail";
  419. import SalesExamine from "@/views/supply/sales/components/sales_examine";
  420. import SalesReturnForm from "@/views/supply/sales/components/sales_return_form";
  421. import ExamineDialog from "@/components/Common/examine-dialog";
  422. let that;
  423. export default {
  424. components: {
  425. SalesDetail,
  426. SalesExamine,
  427. SalesReturnForm,
  428. ExamineDialog,
  429. },
  430. filters: {
  431. statusFilter(val) {
  432. let obj = that.statusList.find((o) => o.value == val);
  433. return obj ? obj.label : "";
  434. },
  435. billStatusFilter(val) {
  436. const MAP = {
  437. 1: "已开票",
  438. 0: "未开票",
  439. };
  440. return MAP[val];
  441. },
  442. },
  443. data() {
  444. return {
  445. currentPage: 1, // 当前页码
  446. pageSize: 10, // 每页数量
  447. listTotal: 0, // 列表总数
  448. dataList: null, // 列表数据
  449. listLoading: false, // 列表加载loading
  450. screenForm: {
  451. // 筛选表单数据
  452. orderNum: "",
  453. jxsName: "",
  454. jxsNum: "",
  455. chName: "",
  456. chNum: "",
  457. model: "",
  458. warehouse: [],
  459. date: "",
  460. status: "",
  461. mainOrderId: "",
  462. approval:'',
  463. id:'',
  464. },
  465. statusList: [
  466. { label: "已保存", value: "SAVE" },
  467. { label: "待审核", value: "WAIT" },
  468. { label: "审核通过", value: "OK" },
  469. // { label: '审核驳回', value: 'FAIL' },,
  470. ],
  471. warehouseList: [],
  472. centerDialogVisible:false,
  473. cid:'',
  474. queryItem: {},
  475. isShowDetail: false,
  476. isShowExamine: false,
  477. isShowReturnForm: false,
  478. value1: "",
  479. qty:'',
  480. edit:false,
  481. choiceDate: "",
  482. selectRow: [],
  483. multipleSelection: [],
  484. isShowExamineDialog: false,
  485. examineForm: {
  486. status: "",
  487. remark: "",
  488. },
  489. setDisabled: {
  490. disabledDate: (time) => {
  491. if (this.choiceDate) {
  492. const res = 13 * 24 * 3600 * 1000;
  493. const minTime = this.choiceDate - res;
  494. const maxTime = this.choiceDate + res;
  495. return time.getTime() < minTime || time.getTime() > maxTime;
  496. }
  497. },
  498. onPick: ({ maxDate, minDate }) => {
  499. this.choiceDate = minDate.getTime();
  500. if (maxDate) this.choiceDate = "";
  501. },
  502. },
  503. };
  504. },
  505. computed: {
  506. exParams() {
  507. return {
  508. examineStatus: this.screenForm.status,
  509. orderNo: this.screenForm.orderNum,
  510. customerName: this.screenForm.jxsName,
  511. customerNumber: this.screenForm.jxsNum,
  512. materialName: this.screenForm.chName,
  513. materialNumber: this.screenForm.chNum,
  514. specification: this.screenForm.model,
  515. correspondId: this.screenForm.warehouse.join(','),
  516. startTime: this.screenForm.date ? this.screenForm.date[0] : "",
  517. endTime: this.screenForm.date ? this.screenForm.date[1] : "",
  518. approvalStartTime: this.screenForm.approval ? this.screenForm.approval[0] : "",
  519. approvalEndTime: this.screenForm.approval ? this.screenForm.approval[1] : "",
  520. mainOrderId: this.screenForm.mainOrderId,
  521. id: this.screenForm.id
  522. };
  523. },
  524. },
  525. watch: {
  526. multipleSelection(data) { // 监听选中状态
  527. this.selectRow = []
  528. if (data.length > 0) {
  529. data.forEach((item, index) => {
  530. this.selectRow.push(item.id)
  531. })
  532. }
  533. }
  534. },
  535. beforeCreate() {
  536. that = this;
  537. },
  538. created() {
  539. this.getWarehouseList();
  540. this.getList();
  541. },
  542. methods: {
  543. // 查询列表
  544. getList() {
  545. this.listLoading = true;
  546. let params = {
  547. pageNum: this.currentPage,
  548. pageSize: this.pageSize,
  549. examineStatus: this.screenForm.status,
  550. orderNo: this.screenForm.orderNum,
  551. customerName: this.screenForm.jxsName,
  552. customerNumber: this.screenForm.jxsNum,
  553. materialName: this.screenForm.chName,
  554. materialNumber: this.screenForm.chNum,
  555. specification: this.screenForm.model,
  556. correspondId: this.screenForm.warehouse.join(','),
  557. startTime: this.screenForm.date ? this.screenForm.date[0] : "",
  558. endTime: this.screenForm.date ? this.screenForm.date[1] : "",
  559. approvalStartTime: this.screenForm.approval ? this.screenForm.approval[0] : "",
  560. approvalEndTime: this.screenForm.approval ? this.screenForm.approval[1] : "",
  561. mainOrderId: this.screenForm.mainOrderId,
  562. id: this.screenForm.id
  563. };
  564. getList(params).then((res) => {
  565. res.data.records.forEach((item) => {
  566. item.sums1 = ["refundableQty"];
  567. item.sums2 = ["price", "payAmount"];
  568. });
  569. this.dataList = res.data.records;
  570. this.listTotal = res.data.total;
  571. this.listLoading = false;
  572. });
  573. },
  574. // 获取仓库列表
  575. getWarehouseList() {
  576. getWarehouseList({
  577. pageNum: 1,
  578. pageSize: -1
  579. }).then((res) => {
  580. this.warehouseList = res.data.records;
  581. })
  582. },
  583. updateReceipt() {
  584. if (!this.value1) {
  585. this.$errorMsg('请选择时间')
  586. return
  587. }
  588. // updateReceipt({
  589. // startTime:this.value1[0],
  590. // endTime:this.value1[1]
  591. // }).then(res=>{
  592. // this.getList();
  593. // this.$successMsg("已更新");
  594. // this.value1 = ''
  595. // })
  596. },
  597. // 提交筛选表单
  598. submitScreenForm() {
  599. this.currentPage = 1;
  600. this.getList();
  601. },
  602. // 重置筛选表单
  603. resetScreenForm() {
  604. this.$refs.screenForm.resetFields();
  605. this.currentPage = 1;
  606. this.getList();
  607. },
  608. // 更改每页数量
  609. handleSizeChange(val) {
  610. this.pageSize = val;
  611. this.currentPage = 1;
  612. this.getList();
  613. },
  614. // 更改当前页
  615. handleCurrentChange(val) {
  616. this.currentPage = val;
  617. this.getList();
  618. },
  619. // 判断是否可以审批
  620. async examineJudge(item) {
  621. // 获取页面模版
  622. const result = await new Promise((resolve, reject) => {
  623. examineJudge({ id: item.id })
  624. .then((res) => {
  625. resolve(res.code == 200);
  626. })
  627. .catch((res) => {
  628. resolve(0);
  629. });
  630. });
  631. return result;
  632. },
  633. // 进入表单
  634. toReturnForm(item) {
  635. this.queryItem = item;
  636. this.isShowReturnForm = true;
  637. },
  638. // 进入详情
  639. toDetail(item) {
  640. this.queryItem = item;
  641. this.isShowDetail = true;
  642. },
  643. // 进入审批
  644. async toExamine(item) {
  645. const canExamine = await this.examineJudge(item);
  646. if (!canExamine) {
  647. return false;
  648. }
  649. this.queryItem = item;
  650. this.isShowExamine = true;
  651. },
  652. backList() {
  653. this.queryItem = {};
  654. this.isShowDetail = false;
  655. this.isShowExamine = false;
  656. this.isShowReturnForm = false;
  657. },
  658. handleSelectionChange(val) {
  659. this.multipleSelection = val;
  660. if(val) {
  661. this.selections = val;
  662. }else {
  663. this.selections = [];
  664. }
  665. },
  666. rowClass({ row, rowIndex }) {
  667. if (this.selectRow.includes(row.id)) {
  668. return { 'background-color': '#ecf5ff' }
  669. }
  670. },
  671. // 打开 批量审批
  672. batchExamine() {
  673. this.isShowExamineDialog = true;
  674. },
  675. // 提交 批量审批
  676. submitExamineForm() {
  677. let ids = this.multipleSelection.map((item) => {
  678. return item.id;
  679. });
  680. examineBatch({
  681. ids: ids.join(","),
  682. examineStatus: this.examineForm.status,
  683. approvalRemark: this.examineForm.remark,
  684. }).then((res) => {
  685. this.isShowExamineDialog = false;
  686. this.getList();
  687. this.$successMsg("修改成功");
  688. });
  689. },
  690. // 弃审
  691. handleAbandon(id) {
  692. abandonData({ id }).then((res) => {
  693. this.$successMsg();
  694. this.getList();
  695. });
  696. },
  697. },
  698. };
  699. </script>
  700. <style lang="scss" scoped></style>