tranManagementWarehouseInOutTaskAudit.vue 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540
  1. // 审核出入库任务
  2. <template>
  3. <div class="container">
  4. <el-row>
  5. <el-col :span="12">
  6. <h2 class="bg-left title">审核出入库任务</h2>
  7. </el-col>
  8. <el-col :span="12" class="bg-right">
  9. <el-button class="bg-bottom" type="primary" size="small" @click="returnsales()">
  10. <img
  11. width="6"
  12. height="10"
  13. style="vertical-align: bottom; margin-right: 3px"
  14. src="../../../public/img/lujing.png"
  15. alt
  16. />返回
  17. </el-button>
  18. </el-col>
  19. </el-row>
  20. <div class="basicInformation">
  21. <div class="annu">
  22. <el-radio-group @change="tasktypechange" v-model="dataList.taskTypeKey"></el-radio-group>
  23. <div class="nav">
  24. <span class="ziti">
  25. 任务类型:
  26. <h1
  27. class="ziti1"
  28. v-show="dataList.inOutType == '移库入库'||dataList.inOutType == '移库出库'"
  29. >移库任务</h1>
  30. <h1
  31. class="ziti1"
  32. v-show="dataList.inOutType == '销售出库'||dataList.inOutType == '暂存出库'||dataList.inOutType == '贸易服务出库'||dataList.inOutType == '采购出库'"
  33. >出库任务</h1>
  34. <h1
  35. class="ziti1"
  36. v-show="dataList.inOutType == '采购入库'||dataList.inOutType == '暂存入库'||dataList.inOutType == '贸易服务入库'||dataList.inOutType == '退库'"
  37. >入库任务</h1>
  38. </span>
  39. </div>
  40. </div>
  41. <div class="ding"></div>
  42. <div v-if="dataList.taskTypeKey != 2 && dataList.taskTypeKey != 4" class="center1">
  43. <img
  44. style="position: relative; top: 40px; left: 300px"
  45. width="19"
  46. height="19"
  47. src="../../../public/img/cangku.png"
  48. alt
  49. />
  50. <!--出库=-->
  51. <div class="small-title">
  52. <h3>出库任务({{ dataList.inOutTaskNo }})</h3>
  53. </div>
  54. <el-form ref="dataList" :model="dataList" label-width="140px">
  55. <!-- 仓库名 -->
  56. <el-form-item label="仓库名">
  57. <el-select
  58. disabled
  59. v-model="dataList.warehouseName"
  60. placeholder="请选择仓库名"
  61. class="typeselect"
  62. @change="selectwarehouseName"
  63. >
  64. <el-option
  65. v-for="item in warehouseNameList"
  66. :key="item.constKey"
  67. :label="item.warehouseName"
  68. :value="item.warehouseName"
  69. />
  70. </el-select>
  71. </el-form-item>
  72. <!-- 出库类型 -->
  73. <el-form-item label="出库类型">
  74. <el-select
  75. disabled
  76. v-model="dataList.inOutType"
  77. placeholder="请选择出库类型"
  78. class="typeselect"
  79. @change="selectstorageType"
  80. >
  81. <el-option
  82. v-for="item in storageType"
  83. :key="item.constKey"
  84. v-if="
  85. (dataList.taskTypeKey == 1 &&
  86. item.constValue != '移库出库') ||
  87. (dataList.taskTypeKey == 3 &&
  88. item.constValue == '移库出库') ||
  89. (dataList.taskTypeKey == 4 && item.constValue == '销售出库')
  90. "
  91. :label="item.constValue"
  92. :value="item.constValue"
  93. />
  94. </el-select>
  95. </el-form-item>
  96. <!-- 合同编号 -->
  97. <el-form-item v-if="dataList.taskTypeKey != 3" label="合同编号">
  98. <el-select
  99. disabled
  100. @change="changecontract"
  101. v-model="dataList.contractNo"
  102. placeholder="请输入合同编号"
  103. class="typeselect"
  104. >
  105. <el-option
  106. v-for="item in contractNoList"
  107. :key="item.constKey"
  108. :label="item.contractNo"
  109. :value="item.contractNo"
  110. ></el-option>
  111. </el-select>
  112. </el-form-item>
  113. <el-form-item v-if="dataList.taskTypeKey == 3" label="移库任务编号">
  114. <el-select
  115. disabled
  116. @change="selectTaskNo"
  117. v-model="dataList.moveTaskNo"
  118. placeholder="请输入移库任务编号"
  119. class="typeselect"
  120. >
  121. <el-option
  122. v-for="item in contractNoList"
  123. :key="item.constKey"
  124. :label="item.contractNo"
  125. :value="item.contractNo"
  126. ></el-option>
  127. </el-select>
  128. </el-form-item>
  129. <!-- 货名 -->
  130. <el-form-item label="货名" class="huom">
  131. <el-select
  132. disabled
  133. v-model="dataList.goodsName"
  134. placeholder="货名"
  135. class="huom"
  136. @change="selectgoodsName"
  137. >
  138. <el-option
  139. v-for="item in goodnameList"
  140. :key="item.constKey"
  141. :label="item.constValue"
  142. :value="item.constValue"
  143. ></el-option>
  144. </el-select>
  145. </el-form-item>
  146. <!--重量(吨)-->
  147. <el-form-item label="重量(吨)" span="1" style="margin-left: 350px; margin-top: -40px">
  148. <el-input
  149. disabled
  150. v-model="dataList.weight"
  151. placeholder="请输入重量"
  152. maxlength="120"
  153. size="small"
  154. class="huom"
  155. />
  156. </el-form-item>
  157. <!-- 品级 -->
  158. <el-form-item label="品级">
  159. <el-select
  160. v-model="dataList.grade"
  161. placeholder
  162. class="typeselect"
  163. @change="selectpackingMethod"
  164. >
  165. <el-option
  166. v-for="item in gradeList"
  167. :key="item.constKey"
  168. :label="item.constValue"
  169. :value="item.constValue"
  170. />
  171. </el-select>
  172. </el-form-item>
  173. <!--容重(克/升)>=-->
  174. <el-form-item label="容重(克/升)>=">
  175. <el-input
  176. @input="bulkDensitychange"
  177. v-model="dataList.bulkDensity"
  178. placeholder="请输入容重"
  179. maxlength="120"
  180. size="small"
  181. class="huom"
  182. />
  183. </el-form-item>
  184. <!--水分(%)<=-->
  185. <el-form-item label="水分(%)<=" span="1" style="margin-left: 350px; margin-top: -40px">
  186. <el-input
  187. @input="waterContentchange"
  188. v-model="dataList.waterContent"
  189. placeholder="请输入水分占比"
  190. maxlength="120"
  191. size="small"
  192. class="huom"
  193. />
  194. </el-form-item>
  195. <!--单价(元/吨)-->
  196. <el-form-item label="单价(元/吨)" span="1" style="margin-left: 650px; margin-top: -40px">
  197. <el-input
  198. @input="unitPricechange"
  199. v-model="dataList.unitPrice"
  200. placeholder="请输入单价"
  201. maxlength="120"
  202. size="small"
  203. class="huom"
  204. />
  205. </el-form-item>
  206. <!--预计出库日期-->
  207. <el-form-item label="预计出库日期" span="1" prop="predictDate" class="deliverydate">
  208. <el-date-picker
  209. disabled
  210. v-model="dataList.predictDate"
  211. type="date"
  212. placeholder="请选择预计出库日期"
  213. value-format="yyyy-MM-dd"
  214. />
  215. </el-form-item>
  216. <!--经办人-->
  217. <el-form-item label="出库经办人">
  218. <el-select
  219. disabled
  220. v-model="dataList.agent"
  221. placeholder="请选择经办人"
  222. filterable
  223. :filter-method="dataFilter"
  224. @change="selectstaff"
  225. >
  226. <el-option
  227. v-for="item in options"
  228. :key="item.value"
  229. :label="item.staffName"
  230. :value="item.staffName"
  231. />
  232. </el-select>
  233. </el-form-item>
  234. <!--业务描述=-->
  235. <el-form-item v-if="dataList.taskTypeKey != 3" label="业务描述" span="1">
  236. <el-input
  237. v-model="dataList.businessDescribe"
  238. placeholder="请输入业务描述,不超过150字"
  239. maxlength="150"
  240. size="large"
  241. class="yewu"
  242. />
  243. </el-form-item>
  244. <el-form-item label="仓位号(选填)" span="1">
  245. <el-input
  246. v-model="dataList.binNumber"
  247. placeholder="请输入仓位号"
  248. maxlength="150"
  249. size="large"
  250. class="yewu"
  251. />
  252. </el-form-item>
  253. </el-form>
  254. </div>
  255. <div v-show="dataList.taskTypeKey != 1" class="center1">
  256. <img
  257. style="position: relative; top: 40px; left: 300px"
  258. width="19"
  259. height="19"
  260. src="../../../public/img/cangku.png"
  261. alt
  262. />
  263. <div class="small-title">
  264. <h3>
  265. 入库任务({{ dataList1.inOutTaskNo }})
  266. <span v-if="deletetask" style="color: red">已删除</span>
  267. </h3>
  268. </div>
  269. <el-form v-if="!deletetask" ref="form" :model="form" label-width="140px">
  270. <!-- 仓库名 -->
  271. <el-form-item label="仓库名" v-if="dataList1.inOutType == '移库入库'">
  272. <el-select
  273. disabled
  274. v-model="dataList1.warehouseName"
  275. placeholder="请选择仓库名"
  276. class="typeselect"
  277. >
  278. <el-option
  279. v-for="item in warehouseNameList"
  280. :key="item.constKey"
  281. :label="item.warehouseName"
  282. :value="item.warehouseName"
  283. />
  284. </el-select>
  285. </el-form-item>
  286. <!-- 出库类型 -->
  287. <el-form-item label="入库类型" v-if="dataList1.inOutType == '移库入库'">
  288. <el-select
  289. disabled
  290. v-model="dataList1.inOutType"
  291. placeholder="请选择入库类型"
  292. class="typeselect"
  293. @change="selectstorageType1"
  294. >
  295. <el-option
  296. v-for="item in storageType1"
  297. :key="item.constKey"
  298. v-if="
  299. (dataList1.taskTypeKey == 2 &&
  300. item.constValue != '移库入库') ||
  301. (dataList1.taskTypeKey == 3 &&
  302. item.constValue == '移库入库') ||
  303. (dataList1.taskTypeKey == 4 && item.constValue == '退库')
  304. "
  305. :label="item.constValue"
  306. :value="item.constValue"
  307. />
  308. </el-select>
  309. </el-form-item>
  310. <!-- 合同编号 -->
  311. <el-form-item v-if="dataList1.taskTypeKey != 3" label="合同编号">
  312. <el-select
  313. disabled
  314. @change="changecontract1"
  315. v-model="dataList1.contractNo"
  316. placeholder="请输入合同编号"
  317. class="typeselect"
  318. >
  319. <el-option
  320. v-for="item in contractNoList"
  321. :key="item.constKey"
  322. :label="item.contractNo"
  323. :value="item.contractNo"
  324. ></el-option>
  325. </el-select>
  326. </el-form-item>
  327. <el-form-item v-if="dataList1.taskTypeKey == 3" label="移库任务编号">
  328. <el-select
  329. disabled
  330. v-model="dataList1.moveTaskNo"
  331. placeholder="请输入移库任务编号"
  332. class="typeselect"
  333. >
  334. <el-option
  335. v-for="item in contractNoList"
  336. :key="item.constKey"
  337. :label="item.contractNo"
  338. :value="item.contractNo"
  339. ></el-option>
  340. </el-select>
  341. </el-form-item>
  342. <!-- 货名 -->
  343. <el-form-item label="货名" class="huom">
  344. <el-select
  345. disabled
  346. v-model="dataList1.goodsName"
  347. placeholder="货名"
  348. class="huom"
  349. @change="selectgoodsName1"
  350. >
  351. <el-option
  352. v-for="item in goodnameList"
  353. :key="item.constKey"
  354. :label="item.constValue"
  355. :value="item.constValue"
  356. ></el-option>
  357. </el-select>
  358. </el-form-item>
  359. <!--重量(吨)-->
  360. <el-form-item label="重量(吨)" span="1" style="margin-left: 350px; margin-top: -40px">
  361. <el-input
  362. @input="weightchange"
  363. v-model="dataList1.weight"
  364. placeholder="请输入重量"
  365. maxlength="120"
  366. size="small"
  367. class="huom"
  368. />
  369. </el-form-item>
  370. <!-- 品级 -->
  371. <el-form-item label="品级">
  372. <el-select
  373. :disabled="dataList.taskTypeKey == 3"
  374. v-model="dataList1.grade"
  375. placeholder
  376. class="typeselect"
  377. @change="selectpackingMethod1"
  378. >
  379. <el-option
  380. v-for="item in gradeList"
  381. :key="item.constKey"
  382. :label="item.constValue"
  383. :value="item.constValue"
  384. />
  385. </el-select>
  386. </el-form-item>
  387. <!--容重(克/升)>=-->
  388. <el-form-item label="容重(克/升)>=">
  389. <el-input
  390. @input="bulkDensitychange"
  391. :disabled="dataList.taskTypeKey == 3"
  392. v-model="dataList1.bulkDensity"
  393. placeholder="请输入容重"
  394. maxlength="120"
  395. size="small"
  396. class="huom"
  397. />
  398. </el-form-item>
  399. <!--水分(%)<=-->
  400. <el-form-item label="水分(%)<=" span="1" style="margin-left: 350px; margin-top: -40px">
  401. <el-input
  402. @input="waterContentchange"
  403. :disabled="dataList.taskTypeKey == 3"
  404. v-model="dataList1.waterContent"
  405. placeholder="请输入水分占比"
  406. maxlength="120"
  407. size="small"
  408. class="huom"
  409. />
  410. </el-form-item>
  411. <!--单价(元/吨)-->
  412. <el-form-item label="单价(元/吨)" span="1" style="margin-left: 650px; margin-top: -40px">
  413. <el-input
  414. @input="unitPricechange"
  415. :disabled="dataList.taskTypeKey == 3"
  416. v-model="dataList1.unitPrice"
  417. placeholder="请输入单价"
  418. maxlength="120"
  419. size="small"
  420. class="huom"
  421. />
  422. </el-form-item>
  423. <!--预计出库日期-->
  424. <el-form-item label="预计入库日期" span="1" prop="predictDate" class="deliverydate">
  425. <el-date-picker
  426. disabled
  427. v-model="dataList1.predictDate"
  428. type="date"
  429. placeholder="请选择预计入库日期"
  430. value-format="yyyy-MM-dd"
  431. />
  432. </el-form-item>
  433. <!--经办人-->
  434. <el-form-item label="入库经办人">
  435. <el-select
  436. disabled
  437. v-model="dataList1.agent"
  438. placeholder="请选择经办人"
  439. filterable
  440. :filter-method="dataFilter"
  441. @change="selectstaff1"
  442. >
  443. <el-option
  444. v-for="item in options"
  445. :key="item.value"
  446. :label="item.staffName"
  447. :value="item.staffName"
  448. />
  449. </el-select>
  450. </el-form-item>
  451. <!--业务描述=-->
  452. <el-form-item v-if="dataList.taskTypeKey != 4" label="业务描述">
  453. <el-input
  454. v-model="dataList1.businessDescribe"
  455. placeholder="请输入业务描述,不超过150字"
  456. maxlength="150"
  457. size="large"
  458. />
  459. </el-form-item>
  460. <el-form-item label="仓位号(选填)" span="1">
  461. <el-input
  462. v-model="dataList1.binNumber"
  463. placeholder="请输入仓位号"
  464. maxlength="150"
  465. size="large"
  466. class="yewu"
  467. />
  468. </el-form-item>
  469. </el-form>
  470. </div>
  471. <div v-if="dataList.taskTypeKey == 4" class="center1">
  472. <!--出库=-->
  473. <div class="small-title">
  474. <img
  475. style="position: relative; top: 40px; left: -22px"
  476. width="19"
  477. height="19"
  478. src="../../../public/img/cangku.png"
  479. alt
  480. />
  481. <h3>出库任务({{ inOutTaskNo }})</h3>
  482. </div>
  483. <el-form ref="dataList" :model="dataList" label-width="140px">
  484. <!-- 仓库名 -->
  485. <el-form-item label="仓库名">
  486. <el-select
  487. disabled
  488. v-model="dataList.warehouseName"
  489. placeholder="请选择仓库名"
  490. class="typeselect"
  491. >
  492. <el-option
  493. v-for="item in warehouseNameList"
  494. :key="item.constKey"
  495. :label="item.warehouseName"
  496. :value="item.warehouseName"
  497. />
  498. </el-select>
  499. </el-form-item>
  500. <!-- 出库类型 -->
  501. <el-form-item label="出库类型">
  502. <el-select
  503. :disabled="dataList.taskTypeKey == 3 || dataList.taskTypeKey == 4"
  504. v-model="dataList.inOutType"
  505. placeholder="请选择出库类型"
  506. class="typeselect"
  507. @change="selectstorageType"
  508. >
  509. <el-option
  510. v-for="item in storageType"
  511. :key="item.constKey"
  512. v-if="
  513. (dataList.taskTypeKey == 1 &&
  514. item.constValue != '移库出库') ||
  515. (dataList.taskTypeKey == 3 &&
  516. item.constValue == '移库出库') ||
  517. (dataList.taskTypeKey == 4 && item.constValue == '销售出库')
  518. "
  519. :label="item.constValue"
  520. :value="item.constValue"
  521. />
  522. </el-select>
  523. </el-form-item>
  524. <!-- 合同编号 -->
  525. <el-form-item v-if="dataList.taskTypeKey != 3" label="合同编号">
  526. <el-select
  527. disabled
  528. v-model="dataList.contractNo"
  529. placeholder="请输入合同编号"
  530. class="typeselect"
  531. >
  532. <el-option
  533. v-for="item in contractNoList"
  534. :key="item.constKey"
  535. :label="item.contractNo"
  536. :value="item.contractNo"
  537. ></el-option>
  538. </el-select>
  539. </el-form-item>
  540. <el-form-item v-if="dataList.taskTypeKey == 3" label="移库任务编号">
  541. <el-select
  542. @change="selectTaskNo"
  543. v-model="dataList.moveTaskNo"
  544. placeholder="请输入移库任务编号"
  545. class="typeselect"
  546. >
  547. <el-option
  548. v-for="item in contractNoList"
  549. :key="item.constKey"
  550. :label="item.contractNo"
  551. :value="item.contractNo"
  552. ></el-option>
  553. </el-select>
  554. </el-form-item>
  555. <!-- 货名 -->
  556. <el-form-item label="货名" class="huom">
  557. <el-select
  558. disabled
  559. v-model="dataList.goodsName"
  560. placeholder="货名"
  561. class="huom"
  562. @change="selectgoodsName"
  563. >
  564. <el-option
  565. v-for="item in goodnameList"
  566. :key="item.constKey"
  567. :label="item.constValue"
  568. :value="item.constValue"
  569. ></el-option>
  570. </el-select>
  571. </el-form-item>
  572. <!--重量(吨)-->
  573. <el-form-item label="重量(吨)" span="1" style="margin-left: 350px; margin-top: -40px">
  574. <el-input
  575. disabled
  576. v-model="dataList.weight"
  577. placeholder="请输入重量"
  578. maxlength="120"
  579. size="small"
  580. class="huom"
  581. />
  582. </el-form-item>
  583. <!-- 品级 -->
  584. <el-form-item label="品级">
  585. <el-select
  586. disabled
  587. v-model="dataList.grade"
  588. placeholder
  589. class="typeselect"
  590. @change="selectpackingMethod"
  591. >
  592. <el-option
  593. v-for="item in gradeList"
  594. :key="item.constKey"
  595. :label="item.constValue"
  596. :value="item.constValue"
  597. />
  598. </el-select>
  599. </el-form-item>
  600. <!--容重(克/升)>=-->
  601. <el-form-item label="容重(克/升)>=">
  602. <el-input
  603. disabled
  604. v-model="dataList.bulkDensity"
  605. placeholder="请输入容重"
  606. maxlength="120"
  607. size="small"
  608. class="huom"
  609. />
  610. </el-form-item>
  611. <!--水分(%)<=-->
  612. <el-form-item label="水分(%)<=" span="1" style="margin-left: 350px; margin-top: -40px">
  613. <el-input
  614. disabled
  615. v-model="dataList.waterContent"
  616. placeholder="请输入水分占比"
  617. maxlength="120"
  618. size="small"
  619. class="huom"
  620. />
  621. </el-form-item>
  622. <!--单价(元/吨)-->
  623. <el-form-item label="单价(元/吨)" span="1" style="margin-left: 650px; margin-top: -40px">
  624. <el-input
  625. disabled
  626. v-model="dataList.unitPrice"
  627. placeholder="请输入单价"
  628. maxlength="120"
  629. size="small"
  630. class="huom"
  631. />
  632. </el-form-item>
  633. <!--预计出库日期-->
  634. <el-form-item label="预计出库日期" span="1" prop="predictDate" class="deliverydate">
  635. <el-date-picker
  636. v-model="dataList.predictDate"
  637. type="date"
  638. placeholder="请选择预计出库日期"
  639. value-format="yyyy-MM-dd"
  640. />
  641. </el-form-item>
  642. <!--经办人-->
  643. <el-form-item label="出库经办人">
  644. <el-select
  645. v-model="dataList.agent"
  646. placeholder="请选择经办人"
  647. filterable
  648. :filter-method="dataFilter"
  649. @change="selectstaff"
  650. >
  651. <el-option
  652. v-for="item in options"
  653. :key="item.value"
  654. :label="item.staffName"
  655. :value="item.staffName"
  656. />
  657. </el-select>
  658. </el-form-item>
  659. <!--业务描述=-->
  660. <el-form-item label="业务描述">
  661. <el-input
  662. v-model="dataList.businessDescribe"
  663. placeholder="请输入业务描述,不超过150字"
  664. maxlength="150"
  665. size="large"
  666. />
  667. </el-form-item>
  668. </el-form>
  669. </div>
  670. </div>
  671. <!-- 提交 -->
  672. <div style="text-align: right; padding: 10px" class="center">
  673. <el-button class="bg-bottom" type="primary" size="small" @click="reject()">驳回</el-button>
  674. <el-button class="bg-bottom" type="primary" size="small" @click="submit()">通过</el-button>
  675. </div>
  676. <el-table class="wenzi" :data="taskhistories" style="width: 80%" height="180">
  677. <el-table-column prop="operatorMajorRoleName" label="审核人"></el-table-column>
  678. <el-table-column prop="inOutTaskNo" label="审核结果">
  679. <template scope="scope">
  680. <span v-if="scope.row.approved">通过</span>
  681. <span v-if="!scope.row.approved">驳回</span>
  682. </template>
  683. </el-table-column>
  684. <el-table-column prop="createTime" label="审核时间"></el-table-column>
  685. <el-table-column prop="auditMind" label="驳回原因"></el-table-column>
  686. </el-table>
  687. <WinseaContentModal v-model="outerVisible" title="驳回原因" @on-cancel="handleClose">
  688. <el-input
  689. type="textarea"
  690. :rows="2"
  691. maxlength="30"
  692. placeholder="请输入驳回原因,1~30个字"
  693. v-model="auditMind"
  694. ></el-input>
  695. <div class="dialog-footer">
  696. <el-button @click="outerVisible = false">取 消</el-button>
  697. <el-button type="primary" @click="disableReasons">确定</el-button>
  698. </div>
  699. </WinseaContentModal>
  700. </div>
  701. </template>
  702. <script>
  703. import {
  704. getwarehousename,
  705. xialaNo,
  706. outexamine,
  707. getGoodsName,
  708. warehousetask,
  709. woekflowhandle,
  710. gettaskhistories
  711. } from '@/model/tasksport/index'
  712. import { pullDown, getstaff } from '@/model/warehouse/index'
  713. import Pagination from '@/components/Pagination'
  714. import WsUpload from '@/components/WsUpload'
  715. // import { dayjs, fmoney, EventBus } from 'base-core-lib'
  716. import { dayjs, EventBus } from 'base-core-lib'
  717. import { mapGetters } from 'vuex'
  718. export default {
  719. name: 'viewSpareMoney',
  720. components: {
  721. WsUpload,
  722. Pagination
  723. },
  724. watch: {
  725. // vesselId(val) {
  726. // this.getList()
  727. // },
  728. isShow(val) {
  729. this.showType = val
  730. }
  731. },
  732. computed: {
  733. ...mapGetters(['deptBudgetList'])
  734. },
  735. data() {
  736. return {
  737. //弹出框
  738. dialogViewSpareMoney: false,
  739. dialogApproveFormVisible: false,
  740. // 船舶类型
  741. monetaryKey: null,
  742. // 表格显示数据
  743. tableDate: [],
  744. // 是否显示
  745. showType: true,
  746. disabled: false,
  747. // 年
  748. year: '',
  749. disableReason: '',
  750. contractNoList: [],
  751. deptBudgetTotal: 0,
  752. readonly: true,
  753. currentPage: 1,
  754. pageSize: 10,
  755. searchType: 1,
  756. searchKeyWord: '',
  757. radio: '1',
  758. contractType: 2,
  759. startDate: null,
  760. endDate: null,
  761. taskhistories: [],
  762. goodnameList: [],
  763. checked: true,
  764. form: {},
  765. outerVisible: false,
  766. staffList: [],
  767. options: [],
  768. storageType: [],
  769. storageType1: [],
  770. outContractNo: [],
  771. // 提交类型
  772. submitType: true,
  773. status: [],
  774. auditMind: '',
  775. deletetask: false,
  776. warehouseNameList: [],
  777. warehouseNameList1: [],
  778. appendixIdsAdd: '',
  779. uploadSuccess: {},
  780. warehouseInOutDetail: {},
  781. onChange: {},
  782. deptBudgetList1: [],
  783. gradeList: [],
  784. rules: {
  785. netWeight: [
  786. {
  787. required: true,
  788. type: 'number',
  789. message: '请输入活动名称',
  790. trigger: 'blur'
  791. }
  792. ]
  793. },
  794. size: 10,
  795. compId: sessionStorage.getItem('ws-pf_compId'),
  796. deptCircularPage: {},
  797. packtypeList: {},
  798. date: {
  799. year: dayjs().format('YYYY'),
  800. month: dayjs().format('MM')
  801. },
  802. contractList: [],
  803. inOutTaskNo: '',
  804. inOutTaskNo1: '',
  805. dataList: { taskTypeKey: '1' },
  806. dataList1: { taskTypeKey: '1' },
  807. historyList: [],
  808. pickerBeginDateBefore: {
  809. disabledDate: time => {
  810. return time.getTime() > Date.now()
  811. }
  812. },
  813. accessoryTFs: false
  814. }
  815. },
  816. activated() {
  817. this.getList()
  818. },
  819. methods: {
  820. //返回按钮
  821. revert() {
  822. this.$router.go(-1)
  823. },
  824. returnsales() {
  825. this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
  826. },
  827. // 获取当前年月日
  828. getdate() {
  829. var date = new Date()
  830. var year = date.getFullYear() //获取完整的年份(4位)
  831. var mouth = date.getMonth() + 1 //获取当前月份(0-11,0代表1月)
  832. var datetime = date.getDate() //获取当前日(1-31)
  833. if (mouth < 10) {
  834. mouth = '0' + mouth
  835. }
  836. if (datetime < 10) {
  837. datetime = '0' + datetime
  838. }
  839. return year + '' + mouth + datetime
  840. },
  841. reject() {
  842. this.outerVisible = true
  843. },
  844. // 随机验证码
  845. verifyinit() {
  846. var arr = []
  847. for (var i = 48; i < 123; i++) {
  848. if (i > 57 && i < 65) continue
  849. if (i > 90) continue
  850. arr.push(String.fromCharCode(i))
  851. }
  852. arr.sort(function() {
  853. return Math.random() - 0.5
  854. })
  855. arr.length = 4
  856. return arr.join('')
  857. },
  858. MathRand() {
  859. var Num = ''
  860. for (var i = 0; i < 4; i++) {
  861. Num += Math.floor(Math.random() * 10)
  862. }
  863. return Num
  864. },
  865. selectTaskNo(e) {
  866. if (this.dataList.taskTypeKey == 3) {
  867. this.dataList1.moveTaskNo = e
  868. }
  869. },
  870. dataFilter(val) {
  871. // console.log(val,"名")
  872. this.deptBudgetList.staffList = val
  873. if (val) {
  874. //val存在
  875. this.options = this.staffList.filter(item => {
  876. if (
  877. !!~item.staffName.indexOf(val) ||
  878. !!~item.staffName.toUpperCase().indexOf(val.toUpperCase())
  879. ) {
  880. return true
  881. }
  882. })
  883. } else {
  884. //val为空时,还原数组
  885. this.options = this.staffList
  886. }
  887. },
  888. weightchange(e) {
  889. if (this.dataList.taskTypeKey == 4) {
  890. this.$set(this.dataList, 'weight', e)
  891. }
  892. },
  893. bulkDensitychange(e) {
  894. if (this.dataList.taskTypeKey == 4) {
  895. this.$set(this.dataList, 'bulkDensity', e)
  896. } else if (this.dataList1.taskTypeKey == 3) {
  897. this.$set(this.dataList1, 'bulkDensity', e)
  898. }
  899. },
  900. waterContentchange(e) {
  901. if (this.dataList.taskTypeKey == 4) {
  902. this.$set(this.dataList, 'waterContent', e)
  903. } else if (this.dataList1.taskTypeKey == 3) {
  904. this.$set(this.dataList1, 'waterContent', e)
  905. }
  906. },
  907. unitPricechange(e) {
  908. if (this.dataList.taskTypeKey == 4) {
  909. this.$set(this.dataList, 'unitPrice', e)
  910. } else if (this.dataList1.taskTypeKey == 3) {
  911. this.$set(this.dataList1, 'unitPrice', e)
  912. }
  913. },
  914. changecontract(e) {
  915. if (this.dataList.taskTypeKey != 3) {
  916. for (let i = 0; i < this.contractNoList.length; i++) {
  917. if (this.contractNoList[i].contractNo == e) {
  918. getGoodsName({
  919. contractId: this.contractNoList[i].id,
  920. contractNo: this.contractNoList[i].contractNo
  921. })
  922. .toPromise()
  923. .then(response => {
  924. this.$set(this.dataList, 'goodsName', response.goodsName)
  925. this.$set(this.dataList, 'goodsNameKey', response.goodsNameKey)
  926. this.$set(this.dataList, 'grade', response.grade)
  927. this.$set(this.dataList, 'gradeKey', response.gradeKey)
  928. this.$set(this.dataList, 'waterContent', response.waterContent)
  929. this.$set(this.dataList, 'bulkDensity', response.bulkDensity)
  930. this.$set(this.dataList, 'weight', response.weight)
  931. this.$set(
  932. this.dataList,
  933. 'unitPrice',
  934. response.unitContractPrice
  935. )
  936. })
  937. }
  938. }
  939. }
  940. },
  941. changecontract1(e) {
  942. if (this.dataList1.taskTypeKey != 3) {
  943. for (let i = 0; i < this.contractNoList.length; i++) {
  944. if (this.contractNoList[i].contractNo == e) {
  945. getGoodsName({
  946. contractId: this.contractNoList[i].id,
  947. contractNo: this.contractNoList[i].contractNo
  948. })
  949. .toPromise()
  950. .then(response => {
  951. this.$set(this.dataList1, 'goodsName', response.goodsName)
  952. this.$set(this.dataList1, 'goodsNameKey', response.goodsNameKey)
  953. this.$set(this.dataList1, 'grade', response.grade)
  954. this.$set(this.dataList1, 'gradeKey', response.gradeKey)
  955. this.$set(this.dataList1, 'waterContent', response.waterContent)
  956. this.$set(this.dataList1, 'bulkDensity', response.bulkDensity)
  957. this.$set(this.dataList1, 'weight', response.weight)
  958. this.$set(
  959. this.dataList1,
  960. 'unitPrice',
  961. response.unitContractPrice
  962. )
  963. })
  964. }
  965. }
  966. }
  967. },
  968. selectstaff(e) {
  969. for (var i = 0; i < this.staffList.length; i++) {
  970. if (this.staffList[i].staffName == e) {
  971. this.dataList.agentKey = this.staffList[i].staffId
  972. }
  973. }
  974. },
  975. selectstaff1(e) {
  976. for (var i = 0; i < this.staffList.length; i++) {
  977. if (this.staffList[i].staffName == e) {
  978. this.dataList1.agentKey = this.staffList[i].staffId
  979. }
  980. }
  981. },
  982. requestadd(list, status) {
  983. list.compId = sessionStorage.getItem('ws-pf_compId')
  984. list.publisher =
  985. sessionStorage.getItem('ws-pf_roleName') +
  986. sessionStorage.getItem('ws-pf_staffName')
  987. warehousetask(list)
  988. .toPromise()
  989. .then(response => {
  990. woekflowhandle({
  991. taskId: list.taskId,
  992. approved: true,
  993. auditMind: '34',
  994. needReapply: false
  995. })
  996. .toPromise()
  997. .then(response => {
  998. this.$message.success('审核成功')
  999. this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
  1000. })
  1001. })
  1002. },
  1003. requestaudit(list, status) {
  1004. list.compId = sessionStorage.getItem('ws-pf_compId')
  1005. list.publisher =sessionStorage.getItem('ws-pf_roleName') + sessionStorage.getItem('ws-pf_staffName')
  1006. warehousetask(list)
  1007. .toPromise()
  1008. .then(response => {
  1009. woekflowhandle({
  1010. taskId: list.taskId,
  1011. approved: false,
  1012. auditMind: this.auditMind,
  1013. needReapply: true
  1014. })
  1015. .toPromise()
  1016. .then(response => {
  1017. this.$message.success('驳回成功')
  1018. this.$router.push({ path: 'tranManagementWarehouseInOuttask' })
  1019. })
  1020. })
  1021. },
  1022. //提交按钮
  1023. submit() {
  1024. this.dataList.inOutFlag = 1
  1025. this.dataList1.inOutFlag = 2
  1026. if (this.dataList.taskTypeKey == 1) {
  1027. this.requestadd(this.dataList)
  1028. } else if (this.dataList1.taskTypeKey == 2) {
  1029. this.requestadd(this.dataList1)
  1030. } else if (
  1031. this.dataList.taskTypeKey == 3 ||
  1032. this.dataList.taskTypeKey == 4
  1033. ) {
  1034. this.requestadd(this.dataList, 'repetition')
  1035. if (!this.deletetask) {
  1036. this.requestadd(this.dataList1, 'repetition')
  1037. }
  1038. }
  1039. },
  1040. disableReasons() {
  1041. this.dataList.inOutFlag = 1
  1042. this.dataList1.inOutFlag = 2
  1043. if (!this.auditMind) {
  1044. this.$message({
  1045. message: '驳回原因不能为空!',
  1046. type: 'warning'
  1047. })
  1048. return
  1049. }
  1050. if (this.dataList.taskTypeKey == 1) {
  1051. this.requestaudit(this.dataList)
  1052. } else if (this.dataList1.taskTypeKey == 2) {
  1053. this.requestaudit(this.dataList1)
  1054. } else if (
  1055. this.dataList.taskTypeKey == 3 ||
  1056. this.dataList.taskTypeKey == 4
  1057. ) {
  1058. this.requestaudit(this.dataList, 'repetition')
  1059. if (!this.deletetask) {
  1060. this.requestaudit(this.dataList1, 'repetition')
  1061. }
  1062. }
  1063. },
  1064. selectwarehouseName() {},
  1065. tarechange(e) {
  1066. if (this.dataList.grossWeight && this.dataList.tare) {
  1067. this.dataList.netWeight = Number(
  1068. this.dataList.grossWeight - this.dataList.tare
  1069. )
  1070. }
  1071. },
  1072. grossWeightchange(e) {
  1073. if (this.dataList.grossWeight && this.dataList.tare) {
  1074. this.dataList.netWeight = Number(
  1075. this.dataList.grossWeight - this.dataList.tare
  1076. )
  1077. }
  1078. },
  1079. selectgoodsName(e) {
  1080. for (var i = 0; i < this.goodnameList.length; i++) {
  1081. if (this.goodnameList[i].constValue == e) {
  1082. this.dataList.goodsNameKey = this.goodnameList[i].constKey
  1083. }
  1084. }
  1085. },
  1086. selectgoodsName1(e) {
  1087. for (var i = 0; i < this.goodnameList.length; i++) {
  1088. if (this.goodnameList[i].constValue == e) {
  1089. this.dataList1.goodsNameKey = this.goodnameList[i].constKey
  1090. }
  1091. }
  1092. },
  1093. selectpackingMethod(e) {
  1094. for (var i = 0; i < this.gradeList.length; i++) {
  1095. if (this.gradeList[i].constValue == e) {
  1096. this.dataList.gradeKey = this.gradeList[i].constKey
  1097. if (this.dataList.taskTypeKey == 3) {
  1098. this.$set(this.dataList1, 'grade', e)
  1099. this.$set(this.dataList1, 'gradeKey', this.gradeList[i].constKey)
  1100. }
  1101. }
  1102. }
  1103. },
  1104. selectpackingMethod1(e) {
  1105. for (var i = 0; i < this.gradeList.length; i++) {
  1106. if (this.gradeList[i].constValue == e) {
  1107. this.dataList1.packingMethodKey = this.gradeList[i].constKey
  1108. if (this.dataList1.taskTypeKey == 4) {
  1109. this.$set(this.dataList, 'grade', e)
  1110. this.$set(this.dataList, 'gradeKey', this.gradeList[i].constKey)
  1111. }
  1112. }
  1113. }
  1114. },
  1115. selectstorageType(e) {
  1116. for (var i = 0; i < this.storageType.length; i++) {
  1117. if (this.storageType[i].constValue == e) {
  1118. this.dataList.inOutTypeKey = this.storageType[i].constKey
  1119. }
  1120. }
  1121. },
  1122. selectstorageType1(e) {
  1123. for (var i = 0; i < this.storageType1.length; i++) {
  1124. if (this.storageType1[i].constValue == e) {
  1125. this.dataList1.inOutTypeKey = this.storageType1[i].constKey
  1126. }
  1127. }
  1128. },
  1129. handleClose() {
  1130. this.accessoryTFs = false
  1131. },
  1132. handleSizeChange(val) {
  1133. console.log(`每页 ${val} 条`)
  1134. this.pageSize = val
  1135. this.getList()
  1136. },
  1137. businessDescriptionchange(e) {
  1138. console.log(e)
  1139. },
  1140. handleCurrentChange(val) {
  1141. this.currentPage = val
  1142. console.log(`当前页: ${val}`)
  1143. this.getList()
  1144. },
  1145. tasknumber() {
  1146. if (this.dataList.taskTypeKey == 1) {
  1147. this.inOutTaskNo = 'CK' + this.getdate() + this.MathRand()
  1148. } else if (this.dataList.taskTypeKey == 2) {
  1149. this.inOutTaskNo1 = 'RK' + this.getdate() + this.MathRand()
  1150. } else if (this.dataList.taskTypeKey == 3) {
  1151. var random = this.getdate() + this.MathRand()
  1152. this.inOutTaskNo = 'YKC' + random
  1153. this.inOutTaskNo1 = 'YKR' + random
  1154. } else if (this.dataList.taskTypeKey == 4) {
  1155. var random = this.getdate() + this.MathRand()
  1156. this.inOutTaskNo = 'TCC' + random
  1157. this.inOutTaskNo1 = 'TCR' + random
  1158. }
  1159. },
  1160. tasktypechange(e) {
  1161. if (!this.$route.query.relevanceId) {
  1162. this.tasknumber()
  1163. }
  1164. this.dataList1.taskTypeKey = e
  1165. if (this.dataList.taskTypeKey == 1) {
  1166. this.dataList.inOutType = '销售出库'
  1167. this.dataList.inOutTypeKey = '1'
  1168. }
  1169. if (this.dataList1.taskTypeKey == 2) {
  1170. this.dataList1.inOutType = '采购入库'
  1171. this.dataList1.inOutTypeKey = '1'
  1172. } else if (this.dataList1.taskTypeKey == 3) {
  1173. this.disabled = true
  1174. this.dataList1.inOutType = '移库入库'
  1175. this.dataList1.inOutTypeKey = '3'
  1176. this.dataList.inOutType = '移库出库'
  1177. this.dataList.inOutTypeKey = '3'
  1178. } else if (this.dataList1.taskTypeKey == 4) {
  1179. this.disabled = true
  1180. this.dataList1.inOutType = '退库'
  1181. this.dataList1.inOutTypeKey = '6'
  1182. this.dataList.inOutType = '销售出库'
  1183. this.dataList.inOutTypeKey = '1'
  1184. }
  1185. },
  1186. GetRandomNum(Min, Max) {
  1187. var Range = Max - Min
  1188. var Rand = Math.random()
  1189. return Min + Math.round(Rand * Range)
  1190. },
  1191. getList() {
  1192. gettaskhistories({
  1193. businessKey: this.$route.query.businessKey,
  1194. workflowId: this.$route.query.workflowId
  1195. })
  1196. .toPromise()
  1197. .then(response => {
  1198. this.taskhistories = response
  1199. })
  1200. if (this.$route.query.relevanceId) {
  1201. outexamine({ relevanceId: this.$route.query.relevanceId })
  1202. .toPromise()
  1203. .then(response => {
  1204. if (response.length > 1) {
  1205. if (response[0].taskTypeKey == 3) {
  1206. if (response[0].inOutType == '移库出库') {
  1207. this.dataList = response[0]
  1208. this.dataList1 = response[1]
  1209. } else {
  1210. this.dataList = response[1]
  1211. this.dataList1 = response[0]
  1212. }
  1213. }
  1214. } else {
  1215. if (response[0].taskTypeKey == 3) {
  1216. this.deletetask = true
  1217. this.dataList1.inOutTaskNo =
  1218. 'YKR' +
  1219. response[0].inOutTaskNo.substr(
  1220. response[0].inOutTaskNo.indexOf('C') + 1,
  1221. response[0].inOutTaskNo.length
  1222. )
  1223. } else if (response[0].taskTypeKey == 2) {
  1224. this.dataList1 = response[0]
  1225. }
  1226. this.dataList = response[0]
  1227. }
  1228. })
  1229. } else {
  1230. this.tasknumber()
  1231. this.$set(this.dataList, 'inOutType', '销售出库')
  1232. this.$set(this.dataList, 'inOutTypeKey', '1')
  1233. this.$set(this.dataList, 'goodsName', '玉米')
  1234. this.$set(this.dataList, 'goodsNameKey', '1')
  1235. this.$set(this.dataList, 'grade', '一等品')
  1236. this.$set(this.dataList, 'gradeKey', '1')
  1237. this.$set(this.dataList1, 'goodsName', '玉米')
  1238. this.$set(this.dataList1, 'goodsNameKey', '1')
  1239. this.$set(this.dataList1, 'grade', '一等品')
  1240. this.$set(this.dataList1, 'gradeKey', '1')
  1241. }
  1242. // 货名
  1243. pullDown({ constId: 'CON2' })
  1244. .toPromise()
  1245. .then(response => {
  1246. this.goodnameList = response
  1247. })
  1248. // 品级
  1249. pullDown({ constId: 'CON3' })
  1250. .toPromise()
  1251. .then(response => {
  1252. this.gradeList = response
  1253. })
  1254. pullDown({ constId: 'CON6' })
  1255. .toPromise()
  1256. .then(response => {
  1257. this.storageType = response
  1258. })
  1259. pullDown({ constId: 'CON5' })
  1260. .toPromise()
  1261. .then(response => {
  1262. this.storageType1 = response
  1263. })
  1264. xialaNo({
  1265. compId: this.compId
  1266. })
  1267. .toPromise()
  1268. .then(response => {
  1269. this.contractNoList = response
  1270. })
  1271. //仓库名
  1272. getwarehousename({
  1273. compId: this.compId,
  1274. warehouseType: 1
  1275. })
  1276. .toPromise()
  1277. .then(response => {
  1278. this.warehouseNameList = response
  1279. })
  1280. getwarehousename({
  1281. compId: this.compId,
  1282. warehouseType: 2
  1283. })
  1284. .toPromise()
  1285. .then(response => {
  1286. this.warehouseNameList1 = response
  1287. })
  1288. //经办人
  1289. getstaff({ compId: sessionStorage.getItem('ws-pf_compId') })
  1290. .toPromise()
  1291. .then(response => {
  1292. this.options = response
  1293. this.staffList = response
  1294. // this.agent = response
  1295. })
  1296. },
  1297. selecttaskType(e) {
  1298. for (var i = 0; i < this.taskTypeList.length; i++) {
  1299. if (this.taskTypeList[i].value == e) {
  1300. this.searchType = this.taskTypeList[i].type
  1301. }
  1302. }
  1303. },
  1304. fujian(row) {
  1305. if (
  1306. row.receiveAttachmentPath === null ||
  1307. row.receiveAttachmentPath === ''
  1308. ) {
  1309. EventBus.$emit(
  1310. 'warning',
  1311. this.$t('system.noticeCircular.NoInformation')
  1312. )
  1313. } else {
  1314. this.accessoryTFs = true
  1315. }
  1316. this.appendixIdss = row.receiveAttachmentPath
  1317. },
  1318. handleExamine(row) {
  1319. this.$router.push({
  1320. name: 'salesContractExamine',
  1321. query: { id: row.id }
  1322. })
  1323. },
  1324. // 关闭 dialog时 处理文件url 初始化upload组件
  1325. handleCloe() {
  1326. this.dialogViewSpareMoney = false
  1327. },
  1328. history(row) {
  1329. console.log(row)
  1330. billoperatehis({ id: row.id })
  1331. .toPromise()
  1332. .then(response => {
  1333. this.historyList = response
  1334. })
  1335. }
  1336. }
  1337. }
  1338. </script>
  1339. <style lang="scss" scoped>
  1340. /deep/.basicInformation {
  1341. .el-info-table {
  1342. border: none;
  1343. position: relative;
  1344. }
  1345. .el-form-item {
  1346. width: 33.3333%;
  1347. border: none;
  1348. margin: 0;
  1349. .el-form-item__label {
  1350. text-align: left;
  1351. font-size: 14px;
  1352. font-family: PingFangSC-Regular, PingFang SC;
  1353. font-weight: 400;
  1354. color: #8890b1;
  1355. }
  1356. .el-form-item__content {
  1357. padding-left: 0px;
  1358. padding-right: 10px;
  1359. // background: #fff;
  1360. white-space: nowrap;
  1361. height: 40px;
  1362. display: flex;
  1363. -webkit-box-align: center;
  1364. align-items: center;
  1365. text-align: left;
  1366. overflow: hidden;
  1367. }
  1368. }
  1369. }
  1370. /deep/.el-radio {
  1371. color: #606266;
  1372. font-weight: 500;
  1373. line-height: 1;
  1374. cursor: pointer;
  1375. white-space: nowrap;
  1376. outline: 0;
  1377. margin-right: 30px;
  1378. margin-top: 15px;
  1379. }
  1380. /deep/.el-radio__inner {
  1381. border: 1px solid #dcdfe6;
  1382. border-radius: 100%;
  1383. width: 14px;
  1384. height: 14px;
  1385. background-color: #fff;
  1386. cursor: pointer;
  1387. -webkit-box-sizing: border-box;
  1388. box-sizing: border-box;
  1389. margin-left: 100px;
  1390. }
  1391. /deep/.el-radio__input {
  1392. white-space: nowrap;
  1393. cursor: pointer;
  1394. outline: 0;
  1395. line-height: 1;
  1396. vertical-align: middle;
  1397. margin-top: -1px;
  1398. }
  1399. .title {
  1400. position: relative;
  1401. padding-left: 10px;
  1402. }
  1403. .title::before {
  1404. content: '';
  1405. display: inline-block;
  1406. width: 5px;
  1407. height: 30px;
  1408. background: #5473e8;
  1409. position: absolute;
  1410. left: 0;
  1411. }
  1412. .el-form {
  1413. padding: 0 15%;
  1414. display: flex;
  1415. flex-wrap: wrap;
  1416. margin-left: -50px;
  1417. margin-top: 15px;
  1418. width: 110%;
  1419. }
  1420. .el-button--primary {
  1421. background-color: #5878e8;
  1422. border-color: #5878e8;
  1423. }
  1424. .el-col {
  1425. background: #f6f7fc;
  1426. }
  1427. .bg-right {
  1428. text-align: right;
  1429. padding: 16px 20px;
  1430. }
  1431. .center {
  1432. height: 100px;
  1433. margin: 10px auto;
  1434. margin-right: 180px;
  1435. }
  1436. /deep/.el-form-item__label {
  1437. width: 160px;
  1438. }
  1439. .inspector {
  1440. width: 50%;
  1441. }
  1442. /deep/.el-form-item--small .el-form-item__label,
  1443. .el-form-item--small .el-form-item__content {
  1444. text-align: left;
  1445. }
  1446. /deep/.el-input--small {
  1447. font-size: 13px;
  1448. position: relative;
  1449. display: inline-block;
  1450. }
  1451. .center1 .small-title {
  1452. margin-left: 323px;
  1453. }
  1454. .center1 {
  1455. width: 90%;
  1456. margin: 0 auto;
  1457. margin-left: 10px;
  1458. margin-top: 25px;
  1459. }
  1460. /deep/.el-input--small .el-input__inner {
  1461. height: 32px;
  1462. line-height: 32px;
  1463. }
  1464. /deep/.el-select {
  1465. display: inline-block;
  1466. position: relative;
  1467. width: 100%;
  1468. }
  1469. .annu {
  1470. height: 81px;
  1471. background: #ffffff;
  1472. border-radius: 4px;
  1473. }
  1474. .basicInformation .el-form-item {
  1475. width: 50.3333%;
  1476. border: none;
  1477. margin: 0;
  1478. }
  1479. .huom {
  1480. width: 100px;
  1481. }
  1482. .el-form {
  1483. font-size: 14px;
  1484. font-family: PingFangSC-Regular, PingFang SC;
  1485. font-weight: 400;
  1486. color: #8890b1;
  1487. line-height: 16px;
  1488. margin-left: 130px;
  1489. }
  1490. .a {
  1491. margin-left: -32px;
  1492. }
  1493. .el-radio-group {
  1494. margin-left: 80px;
  1495. }
  1496. .ding {
  1497. height: 23px;
  1498. background: #e8ecf6;
  1499. box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
  1500. }
  1501. .ziti {
  1502. width: 72px;
  1503. height: 20px;
  1504. font-size: 14px;
  1505. font-family: PingFangSC-Regular, PingFang SC;
  1506. font-weight: 400;
  1507. color: #8890b1;
  1508. line-height: 20px;
  1509. margin-left: 310px;
  1510. /* margin-top: 112px; */
  1511. }
  1512. .ziti1 {
  1513. width: 100px;
  1514. font-size: 16px;
  1515. font-family: PingFangSC-Medium, PingFang SC;
  1516. font-weight: 500;
  1517. color: #262626;
  1518. line-height: 22px;
  1519. margin-left: 381px;
  1520. margin-top: -21px;
  1521. }
  1522. .winseaview-view {
  1523. padding: 0 0 20px;
  1524. }
  1525. .container {
  1526. overflow: scroll;
  1527. height: 93vh;
  1528. }
  1529. .nav {
  1530. width: 381px;
  1531. height: 20px;
  1532. }
  1533. .wenzi {
  1534. margin: 0 auto;
  1535. }
  1536. </style>