Index-97473d99.js 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637
  1. import { d as defineComponent, r as ref, n as reactive, o as onMounted, b as createElementBlock, c as createVNode, C as createCommentVNode, e as createBaseVNode, f as withCtx, F as Fragment, u as useRouter, j as openBlock, s as createTextVNode, x as renderList, k as createBlock, t as toDisplayString, _ as _export_sfc } from "./index-5e4623ce.js";
  2. import { B as BackTop } from "./index-9e456003.js";
  3. import { P as PullRefresh } from "./index-e8b8fc91.js";
  4. import { S as SwipeCell } from "./index-73d5a905.js";
  5. import { C as Cell } from "./index-8540448e.js";
  6. import { g as getDateTimeAgo, D as DatePicker, N as NavBar, a as DropdownMenu, b as DropdownItem } from "./util-88d32f50.js";
  7. import { B as Button } from "./index-b1054607.js";
  8. import { C as CellGroup } from "./index-3a8cf159.js";
  9. import { F as Field } from "./index-41ec7e28.js";
  10. import "./index-0f48f786.js";
  11. import { p as post } from "./request-76e4192b.js";
  12. import { O as Overlay } from "./index-eef3af38.js";
  13. import { s as showToast } from "./function-call-dc072a29.js";
  14. import { I as Icon } from "./index-487cde8c.js";
  15. import { L as Loading } from "./index-217c49a0.js";
  16. import "./use-scope-id-0b5b8615.js";
  17. import "./on-popup-reopen-c5ca1603.js";
  18. import "./use-route-726f0d0b.js";
  19. import "./use-placeholder-16d7c5d7.js";
  20. import "./axios-8cd254ce.js";
  21. import "./mount-component-2b0f7b23.js";
  22. const _hoisted_1 = {
  23. key: 0,
  24. style: { "position": "fixed", "bottom": "0px", "left": "0px", "right": "0px", "z-index": "999" }
  25. };
  26. const _hoisted_2 = { style: { "display": "flex", "flex-direction": "column", "height": "100vh" } };
  27. const _hoisted_3 = {
  28. style: { "border-bottom": "1px solid #fefefe" },
  29. class: "my-dropdown-menu"
  30. };
  31. const _hoisted_4 = { style: { "padding": "0px 16px", "display": "flex" } };
  32. const _hoisted_5 = { style: { "flex-grow": "1" } };
  33. const _hoisted_6 = { style: { "flex-grow": "1" } };
  34. const _hoisted_7 = {
  35. class: "container",
  36. style: { "overflow-y": "auto", "flex": "1" }
  37. };
  38. const _hoisted_8 = { style: { "text-align": "left" } };
  39. const _hoisted_9 = { style: { "display": "flex", "flex-direction": "column", "justify-content": "space-between", "flex-grow": "1", "overflow-x": "hidden", "word-break": "break-all" } };
  40. const _hoisted_10 = { style: { "width": "100%" } };
  41. const _hoisted_11 = { style: { "display": "flex", "justify-content": "space-between" } };
  42. const _hoisted_12 = { style: { "font-size": "16px", "color": "#000", "font-weight": "bold", "display": "flex" } };
  43. const _hoisted_13 = { style: { "font-size": "16px" } };
  44. const _hoisted_14 = { key: 0 };
  45. const _hoisted_15 = { style: { "color": "blue" } };
  46. const _hoisted_16 = {
  47. key: 1,
  48. style: { "color": "red" }
  49. };
  50. const _hoisted_17 = { style: { "display": "flex", "justify-content": "space-between" } };
  51. const _hoisted_18 = { style: { "margin-left": "3px", "font-weight": "bold" } };
  52. const _hoisted_19 = { key: 0 };
  53. const _hoisted_20 = {
  54. key: 1,
  55. style: { "text-align": "center", "padding": "20px", "color": "#ccc" }
  56. };
  57. const _hoisted_21 = {
  58. key: 2,
  59. style: { "text-align": "center", "padding": "20px" }
  60. };
  61. const _hoisted_22 = {
  62. key: 3,
  63. style: { "text-align": "center", "padding": "20px", "color": "#ccc" }
  64. };
  65. const _hoisted_23 = {
  66. key: 4,
  67. style: { "text-align": "center", "padding": "20px" }
  68. };
  69. const _hoisted_24 = { style: { "height": "100%", "width": "100%", "display": "flex", "align-items": "center", "justify-content": "center" } };
  70. const _hoisted_25 = { style: { "height": "60%", "width": "80%", "background-color": "#ffffff", "display": "flex", "flex-direction": "column" } };
  71. const _hoisted_26 = { style: { "flex-grow": "1", "word-break": "break-all", "overflow-y": "auto", "padding": "10px 0px 16px 16px" } };
  72. const _hoisted_27 = { style: { "padding-right": "16px" } };
  73. const _hoisted_28 = {
  74. key: 0,
  75. style: { "display": "flex", "align-items": "center", "justify-content": "center", "margin-top": "30px" }
  76. };
  77. const _hoisted_29 = { key: 1 };
  78. const _hoisted_30 = { key: 0 };
  79. const _hoisted_31 = { style: { "margin-top": "10px" } };
  80. const _hoisted_32 = { style: { "margin-top": "10px" } };
  81. const _hoisted_33 = { key: 1 };
  82. const _hoisted_34 = { style: { "margin-top": "10px" } };
  83. const _hoisted_35 = { style: { "margin-top": "10px" } };
  84. const _hoisted_36 = { style: { "margin-top": "10px" } };
  85. const _hoisted_37 = { style: { "margin-top": "10px" } };
  86. const _hoisted_38 = { style: { "margin-top": "10px" } };
  87. const _hoisted_39 = { style: { "margin-top": "10px" } };
  88. const _hoisted_40 = { style: { "margin-top": "10px" } };
  89. const _hoisted_41 = { style: { "margin-top": "10px" } };
  90. const _hoisted_42 = { style: { "padding": "0px 16px" } };
  91. const _sfc_main = /* @__PURE__ */ defineComponent({
  92. __name: "Index",
  93. setup(__props) {
  94. const router = useRouter();
  95. const dropdown_1 = ref();
  96. const search = reactive({
  97. name: "",
  98. mobile: "",
  99. startDate: "",
  100. endDate: "",
  101. sort: "desc"
  102. });
  103. const page = reactive({
  104. pageNum: 1,
  105. pageSize: 10,
  106. pages: 0
  107. });
  108. const detail = reactive({
  109. show: false,
  110. isLoading: false,
  111. refresherLoading: false,
  112. content: {
  113. clientName: "",
  114. clientPhone: "",
  115. realnameFlag: "1",
  116. info: "",
  117. registCode: "",
  118. register: "",
  119. id: "",
  120. physicType: "",
  121. name: "",
  122. typeName: "",
  123. validDate: "",
  124. concent: "",
  125. num: 1
  126. }
  127. });
  128. const dataList = ref([]);
  129. const whichOne = ref("start");
  130. const currentDate = ref([]);
  131. const maxDate = ref(/* @__PURE__ */ new Date());
  132. const minDate = ref(getDateTimeAgo(6));
  133. const date_picker_show = ref(false);
  134. const option2 = [
  135. { text: "时间降序", value: "desc" },
  136. { text: "时间升序", value: "asc" }
  137. ];
  138. const refreshing = ref(false);
  139. const isLoading = ref(false);
  140. const finished = ref(false);
  141. const datetime_picker_start = () => {
  142. console.log("start");
  143. whichOne.value = "start";
  144. date_picker_show.value = true;
  145. };
  146. const clear_datetime_picker_start = () => {
  147. console.log("clear_start");
  148. search.startDate = "";
  149. };
  150. const datetime_picker_end = () => {
  151. console.log("end");
  152. whichOne.value = "end";
  153. date_picker_show.value = true;
  154. };
  155. const clear_datetime_picker_end = () => {
  156. console.log("clear_end");
  157. search.endDate = "";
  158. };
  159. const datetime_picker_confirm = (confirm) => {
  160. console.log("confirm", confirm.selectedValues);
  161. currentDate.value = confirm.selectedValues;
  162. const year = confirm.selectedValues[0];
  163. const mouth = confirm.selectedValues[1];
  164. const day = confirm.selectedValues[2];
  165. const date = year + "-" + mouth + "-" + day;
  166. if (whichOne.value == "start") {
  167. search.startDate = date;
  168. } else {
  169. search.endDate = date;
  170. }
  171. console.log(search);
  172. date_picker_show.value = false;
  173. };
  174. const datetime_picker_cancel = (cancel2) => {
  175. console.log("cancel", cancel2);
  176. date_picker_show.value = false;
  177. };
  178. const getData = () => {
  179. console.log("onload.....");
  180. const startTime = search.startDate ? search.startDate + " 00:00:00" : "";
  181. const endTime = search.endDate ? search.endDate + " 23:59:59" : "";
  182. post("/recycleRecord/searchUserRecord", {
  183. clientName: search.name,
  184. clientPhone: search.mobile,
  185. startTime,
  186. endTime,
  187. pageNum: page.pageNum,
  188. pageSize: page.pageSize,
  189. sort: "createTime",
  190. order: search.sort
  191. }).then(({ data }) => {
  192. console.log(data);
  193. isLoading.value = false;
  194. refreshing.value = false;
  195. if (data.code == 0) {
  196. const dataArr = data.data;
  197. const pages = data.pages;
  198. console.log(pages);
  199. console.log(dataArr);
  200. if (page.pageNum == 1) {
  201. dataList.value.splice(0, dataList.value.length);
  202. }
  203. dataList.value.push(...dataArr);
  204. page.pages = pages;
  205. console.log(dataList.value, pages);
  206. }
  207. });
  208. };
  209. const onRefresh = () => {
  210. console.log("onrefresh...");
  211. console.log(refreshing.value);
  212. finished.value = false;
  213. isLoading.value = true;
  214. getData();
  215. };
  216. onMounted(() => {
  217. console.log("onMounted");
  218. getData();
  219. });
  220. const cancel = () => {
  221. console.log("确定");
  222. detail.show = false;
  223. };
  224. const sort_change = (value) => {
  225. console.log(value);
  226. search.sort = value;
  227. getData();
  228. };
  229. const clickLoading = () => {
  230. console.log("clickLoading");
  231. page.pageNum++;
  232. isLoading.value = true;
  233. getData();
  234. };
  235. const closeSearch = () => {
  236. dropdown_1.value.toggle(false);
  237. date_picker_show.value = false;
  238. };
  239. const onCancel = () => {
  240. console.log("onCancel");
  241. closeSearch();
  242. };
  243. const onConfirm = () => {
  244. console.log("onConfirm");
  245. console.log(search);
  246. closeSearch();
  247. page.pageNum = 1;
  248. getData();
  249. };
  250. const clickCell = (event) => {
  251. console.log(event);
  252. const id = event.id;
  253. console.log(id);
  254. detail.show = true;
  255. detail.isLoading = true;
  256. post("/recycleRecord/getRecordDetail", { id }).then(({ data }) => {
  257. console.log(data);
  258. detail.isLoading = false;
  259. if (data.code == 0) {
  260. console.log("success", data);
  261. Object.assign(detail.content, data.data);
  262. return;
  263. } else {
  264. showToast("获取数据失败");
  265. }
  266. });
  267. };
  268. const onClickLeft = () => {
  269. console.log(history);
  270. if (!history.state.back) {
  271. console.log("跳转到首页");
  272. router.push("/");
  273. } else {
  274. history.back();
  275. }
  276. };
  277. return (_ctx, _cache) => {
  278. const _component_van_date_picker = DatePicker;
  279. const _component_van_icon = Icon;
  280. const _component_van_nav_bar = NavBar;
  281. const _component_van_field = Field;
  282. const _component_van_cell_group = CellGroup;
  283. const _component_van_button = Button;
  284. const _component_van_dropdown_item = DropdownItem;
  285. const _component_van_dropdown_menu = DropdownMenu;
  286. const _component_van_cell = Cell;
  287. const _component_van_swipe_cell = SwipeCell;
  288. const _component_van_loading = Loading;
  289. const _component_van_pull_refresh = PullRefresh;
  290. const _component_van_back_top = BackTop;
  291. const _component_van_overlay = Overlay;
  292. return openBlock(), createElementBlock(Fragment, null, [
  293. date_picker_show.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
  294. createVNode(_component_van_date_picker, {
  295. type: "date",
  296. modelValue: currentDate.value,
  297. "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => currentDate.value = $event),
  298. "min-date": minDate.value,
  299. "max-date": maxDate.value,
  300. onConfirm: datetime_picker_confirm,
  301. onCancel: datetime_picker_cancel
  302. }, null, 8, ["modelValue", "min-date", "max-date"])
  303. ])) : createCommentVNode("", true),
  304. createBaseVNode("div", _hoisted_2, [
  305. createVNode(_component_van_nav_bar, {
  306. title: "回收列表",
  307. "left-text": "返回",
  308. "left-arrow": "",
  309. onClickLeft
  310. }, {
  311. left: withCtx(() => [
  312. createVNode(_component_van_icon, {
  313. name: "arrow-left",
  314. size: "20",
  315. color: "#000000"
  316. })
  317. ]),
  318. _: 1
  319. }),
  320. createBaseVNode("div", _hoisted_3, [
  321. createVNode(_component_van_dropdown_menu, {
  322. "close-on-click-overlay": false,
  323. "close-on-click-outside": false
  324. }, {
  325. default: withCtx(() => [
  326. createVNode(_component_van_dropdown_item, {
  327. ref_key: "dropdown_1",
  328. ref: dropdown_1,
  329. id: "item111",
  330. title: "筛选条件"
  331. }, {
  332. default: withCtx(() => [
  333. createVNode(_component_van_cell_group, null, {
  334. default: withCtx(() => [
  335. createVNode(_component_van_field, {
  336. size: "large",
  337. modelValue: search.name,
  338. "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => search.name = $event),
  339. border: true,
  340. placeholder: "请输入姓名",
  341. clearable: ""
  342. }, {
  343. label: withCtx(() => _cache[7] || (_cache[7] = [
  344. createBaseVNode("span", { style: { "color": "#646566" } }, "姓   名", -1)
  345. ])),
  346. _: 1
  347. }, 8, ["modelValue"]),
  348. createVNode(_component_van_field, {
  349. clearable: "",
  350. size: "large",
  351. type: "number",
  352. modelValue: search.mobile,
  353. "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => search.mobile = $event),
  354. border: true,
  355. placeholder: "请输入手机号"
  356. }, {
  357. label: withCtx(() => _cache[8] || (_cache[8] = [
  358. createBaseVNode("span", { style: { "color": "#646566" } }, "手 机 号", -1)
  359. ])),
  360. _: 1
  361. }, 8, ["modelValue"]),
  362. createVNode(_component_van_field, {
  363. "right-icon": "clear",
  364. clearable: "",
  365. readonly: "",
  366. label: "时间区间",
  367. size: "large",
  368. type: "text",
  369. modelValue: search.startDate,
  370. "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => search.startDate = $event),
  371. border: true,
  372. placeholder: "请输入开始时间",
  373. onClickInput: datetime_picker_start,
  374. onClickRightIcon: clear_datetime_picker_start
  375. }, null, 8, ["modelValue"]),
  376. createVNode(_component_van_field, {
  377. "right-icon": "clear",
  378. clearable: "",
  379. readonly: "",
  380. label: " ",
  381. size: "large",
  382. type: "text",
  383. modelValue: search.endDate,
  384. "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => search.endDate = $event),
  385. border: true,
  386. placeholder: "请输入结束时间",
  387. onClickInput: datetime_picker_end,
  388. onClickRightIcon: clear_datetime_picker_end
  389. }, null, 8, ["modelValue"])
  390. ]),
  391. _: 1
  392. }),
  393. _cache[12] || (_cache[12] = createBaseVNode("div", { style: { "height": "20px" } }, null, -1)),
  394. createBaseVNode("div", _hoisted_4, [
  395. createBaseVNode("div", _hoisted_5, [
  396. createVNode(_component_van_button, {
  397. type: "warning",
  398. icon: "close",
  399. size: "small",
  400. block: "",
  401. round: "",
  402. onClick: onCancel
  403. }, {
  404. default: withCtx(() => _cache[9] || (_cache[9] = [
  405. createTextVNode("取消")
  406. ])),
  407. _: 1
  408. })
  409. ]),
  410. _cache[11] || (_cache[11] = createBaseVNode("div", { style: { "width": "20px" } }, null, -1)),
  411. createBaseVNode("div", _hoisted_6, [
  412. createVNode(_component_van_button, {
  413. type: "primary",
  414. icon: "search",
  415. size: "small",
  416. block: "",
  417. round: "",
  418. onClick: onConfirm
  419. }, {
  420. default: withCtx(() => _cache[10] || (_cache[10] = [
  421. createTextVNode("搜索")
  422. ])),
  423. _: 1
  424. })
  425. ])
  426. ]),
  427. _cache[13] || (_cache[13] = createBaseVNode("div", { style: { "height": "15px" } }, null, -1))
  428. ]),
  429. _: 1
  430. }, 512),
  431. createVNode(_component_van_dropdown_item, {
  432. "title-class": "my-title-class",
  433. modelValue: search.sort,
  434. "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => search.sort = $event),
  435. options: option2,
  436. onChange: sort_change
  437. }, null, 8, ["modelValue"])
  438. ]),
  439. _: 1
  440. })
  441. ]),
  442. createBaseVNode("div", _hoisted_7, [
  443. createVNode(_component_van_pull_refresh, {
  444. modelValue: refreshing.value,
  445. "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => refreshing.value = $event),
  446. onRefresh
  447. }, {
  448. default: withCtx(() => [
  449. createBaseVNode("div", null, [
  450. (openBlock(true), createElementBlock(Fragment, null, renderList(dataList.value, (item) => {
  451. return openBlock(), createBlock(_component_van_swipe_cell, { "right-width": "0" }, {
  452. right: withCtx(() => [
  453. createVNode(_component_van_button, {
  454. square: "",
  455. type: "danger",
  456. text: "删除"
  457. })
  458. ]),
  459. default: withCtx(() => [
  460. createVNode(_component_van_cell, {
  461. border: true,
  462. onClick: ($event) => clickCell(item)
  463. }, {
  464. default: withCtx(() => [
  465. createBaseVNode("div", _hoisted_8, [
  466. createBaseVNode("div", _hoisted_9, [
  467. createBaseVNode("div", _hoisted_10, [
  468. createBaseVNode("div", _hoisted_11, [
  469. createBaseVNode("div", _hoisted_12, [
  470. createBaseVNode("div", null, [
  471. createBaseVNode("span", null, toDisplayString(item.pesticideName), 1)
  472. ]),
  473. createBaseVNode("div", null, [
  474. _cache[14] || (_cache[14] = createBaseVNode("span", null, "(", -1)),
  475. createVNode(_component_van_icon, {
  476. name: "cross",
  477. size: "14"
  478. }),
  479. createBaseVNode("span", null, toDisplayString(item.num), 1),
  480. _cache[15] || (_cache[15] = createBaseVNode("span", null, ")", -1))
  481. ])
  482. ]),
  483. createBaseVNode("div", _hoisted_13, [
  484. item.realnameFlag == "1" ? (openBlock(), createElementBlock("span", _hoisted_14, [
  485. createBaseVNode("span", _hoisted_15, toDisplayString(item.clientName), 1)
  486. ])) : (openBlock(), createElementBlock("span", _hoisted_16, "匿名"))
  487. ])
  488. ]),
  489. createBaseVNode("div", null, toDisplayString(item.register), 1)
  490. ]),
  491. createBaseVNode("div", _hoisted_17, [
  492. createBaseVNode("div", null, toDisplayString(item.pesticideRegistCode), 1),
  493. createBaseVNode("div", null, [
  494. createBaseVNode("span", _hoisted_18, toDisplayString(item.createtime), 1)
  495. ])
  496. ])
  497. ])
  498. ])
  499. ]),
  500. _: 2
  501. }, 1032, ["onClick"])
  502. ]),
  503. _: 2
  504. }, 1024);
  505. }), 256))
  506. ]),
  507. createBaseVNode("div", null, [
  508. refreshing.value ? (openBlock(), createElementBlock("div", _hoisted_19)) : dataList.value.length == 0 ? (openBlock(), createElementBlock("div", _hoisted_20, _cache[16] || (_cache[16] = [
  509. createBaseVNode("span", null, "暂无数据", -1)
  510. ]))) : isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_21, [
  511. createVNode(_component_van_loading, {
  512. type: "spinner",
  513. color: "#1989fa"
  514. })
  515. ])) : page.pages <= page.pageNum ? (openBlock(), createElementBlock("div", _hoisted_22, _cache[17] || (_cache[17] = [
  516. createBaseVNode("span", null, "没有更多了", -1)
  517. ]))) : (openBlock(), createElementBlock("div", _hoisted_23, [
  518. createBaseVNode("span", { onClick: clickLoading }, "点击加载")
  519. ]))
  520. ])
  521. ]),
  522. _: 1
  523. }, 8, ["modelValue"]),
  524. createVNode(_component_van_back_top, {
  525. target: ".container",
  526. right: "5vw",
  527. bottom: "20px"
  528. })
  529. ])
  530. ]),
  531. createVNode(_component_van_overlay, {
  532. "lock-scroll": false,
  533. show: detail.show
  534. }, {
  535. default: withCtx(() => [
  536. createBaseVNode("div", _hoisted_24, [
  537. createBaseVNode("div", _hoisted_25, [
  538. _cache[33] || (_cache[33] = createBaseVNode("div", { style: { "height": "16px" } }, null, -1)),
  539. createBaseVNode("div", _hoisted_26, [
  540. createBaseVNode("div", _hoisted_27, [
  541. detail.isLoading ? (openBlock(), createElementBlock("div", _hoisted_28, [
  542. _cache[18] || (_cache[18] = createBaseVNode("div", { style: { "margin-right": "6px" } }, [
  543. createBaseVNode("span", { style: {} }, "销售信息加载中")
  544. ], -1)),
  545. createBaseVNode("div", null, [
  546. createVNode(_component_van_loading, {
  547. type: "spinner",
  548. color: "#1989fa"
  549. })
  550. ])
  551. ])) : (openBlock(), createElementBlock("div", _hoisted_29, [
  552. detail.content.realnameFlag == "1" ? (openBlock(), createElementBlock("div", _hoisted_30, [
  553. _cache[21] || (_cache[21] = createBaseVNode("div", { style: { "margin-top": "10px" } }, [
  554. createBaseVNode("span", { style: { "font-weight": "bold" } }, "销售方式: "),
  555. createBaseVNode("span", { style: { "font-weight": "bold", "color": "green" } }, "实名")
  556. ], -1)),
  557. createBaseVNode("div", _hoisted_31, [
  558. _cache[19] || (_cache[19] = createBaseVNode("span", { style: { "font-weight": "bold" } }, "顾客姓名: ", -1)),
  559. createBaseVNode("span", null, toDisplayString(detail.content.clientName), 1)
  560. ]),
  561. createBaseVNode("div", _hoisted_32, [
  562. _cache[20] || (_cache[20] = createBaseVNode("span", { style: { "font-weight": "bold" } }, "手机号: ", -1)),
  563. createBaseVNode("span", null, toDisplayString(detail.content.clientPhone), 1)
  564. ])
  565. ])) : (openBlock(), createElementBlock("div", _hoisted_33, _cache[22] || (_cache[22] = [
  566. createBaseVNode("div", { style: { "margin-top": "10px" } }, [
  567. createBaseVNode("span", { style: { "font-weight": "bold" } }, "销售方式: "),
  568. createBaseVNode("span", { style: { "font-weight": "bold", "color": "red" } }, "匿名")
  569. ], -1)
  570. ]))),
  571. createBaseVNode("div", _hoisted_34, [
  572. _cache[23] || (_cache[23] = createBaseVNode("span", { style: { "font-weight": "bold" } }, "登记证号: ", -1)),
  573. createBaseVNode("span", null, toDisplayString(detail.content.registCode), 1)
  574. ]),
  575. createBaseVNode("div", _hoisted_35, [
  576. _cache[24] || (_cache[24] = createBaseVNode("span", { style: { "font-weight": "bold" } }, "农药名称: ", -1)),
  577. createBaseVNode("span", null, toDisplayString(detail.content.name), 1)
  578. ]),
  579. createBaseVNode("div", _hoisted_36, [
  580. _cache[25] || (_cache[25] = createBaseVNode("span", { style: { "font-weight": "bold" } }, "农药类别: ", -1)),
  581. createBaseVNode("span", null, toDisplayString(detail.content.typeName), 1)
  582. ]),
  583. createBaseVNode("div", _hoisted_37, [
  584. _cache[26] || (_cache[26] = createBaseVNode("span", { style: { "font-weight": "bold" } }, "剂型: ", -1)),
  585. createBaseVNode("span", null, toDisplayString(detail.content.physicType), 1)
  586. ]),
  587. createBaseVNode("div", _hoisted_38, [
  588. _cache[27] || (_cache[27] = createBaseVNode("span", { style: { "font-weight": "bold" } }, "总含量: ", -1)),
  589. createBaseVNode("span", null, toDisplayString(detail.content.concent), 1)
  590. ]),
  591. createBaseVNode("div", _hoisted_39, [
  592. _cache[28] || (_cache[28] = createBaseVNode("span", { style: { "font-weight": "bold" } }, "有效期至: ", -1)),
  593. createBaseVNode("span", null, toDisplayString(detail.content.validDate), 1)
  594. ]),
  595. createBaseVNode("div", _hoisted_40, [
  596. _cache[29] || (_cache[29] = createBaseVNode("span", { style: { "font-weight": "bold" } }, "登记证持有人: ", -1)),
  597. createBaseVNode("span", null, toDisplayString(detail.content.register), 1)
  598. ]),
  599. createBaseVNode("div", _hoisted_41, [
  600. _cache[30] || (_cache[30] = createBaseVNode("span", { style: { "font-weight": "bold" } }, "数量: ", -1)),
  601. createBaseVNode("span", null, toDisplayString(detail.content.num), 1)
  602. ])
  603. ]))
  604. ])
  605. ]),
  606. _cache[34] || (_cache[34] = createBaseVNode("div", { style: { "height": "20px" } }, null, -1)),
  607. createBaseVNode("div", _hoisted_42, [
  608. createVNode(_component_van_button, {
  609. color: "#4fc08d",
  610. type: "danger",
  611. round: "",
  612. block: "",
  613. size: "normal",
  614. icon: "close",
  615. onClick: cancel
  616. }, {
  617. default: withCtx(() => _cache[31] || (_cache[31] = [
  618. createTextVNode("确定")
  619. ])),
  620. _: 1
  621. }),
  622. _cache[32] || (_cache[32] = createBaseVNode("div", { style: { "height": "10px" } }, null, -1))
  623. ])
  624. ])
  625. ])
  626. ]),
  627. _: 1
  628. }, 8, ["show"])
  629. ], 64);
  630. };
  631. }
  632. });
  633. const Index_vue_vue_type_style_index_0_scoped_7db8eaf4_lang = "";
  634. const Index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7db8eaf4"]]);
  635. export {
  636. Index as default
  637. };