tranManagementWarehouseInOutTaskAdd.vue 44 KB

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