index.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785
  1. <template>
  2. <div class="sellOutOrder pagePadding">
  3. <div v-if="powers.some((i) => i == '001')">
  4. <ex-table
  5. v-loading="loading"
  6. :table="table"
  7. :data="tableData"
  8. :columns="columns"
  9. :page="pageInfo"
  10. :size="size"
  11. @page-curr-change="handlePageChange"
  12. @page-size-change="handleSizeChange"
  13. @screen-reset="
  14. pageInfo.curr = 1;
  15. parmValue.page = 1;
  16. searchList();
  17. "
  18. @screen-submit="
  19. pageInfo.curr = 1;
  20. parmValue.page = 1;
  21. searchList();
  22. "
  23. @selection="selection_change"
  24. >
  25. <template #table-header="{}">
  26. <div style="width: 100%">
  27. <el-row style="padding: 0 0 0 80px">
  28. <el-col :span="4" style="width: 405px; display: flex; align-items: center">
  29. <el-dropdown>
  30. <el-button size="mini" style="margin-right: 10px">
  31. {{ timerMaps[timerKey].label
  32. }}<i class="el-icon-arrow-down el-icon--right"></i>
  33. </el-button>
  34. <el-dropdown-menu slot="dropdown">
  35. <el-dropdown-item v-for="key in Object.keys(timerMaps)" :key="key">
  36. <p @click="setTimerKey(key)">
  37. {{ timerMaps[key].label }}
  38. </p>
  39. </el-dropdown-item>
  40. </el-dropdown-menu>
  41. </el-dropdown>
  42. <period-date-picker
  43. :type="1"
  44. :start="parmValue.start"
  45. :end="parmValue.end"
  46. :width="'134px'"
  47. :size="searchSize"
  48. @timeReturned="handleTime"
  49. />
  50. </el-col>
  51. <el-col :span="4" style="width: 230px; padding: 0 0 0 2px">
  52. <search-customer
  53. :value="parmValue.customerCode"
  54. :size="searchSize"
  55. :placeholder="'客户公司名称'"
  56. :names="parmValue.customerName"
  57. :is-detail="true"
  58. @searchChange="customerChange"
  59. />
  60. </el-col>
  61. <el-col :span="3" style="width: 66px; float: right">
  62. <el-button
  63. :size="searchSize"
  64. type="primary"
  65. style="float: right; margin-left: 5px"
  66. @click="searchList"
  67. >
  68. 刷新
  69. </el-button>
  70. </el-col>
  71. <el-col
  72. :span="4"
  73. style="width: 66px; float: right"
  74. v-if="powers.some((i) => i == '087')"
  75. >
  76. <el-button
  77. type="primary"
  78. style="margin-left: 30px"
  79. @click="download"
  80. :size="searchSize"
  81. class="fr"
  82. >
  83. 导出
  84. </el-button>
  85. </el-col>
  86. </el-row>
  87. <el-row style="padding-top: 10px">
  88. <el-col :span="4" style="width: 177px">
  89. <el-select
  90. :size="searchSize"
  91. v-model="parmValue.use_type"
  92. filterable
  93. placeholder="平台类型"
  94. style="width: 100%"
  95. @change="
  96. pageInfo.curr = 1;
  97. parmValue.page = 1;
  98. searchList();
  99. "
  100. >
  101. <el-option
  102. v-for="item in usetypeOtions"
  103. :key="'use_type' + item.id"
  104. :label="item.label"
  105. :value="item.value"
  106. />
  107. </el-select>
  108. </el-col>
  109. <el-col :span="4" style="width: 150px; padding: 0 0 0 9px">
  110. <el-select
  111. :size="searchSize"
  112. v-model="parmValue.order_source"
  113. filterable
  114. clearable
  115. placeholder="订单来源"
  116. style="width: 100%"
  117. @change="
  118. pageInfo.curr = 1;
  119. parmValue.page = 1;
  120. searchList();
  121. "
  122. >
  123. <el-option
  124. v-for="item in xs_order_source_options"
  125. :key="'orderstatus' + item.id"
  126. :label="item.label"
  127. :value="item.id"
  128. />
  129. </el-select>
  130. </el-col>
  131. <el-col :span="4" style="width: 150px; padding: 0 0 0 9px">
  132. <el-select
  133. :size="searchSize"
  134. v-model="parmValue.order_type"
  135. filterable
  136. clearable
  137. placeholder="商品类型"
  138. style="width: 100%"
  139. @change="
  140. pageInfo.curr = 1;
  141. parmValue.page = 1;
  142. searchList();
  143. "
  144. >
  145. <el-option
  146. v-for="item in xs_order_type_options"
  147. :key="'orderstatus' + item.id"
  148. :label="item.label"
  149. :value="item.id"
  150. />
  151. </el-select>
  152. </el-col>
  153. <el-col :span="4" style="width: 238px; padding: 0 0 0 10px">
  154. <search-supplier
  155. :size="'mini'"
  156. style="width: 100%"
  157. :value="parmValue.supplierNo"
  158. :disabled="false"
  159. :placeholder="'供应商名称'"
  160. :names="parmValue.supplierName"
  161. :isDetail="true"
  162. :noDisabled="true"
  163. @searchChange="supplierChange"
  164. />
  165. </el-col>
  166. <el-col :span="4" style="width: 66px" class="fr">
  167. <el-button
  168. type="warning"
  169. class="fr"
  170. :size="searchSize"
  171. @click="restSearch"
  172. >
  173. 重置
  174. </el-button>
  175. </el-col>
  176. </el-row>
  177. <el-row style="padding: 10px 0 0 0">
  178. <el-col :span="3" style="width: 177px">
  179. <el-select
  180. :size="searchSize"
  181. v-model="parmValue.status"
  182. filterable
  183. clearable
  184. placeholder="状态"
  185. style="width: 100%"
  186. @change="
  187. pageInfo.curr = 1;
  188. parmValue.page = 1;
  189. searchList();
  190. "
  191. >
  192. <el-option
  193. v-for="item in statusOptions"
  194. :key="'status' + item.id"
  195. :label="item.label"
  196. :value="item.id"
  197. />
  198. </el-select>
  199. </el-col>
  200. <el-col :span="4" style="width: 538px; padding: 0 0 0 10px">
  201. <el-input
  202. clearable
  203. :size="searchSize"
  204. placeholder="关键字"
  205. v-model="s_input"
  206. maxlength="40"
  207. class="input-with-select"
  208. >
  209. <el-select
  210. style="width: 140px"
  211. v-model="select"
  212. slot="prepend"
  213. placeholder="关键字类型"
  214. >
  215. <el-option label="销售订单编号" value="orderCode" />
  216. <el-option label="发货单编号" value="outCode" />
  217. <!-- <el-option label="供应商名称" value="supplier_name" /> -->
  218. <el-option label="商品编号" value="good_code" />
  219. <el-option label="商品名称" value="good_name" />
  220. <el-option label="申请人部门" value="company_name" />
  221. <el-option label="申请人" value="apply_name" />
  222. <el-option label="采购单编号" value="cgdNo" />
  223. </el-select>
  224. <el-button
  225. slot="append"
  226. icon="el-icon-search"
  227. @click="
  228. pageInfo.curr = 1;
  229. parmValue.page = 1;
  230. handleValue();
  231. "
  232. ></el-button>
  233. </el-input>
  234. </el-col>
  235. </el-row>
  236. </div>
  237. </template>
  238. <template #order_source="{ scope }">
  239. <el-tag
  240. :size="tablebtnSize"
  241. v-text="
  242. (
  243. xs_order_source_options.find(
  244. (item) => item.id == scope.row.order_source
  245. ) || {}
  246. ).label || '--'
  247. "
  248. ></el-tag>
  249. </template>
  250. <template #status="{ scope }">
  251. <el-tag
  252. :size="tablebtnSize"
  253. :type="scope.row.status == '0' ? 'warning' : ''"
  254. v-text="
  255. (statusOptions.find((item) => item.id == scope.row.status) || {}).label ||
  256. '--'
  257. "
  258. ></el-tag>
  259. </template>
  260. <template #use_type="{ scope }">
  261. <el-tag size="mini">
  262. {{
  263. (usetypeOtions.find(({ value }) => value === scope.row.use_type) || {})
  264. .label || "---"
  265. }}
  266. </el-tag>
  267. </template>
  268. <template #order_type="{ scope }">
  269. <el-tag
  270. :size="tablebtnSize"
  271. v-text="
  272. (
  273. xs_order_type_options.find((item) => item.id == scope.row.order_type) ||
  274. {}
  275. ).label || '--'
  276. "
  277. ></el-tag>
  278. </template>
  279. <template #operation="{ scope }">
  280. <el-tooltip
  281. v-if="powers.some((i) => i == '007')"
  282. effect="dark"
  283. content="详情"
  284. placement="top"
  285. >
  286. <i
  287. class="el-icon-view tb-icon"
  288. @click="getRouter('sellOutOrderDetail', scope.row.outCode)"
  289. ></i>
  290. </el-tooltip>
  291. <el-tooltip
  292. v-if="Number(scope.row.status) >= 2"
  293. effect="dark"
  294. content="分享"
  295. placement="top"
  296. >
  297. <i class="el-icon-share tb-icon" @click="handleShare(scope.row.outCode)"></i>
  298. </el-tooltip>
  299. </template>
  300. </ex-table>
  301. <add-edit
  302. :id="modelId"
  303. :sitem="sitem"
  304. :show-model="showModel"
  305. :is-detail="isDetail"
  306. @refresh="searchList"
  307. @cancel="showModel = false"
  308. />
  309. </div>
  310. <div v-else>
  311. <no-auth></no-auth>
  312. </div>
  313. </div>
  314. </template>
  315. <script>
  316. import mixinPage from "@/mixins/elPaginationHandle";
  317. import resToken from "@/mixins/resToken";
  318. import { mapGetters } from "vuex";
  319. import urlConfig from "@/apis/url-config";
  320. import asyncRequest from "@/apis/service/sellOut/sellOutOrder";
  321. import addEdit from "./components/addEdit.vue";
  322. import { columns } from "./columns";
  323. import { shareWebUrl } from "@/config";
  324. import {
  325. xs_order_source_options,
  326. xs_order_type_options,
  327. usetypeOtions,
  328. } from "@/assets/js/statusList";
  329. import companyHelper from "@/mixins/companyHelper";
  330. export default {
  331. name: "sellOutOrder",
  332. mixins: [mixinPage, resToken, companyHelper],
  333. components: {
  334. addEdit,
  335. },
  336. computed: {
  337. ...mapGetters(["tablebtnSize", "searchSize", "size", "isSupertube"]),
  338. powers() {
  339. const tran =
  340. this.$store.getters.btnList.find((item) => item.menu_route == "sellOutOrder") ||
  341. {};
  342. const { action } = tran ?? {};
  343. return action ?? [];
  344. },
  345. dpowers() {
  346. const tran =
  347. this.$store.getters.btnList.find(
  348. (item) => item.menu_route == "sellOutOrderDetail"
  349. ) || {};
  350. const { action } = tran ?? {};
  351. return action ?? [];
  352. },
  353. },
  354. data() {
  355. return {
  356. usetypeOtions,
  357. select: "cgdNo",
  358. s_input: "",
  359. customerCode: [], //客户公司code
  360. fileUrl: urlConfig.baseURL,
  361. changeList: [],
  362. timerKey: "add",
  363. timerMaps: {
  364. add: {
  365. start: "start",
  366. end: "end",
  367. label: "添加时间",
  368. },
  369. send: {
  370. start: "start_sendtime",
  371. end: "end_sendtime",
  372. label: "发货时间",
  373. },
  374. },
  375. sitem: null,
  376. // 状态
  377. statusOptions: [
  378. { id: "0", label: "待采购备货" },
  379. { id: "1", label: "待库管发货" },
  380. { id: "2", label: "已发货待收货" },
  381. { id: "3", label: "已收货" },
  382. { id: "4", label: "已全部退货" },
  383. { id: "5", label: "已取消" },
  384. ],
  385. loading: true,
  386. showModel: false,
  387. isDetail: false,
  388. modelId: 0,
  389. supplierNo: "",
  390. parmValue: {
  391. order_source: "",
  392. timerInner: "添加时间",
  393. order_type: "",
  394. orderCode: "",
  395. apply_name: "", //申请人名称
  396. cgdNo: "",
  397. start: "",
  398. end: "",
  399. start_sendtime: "",
  400. end_sendtime: "",
  401. companyNo: "",
  402. good_code: "",
  403. good_name: "",
  404. outCode: "",
  405. status: "",
  406. company_name: "", //申请人部门
  407. page: 1, // 页码
  408. size: 15, // 每页显示条数
  409. use_type: "1",
  410. },
  411. // 表格 - 数据
  412. tableData: [],
  413. // 表格 - 参数
  414. table: {
  415. stripe: true,
  416. border: true,
  417. _defaultHeader_: ["setcol"],
  418. },
  419. // 表格 - 分页
  420. pageInfo: {
  421. size: 15,
  422. curr: 1,
  423. total: 0,
  424. },
  425. // 表格 - 列参数
  426. columns,
  427. xs_order_source_options,
  428. xs_order_type_options,
  429. };
  430. },
  431. mounted() {
  432. // return;
  433. const { back } = this.$route.query;
  434. if (back) {
  435. this.parmValue = JSON.parse(back);
  436. console.log( this.parmValue);
  437. const { page, size } = this.parmValue;
  438. if (this.parmValue.customerCode.length > 0) {
  439. this.customerCode = [this.parmValue.customerCode];
  440. }
  441. this.pageInfo = {
  442. size: size,
  443. curr: page,
  444. total: 0,
  445. };
  446. //多选条件
  447. this.select = this.parmValue.select;
  448. // this.sselect = this.parmValue.sselect;
  449. this.s_input = this.parmValue.s_input;
  450. } else {
  451. this.select = "cgdNo";
  452. // this.sselect = "创建时间"
  453. }
  454. this.searchList();
  455. },
  456. methods: {
  457. async supplierChange(e) {
  458. const { code, label } = e;
  459. // this.supplierNo = code ? [code] : [];
  460. this.parmValue.supplierNo = code ? [code] : []
  461. this.parmValue.supplierName = label
  462. this.pageInfo.curr = 1;
  463. this.parmValue.page = 1;
  464. this.searchList();
  465. },
  466. setTimerKey(key) {
  467. this.timerKey = key;
  468. this.pageInfo.curr = 1;
  469. this.parmValue.page = 1;
  470. this.searchList();
  471. },
  472. handleShare(outCode) {
  473. const url = shareWebUrl + outCode;
  474. const input = document.createElement("input");
  475. document.body.appendChild(input);
  476. input.value = url;
  477. input.select();
  478. document.execCommand("Copy");
  479. this.$message.success("复制成功");
  480. document.body.removeChild(input);
  481. },
  482. getRouter(toRouter, queryId) {
  483. if (toRouter && queryId) {
  484. let model = {
  485. id: queryId,
  486. // type: 'view',
  487. };
  488. //有多选框的条件
  489. this.parmValue.select = this.select;
  490. // this.parmValue.sselect = this.sselect ;
  491. this.parmValue.s_input = this.s_input;
  492. //
  493. let routerModel = {
  494. options: JSON.parse(JSON.stringify(this.parmValue)),
  495. router: this.$route.path,
  496. };
  497. model.preModel = JSON.stringify(routerModel);
  498. this.routeGoto(toRouter, model);
  499. } else {
  500. this.$message.warning("暂未找到相关流程!");
  501. }
  502. },
  503. //选中触发函数
  504. selection_change(e) {
  505. const { list } = e;
  506. //选中的数组集合
  507. this.changeList = list.length > 0 ? JSON.parse(JSON.stringify(list)) : [];
  508. },
  509. //导出文件 ()
  510. async download() {
  511. if (this.changeList.length <= 0) {
  512. this.$message.warning("请选择有效数据");
  513. return;
  514. }
  515. let model = {
  516. outCodes: [],
  517. };
  518. this.changeList.forEach((item) => {
  519. model.outCodes.push(item.outCode);
  520. });
  521. // const res = await asyncRequest.exportcgdlist(model)
  522. if (!this.loading) {
  523. this.loading = true;
  524. let httpType = `aplication/zip`;
  525. axios({
  526. method: "post",
  527. url: this.fileUrl + "admin/exportsaleout",
  528. responseType: "blob",
  529. data: model,
  530. headers: {
  531. // 'Content-Type': 'multipart/form-data',
  532. // Accept: "application/vnd.ms-excel"
  533. Accept: httpType,
  534. },
  535. })
  536. .then((res) => {
  537. // console.log(res)
  538. // console.log(this.fileUrl)
  539. // return;
  540. if (res && res.status == 200 && res.data) {
  541. let url = window.URL.createObjectURL(
  542. new Blob([res.data], {
  543. // type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8",
  544. type: httpType,
  545. })
  546. );
  547. let link = document.createElement("a");
  548. link.style.display = "none";
  549. link.href = url;
  550. let excelName = "发货单.zip";
  551. link.setAttribute("download", excelName);
  552. document.body.appendChild(link);
  553. link.click();
  554. link.remove();
  555. window.URL.revokeObjectURL(url); //释放掉blob对象
  556. this.$message.success(`${message}导出成功!`);
  557. setTimeout(() => {
  558. this.loading = false;
  559. }, 500);
  560. } else {
  561. this.$message.error(res.data.message);
  562. setTimeout(() => {
  563. this.loading = false;
  564. }, 500);
  565. }
  566. })
  567. .catch((error) => {
  568. console.log(error);
  569. this.loading = false;
  570. });
  571. }
  572. },
  573. restSearch() {
  574. this.customerCode = [];
  575. this.select = "cgdNo";
  576. this.s_input = "";
  577. this.parmValue = {
  578. order_type: "",
  579. orderCode: "",
  580. apply_name: "", //申请人名称
  581. cgdNo: "",
  582. start: "",
  583. end: "",
  584. // supplierNo: "",
  585. companyNo: "",
  586. good_code: "",
  587. good_name: "",
  588. outCode: "",
  589. status: "",
  590. company_name: "", //申请人部门
  591. page: 1, // 页码
  592. size: 15, // 每页显示条数
  593. use_type: "1",
  594. };
  595. // 表格 - 分页
  596. this.pageInfo = {
  597. size: 15,
  598. curr: 1,
  599. total: 0,
  600. };
  601. this.searchList();
  602. },
  603. openModal(id, isDetail, sitem) {
  604. this.showModel = true;
  605. this.modelId = id;
  606. this.isDetail = isDetail;
  607. this.sitem = sitem;
  608. },
  609. async deleteById(id, status) {
  610. await this.$confirm("确定要删除?", {
  611. confirmButtonText: "确定",
  612. cancelButtonText: "取消",
  613. type: "warning",
  614. })
  615. .then(async () => {
  616. const model = {
  617. id: id,
  618. status: status + "" === "1" ? "0" : "1",
  619. };
  620. const res = await asyncRequest.status(model);
  621. if (res && res.code === 0) {
  622. this.$notify.success({
  623. title: "删除成功",
  624. message: "",
  625. });
  626. this.searchList();
  627. } else if (res && res.code >= 100 && res.code <= 104) {
  628. await this.logout();
  629. } else {
  630. this.$message.warning(res.message);
  631. }
  632. })
  633. .catch(() => {
  634. console.log("取消");
  635. });
  636. },
  637. // 列表搜索
  638. async searchList() {
  639. const { start: startProp, end: endProp } = this.timerMaps[this.timerKey];
  640. if (
  641. (this.parmValue[startProp] !== "" && this.parmValue[endProp] === "") ||
  642. (this.parmValue[startProp] === "" && this.parmValue[endProp] !== "")
  643. ) {
  644. this.$message.warning("时间区间不完整!");
  645. return;
  646. }
  647. this.loading = true;
  648. let { start, end,supplierNo, customerCode ,supplierName,customerName ,...rest } = JSON.parse(JSON.stringify(this.parmValue));
  649. const res = await asyncRequest.list({
  650. ...rest,
  651. supplierNo: Array.isArray(supplierNo) ? supplierNo[0] : supplierNo,
  652. customerCode: Array.isArray(customerCode) ? customerCode[0] : customerCode,
  653. [startProp]: start,
  654. [endProp]: end,
  655. needRela: true,
  656. });
  657. if (res && res.code === 0 && res.data) {
  658. this.tableData = res.data.list;
  659. this.pageInfo.total = Number(res.data.count);
  660. this.tableData.forEach((v) => {
  661. v.good_class = "";
  662. if (v.can && v.can.length > 0) {
  663. v.can.forEach((x, i) => {
  664. v.good_class += i === 0 ? x.name : "/" + x.name;
  665. });
  666. }
  667. });
  668. } else if (res && res.code >= 100 && res.code <= 104) {
  669. await this.logout();
  670. } else {
  671. this.tableData = [];
  672. this.pageInfo.total = 0;
  673. }
  674. this.loading = false;
  675. },
  676. async statusConfirm(id, status) {
  677. let str = status + "" === "1" ? "禁用" : "启用";
  678. await this.$confirm("确定要改为" + str + "?", {
  679. confirmButtonText: "确定",
  680. cancelButtonText: "取消",
  681. type: "warning",
  682. })
  683. .then(async () => {
  684. this.loading = true;
  685. const model = {
  686. id: id,
  687. status: status + "" === "1" ? "0" : "1",
  688. };
  689. const res = await asyncRequest.status(model);
  690. if (res && res.code === 0) {
  691. this.loading = false;
  692. this.$notify.success({
  693. title: "状态修改成功!",
  694. message: "",
  695. });
  696. await this.searchList();
  697. } else if (res && res.code >= 100 && res.code <= 104) {
  698. await this.logout();
  699. } else {
  700. this.$message.warning(res.message);
  701. }
  702. })
  703. .catch(() => {
  704. console.log("取消");
  705. });
  706. },
  707. // 时间选择事件
  708. async handleTime(e) {
  709. if (e.startTime !== "") {
  710. this.parmValue.start = e.startTime;
  711. } else {
  712. this.parmValue.start = "";
  713. }
  714. if (e.endTime !== "") {
  715. this.parmValue.end = e.endTime;
  716. } else {
  717. this.parmValue.end = "";
  718. }
  719. if (this.parmValue.start !== "" && this.parmValue.end !== "") {
  720. this.pageInfo.curr = 1;
  721. this.parmValue.page = 1;
  722. await this.searchList();
  723. }
  724. },
  725. async customerChange(e) {
  726. if (e && e.id) {
  727. this.customerCode = [e.code];
  728. this.parmValue.customerName = e.label;
  729. this.parmValue.customerCode = e.code ? [e.code] : ""
  730. } else {
  731. this.customerCode = [];
  732. this.parmValue.customerName = "";
  733. }
  734. this.pageInfo.curr = 1;
  735. this.parmValue.page = 1;
  736. await this.searchList();
  737. },
  738. async handleValue() {
  739. this.parmValue.orderCode = this.select === "orderCode" ? this.s_input : "";
  740. this.parmValue.outCode = this.select === "outCode" ? this.s_input : "";
  741. this.parmValue.supplier_name = this.select === "supplier_name" ? this.s_input : "";
  742. // this.parmValue.supplierName =
  743. // this.select === "supplierNo" ? this.s_input : "";
  744. this.parmValue.good_code = this.select === "good_code" ? this.s_input : "";
  745. this.parmValue.good_name = this.select === "good_name" ? this.s_input : "";
  746. this.parmValue.apply_name = this.select === "apply_name" ? this.s_input : "";
  747. this.parmValue.cgdNo = this.select === "cgdNo" ? this.s_input : "";
  748. this.parmValue.company_name = this.select === "company_name" ? this.s_input : "";
  749. await this.searchList();
  750. },
  751. },
  752. };
  753. </script>
  754. <style lang="scss" scoped>
  755. .zxoutOrder {
  756. }
  757. </style>