inventoryReview.vue 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899
  1. <template>
  2. <div class="inventoryReview">
  3. <ul class="detailUl">
  4. <li class="detailLi">
  5. <span class="liName">
  6. <span style="color: red;margin-right: 5rpx">*</span>
  7. 企业名称
  8. </span>
  9. <div class="inputBox">
  10. <input v-model="form.qymc" disabled class="myIpt">
  11. </div>
  12. </li>
  13. <li class="detailLi">
  14. <span class="liName">
  15. <span style="color: red;margin-right: 5rpx">*</span>
  16. 统一社会信用代码
  17. </span>
  18. <div class="inputBox">
  19. <input v-model="form.shxydm" disabled class="myIpt">
  20. </div>
  21. </li>
  22. <li class="detailLi">
  23. <span class="liName">
  24. 注册资金(万元)
  25. </span>
  26. <div class="inputBox">
  27. <input v-model="form.zczj" disabled class="myIpt">
  28. </div>
  29. </li>
  30. <li class="detailLi">
  31. <span class="liName">
  32. 币种
  33. </span>
  34. <div class="inputBox" @tap="showArea('币种')">
  35. <input placeholder="" v-model="form.currencyStr" disabled class="myIpt">
  36. <van-icon name="arrow" />
  37. </div>
  38. </li>
  39. <li class="detailLi">
  40. <span class="liName">
  41. 注册时间
  42. </span>
  43. <div class="inputBox" @tap="showTime">
  44. <!-- <input placeholder="" v-model="form.zcsj" disabled class="myIpt">-->
  45. <span class="myIpt">{{ form.zcsj }} </span>
  46. <van-icon name="arrow" />
  47. </div>
  48. </li>
  49. <li class="detailLi">
  50. <span class="liName">
  51. 法定代表人
  52. </span>
  53. <input class="myIpt" value="256" disabled style="padding-right: 30rpx" v-model="form.fddbr">
  54. </li>
  55. <li class="detailLi">
  56. <span class="liName">
  57. 法人电话
  58. </span>
  59. <div class="inputBox">
  60. <input disabled class="myIpt" v-model="form.legalPersonPhone">
  61. </div>
  62. </li>
  63. <li class="detailLi">
  64. <span class="liName">
  65. 法人邮箱
  66. </span>
  67. <div class="inputBox">
  68. <input disabled class="myIpt" v-model="form.frEmail">
  69. </div>
  70. </li>
  71. <li class="detailLi">
  72. <span class="liName">
  73. <span style="color: red;margin-right: 5rpx">*</span>
  74. 企业联系人
  75. </span>
  76. <div class="inputBox">
  77. <input disabled class="myIpt" v-model="form.qylxr">
  78. </div>
  79. </li>
  80. <li class="detailLi">
  81. <span class="liName">
  82. <span style="color: red;margin-right: 5rpx">*</span>
  83. 联系人手机
  84. </span>
  85. <div class="inputBox">
  86. <input disabled class="myIpt" v-model="form.lxdh">
  87. </div>
  88. </li>
  89. <li class="detailLi">
  90. <span class="liName">
  91. <span style="color: red;margin-right: 5rpx">*</span>
  92. 联系人邮箱
  93. </span>
  94. <div class="inputBox">
  95. <input disabled class="myIpt" v-model="form.email">
  96. </div>
  97. </li>
  98. <li class="detailLi">
  99. <span class="liName">
  100. <span style="color: red;margin-right: 5rpx">*</span>
  101. 财务负责人
  102. </span>
  103. <div class="inputBox">
  104. <input disabled class="myIpt" v-model="form.cwfzr">
  105. </div>
  106. </li>
  107. <li class="detailLi">
  108. <span class="liName">
  109. <span style="color: red;margin-right: 5rpx">*</span>
  110. 负责人电话
  111. </span>
  112. <div class="inputBox">
  113. <input disabled class="myIpt" v-model="form.cwfzrdh">
  114. </div>
  115. </li>
  116. <li class="detailLi">
  117. <span class="liName">
  118. 注册地址
  119. </span>
  120. <div class="moreLineBox">
  121. {{ form.zcdz }}
  122. </div>
  123. </li>
  124. <li class="detailLi">
  125. <span class="liName">
  126. 经营地址
  127. </span>
  128. <div class="moreLineBox">
  129. {{ form.jydz }}
  130. </div>
  131. </li>
  132. <li class="detailLi2" >
  133. <div class="titleBox" >
  134. <span class="liName">经营范围</span>
  135. </div>
  136. <van-field
  137. :value="form.jyfw"
  138. autosize
  139. type="textarea"
  140. class="myField"
  141. readonly
  142. />
  143. </li>
  144. <li class="detailLi2" >
  145. <div class="titleBox" style="margin-bottom: 24rpx">
  146. <span class="liName">
  147. <span style="color: red;margin-right: 5rpx">*</span>
  148. 营业执照
  149. </span>
  150. </div>
  151. <van-uploader
  152. :max-count="9"
  153. @delete="deleteRYXXZP"
  154. @after-read="uploadRYXXZP"
  155. :show-upload="true"
  156. :file-list="fileList"
  157. />
  158. </li>
  159. <li class="detailLi2" >
  160. <div class="titleBox" >
  161. <span class="liName">荣誉信息</span>
  162. </div>
  163. <van-field
  164. autosize
  165. type="textarea"
  166. class="myField"
  167. style="margin-bottom: 24rpx"
  168. readonly
  169. />
  170. <van-uploader
  171. :max-count="6"
  172. @delete="deleteRYXXZP1"
  173. :file-list="fileList1"
  174. @after-read="uploadRYXXZP1"
  175. :show-upload="true"
  176. />
  177. <span style="color: #B3B3B3;font-size: 28rpx">(只能上传jpg/png格式,限制上传6张)</span>
  178. </li>
  179. <li class="detailLi2" >
  180. <div class="titleBox" style="margin-bottom: 24rpx">
  181. <span class="liName">
  182. 法人身份证
  183. <span style="color: #B3B3B3;font-size: 28rpx">(只能上传jpg/png格式,限制上传6张)</span>
  184. </span>
  185. </div>
  186. <van-uploader
  187. :max-count="6"
  188. @delete="deleteRYXXZP2"
  189. :file-list="fileList2"
  190. @after-read="uploadRYXXZP2"
  191. :show-upload="true"
  192. />
  193. </li>
  194. <li class="detailLi2" style="position:relative;">
  195. <div class="titleBox" >
  196. <span class="liName">主营业务</span>
  197. </div>
  198. <van-field
  199. :value="form.business"
  200. autosize
  201. type="textarea"
  202. class="myField"
  203. readonly
  204. />
  205. </li>
  206. <li class="detailLi">
  207. <span class="liName">
  208. 全年研发投入(万元)
  209. </span>
  210. <div class="moreLineBox">
  211. {{ form.rdInvestment || ''}}
  212. </div>
  213. </li>
  214. <li class="detailLi">
  215. <span class="liName">
  216. 全年技改投入(万元)
  217. </span>
  218. <div class="moreLineBox">
  219. {{ form.jgInvestment || '' }}
  220. </div>
  221. </li>
  222. <li class="detailLi">
  223. <span class="liName">
  224. 发明专利(件)
  225. </span>
  226. <div class="moreLineBox">
  227. {{ form.inventionPatent || '' }}
  228. </div>
  229. </li>
  230. <li class="detailLi">
  231. <span class="liName">
  232. 软件著作(件)
  233. </span>
  234. <div class="moreLineBox">
  235. {{ form.softwareWorks || '' }}
  236. </div>
  237. </li>
  238. <li class="detailLi">
  239. <span class="liName">
  240. 实用新型专利(件)
  241. </span>
  242. <div class="moreLineBox">
  243. {{ form.utilityModel || '' }}
  244. </div>
  245. </li>
  246. <li class="detailLi">
  247. <span class="liName">
  248. 集成电路布图设计专有权(件)
  249. </span>
  250. <div class="moreLineBox">
  251. {{ form.integratedCircuit || '' }}
  252. </div>
  253. </li>
  254. <li class="detailLi">
  255. <span class="liName">
  256. 四技合同金额-开发(万元)
  257. </span>
  258. <div class="moreLineBox">
  259. {{ form.fourOpennessAmount || '' }}
  260. </div>
  261. </li>
  262. <li class="detailLi">
  263. <span class="liName">
  264. 四技合同金额-转让(万元)
  265. </span>
  266. <div class="moreLineBox">
  267. {{ form.fourTransferenceAmount || '' }}
  268. </div>
  269. </li>
  270. <li class="detailLi">
  271. <span class="liName">
  272. 四技合同金额-服务(万元)
  273. </span>
  274. <div class="moreLineBox">
  275. {{ form.fourServiceAmount || '' }}
  276. </div>
  277. </li>
  278. <li class="detailLi" style="border-bottom: none">
  279. <span class="liName">
  280. 四技合同金额-咨询(万元)
  281. </span>
  282. <div class="moreLineBox">
  283. {{ form.fourConsultAmount || '' }}
  284. </div>
  285. </li>
  286. </ul>
  287. <ul class="detailUl">
  288. <li class="detailLi2">
  289. <span class="liName">
  290. <span style="color: red;margin-right: 5rpx">*</span>
  291. 入驻类型
  292. </span>
  293. <van-radio-group :value="settleInType" @change="onChange">
  294. <van-radio
  295. :name="item.value"
  296. checked-color="#976CEB"
  297. v-for="item in settleInTypeList"
  298. :key="item.value"
  299. >{{ item.label }}</van-radio
  300. >
  301. </van-radio-group>
  302. </li>
  303. <li class="detailLi">
  304. <span class="liName">
  305. 招商经理
  306. </span>
  307. <div class="inputBox" @tap="toChoose('招商经理')">
  308. <input placeholder="" v-model="investmentManagerName" disabled class="myIpt">
  309. <van-icon name="arrow" />
  310. </div>
  311. </li>
  312. <li class="detailLi">
  313. <span class="liName">
  314. 关联企业
  315. </span>
  316. <div class="inputBox" style="border-bottom: none" @tap="toChoose('关联企业')">
  317. <input placeholder="" v-model="associationCompanyName" disabled class="myIpt">
  318. <van-icon name="arrow" />
  319. </div>
  320. </li>
  321. </ul>
  322. <ul class="detailUl">
  323. <li class="detailTitle">审核结果</li>
  324. <li class="detailLi">
  325. <span class="liName">
  326. <span style="color: red;margin-right: 5rpx">*</span>
  327. 处理结果
  328. </span>
  329. <van-radio-group :value="radio2" @change="onChange2">
  330. <van-radio name="1">通过</van-radio>
  331. <van-radio name="2">不通过</van-radio>
  332. </van-radio-group>
  333. </li>
  334. <li class="detailLi2" style="position:relative;border-bottom: none">
  335. <div class="titleBox" >
  336. <span class="liName">处理意见</span>
  337. </div>
  338. <van-field
  339. @change="onChange3"
  340. :value="form.handleOpinions"
  341. autosize
  342. type="textarea"
  343. class="myField"
  344. />
  345. </li>
  346. </ul>
  347. <div class="buttonBox">
  348. <button class="btn zcBtn" @click="cancel">取消</button>
  349. <button class="btn tjBtn" @click="confirmSubmit()">提交审核</button>
  350. </div>
  351. <van-popup
  352. :show="show"
  353. position="bottom"
  354. custom-style="height: 50%;"
  355. >
  356. <van-picker v-show="popType==='币种'" :columns="currencyList" show-toolbar @cancel="show=false" @confirm="onConfirm" value-key="label"/>
  357. </van-popup>
  358. <van-popup
  359. :show="timeShow"
  360. position="bottom"
  361. custom-style="height: 50%;"
  362. >
  363. <van-datetime-picker
  364. type="date"
  365. :value="currentDate"
  366. :formatter="formatter"
  367. @cancel="timeShow=false"
  368. @confirm="selectTime"
  369. />
  370. </van-popup>
  371. </div>
  372. </template>
  373. <script>
  374. import { getUserLocalStorageInfo,getByCodes,companyExamineGetById,companyExamineExamine,findUserList } from "@/js_sdk/http";
  375. export default {
  376. name: "inventoryReview",
  377. onLoad(options){
  378. uni.$on('selectInfo',e=>{
  379. const companyList = JSON.parse(e)
  380. let associationCompanyName = companyList.map((obj,index)=>{
  381. return obj.qymc
  382. }).join(',')
  383. let associationCompany = companyList.map((obj,index)=>{
  384. return obj.id
  385. }).join(',')
  386. this.associationCompanyName = associationCompanyName
  387. this.form.associationCompany = associationCompany
  388. })
  389. uni.$on('selectUserInfo',e=>{
  390. const userList = JSON.parse(e)
  391. let investmentManagerName = userList.map((obj,index)=>{
  392. return obj.truename
  393. }).join(',')
  394. let investmentManager = userList.map((obj,index)=>{
  395. return obj.id
  396. }).join(',')
  397. this.investmentManagerName = investmentManagerName
  398. this.form.investmentManager = investmentManager
  399. })
  400. this.id = options.id
  401. this.proveType = options.proveType
  402. this.getById()
  403. this.getByCodes()
  404. this.getInvestmentManagerList()
  405. },
  406. onShow(){
  407. },
  408. data(){
  409. return{
  410. dc_key: ['MNP_BUILDING_TYPE', 'CURRENCY'],
  411. form:{
  412. },
  413. radio: '',
  414. radio2: '',
  415. id: '',
  416. proveType: '',
  417. fileList: [],
  418. fileList1: [],
  419. fileList2: [],
  420. settleInType:'',
  421. settleInTypeList: [],
  422. dic_SelectList: [],
  423. currencyList: [],
  424. show:false,
  425. popType:'',
  426. timeShow: '',
  427. currentDate: new Date().getTime(),
  428. investmentManagerName: '',
  429. associationCompanyName: ''
  430. }
  431. },
  432. methods:{
  433. getById(){
  434. const data = {
  435. id: this.id
  436. }
  437. companyExamineGetById(data).then(res=>{
  438. if(res){
  439. this.form = res
  440. this.form.currencyStr = this.form.currency == null ? ' ' : this.getDicType("bizhong", this.form.currency)
  441. this.associationCompanyName = res.associationCompanyName
  442. this.investmentManagerName = res.investmentManagerName
  443. this.settleInType = res.settleInType
  444. if (res.yyzzfbzp) {
  445. res.yyzzfbzp.split(',').forEach(id=>{
  446. this.fileList.push({
  447. imgUrl: "/FileController/download/" + id,
  448. id: id,
  449. url:
  450. this.$constant.BASE_URI +
  451. "/FileController/download/" +
  452. id,
  453. isImage: true,
  454. });
  455. })
  456. }
  457. if (res.ryxxzp) {
  458. res.ryxxzp.split(',').forEach(id=>{
  459. this.fileList1.push({
  460. imgUrl: "/FileController/download/" + id,
  461. id: id,
  462. url:
  463. this.$constant.BASE_URI +
  464. "/FileController/download/" +
  465. id,
  466. isImage: true,
  467. });
  468. })
  469. }
  470. if (res.frsfzh) {
  471. res.frsfzh.split(',').forEach(id=>{
  472. this.fileList2.push({
  473. imgUrl: "/FileController/download/" + id,
  474. id: id,
  475. url:
  476. this.$constant.BASE_URI +
  477. "/FileController/download/" +
  478. id,
  479. isImage: true,
  480. });
  481. })
  482. }
  483. }
  484. })
  485. },
  486. async getByCodes() {
  487. let data = await getByCodes(JSON.stringify(this.dc_key));
  488. this.dic_SelectList = this.$common.handleDicList(data);
  489. this.settleInTypeList = this.dic_SelectList.MNP_BUILDING_TYPE
  490. this.currencyList = this.dic_SelectList.CURRENCY
  491. },
  492. getDicType(type, value) {
  493. if (type == "bizhong" && this.dic_SelectList.CURRENCY) {
  494. let CURRENCY = this.dic_SelectList.CURRENCY;
  495. let index = CURRENCY.findIndex((e) => e.value == value);
  496. return CURRENCY[index].label;
  497. }
  498. },
  499. onChange(event) {
  500. this.form.settleInType = event.detail
  501. },
  502. onChange2(event) {
  503. // console.log(event)
  504. this.form.state = event.detail
  505. },
  506. onChange3(event) {
  507. // console.log(event)
  508. this.form.handleOpinions = event.detail
  509. },
  510. deleteRYXXZP(event) {
  511. this.fileList.splice(event.detail.index, 1);
  512. this.$forceUpdate();
  513. },
  514. uploadRYXXZP(event) {
  515. // console.log(event)
  516. let that = this;
  517. const { file } = event.detail;
  518. uni.uploadFile({
  519. url: that.$constant.BASE_URI + "/wx/fileController/upload",
  520. filePath: file.url,
  521. name: "file",
  522. formData: { user: "test" },
  523. success(res) {
  524. // 上传完成需要更新 fileList
  525. let data = JSON.parse(res.data);
  526. that.fileList.push({
  527. id: data.data[0],
  528. });
  529. },
  530. fail(res) {},
  531. });
  532. },
  533. deleteRYXXZP1(event) {
  534. this.fileList1.splice(event.detail.index, 1);
  535. this.$forceUpdate();
  536. },
  537. uploadRYXXZP1(event) {
  538. // console.log(event)
  539. let that = this;
  540. const { file } = event.detail;
  541. uni.uploadFile({
  542. url: that.$constant.BASE_URI + "/wx/fileController/upload",
  543. filePath: file.url,
  544. name: "file",
  545. formData: { user: "test" },
  546. success(res) {
  547. // 上传完成需要更新 fileList
  548. let data = JSON.parse(res.data);
  549. that.fileList1.push({
  550. id: data.data[0],
  551. });
  552. },
  553. fail(res) {},
  554. });
  555. },
  556. deleteRYXXZP2(event) {
  557. this.fileList2.splice(event.detail.index, 1);
  558. this.$forceUpdate();
  559. },
  560. uploadRYXXZP2(event) {
  561. // console.log(event)
  562. let that = this;
  563. const { file } = event.detail;
  564. uni.uploadFile({
  565. url: that.$constant.BASE_URI + "/wx/fileController/upload",
  566. filePath: file.url,
  567. name: "file",
  568. formData: { user: "test" },
  569. success(res) {
  570. // 上传完成需要更新 fileList
  571. let data = JSON.parse(res.data);
  572. that.fileList2.push({
  573. id: data.data[0],
  574. });
  575. },
  576. fail(res) {},
  577. });
  578. },
  579. cancel(){
  580. uni.navigateBack({})
  581. },
  582. confirmSubmit(){
  583. const _this = this
  584. // 通过才校验
  585. if(_this.form.state == '1'){
  586. if (!_this.form.qymc){
  587. this.$showToast('请输入企业名称')
  588. return
  589. }
  590. if (!_this.form.shxydm){
  591. this.$showToast('请输入统一社会信用代码')
  592. return
  593. }
  594. if (!_this.form.qylxr){
  595. this.$showToast('请输入企业联系人')
  596. return
  597. }
  598. if (!_this.form.lxdh){
  599. this.$showToast('请输入联系人手机')
  600. return
  601. }
  602. if (!_this.form.email){
  603. this.$showToast('请输入联系人邮箱')
  604. return
  605. }
  606. if (!_this.form.cwfzr){
  607. this.$showToast('请输入财务负责人')
  608. return
  609. }
  610. if (!_this.form.cwfzrdh){
  611. this.$showToast('请输入财务负责人电话')
  612. return
  613. }
  614. if (!_this.form.yyzzfbzp){
  615. this.$showToast('请上传营业执照')
  616. return
  617. }
  618. if (!_this.form.settleInType){
  619. this.$showToast('请选择入驻类型')
  620. return
  621. }
  622. if (!_this.form.state){
  623. this.$showToast('请选择处理结果')
  624. return
  625. }
  626. }
  627. if (this.fileList.length > 0){
  628. let yyzzfbzp = []
  629. this.fileList.forEach(e=>{
  630. yyzzfbzp.push(e.id)
  631. })
  632. this.form.yyzzfbzp = yyzzfbzp.toString()
  633. }
  634. if (this.fileList1.length > 0){
  635. let ryxxzp = []
  636. this.fileList1.forEach(e=>{
  637. ryxxzp.push(e.id)
  638. })
  639. this.form.ryxxzp = ryxxzp.toString()
  640. }
  641. if (this.fileList2.length > 0){
  642. let qylbbq = []
  643. this.fileList2.forEach(e=>{
  644. qylbbq.push(e.id)
  645. })
  646. this.form.qylbbq = qylbbq.toString()
  647. }
  648. const data = {
  649. id: _this.id,
  650. state: _this.form.state,
  651. proveType: _this.proveType,
  652. handleOpinions: _this.form.handleOpinions,
  653. examineUserId: getUserLocalStorageInfo().userId,
  654. }
  655. companyExamineExamine(data).then(res=>{
  656. if(res.code == '200'){
  657. this.$showToast("审核成功");
  658. this.cancel()
  659. }else {
  660. this.$showToast(res.msg);
  661. }
  662. })
  663. },
  664. showArea(e){
  665. this.popType = e
  666. this.show = true
  667. },
  668. onConfirm(e){
  669. // console.log(e)
  670. switch (this.popType) {
  671. case "币种":
  672. this.form.currency = e.detail.value.value
  673. this.form.currencyStr = e.detail.value.label
  674. break;
  675. case "招商经理":
  676. this.form.investmentManager = this.selectedItems.map((obj,index)=>{
  677. return obj.id
  678. }).join(',')
  679. this.form.investmentManagerName = this.selectedItems.map((obj,index)=>{
  680. return obj.truename
  681. }).join(',')
  682. break;
  683. }
  684. this.show = false
  685. },
  686. showTime(){
  687. this.timeShow = true
  688. },
  689. // 时间戳转换方法
  690. timestampToDate(timestamp) {
  691. const date = new Date(timestamp); // 如果timestamp是字符串,确保它是整数:parseInt(timestamp)
  692. const year = date.getFullYear();
  693. const month = (date.getMonth() + 1).toString().padStart(2, '0');
  694. const day = date.getDate().toString().padStart(2, '0');
  695. const hours = date.getHours().toString().padStart(2, '0');
  696. const minutes = date.getMinutes().toString().padStart(2, '0');
  697. const seconds = date.getSeconds().toString().padStart(2, '0');
  698. return `${year}-${month}-${day}`;
  699. },
  700. // 时间选择单位
  701. formatter(type, val) {
  702. if (type === 'year') {
  703. return `${val}年`;
  704. } else if (type === 'month') {
  705. return `${val}月`;
  706. } else if (type === 'day') {
  707. return `${val}日`;
  708. } else if (type === 'hour') {
  709. return `${val}时`;
  710. } else if (type === 'minute') {
  711. return `${val}分`;
  712. }
  713. return val;
  714. },
  715. selectTime(e) {
  716. const dateString = this.timestampToDate(e.detail);
  717. this.form.zcsj = dateString
  718. this.timeShow = false
  719. // this.getRoomTime(this.startTime)
  720. },
  721. toChoose(type){
  722. if(type === '关联企业'){
  723. uni.navigateTo({
  724. url: "/pages/subPackages/todo/associated"
  725. });
  726. }
  727. if(type === '招商经理'){
  728. uni.navigateTo({
  729. url: "/pages/subPackages/todo/addInvestmentManager"
  730. });
  731. }
  732. },
  733. getInvestmentManagerList(){
  734. findUserList({}).then(res=>{
  735. this.investmentManagerOptions = res
  736. // if(res){
  737. // res.forEach(item=>{
  738. // const data = {
  739. // value:item.id,
  740. // label:item.truename
  741. // }
  742. // this.investmentManagerOptions.push(data)
  743. // })
  744. //
  745. // }
  746. })
  747. },
  748. investmentManagerChange(e){
  749. this.investmentManager = e.detail
  750. this.selectedItems = this.list.filter(item => e.detail.includes(item.truename));
  751. // 现在你有了一个包含完整 item 对象的数组
  752. console.log(this.selectedItems);
  753. }
  754. }
  755. }
  756. </script>
  757. <style lang="scss">
  758. .inventoryReview{
  759. .detailUl{
  760. margin-top: 20rpx;
  761. background: white;
  762. padding: 24rpx 32rpx;
  763. .liName{
  764. font-size: 32rpx;
  765. color: rgba(51, 51, 51, 1);
  766. white-space: nowrap;
  767. .callNumber{
  768. color: rgba(24, 23, 42, 1);
  769. font-size: 36rpx;
  770. font-weight: 600;
  771. }
  772. .callName{
  773. color: rgba(102, 102, 102, 1);
  774. font-size: 28rpx;
  775. }
  776. }
  777. .phoneIcon{
  778. width: 64rpx;
  779. height: 64rpx;
  780. }
  781. .detailLi{
  782. display: flex;
  783. justify-content: space-between;
  784. align-items: center;
  785. padding: 32rpx 0;
  786. border-bottom: 2rpx solid #E6E6E6;
  787. .liInfo{
  788. display: inline-block;
  789. text-align: right;
  790. max-width: 428rpx;
  791. color: rgba(102, 102, 102, 1);
  792. font-size: 32rpx;
  793. line-height: 38rpx;
  794. overflow: hidden;
  795. word-wrap: break-word;
  796. }
  797. .inputBox{
  798. display: flex;
  799. align-items: center;
  800. }
  801. .moreLineBox{
  802. word-wrap: break-word;
  803. max-width: 422rpx;
  804. color: rgba(102, 102, 102, 1);
  805. }
  806. .myIpt{
  807. text-align: right;
  808. margin-right: 20rpx;
  809. color: rgba(102, 102, 102, 1);
  810. min-width: 422rpx;
  811. }
  812. }
  813. .detailLi2{
  814. display: flex;
  815. flex-direction: column;
  816. padding: 32rpx 0;
  817. border-bottom: 2rpx solid #E6E6E6;
  818. .detailLi2BoxTop{
  819. display: flex;
  820. flex-wrap: wrap;
  821. justify-content: space-between;
  822. margin: 12rpx 0;
  823. .checkItem{
  824. width: 128rpx;
  825. height: 64rpx;
  826. font-size: 28rpx;
  827. color: #666666;
  828. display: flex;
  829. align-items: center;
  830. justify-content: center;
  831. background: #F5F7FA;
  832. border-radius: 8rpx;
  833. margin: 12rpx 0;
  834. }
  835. .checked{
  836. background: #0365F9;
  837. color: white;
  838. }
  839. }
  840. .locationBox{
  841. position: absolute;
  842. right: 24rpx;
  843. top: 100rpx;
  844. }
  845. .van-cell {
  846. background: #F5F7FA !important;
  847. border-radius: 8rpx;
  848. font-size: 28rpx;
  849. margin-top: 16rpx;
  850. }
  851. .van-radio-group{
  852. display: flex;
  853. flex-wrap: wrap;
  854. margin-top: 24rpx;
  855. gap: 24rpx;
  856. color: rgba(102, 102, 102, 1);
  857. font-size: 4vw;
  858. }
  859. }
  860. }
  861. .buttonBox{
  862. display: flex;
  863. justify-content: center;
  864. .btn{
  865. width: 240rpx;
  866. height: 80rpx;
  867. display: flex;
  868. border-radius: 8rpx;
  869. align-items: center;
  870. justify-content: center;
  871. margin: 48rpx 16rpx 150rpx 16rpx;
  872. color: white;
  873. letter-spacing: 2rpx;
  874. text-indent: 2rpx;
  875. &::after{
  876. border: none;
  877. }
  878. }
  879. .zcBtn{
  880. background: rgba(0, 0, 0, 0.05);
  881. color: rgba(3, 101, 249, 1);
  882. }
  883. .tjBtn{
  884. background: #0365F9;
  885. }
  886. }
  887. }
  888. </style>