tranManagementWarehouseInOutTaskEdit.vue 44 KB

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