tranManagementWarehouseInOutTaskEdit.vue 44 KB

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