sales_list.vue 23 KB

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