deposit_list-detail.vue 49 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240
  1. <template>
  2. <div>
  3. <div class="sty">
  4. <el-page-header content="详情" @back="goBack" />
  5. </div>
  6. <el-divider />
  7. <el-radio-group v-model="engineering" size="mini" @change="handleRadio">
  8. <el-radio-button label="工程押金信息" />
  9. <el-radio-button label="工程订单信息" />
  10. <el-radio-button label="工程发货信息" />
  11. <!-- <el-radio-button label="直调发货" /> -->
  12. <el-radio-button label="历史记录" />
  13. </el-radio-group>
  14. <br><br>
  15. <div v-show="engineering == '工程押金信息'">
  16. <div class="diy-table-1">
  17. <el-form ref="form" :model="details">
  18. <el-row :gutter="0">
  19. <el-col :xs="12" :sm="8" :lg="8" class="item">
  20. <div class="label">工程登录编号</div>
  21. <div class="value">{{ details.refEnginRecordNo }}</div>
  22. </el-col>
  23. <el-col :xs="12" :sm="8" :lg="8" class="item">
  24. <div class="label">项目类别</div>
  25. <div class="value">{{ details.refProjectCategory }}</div>
  26. </el-col>
  27. <el-col :xs="12" :sm="8" :lg="8" class="item">
  28. <div class="label">工程编号</div>
  29. <div class="value">{{ details.refProjectNo }}</div>
  30. </el-col>
  31. <el-col :xs="24" :sm="24" :lg="16" class="item">
  32. <div class="label">经销商名称</div>
  33. <div class="value">{{ details.customerName }}</div>
  34. </el-col>
  35. <el-col :xs="24" :sm="24" :lg="8" class="item">
  36. <div class="label">经销商编码</div>
  37. <div class="value">{{ details.customerNumber }}</div>
  38. </el-col>
  39. <el-col :xs="24" :sm="24" :lg="8" class="item">
  40. <div class="label">工程登录类型</div>
  41. <div class="value">{{ details.refPromiseStatus }}</div>
  42. </el-col>
  43. <el-col :xs="24" :sm="24" :lg="8" class="item">
  44. <div class="label">联系人</div>
  45. <div class="value">{{ details.refLinkman }}</div>
  46. </el-col>
  47. <el-col :xs="24" :sm="24" :lg="8" class="item">
  48. <div class="label">固定电话</div>
  49. <div class="value">{{ details.refTel }}</div>
  50. </el-col>
  51. <!-- <el-col :xs="24" :sm="24" :lg="16" class="item">-->
  52. <!-- <div class="label">厂工程编码</div>-->
  53. <!-- <div class="value">-->
  54. <!-- <el-form-item prop="refFactoryNo">-->
  55. <!-- <el-input-->
  56. <!-- v-model="details.refFactoryNo"-->
  57. <!-- placeholder="厂工程编码"-->
  58. <!-- size="small"-->
  59. <!-- />-->
  60. <!-- </el-form-item>-->
  61. <!-- </div>-->
  62. <!-- </el-col>-->
  63. <el-col :xs="24" :sm="24" :lg="8" class="item">
  64. <div class="label">移动电话</div>
  65. <div class="value">{{ details.refPhone }}</div>
  66. </el-col>
  67. <el-col :xs="24" :sm="24" :lg="8" class="item">
  68. <div class="label">押金总额</div>
  69. <div class="value">{{ details.depositAmount }}</div>
  70. </el-col>
  71. <el-col :xs="24" :sm="24" :lg="8" class="item">
  72. <div class="label">工程差价总额</div>
  73. <div class="value">{{ details.depositDiffAmount }}</div>
  74. </el-col>
  75. <el-col v-if="!isCustomer" :xs="24" :sm="24" :lg="24" class="item">
  76. <div class="label">格力内部备注</div>
  77. <div class="value">
  78. <el-input v-model="details.geLiInerNote" placeholder="格力内部备注" />
  79. </div>
  80. </el-col>
  81. <el-col :xs="24" :sm="24" :lg="24" class="item">
  82. <div class="label">格力内部资料备注</div>
  83. <div class="value">{{ details.geLiInnerDataNote }}</div>
  84. </el-col>
  85. <el-col :xs="24" :sm="24" :lg="24" class="item">
  86. <div class="label">订单格力内部备注</div>
  87. <div class="value">{{ details.orderGeLiInnerNote }}</div>
  88. </el-col>
  89. <el-col :xs="24" :sm="24" :lg="12" class="item">
  90. <div class="label">使用单位</div>
  91. <div class="value">{{ details.refUseUnit }}</div>
  92. </el-col>
  93. <el-col :xs="24" :sm="24" :lg="12" class="item">
  94. <div class="label">跨区厂编号</div>
  95. <div class="value">{{ details.refFactoryNo }}</div>
  96. </el-col>
  97. <el-col :xs="24" :sm="24" :lg="24" class="item">
  98. <div class="label">安装时间</div>
  99. <div class="value" style="padding: 0">
  100. <el-form-item prop="installDate">
  101. <el-date-picker
  102. v-model="details.installDate"
  103. :disabled="details.examineStatus == 'OK'"
  104. type="datetime"
  105. placeholder="安装时间"
  106. default-time="00:00:00"
  107. value-format="yyyy-MM-dd HH:mm:ss"
  108. />
  109. </el-form-item>
  110. </div>
  111. </el-col>
  112. <el-col :xs="24" :sm="24" :lg="24" class="item">
  113. <div class="label">安装地址</div>
  114. <div class="value">
  115. {{ details.refInstallAddress }}
  116. </div>
  117. </el-col>
  118. <el-col :xs="24" :sm="24" :lg="8" class="item">
  119. <div class="label">登录有效期</div>
  120. <div class="value">
  121. {{ details.refBillsExpireDate }}
  122. </div>
  123. </el-col>
  124. <el-col :xs="24" :sm="24" :lg="8" class="item">
  125. <div class="label">实际使用单位</div>
  126. <div class="value">
  127. <el-input v-model="details.realUseUnit" placeholder="实际使用单位" />
  128. </div>
  129. </el-col>
  130. <el-col :xs="24" :sm="24" :lg="8" class="item">
  131. <div class="label">实际安装地址</div>
  132. <div class="value">
  133. <el-input v-model="details.realInstallAddress" placeholder="实际使用单位" />
  134. </div>
  135. </el-col>
  136. <el-col :xs="24" :sm="24" :lg="8" class="item">
  137. <div class="label">项目编号</div>
  138. <div class="value">
  139. {{ details.refProjectNo }}
  140. </div>
  141. </el-col>
  142. <el-col :xs="24" :sm="24" :lg="8" class="item">
  143. <div class="label">购买单位</div>
  144. <div class="value">
  145. {{ details.refBuyUnitName }}
  146. </div>
  147. </el-col>
  148. <el-col :xs="24" :sm="24" :lg="8" class="item">
  149. <div class="label">合同变更批复意见</div>
  150. <div class="value">
  151. {{ details.refContractIdea }}
  152. </div>
  153. </el-col>
  154. <el-col :xs="24" :sm="24" :lg="8" class="item">
  155. <div class="label">合同变更批复结果</div>
  156. <div class="value">
  157. {{ details.refContractResult }}
  158. </div>
  159. </el-col>
  160. <el-col :xs="24" :sm="24" :lg="8" class="item">
  161. <div class="label">资料延期批复意见</div>
  162. <div class="value">
  163. {{ details.refDataDelayResult }}
  164. </div>
  165. </el-col>
  166. <el-col :xs="24" :sm="24" :lg="8" class="item">
  167. <div class="label">资料延期批复结果</div>
  168. <div class="value">
  169. {{ details.refInstallAddress }}
  170. </div>
  171. </el-col>
  172. <el-col :xs="24" :sm="24" :lg="8" class="item">
  173. <div class="label">工程机转零售批复意见</div>
  174. <div class="value">
  175. {{ details.refToRetailIdea }}
  176. </div>
  177. </el-col>
  178. <el-col :xs="24" :sm="24" :lg="8" class="item">
  179. <div class="label">工程机转零售批复结果</div>
  180. <div class="value">
  181. {{ details.refToRetailResult }}
  182. </div>
  183. </el-col>
  184. <el-col :xs="24" :sm="24" :lg="8" class="item">
  185. <div class="label">其他附件审批意见</div>
  186. <div class="value">
  187. {{ details.refOtherAnnexIdea }}
  188. </div>
  189. </el-col>
  190. <el-col :xs="24" :sm="24" :lg="8" class="item">
  191. <div class="label">其他附件批复结果</div>
  192. <div class="value">
  193. {{ details.refOtherAnnexResult }}
  194. </div>
  195. </el-col>
  196. <!-- <el-col :xs="24" :sm="24" :lg="8" class="item">-->
  197. <!-- <div class="label">寄厂日期</div>-->
  198. <!-- <div class="value" style="padding: 0">-->
  199. <!-- <el-form-item prop="sendFactoryDate">-->
  200. <!-- <el-date-picker-->
  201. <!-- v-model="details.sendFactoryDate"-->
  202. <!-- type="datetime"-->
  203. <!-- placeholder="寄厂日期"-->
  204. <!-- default-time="00:00:00"-->
  205. <!-- value-format="yyyy-MM-dd HH:mm:ss"-->
  206. <!-- >-->
  207. <!-- </el-date-picker>-->
  208. <!-- </el-form-item>-->
  209. <!-- </div>-->
  210. <!-- </el-col>-->
  211. </el-row>
  212. </el-form>
  213. </div>
  214. <h3>货品信息</h3>
  215. <el-divider />
  216. <!-- 列表 -->
  217. <div class="mymain-container">
  218. <div class="table">
  219. <el-table
  220. v-loading="listLoading"
  221. :data="details.items"
  222. element-loading-text="Loading"
  223. border
  224. fit
  225. highlight-current-row
  226. stripe
  227. show-summary
  228. :summary-method="$getSummaries"
  229. >
  230. <el-table-column
  231. v-if="!isCustomer"
  232. align="left"
  233. label="厂编号"
  234. prop="factoryNo"
  235. min-width="160"
  236. show-overflow-tooltip
  237. >
  238. <template slot-scope="scope">
  239. <CopyButton :copy-text="scope.row.factoryNo" />
  240. <span>{{ scope.row.factoryNo }}</span>
  241. </template>
  242. </el-table-column>
  243. <el-table-column
  244. v-if="!isCustomer"
  245. align="left"
  246. label="特价编号"
  247. prop="specialNo"
  248. min-width="160"
  249. show-overflow-tooltip
  250. >
  251. <template slot-scope="scope">
  252. <CopyButton :copy-text="scope.row.specialNo" />
  253. <span>{{ scope.row.specialNo }}</span>
  254. </template>
  255. </el-table-column>
  256. <el-table-column align="left" label="物料编码" prop="materialNumber" min-width="130" show-overflow-tooltip>
  257. <template slot-scope="scope">
  258. <CopyButton :copy-text="scope.row.materialNumber" />
  259. <span>{{ scope.row.materialNumber }}</span>
  260. </template>
  261. </el-table-column>
  262. <el-table-column
  263. align="left"
  264. label="产品编码"
  265. prop="materialOldNumber"
  266. min-width="130"
  267. show-overflow-tooltip
  268. >
  269. <template slot-scope="scope">
  270. <CopyButton :copy-text="scope.row.materialOldNumber" />
  271. <span>{{ scope.row.materialOldNumber }}</span>
  272. </template>
  273. </el-table-column>
  274. <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip>
  275. <template slot-scope="scope">
  276. <CopyButton :copy-text="scope.row.materialName" />
  277. <span>{{ scope.row.materialName }}</span>
  278. </template>
  279. </el-table-column>
  280. <el-table-column align="left" label="规格型号" prop="specification" min-width="300" show-overflow-tooltip>
  281. <template slot-scope="scope">
  282. <CopyButton :copy-text="scope.row.specification" />
  283. <span>{{ scope.row.specification }}</span>
  284. </template>
  285. </el-table-column>
  286. <el-table-column
  287. align="left"
  288. label="实装规格型号"
  289. prop="realSpecification"
  290. min-width="300"
  291. show-overflow-tooltip
  292. >
  293. <template slot-scope="scope">
  294. <div :style="scope.row.realSpecification != scope.row.specification ? { color: 'blue' } : ''">
  295. {{ scope.row.realSpecification }}
  296. </div>
  297. </template>
  298. </el-table-column>
  299. <el-table-column
  300. align="left"
  301. label="实装物料编号"
  302. prop="realMaterialNumber"
  303. min-width="150"
  304. show-overflow-tooltip
  305. >
  306. <template slot-scope="scope">
  307. <div :style="scope.row.realMaterialNumber != scope.row.materialNumber ? { color: 'blue' } : ''">
  308. {{ scope.row.realMaterialNumber }}
  309. </div>
  310. </template>
  311. </el-table-column>
  312. <el-table-column
  313. align="left"
  314. label="实装厂产品编码"
  315. prop="realMaterialOldNumber"
  316. min-width="200"
  317. show-overflow-tooltip
  318. >
  319. <template slot-scope="scope">
  320. <div :style="scope.row.realMaterialOldNumber != scope.row.materialOldNumber ? { color: 'blue' } : ''">
  321. {{ scope.row.realMaterialOldNumber }}
  322. </div>
  323. </template>
  324. </el-table-column>
  325. <el-table-column align="right" label="单价" prop="price" min-width="160" show-overflow-tooltip>
  326. <template slot-scope="scope">
  327. {{ scope.row.price | numToFixed }}
  328. </template>
  329. </el-table-column>
  330. <el-table-column align="right" label="数量" prop="qty" min-width="160" show-overflow-tooltip />
  331. <el-table-column align="right" label="金额" prop="totalAmount" min-width="160" show-overflow-tooltip>
  332. <template slot-scope="scope">
  333. {{ scope.row.totalAmount | numToFixed }}
  334. </template>
  335. </el-table-column>
  336. <el-table-column align="right" label="销售数量" prop="salesQty" min-width="160" show-overflow-tooltip />
  337. <el-table-column align="right" label="销售金额" prop="salesAmount" min-width="160" show-overflow-tooltip>
  338. <template slot-scope="scope">
  339. {{ scope.row.salesAmount | numToFixed }}
  340. </template>
  341. </el-table-column>
  342. <el-table-column align="right" label="押金数量" prop="hasSendQty" min-width="160" show-overflow-tooltip />
  343. <el-table-column
  344. align="right"
  345. label="发货数量"
  346. prop="orderHasSendQty"
  347. min-width="160"
  348. show-overflow-tooltip
  349. />
  350. <!-- <el-table-column
  351. align="right"
  352. label="押金金额"
  353. prop="depositAmount"
  354. min-width="160"
  355. show-overflow-tooltip
  356. >
  357. <template slot-scope="scope">
  358. {{ scope.row.depositAmount | numToFixed }}
  359. </template>
  360. </el-table-column> -->
  361. <el-table-column align="right" label="合同数量" prop="contractQty" min-width="160" show-overflow-tooltip>
  362. <template slot-scope="scope">
  363. {{ scope.row.contractQty }}
  364. </template>
  365. </el-table-column>
  366. <el-table-column align="right" label="合同单价" prop="contractPrice" min-width="160" show-overflow-tooltip>
  367. <template slot-scope="scope">
  368. {{ scope.row.contractPrice }}
  369. </template>
  370. </el-table-column>
  371. <el-table-column align="right" label="合同金额" prop="contractAmount" min-width="160" show-overflow-tooltip>
  372. <template slot-scope="scope">
  373. {{ scope.row.contractAmount }}
  374. </template>
  375. </el-table-column>
  376. <el-table-column align="right" label="押金金额" prop="depositAmount" min-width="160" show-overflow-tooltip>
  377. <template slot-scope="scope">
  378. {{ scope.row.depositAmount | numToFixed }}
  379. </template>
  380. </el-table-column>
  381. <el-table-column align="right" label="上交资料" prop="dataQty" min-width="160" show-overflow-tooltip />
  382. <el-table-column align="right" label="收差金额" prop="diffAmount" min-width="160" show-overflow-tooltip>
  383. <template slot-scope="scope">
  384. {{ scope.row.diffAmount | numToFixed }}
  385. </template>
  386. </el-table-column>
  387. <el-table-column
  388. align="right"
  389. label="收差政策价格"
  390. prop="diffPolicyPrice"
  391. min-width="200"
  392. show-overflow-tooltip
  393. >
  394. <template slot-scope="scope">
  395. {{ scope.row.diffPolicyPrice | numToFixed }}
  396. </template>
  397. </el-table-column>
  398. </el-table>
  399. </div>
  400. </div>
  401. <h3>押金货品信息</h3>
  402. <el-divider />
  403. <!-- 列表 -->
  404. <div class="mymain-container">
  405. <div class="table">
  406. <el-table
  407. v-loading="listLoading"
  408. :data="details.collectList"
  409. element-loading-text="Loading"
  410. border
  411. fit
  412. highlight-current-row
  413. stripe
  414. show-summary
  415. :summary-method="$getSummaries"
  416. >
  417. <el-table-column align="left" label="工程登录单号" prop="refEnginRecordNo" min-width="130" show-overflow-tooltip>
  418. <template slot-scope="scope">
  419. <CopyButton :copy-text="scope.row.refEnginRecordNo" />
  420. <span>{{ scope.row.refEnginRecordNo }}</span>
  421. </template>
  422. </el-table-column>
  423. <el-table-column align="left" label="规格型号" prop="specification" min-width="130" show-overflow-tooltip>
  424. <template slot-scope="scope">
  425. <CopyButton :copy-text="scope.row.specification" />
  426. <span>{{ scope.row.specification }}</span>
  427. </template>
  428. </el-table-column>
  429. <el-table-column align="left" label="基本单位编码" prop="unit" min-width="130" show-overflow-tooltip>
  430. <template slot-scope="scope">
  431. <CopyButton :copy-text="scope.row.unit" />
  432. <span>{{ scope.row.unit }}</span>
  433. </template>
  434. </el-table-column>
  435. <el-table-column align="left" label="现金钱包" prop="customerWalletName" min-width="130" show-overflow-tooltip>
  436. <template slot-scope="scope">
  437. <CopyButton :copy-text="scope.row.customerWalletName" />
  438. <span>{{ scope.row.customerWalletName }}</span>
  439. </template>
  440. </el-table-column>
  441. <el-table-column align="left" label="现金钱包编码" prop="customerWalletNumber" min-width="130" show-overflow-tooltip>
  442. <template slot-scope="scope">
  443. <CopyButton :copy-text="scope.row.customerWalletNumber" />
  444. <span>{{ scope.row.customerWalletNumber }}</span>
  445. </template>
  446. </el-table-column>
  447. <el-table-column align="left" label="金蝶物料类型名称" prop="k3CategoryName" min-width="130" show-overflow-tooltip>
  448. <template slot-scope="scope">
  449. <CopyButton :copy-text="scope.row.k3CategoryName" />
  450. <span>{{ scope.row.k3CategoryName }}</span>
  451. </template>
  452. </el-table-column>
  453. <el-table-column align="left" label="金蝶物料类型编码" prop="k3CategoryNumber" min-width="130" show-overflow-tooltip>
  454. <template slot-scope="scope">
  455. <CopyButton :copy-text="scope.row.k3CategoryNumber" />
  456. <span>{{ scope.row.k3CategoryNumber }}</span>
  457. </template>
  458. </el-table-column>
  459. <el-table-column align="left" label="金蝶物料名称" prop="materialName" min-width="130" show-overflow-tooltip>
  460. <template slot-scope="scope">
  461. <CopyButton :copy-text="scope.row.materialName" />
  462. <span>{{ scope.row.materialName }}</span>
  463. </template>
  464. </el-table-column>
  465. <el-table-column align="left" label="金蝶物料编码" prop="materialNumber" min-width="130" show-overflow-tooltip>
  466. <template slot-scope="scope">
  467. <CopyButton :copy-text="scope.row.materialNumber" />
  468. <span>{{ scope.row.materialNumber }}</span>
  469. </template>
  470. </el-table-column>
  471. <el-table-column align="left" label="金蝶物料旧编码" prop="materialOldNumber" min-width="130" show-overflow-tooltip>
  472. <template slot-scope="scope">
  473. <CopyButton :copy-text="scope.row.materialOldNumber" />
  474. <span>{{ scope.row.materialOldNumber }}</span>
  475. </template>
  476. </el-table-column>
  477. <el-table-column align="left" label="押金金额" prop="depositAmount" min-width="130" show-overflow-tooltip>
  478. <template slot-scope="scope">
  479. {{ scope.row.depositAmount | numToFixed }}
  480. </template>
  481. </el-table-column>
  482. <el-table-column align="left" label="已发押金数量" prop="hasSendQty" min-width="130" show-overflow-tooltip />
  483. <el-table-column align="left" label="单价" prop="price" min-width="130" show-overflow-tooltip>
  484. <template slot-scope="scope">
  485. {{ scope.row.price | numToFixed }}
  486. </template>
  487. </el-table-column>
  488. <el-table-column align="left" label="已退押金金额" prop="refundDepositAmount" min-width="130" show-overflow-tooltip>
  489. <template slot-scope="scope">
  490. {{ scope.row.refundDepositAmount | numToFixed }}
  491. </template>
  492. </el-table-column>
  493. <el-table-column align="left" label="押金金额" prop="depositAmount" min-width="130" show-overflow-tooltip>
  494. <template slot-scope="scope">
  495. {{ scope.row.depositAmount | numToFixed }}
  496. </template>
  497. </el-table-column>
  498. </el-table>
  499. </div>
  500. </div>
  501. <h3 class="gdzl">工程资料</h3>
  502. <el-button
  503. :disabled="isDis"
  504. class="batchDownload"
  505. type="primary"
  506. size="small"
  507. @click="batchDownloadFn"
  508. >批量下载
  509. </el-button>
  510. <el-divider />
  511. <!-- 列表 -->
  512. <div class="mymain-container">
  513. <div class="table">
  514. <el-table
  515. v-loading="listLoading"
  516. :data="original"
  517. element-loading-text="Loading"
  518. border
  519. fit
  520. highlight-current-row
  521. stripe
  522. >
  523. <el-table-column align="left" label="资料描述" prop="dataDescribe" min-width="160" show-overflow-tooltip />
  524. <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
  525. <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
  526. <template slot-scope="scope">
  527. <el-image
  528. v-if="checkFileType(scope.row.fileUrl) == 'image'"
  529. ref="img"
  530. :src="imageURL + scope.row.fileUrl"
  531. style="width: 120px; height: 120px"
  532. fit="cover"
  533. :preview-src-list="[imageURL + scope.row.fileUrl]"
  534. />
  535. <img v-if="checkFileType(scope.row.fileUrl) == 'word'" class="file" src="@/assets/common/word.png">
  536. <img v-if="checkFileType(scope.row.fileUrl) == 'excel'" class="file" src="@/assets/common/excel.png">
  537. <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png">
  538. <img
  539. v-if="checkFileType(scope.row.fileUrl) == 'pdf'"
  540. class="file"
  541. style="cursor: pointer"
  542. src="@/assets/common/pdf.png"
  543. @click="openPdf(scope.row.fileUrl)"
  544. >
  545. <img
  546. v-if="checkFileType(scope.row.fileUrl) == 'file'"
  547. class="file aaa"
  548. src="@/assets/common/zip.jpeg"
  549. >
  550. </template>
  551. </el-table-column>
  552. <el-table-column align="left" label="下载文件名称" prop="fileName" min-width="160" show-overflow-tooltip>
  553. <template slot-scope="scope">
  554. {{ '资料_' + scope.row.fileName }}
  555. </template>
  556. </el-table-column>
  557. <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
  558. <template slot-scope="scope">
  559. <el-button
  560. type="text"
  561. class="textColor"
  562. @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)"
  563. >下载
  564. </el-button>
  565. <!-- <el-button-->
  566. <!-- v-if="checkFileType(scope.row.fileUrl) == 'pdf'"-->
  567. <!-- type="text"-->
  568. <!-- class="textColor"-->
  569. <!-- @click="openPdf(scope.row.fileUrl)"-->
  570. <!-- >-->
  571. <!-- 查看-->
  572. <!-- </el-button>-->
  573. </template>
  574. </el-table-column>
  575. </el-table>
  576. </div>
  577. </div>
  578. <div class="diy-table-1">
  579. <el-row :gutter="0">
  580. <el-col :xs="12" :sm="12" :lg="12" class="item">
  581. <div class="label">申请人</div>
  582. <div class="value">{{ details.customerName }}</div>
  583. </el-col>
  584. <el-col :xs="12" :sm="12" :lg="12" class="item">
  585. <div class="label">申请日期</div>
  586. <div class="value">{{ details.createTime }}</div>
  587. </el-col>
  588. <el-col :xs="24" :sm="24" :lg="24" class="item">
  589. <div class="label">申请退押金</div>
  590. <div class="value">{{ details.applyNote }}</div>
  591. </el-col>
  592. </el-row>
  593. </div>
  594. <div style="margin-top: 25px">审批</div>
  595. <el-divider />
  596. <div class="diy-table-1">
  597. <el-row :gutter="0">
  598. <el-col :xs="12" :sm="12" :lg="12" class="item">
  599. <div class="label">验收人</div>
  600. <div class="value">{{ details.checkBy }}</div>
  601. </el-col>
  602. <el-col :xs="12" :sm="12" :lg="12" class="item">
  603. <div class="label">受理日期</div>
  604. <div class="value">{{ details.checkDate }}</div>
  605. </el-col>
  606. <el-col :xs="12" :sm="12" :lg="12" class="item">
  607. <div class="label">是否退押</div>
  608. <div class="value">
  609. <template
  610. v-if="
  611. !(
  612. details.examineStatus == 'WAIT' ||
  613. details.examineStatus == 'SAVE' ||
  614. details.examineStatus == 'CLOSE'
  615. )
  616. "
  617. >
  618. {{ details.isRefundDeposit == true ? '是' : '否' }}
  619. </template>
  620. </div>
  621. </el-col>
  622. <el-col :xs="12" :sm="12" :lg="12" class="item">
  623. <div class="label">审批结果</div>
  624. <div v-if="details.examineStatus == 'Ok'" class="value">通过</div>
  625. <div v-if="details.confirmName && details.examineStatus == 'SAVE'" class="value">驳回</div>
  626. </el-col>
  627. <el-col :xs="24" :sm="24" :lg="24" class="item">
  628. <div class="label">验收说明</div>
  629. <div class="value">{{ details.checkNote }}</div>
  630. </el-col>
  631. <!-- <el-col v-if="details.confirmName && details.examineStatus == 'SAVE'" :xs="24" :sm="24" :lg="24" class="item">
  632. <div class="label">驳回说明</div>
  633. <div class="value">{{ details.confirmName }}</div>
  634. </el-col> -->
  635. </el-row>
  636. </div>
  637. <div>
  638. <div v-if="details.dataState == 'WAIT_REVIEW' || details.dataState == 'AMEND' || details.dataState == 'REVIEW'">
  639. <h3 class="gdzl">补充资料</h3>
  640. <el-divider />
  641. <div class="mymain-container">
  642. <div class="table">
  643. <el-table
  644. v-loading="listLoading"
  645. :data="amendData"
  646. element-loading-text="Loading"
  647. border
  648. fit
  649. highlight-current-row
  650. stripe
  651. >
  652. <el-table-column
  653. align="left"
  654. label="资料描述"
  655. prop="dataDescribe"
  656. min-width="160"
  657. show-overflow-tooltip
  658. />
  659. <el-table-column align="left" label="原文件名" prop="fileName" min-width="160" show-overflow-tooltip />
  660. <el-table-column align="left" label="缩略图" prop="fileUrl" min-width="160" show-overflow-tooltip>
  661. <template slot-scope="scope">
  662. <el-image
  663. v-if="checkFileType(scope.row.fileUrl) == 'image'"
  664. ref="img"
  665. :src="imageURL + scope.row.fileUrl"
  666. style="width: 120px; height: 120px"
  667. fit="cover"
  668. :preview-src-list="[imageURL + scope.row.fileUrl]"
  669. />
  670. <img
  671. v-if="checkFileType(scope.row.fileUrl) == 'word'"
  672. class="file"
  673. src="@/assets/common/word.png"
  674. >
  675. <img
  676. v-if="checkFileType(scope.row.fileUrl) == 'excel'"
  677. class="file"
  678. src="@/assets/common/excel.png"
  679. >
  680. <img v-if="checkFileType(scope.row.fileUrl) == 'ppt'" class="file" src="@/assets/common/ppt.png">
  681. <img v-if="checkFileType(scope.row.fileUrl) == 'pdf'" class="file" src="@/assets/common/pdf.png">
  682. <img
  683. v-if="checkFileType(scope.row.fileUrl) == 'file'"
  684. class="file aaa"
  685. src="@/assets/common/zip.jpeg"
  686. >
  687. </template>
  688. </el-table-column>
  689. <el-table-column
  690. align="left"
  691. label="下载文件名称"
  692. prop="fileName"
  693. min-width="160"
  694. show-overflow-tooltip
  695. >
  696. <template slot-scope="scope">
  697. {{ '资料_' + scope.row.fileName }}
  698. </template>
  699. </el-table-column>
  700. <el-table-column align="center" label="操作" min-width="160" show-overflow-tooltip>
  701. <template slot-scope="scope">
  702. <el-button
  703. type="text"
  704. class="textColor"
  705. @click="downLoadFn(scope.row.fileUrl, scope.row.fileName)"
  706. >下载</el-button>
  707. </template>
  708. </el-table-column>
  709. </el-table>
  710. </div>
  711. <div class="diy-table-1">
  712. <el-row :gutter="0">
  713. <el-col :xs="12" :sm="12" :lg="12" class="item">
  714. <div class="label">上传人</div>
  715. <div class="value">
  716. {{ details.amendBy }}
  717. </div>
  718. </el-col>
  719. <el-col :xs="12" :sm="12" :lg="12" class="item">
  720. <div class="label">上传时间</div>
  721. <div class="value">
  722. {{ details.amendTime }}
  723. </div>
  724. </el-col>
  725. <el-col :xs="12" :sm="24" :lg="24" class="item">
  726. <div class="label">补充说明</div>
  727. <div class="value">
  728. {{ details.amendRemark }}
  729. </div>
  730. </el-col>
  731. </el-row>
  732. </div>
  733. <div v-if="isCustomer && details.dataState == 'REVIEW'">
  734. <h3 class="gdzl">复核</h3>
  735. <el-divider />
  736. <div class="diy-table-1">
  737. <el-row :gutter="0">
  738. <el-col :xs="12" :sm="12" :lg="12" class="item">
  739. <div class="label">复核人</div>
  740. <div class="value">
  741. <el-input v-model="details.reviewBy" placeholder="请输入" />
  742. </div>
  743. </el-col>
  744. <el-col :xs="12" :sm="12" :lg="12" class="item">
  745. <div class="label">复核时间</div>
  746. <div class="value">
  747. <el-date-picker
  748. v-model="details.reviewTime"
  749. class="dateStyle"
  750. type="datetime"
  751. placeholder="选择日期"
  752. default-time="00:00:00"
  753. value-format="yyyy-MM-dd HH:mm:ss"
  754. />
  755. </div>
  756. </el-col>
  757. <el-col :xs="12" :sm="24" :lg="24" class="item">
  758. <div class="label">复核说明</div>
  759. <div class="value">
  760. <input v-model="details.reviewRemark" type="text">
  761. </div>
  762. </el-col>
  763. </el-row>
  764. </div>
  765. </div>
  766. </div>
  767. </div>
  768. </div>
  769. <div style="margin: 20px 0">
  770. <el-button
  771. v-if="
  772. (details.examineStatus != 'OK' || (!isCustomer && details.examineStatus == 'OK')) &&
  773. details.dataState != 'WAIT_REVIEW' &&
  774. details.dataState != 'AMEND' &&
  775. details.dataState != 'REVIEW'
  776. "
  777. type="primary"
  778. size="small"
  779. @click="handleSvse"
  780. >保存
  781. </el-button>
  782. <el-button
  783. v-if="
  784. (details.examineStatus != 'OK' || (!isCustomer && details.examineStatus == 'OK')) &&
  785. details.dataState != 'WAIT_REVIEW' &&
  786. details.dataState != 'AMEND' &&
  787. details.dataState != 'REVIEW'
  788. "
  789. type="primary"
  790. size="small"
  791. @click="handleReset"
  792. >重置
  793. </el-button>
  794. </div>
  795. </div>
  796. <div v-show="engineering == '工程订单信息'">
  797. <h3>工程订单信息</h3>
  798. <el-divider />
  799. <!-- 列表 -->
  800. <div class="mymain-container">
  801. <div class="table">
  802. <el-table
  803. v-loading="listLoading"
  804. :data="dataList"
  805. element-loading-text="Loading"
  806. border
  807. fit
  808. highlight-current-row
  809. stripe
  810. >
  811. <el-table-column align="left" label="工程订单号" prop="enginOrderNo" min-width="160" show-overflow-tooltip>
  812. <template slot-scope="scope">
  813. <CopyButton :copy-text="scope.row.enginOrderNo" />
  814. <span>{{ scope.row.enginOrderNo }}</span>
  815. </template>
  816. </el-table-column>
  817. <el-table-column align="left" label="订单日期" prop="orderDate" min-width="160" show-overflow-tooltip />
  818. <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip>
  819. <template slot-scope="scope">
  820. <CopyButton :copy-text="scope.row.materialName" />
  821. <span>{{ scope.row.materialName }}</span>
  822. </template>
  823. </el-table-column>
  824. <el-table-column align="left" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip>
  825. <template slot-scope="scope">
  826. <CopyButton :copy-text="scope.row.specification" />
  827. <span>{{ scope.row.specification }}</span>
  828. </template>
  829. </el-table-column>
  830. <el-table-column align="right" label="单价" prop="price" min-width="160" show-overflow-tooltip>
  831. <template slot-scope="scope">
  832. {{ scope.row.price | numToFixed }}
  833. </template>
  834. </el-table-column>
  835. <el-table-column align="right" label="数量" prop="qty" min-width="160" show-overflow-tooltip />
  836. <el-table-column
  837. align="right"
  838. label="押金金额"
  839. prop="totalDepositAmount"
  840. min-width="160"
  841. show-overflow-tooltip
  842. >
  843. <template slot-scope="scope">
  844. {{ scope.row.totalDepositAmount | numToFixed }}
  845. </template>
  846. </el-table-column>
  847. </el-table>
  848. </div>
  849. </div>
  850. </div>
  851. <div v-show="engineering == '工程发货信息'">
  852. <h3>工程发货信息</h3>
  853. <el-divider />
  854. <!-- 列表 -->
  855. <div class="mymain-container">
  856. <div class="table">
  857. <el-table
  858. v-loading="listLoading"
  859. :data="projectList"
  860. element-loading-text="Loading"
  861. border
  862. fit
  863. highlight-current-row
  864. stripe
  865. >
  866. <el-table-column align="left" label="发货单" prop="id" min-width="160" show-overflow-tooltip>
  867. <template slot-scope="scope">
  868. <CopyButton :copy-text="scope.row.id" />
  869. <span>{{ scope.row.id }}</span>
  870. </template>
  871. </el-table-column>
  872. <el-table-column align="left" label="发货申请日期" prop="theTime" min-width="160" show-overflow-tooltip />
  873. <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip>
  874. <template slot-scope="scope">
  875. <CopyButton :copy-text="scope.row.materialName" />
  876. <span>{{ scope.row.materialName }}</span>
  877. </template>
  878. </el-table-column>
  879. <el-table-column align="left" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip>
  880. <template slot-scope="scope">
  881. <CopyButton :copy-text="scope.row.specification" />
  882. <span>{{ scope.row.specification }}</span>
  883. </template>
  884. </el-table-column>
  885. <el-table-column align="right" label="单价" prop="price" min-width="160" show-overflow-tooltip>
  886. <template slot-scope="scope">
  887. {{ scope.row.price | numToFixed }}
  888. </template>
  889. </el-table-column>
  890. <el-table-column align="right" label="数量" prop="refundableQty" min-width="160" show-overflow-tooltip />
  891. <el-table-column
  892. align="right"
  893. label="押金金额"
  894. prop="totalDepositAmount"
  895. min-width="160"
  896. show-overflow-tooltip
  897. >
  898. <template slot-scope="scope">
  899. {{ ((scope.row.refundableQty || 0) * (scope.row.singleDepositAmount || 0)) | numToFixed }}
  900. </template>
  901. </el-table-column>
  902. </el-table>
  903. </div>
  904. </div>
  905. </div>
  906. <div v-show="engineering == '直调发货'" class="zd">
  907. <div class="table" style="margin-top: 20px">
  908. <el-table :data="goodsList" element-loading-text="Loading" border fit highlight-current-row stripe>
  909. <el-table-column align="left" label="发货单" prop="id" min-width="160" show-overflow-tooltip>
  910. <template slot-scope="scope">
  911. <CopyButton :copy-text="scope.row.id" />
  912. <span>{{ scope.row.id }}</span>
  913. </template>
  914. </el-table-column>
  915. <el-table-column align="left" label="发货申请日期" prop="orderTime" min-width="160" show-overflow-tooltip />
  916. <el-table-column align="left" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip>
  917. <template slot-scope="scope">
  918. <CopyButton :copy-text="scope.row.materialName" />
  919. <span>{{ scope.row.materialName }}</span>
  920. </template>
  921. </el-table-column>
  922. <el-table-column align="left" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip>
  923. <template slot-scope="scope">
  924. <CopyButton :copy-text="scope.row.specification" />
  925. <span>{{ scope.row.specification }}</span>
  926. </template>
  927. </el-table-column>
  928. <el-table-column align="rihgt" label="单价" prop="price" min-width="160" show-overflow-tooltip>
  929. <template slot-scope="scope">
  930. {{ scope.row.price | numToFixed }}
  931. </template>
  932. </el-table-column>
  933. <el-table-column align="right" label="数量" prop="refundableQty" min-width="160" show-overflow-tooltip />
  934. <el-table-column
  935. align="right"
  936. label="押金金额"
  937. prop="totalDepositAmount"
  938. min-width="160"
  939. show-overflow-tooltip
  940. >
  941. <template slot-scope="scope">
  942. {{ ((scope.row.qty || 0) * (scope.row.singleDepositAmount || 0)) | numToFixed }}
  943. </template>
  944. </el-table-column>
  945. </el-table>
  946. </div>
  947. </div>
  948. <div v-show="engineering == '历史记录'">
  949. <h3>历史记录</h3>
  950. <el-divider />
  951. <!-- 列表 -->
  952. <div class="mymain-container">
  953. <div class="table">
  954. <el-table
  955. v-loading="listLoading"
  956. :data="details.checkRecordItems"
  957. element-loading-text="Loading"
  958. border
  959. fit
  960. highlight-current-row
  961. stripe
  962. >
  963. <el-table-column align="left" label="受理日期" prop="checkDate" min-width="160" show-overflow-tooltip />
  964. <el-table-column align="left" label="验收人" prop="checkName" min-width="160" show-overflow-tooltip />
  965. <el-table-column
  966. align="left"
  967. label="申请退押金备注
  968. "
  969. prop="applyNote"
  970. min-width="160"
  971. show-overflow-tooltip
  972. />
  973. <el-table-column
  974. align="left"
  975. label="验收说明
  976. "
  977. prop="checkNote"
  978. min-width="160"
  979. show-overflow-tooltip
  980. />
  981. <el-table-column
  982. align="left"
  983. label="是否退押
  984. "
  985. prop="checkNote"
  986. min-width="160"
  987. show-overflow-tooltip
  988. >
  989. <template slot-scope="scope">
  990. {{ scope.row.isRefundDeposit ? '是' : '否' }}
  991. </template>
  992. </el-table-column>
  993. <el-table-column
  994. align="left"
  995. label="提交人
  996. "
  997. prop="submitName"
  998. min-width="160"
  999. show-overflow-tooltip
  1000. />
  1001. <el-table-column align="left" label="提交时间" prop="submitTime" min-width="160" show-overflow-tooltip />
  1002. </el-table>
  1003. </div>
  1004. </div>
  1005. </div>
  1006. </div>
  1007. </template>
  1008. <script>
  1009. import { editInfo, geDetail, geOrderInfo, getListProject } from '@/api/engin_deposit.js'
  1010. import { getList } from '@/api/supply/adjust'
  1011. import { downloadFiles, downloadPdf } from '@/utils/util'
  1012. import { getFileUrl } from '@/api/common'
  1013. export default {
  1014. props: {
  1015. depositManageId: {
  1016. type: [String, Number],
  1017. default: null
  1018. },
  1019. refEnginRecordNo: {
  1020. type: [String, Number],
  1021. default: null
  1022. }
  1023. },
  1024. data() {
  1025. return {
  1026. isDis: true,
  1027. listLoading: false,
  1028. engineering: '工程押金信息',
  1029. dataList: [],
  1030. projectList: [],
  1031. details: {},
  1032. goodsList: [],
  1033. warehouseList: [],
  1034. positionList: [],
  1035. imageURL: this.$imageUrl,
  1036. deliverForm: {
  1037. date: '',
  1038. warehouse: '',
  1039. position: ''
  1040. },
  1041. deliverFormRules: {
  1042. date: [{ required: true, message: '请选择发货日期', trigger: 'change' }],
  1043. warehouse: [{ required: true, message: '请选择发货仓库', trigger: 'change' }],
  1044. position: [{ required: true, message: '请选择仓位', trigger: 'change' }]
  1045. },
  1046. orderType: {
  1047. TRADE: '商用',
  1048. HOME: '家用',
  1049. RETAIL: '零售单',
  1050. RETAIL_POLICY: '销售政策单'
  1051. },
  1052. amendData: [],
  1053. original: []
  1054. }
  1055. },
  1056. computed: {
  1057. isCustomer() {
  1058. return this.$store.getters.customerId && this.$store.getters.customerNumber
  1059. }
  1060. },
  1061. created() {
  1062. this.getDetail()
  1063. },
  1064. methods: {
  1065. getDetail() {
  1066. if (this.engineering == '工程押金信息') {
  1067. geDetail({ id: this.depositManageId }).then(res => {
  1068. if (res.data.dataList.length == 0) {
  1069. this.isDis = true
  1070. } else {
  1071. this.isDis = false
  1072. }
  1073. const arr = []
  1074. res.data.items.forEach(item => {
  1075. if (Number(item.qty) > 0) {
  1076. arr.push(item)
  1077. }
  1078. // item.number = (item.qty*100 - item.directTransferQty*100 - item.retiredQty*100) / 100;
  1079. item.sums1 = ['orderHasSendQty', 'dataQty', 'qty', 'hasSendQty', 'contractQty']
  1080. item.sums2 = ['totalAmount', 'diffAmount', 'price', 'depositAmount', 'contractPrice', 'contractAmount']
  1081. })
  1082. res.data.collectList.forEach(item => {
  1083. // item.number = (item.qty*100 - item.directTransferQty*100 - item.retiredQty*100) / 100;
  1084. item.sums1 = ['orderHasSendQty', 'dataQty', 'hasSendQty']
  1085. item.sums2 = [ 'price', 'refundDepositAmount', 'depositAmount']
  1086. })
  1087. res.data.items = arr
  1088. this.amendData = res.data.dataList.filter(k => k.dataPosition == 'AMEND')
  1089. this.original = res.data.dataList.filter(k => k.dataPosition != 'AMEND')
  1090. res.data.realUseUnit =res.data.realUseUnit || res.data.refUseUnit
  1091. res.data.realInstallAddress = res.data.realInstallAddress ||res.data.refInstallAddress
  1092. this.details = res.data
  1093. })
  1094. } else if (this.engineering == '工程订单信息') {
  1095. geOrderInfo({
  1096. refEnginRecordNo: this.refEnginRecordNo,
  1097. examineStatus: 'OK'
  1098. }).then(res => {
  1099. this.dataList = res.data
  1100. })
  1101. } else if (this.engineering == '直调发货') {
  1102. getListProject({
  1103. pageSize: -1,
  1104. pageNum: 1,
  1105. type: 3,
  1106. refEnginRecordNo: this.refEnginRecordNo
  1107. }).then(res => {
  1108. this.goodsList = res.data.records
  1109. })
  1110. } else {
  1111. getListProject({
  1112. pageSize: -1,
  1113. pageNum: 1,
  1114. refEnginRecordNo: this.refEnginRecordNo
  1115. }).then(res => {
  1116. this.projectList = res.data.records
  1117. })
  1118. }
  1119. },
  1120. // 批量下载
  1121. async batchDownloadFn() {
  1122. downloadFiles('deposit-manage/downZip', { parentId: this.depositManageId })
  1123. },
  1124. // 下载
  1125. downLoadFn(v, fileName) {
  1126. if (this.checkFileType(v) === 'pdf') {
  1127. downloadPdf(this.$imageUrl + v, fileName)
  1128. return
  1129. }
  1130. downloadFiles('common/file/getStream', { key: v, fileName: fileName })
  1131. // getFileUrl({ key: v }).then((res) => {
  1132. // window.open(res.data)
  1133. // })
  1134. },
  1135. openPdf(pdfUrl) {
  1136. window.open(this.$imageUrl + pdfUrl)
  1137. },
  1138. // 检查文件类型
  1139. checkFileType(url) {
  1140. if (!url) return ''
  1141. const fileSuffix = url.substring(url.lastIndexOf('.') + 1)
  1142. if (['jpg', 'jpeg', 'png'].includes(fileSuffix)) {
  1143. return 'image'
  1144. } else if (['doc', 'docx', 'dot', 'wps', 'wpt'].includes(fileSuffix)) {
  1145. return 'word'
  1146. } else if (['xls', 'xlsx', 'xlt', 'et', 'ett'].includes(fileSuffix)) {
  1147. return 'excel'
  1148. } else if (['ppt', 'pptx', 'dps', 'dpt', 'pot', 'pps'].includes(fileSuffix)) {
  1149. return 'ppt'
  1150. } else if (['pdf'].includes(fileSuffix)) {
  1151. return 'pdf'
  1152. } else if (['zip', 'rar', 'gz', 'apk'].includes(fileSuffix)) {
  1153. return 'file'
  1154. } else {
  1155. return ''
  1156. }
  1157. },
  1158. goBack() {
  1159. this.$emit('setShowPage', 1)
  1160. },
  1161. handleRadio(e) {
  1162. this.getDetail()
  1163. },
  1164. handleSvse() {
  1165. this.details.isRefundDeposit = this.details.isRefundDeposit == true
  1166. editInfo(this.details).then(res => {
  1167. this.$successMsg('编辑成功')
  1168. this.$emit('setShowPage', 1)
  1169. })
  1170. },
  1171. handleReset() {
  1172. this.$refs.form.resetFields()
  1173. }
  1174. }
  1175. }
  1176. </script>
  1177. <style scoped lang="scss">
  1178. .aaa {
  1179. height: 64px;
  1180. width: 64px;
  1181. }
  1182. .gdzl {
  1183. display: inline-block;
  1184. }
  1185. .batchDownload {
  1186. float: right;
  1187. margin-top: 9px;
  1188. }
  1189. ::v-deep .el-input__prefix {
  1190. display: none;
  1191. left: 65px !important;
  1192. -webkit-transition: all 0.3s;
  1193. transition: all 0.3s;
  1194. }
  1195. ::v-deep .el-date-editor.el-input {
  1196. width: 100%;
  1197. box-sizing: border-box;
  1198. padding-left: 10px;
  1199. }
  1200. .diy-table-1 {
  1201. ::v-deep .el-form-item {
  1202. margin: 0;
  1203. }
  1204. }
  1205. .zd {
  1206. ::v-deep .el-input__suffix {
  1207. right: 0;
  1208. -webkit-transition: all 0.3s;
  1209. transition: all 0.3s;
  1210. }
  1211. }
  1212. ::v-deep .el-input__suffix {
  1213. right: -15px;
  1214. -webkit-transition: all 0.3s;
  1215. transition: all 0.3s;
  1216. }
  1217. </style>