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