warehouseManagementNoWeightOut.vue 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388
  1. // 完善出库信息
  2. <template>
  3. <div class="container">
  4. <el-row>
  5. <el-col :span="20">
  6. <h2 class="bg-left title">出库毛重检斤</h2>
  7. </el-col>
  8. <el-col :span="4" class="bg-right">
  9. <el-button
  10. class="bg-bottom"
  11. type="primary"
  12. size="small"
  13. @click="revert()"
  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. <ws-form ref="dataList" :model="dataList" :rules="rules">
  25. <div class="basicInformation">
  26. <h2>
  27. {{ this.deptBudgetList1.warehouseName }}库
  28. <span class="position" v-show="this.$route.query.warehouseType == 1">
  29. {{ this.deptBudgetList1.binNumber }}仓位
  30. </span>
  31. <span v-show="this.$route.query.warehouseType == 2"> (临) </span>
  32. </h2>
  33. <div class="small-title">基本信息</div>
  34. <ws-info-table>
  35. <!--任务编号-->
  36. <ws-form-item label="任务编号" span="1" prop="inOutTaskNo">
  37. <el-select
  38. filterable
  39. clearable
  40. v-model="dataList.inOutTaskNo"
  41. placeholder="请选择任务编号"
  42. class="typeselect"
  43. @change="contractNoChange"
  44. >
  45. <el-option
  46. v-for="item in deptBudgetList2"
  47. :key="item.inOutTaskNo"
  48. :label="item.inOutTaskNo"
  49. :value="item.inOutTaskNo"
  50. />
  51. </el-select>
  52. </ws-form-item>
  53. <ws-form-item label="合同编号" span="1" prop="contractNo">
  54. <ws-select
  55. v-model="dataList.contractNo"
  56. placeholder="请选择合同编号或移库任务编号"
  57. class="typeselect"
  58. @change='contractNoChange'
  59. >
  60. <ws-option
  61. v-for="item in outContractNo"
  62. :key="item.constKey"
  63. :label="item.contractNo"
  64. :value="item.contractNo"
  65. />
  66. </ws-select>
  67. </ws-form-item>
  68. <!-- 货名 -->
  69. <ws-form-item label="货名" span="1">
  70. <ws-select
  71. disabled
  72. v-model="dataList.goodsName"
  73. placeholder
  74. class="typeselect"
  75. @change="selectgoodsName"
  76. >
  77. <ws-option
  78. v-for="item in goodnameList"
  79. :key="item.constKey"
  80. :label="item.constValue"
  81. :value="item.constValue"
  82. />
  83. </ws-select>
  84. </ws-form-item>
  85. <ws-form-item label="类型" span="1" prop="type">
  86. <ws-select v-model="dataList.type" @change="typeChange">
  87. <ws-option v-for="item in typeList" :key="item" :label="item" :value="item" />
  88. </ws-select>
  89. </ws-form-item>
  90. <!--毛重(公斤)-->
  91. <ws-form-item label="毛重(公斤)" span="1" prop="grossWeight">
  92. <ws-input
  93. :disabled="allowEdit"
  94. @input="grossWeightchange"
  95. v-model="dataList.grossWeight"
  96. placeholder="请输入毛重"
  97. maxlength="20"
  98. size="small"
  99. />
  100. <el-button type="primary" @click="openPort">重新获取</el-button>
  101. </ws-form-item>
  102. <!--皮重(公斤)-->
  103. <ws-form-item label="皮重(公斤)" span="1" prop="tare" class="readonly">
  104. <ws-input
  105. :disabled="allowEdit"
  106. @input="tarechange"
  107. v-model="dataList.tare"
  108. placeholder="请输入皮重"
  109. maxlength="100"
  110. size="small"
  111. />
  112. </ws-form-item>
  113. <!--净重(公斤)-->
  114. <ws-form-item label="净重(公斤)" span="1" prop="netWeight">
  115. <ws-input
  116. readonly="readonly"
  117. v-model="dataList.netWeight"
  118. placeholder="不可编辑,自动计算"
  119. maxlength="120"
  120. size="small"
  121. />
  122. </ws-form-item>
  123. <ws-form-item v-if='dataList.type=="潮粮"' label="扣重比" span="1" prop="buckleWeightRatio" class="readonly">
  124. <ws-input
  125. @input='pureweight'
  126. v-model="dataList.buckleWeightRatio"
  127. placeholder="请输入扣重比"
  128. maxlength="100"
  129. size="small"
  130. />
  131. </ws-form-item>
  132. <ws-form-item v-if='dataList.type=="潮粮"' label="干粮水分占比" span="1" prop="solidGrainWater" class="readonly">
  133. <ws-input
  134. @input='pureweight'
  135. v-model="dataList.solidGrainWater"
  136. placeholder="请输入干粮水分占比"
  137. maxlength="100"
  138. size="small"
  139. />
  140. </ws-form-item>
  141. <ws-form-item v-if='dataList.type=="潮粮"' label="潮粮水分占比" span="1" prop="tidalGrainWater" class="readonly">
  142. <ws-input
  143. @input='pureweight'
  144. v-model="dataList.tidalGrainWater"
  145. placeholder="请输入潮粮水分占比"
  146. maxlength="100"
  147. size="small"
  148. />
  149. </ws-form-item>
  150. <ws-form-item v-if='dataList.type=="潮粮"' label="纯重" span="1" prop="pureWeight" class="readonly">
  151. <ws-input
  152. disabled
  153. v-model="dataList.pureWeight"
  154. placeholder="不可编辑,自动计算"
  155. maxlength="100"
  156. size="small"
  157. />
  158. </ws-form-item>
  159. <!-- 品级 -->
  160. <ws-form-item label="品级" span="1" class="readonly">
  161. <ws-select
  162. v-model="dataList.grade"
  163. placeholder=""
  164. class="typeselect"
  165. @change="selectpackingMethod"
  166. >
  167. <ws-option
  168. v-for="item in gradeList"
  169. :key="item.constKey"
  170. :label="item.constValue"
  171. :value="item.constValue"
  172. />
  173. </ws-select>
  174. </ws-form-item>
  175. <!--经办人-->
  176. <ws-form-item label="经办人" span="1" prop="agent">
  177. <el-select
  178. v-model="dataList.agent"
  179. placeholder="请选择经办人"
  180. filterable
  181. clearable
  182. @change="selectstaff"
  183. >
  184. <el-option
  185. v-for="item in options"
  186. :key="item.value"
  187. :label="item.staffName"
  188. :value="item.staffName"
  189. />
  190. </el-select>
  191. </ws-form-item>
  192. <!--出库日期-->
  193. <ws-form-item
  194. label="出库日期"
  195. span="1"
  196. prop="inOutDate"
  197. class="deliverydate"
  198. >
  199. <ws-date-picker
  200. v-model="dataList.inOutDate"
  201. type="date"
  202. placeholder="请选择出库日期"
  203. value-format="yyyy-MM-dd"
  204. />
  205. </ws-form-item>
  206. <!-- 出库类型 -->
  207. <ws-form-item label="出库类型" span="1">
  208. <ws-select
  209. v-model="dataList.inOutType"
  210. placeholder=""
  211. class="typeselect"
  212. @change="selectstorageType"
  213. >
  214. <ws-option
  215. v-for="item in deliveryType"
  216. :key="item.constKey"
  217. :label="item.constValue"
  218. :value="item.constValue"
  219. />
  220. </ws-select>
  221. </ws-form-item>
  222. <!--车牌号-->
  223. <ws-form-item label="车牌号" span="1" prop="carNo">
  224. <ws-input
  225. v-if="!carstatus"
  226. v-model="dataList.carNo"
  227. placeholder="请输入车牌号"
  228. maxlength="20"
  229. size="small"
  230. />
  231. <el-select
  232. v-if="carstatus"
  233. filterable
  234. clearable
  235. :filter-method="dataFilter2"
  236. v-model="deptBudgetList.carNo"
  237. placeholder="请选择车牌号"
  238. class="typeselect"
  239. @change="carChange"
  240. >
  241. <el-option
  242. v-for="item in options2"
  243. :key="item.constKey"
  244. :label="item.carNo + '(' + item.tranCarNo + ')'"
  245. :value="item.carNo"
  246. />
  247. </el-select>
  248. </ws-form-item>
  249. </ws-info-table>
  250. </div>
  251. <!-- <div class="small-title">上传磅单照片</div>
  252. <el-upload
  253. action="https://www.zthymaoyi.com/upload/admin"
  254. :show-file-list="false"
  255. :on-success="
  256. (res) => {
  257. uploadSuccessHandle1(res)
  258. }
  259. "
  260. class="avatar-uploader"
  261. accept=".jpg, .jpeg, .png, .gif"
  262. ><el-button size="small" type="primary">点击上传</el-button>
  263. </el-upload>
  264. <div v-if='dataList.addressUrl!=""'>
  265. <img style='width:100px;height:100px;' :src="dataList.addressUrl" alt="">
  266. </div> -->
  267. <div class="small-title">化验数据(选填)</div>
  268. <div class="inspector">
  269. <!--质检员-->
  270. <!-- <ws-form-item label="质检员" span="1" prop="qualityInspector">
  271. <ws-input
  272. v-model="dataList.warehouseInOutDetail.qualityInspector"
  273. placeholder="请输入质检员姓名"
  274. maxlength="120"
  275. size="small"
  276. />
  277. </ws-form-item> -->
  278. <ws-form-item label="质检员" span="1" prop="qualityInspector">
  279. <el-select
  280. v-model="dataList.warehouseInOutDetail.qualityInspector"
  281. placeholder="请选择质检员"
  282. filterable
  283. clearable
  284. >
  285. <el-option
  286. v-for="item in qualityInspectorList"
  287. :key="item.value"
  288. :label="item.staffName"
  289. :value="item.staffName"
  290. />
  291. </el-select>
  292. </ws-form-item>
  293. </div>
  294. <div class="neifor">
  295. <ws-info-table>
  296. <!--水分(%)<=-->
  297. <ws-form-item label="水分(%)<=" span="1" prop="waterContent">
  298. <ws-input
  299. v-model="dataList.warehouseInOutDetail.waterContent"
  300. placeholder="请输入水分占比"
  301. maxlength="120"
  302. size="small"
  303. />
  304. </ws-form-item>
  305. <!--杂质(%)<=-->
  306. <ws-form-item label="杂质(%)<=" span="1" prop="impurity">
  307. <ws-input
  308. v-model="dataList.warehouseInOutDetail.impurity"
  309. placeholder="请输入杂质占比"
  310. maxlength="120"
  311. size="small"
  312. />
  313. </ws-form-item>
  314. <!--容重(克/升)>=-->
  315. <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
  316. <ws-input
  317. v-model="dataList.warehouseInOutDetail.bulkDensity"
  318. placeholder="请输入容重"
  319. maxlength="120"
  320. size="small"
  321. />
  322. </ws-form-item>
  323. <!--霉变粒(%)<=-->
  324. <ws-form-item label="霉变粒(%)<=" span="1" prop="mildewGrain">
  325. <ws-input
  326. v-model="dataList.warehouseInOutDetail.mildewGrain"
  327. placeholder="请输入霉变粒占比"
  328. maxlength="120"
  329. size="small"
  330. />
  331. </ws-form-item>
  332. <!--热损伤(%)<=-->
  333. <ws-form-item label="热损伤(%)<=" span="1" prop="jiaorenli">
  334. <ws-input
  335. v-model="dataList.warehouseInOutDetail.jiaorenli"
  336. placeholder="请输入热损伤占比"
  337. maxlength="120"
  338. size="small"
  339. />
  340. </ws-form-item>
  341. <!--不完善粒(%)<=-->
  342. <ws-form-item label="不完善粒(%)<=" span="1" prop="imperfectGrain">
  343. <ws-input
  344. v-model="dataList.warehouseInOutDetail.imperfectGrain"
  345. placeholder="请输入不完善粒占比"
  346. maxlength="120"
  347. size="small"
  348. />
  349. </ws-form-item>
  350. </ws-info-table>
  351. </div>
  352. <div style="text-align: right; padding: 10px">
  353. <!-- <el-button
  354. class="bg-bottom-up"
  355. type="primary"
  356. size="small"
  357. @click="temporaryStorage()"
  358. >暂存</el-button
  359. > -->
  360. <el-button
  361. class="bg-bottom-up"
  362. type="primary"
  363. size="small"
  364. @click="submit()"
  365. >提交</el-button
  366. >
  367. </div>
  368. </ws-form>
  369. </div>
  370. </template>
  371. <script>
  372. import {
  373. pullDown,
  374. addstorageputList,
  375. xialaNo,
  376. getstaff,
  377. getPrintInfo,
  378. getReceiptTaskNo
  379. } from '@/model/warehouse/index'
  380. import { downloadFile } from '@/utils/batchDown'
  381. import Pagination from '@/components/Pagination'
  382. import WsUpload from '@/components/WsUpload'
  383. import { mapActions, mapGetters, mapState } from 'vuex'
  384. // import { dayjs, fmoney, EventBus } from 'base-core-lib'
  385. import { dayjs, EventBus } from 'base-core-lib'
  386. export default {
  387. name: 'viewSpareMoney',
  388. components: {
  389. WsUpload,
  390. Pagination,
  391. },
  392. watch: {
  393. isShow(val) {
  394. this.showType = val
  395. },
  396. dataList:{//深度监听,可监听到对象、数组的变化
  397. handler(val, oldVal){
  398. if(val.grossWeight){
  399. this.dataList.netWeight = val.grossWeight - this.dataList.tare
  400. }
  401. },
  402. deep:true //true 深度监听
  403. }
  404. },
  405. computed: {
  406. ...mapGetters(['deptBudgetList']),
  407. },
  408. data() {
  409. return {
  410. deptBudgetList2:[],
  411. //弹出框
  412. dialogViewSpareMoney: false,
  413. dialogApproveFormVisible: false,
  414. // 船舶类型
  415. monetaryKey: null,
  416. // 表格显示数据
  417. tableDate: [],
  418. // 是否显示
  419. showType: true,
  420. // 年
  421. year: '',
  422. readonly: true,
  423. typeList:['干粮','潮粮'],
  424. qualityInspectorList:[],
  425. deptBudgetTotal: 0,
  426. currentPage: 1,
  427. pageSize: 10,
  428. searchType: 1,
  429. searchKeyWord: '',
  430. contractType: 2,
  431. startDate: null,
  432. endDate: null,
  433. goodnameList: {},
  434. tranCarInfoList:[],
  435. staffList: [],
  436. options: [],
  437. options1: [],
  438. options2: [],
  439. carstatus:false,
  440. storageType: [],
  441. deliveryType: [],
  442. outContractNo: [],
  443. // 提交类型
  444. submitType: true,
  445. storageType: [],
  446. appendixIdsAdd: '',
  447. uploadSuccess: {},
  448. onChange: {},
  449. deptBudgetList1: [],
  450. gradeList: [],
  451. rules: {
  452. netWeight: [
  453. {
  454. required: true,
  455. type: 'number',
  456. message: '请输入活动名称',
  457. trigger: 'blur',
  458. },
  459. ],
  460. },
  461. size: 10,
  462. compId: sessionStorage.getItem('ws-pf_compId'),
  463. deptCircularPage: {},
  464. packtypeList: {},
  465. date: {
  466. year: dayjs().format('YYYY'),
  467. month: dayjs().format('MM'),
  468. },
  469. contractList: [],
  470. dataList: {
  471. id: '',
  472. grossWeight: '',
  473. contractNo: '',
  474. tare: '',
  475. netWeight: '',
  476. grade: '',
  477. agent: '',
  478. carNo: '',
  479. inOutDate: '',
  480. inOutType: '',
  481. goodsName: '',
  482. warehouseInOutDetail: {
  483. qualityInspector:''
  484. },
  485. cost:'',
  486. freight:0,
  487. type:'',
  488. addressUrl:'',
  489. buckleWeightRatio:'',
  490. tidalGrainWater:'',
  491. solidGrainWater:'',
  492. pureWeight:'',
  493. deductionAmount:'',
  494. deductionWeigh:'',
  495. },
  496. historyList: [],
  497. pickerBeginDateBefore: {
  498. disabledDate: (time) => {
  499. return time.getTime() > Date.now()
  500. },
  501. },
  502. accessoryTFs: false,
  503. allowEdit:true
  504. }
  505. },
  506. activated() {
  507. if(this.$route.query.allowEdit == 1){
  508. this.allowEdit = false
  509. }
  510. else{
  511. this.allowEdit = true
  512. }
  513. this.deptBudgetList1.warehouseName = this.$route.query.warehouseName
  514. this.deptBudgetList1.binNumber = this.$route.query.binNumber
  515. this.getList()
  516. this.dataList.id = this.$route.query.id
  517. this.dataList.grossWeight = this.$route.query.grossWeight*1000
  518. this.dataList.contractNo = this.$route.query.contractNo
  519. this.dataList.baseId = this.$route.query.baseId
  520. this.dataList.positionId = this.$route.query.positionId
  521. this.dataList.warehouseName = this.$route.query.warehouseName
  522. this.dataList.binNumber = this.$route.query.binNumber
  523. this.dataList.tare = this.$route.query.tare*1000
  524. this.dataList.netWeight = this.$route.query.netWeight*1000
  525. this.dataList.grade = this.$route.query.grade
  526. this.dataList.agent = this.$route.query.agent
  527. this.dataList.carNo = this.$route.query.carNo
  528. this.dataList.inOutDate = this.$route.query.inOutDate
  529. this.dataList.contractNo = this.$route.query.contractNo
  530. this.dataList.inOutType = this.$route.query.inOutType
  531. this.dataList.compId = this.$route.query.compId
  532. this.dataList.goodsName = this.$route.query.goodsName
  533. this.dataList.goodsNameKey = Number(this.$route.query.goodsNameKey)
  534. this.dataList.inOutFlag = this.$route.inOutFlag
  535. this.dataList.inOutTypeKey = Number(this.$route.query.inOutTypeKey)
  536. this.dataList.statusFlag = this.$route.statusFlag
  537. this.dataList.warehouseInOutDetail = this.$route.query.warehouseInOutDetail
  538. console.log(this.dataList)
  539. getReceiptTaskNo().toPromise()
  540. .then((response) => {
  541. console.log(response)
  542. this.deptBudgetList2 = response
  543. })
  544. },
  545. methods: {
  546. async closePort() {
  547. console.log('closePort');
  548. this.reader.cancel()
  549. },
  550. async openPort() {
  551. console.log('openPort', navigator);
  552. if ('serial' in navigator) {
  553. // The Web Serial API is supported.
  554. console.log('the Web Serial API is supported.');
  555. console.log(this.param);
  556. const port = await navigator.serial.requestPort();
  557. await port.open({
  558. baudRate: this.param
  559. }); // set baud rate
  560. this.reader = port.readable.getReader();
  561. // 监听来自串行设备的数据
  562. while (true) {
  563. const {
  564. value,
  565. done
  566. } = await this.reader.read();
  567. // console.log("value",value);
  568. if (done) {
  569. // 允许稍后关闭串口。
  570. this.reader.releaseLock();
  571. break;
  572. }
  573. var result = '';
  574. //2。获取16进制字符串
  575. // var receData = HexConvert.ByteToString(value);
  576. // console.log("receData",receData);
  577. var flag = false;
  578. for (var i = 0; i < value.length; i++) {
  579. var tmp = String.fromCharCode(value[i])
  580. if (tmp == '+') {
  581. flag = true
  582. }
  583. if (flag && result.length < 6 && tmp != '+') {
  584. result += tmp
  585. }
  586. }
  587. if(parseInt(result)){
  588. this.dataList.grossWeight = parseInt(result)
  589. }
  590. setTimeout(1000)
  591. // value 是一个 Uint8Array
  592. }
  593. await port.close();
  594. } else {
  595. console.log('the Web Serial API is not supported.', navigator);
  596. }
  597. },
  598. pureweight(status){
  599. console.log(this.deptBudgetList)
  600. if(this.deptBudgetList.netWeight&&this.deptBudgetList.tidalGrainWater&&this.deptBudgetList.solidGrainWater&&this.deptBudgetList.buckleWeightRatio){
  601. this.deptBudgetList.pureWeight=(this.deptBudgetList.netWeight*(100-(this.deptBudgetList.tidalGrainWater-this.deptBudgetList.solidGrainWater)*this.deptBudgetList.buckleWeightRatio))/100
  602. }
  603. },
  604. uploadSuccessHandle1(res){
  605. this.dataList.addressUrl=res.url
  606. },
  607. //返回按钮
  608. revert() {
  609. this.$router.go(-1)
  610. },
  611. dataFilter(val) {
  612. // console.log(val,"名")
  613. this.deptBudgetList.staffList = val
  614. if (val) {
  615. //val存在
  616. this.options = this.staffList.filter((item) => {
  617. if (
  618. !!~item.staffName.indexOf(val) ||
  619. !!~item.staffName.toUpperCase().indexOf(val.toUpperCase())
  620. ) {
  621. return true
  622. }
  623. })
  624. } else {
  625. //val为空时,还原数组
  626. this.options = this.staffList
  627. }
  628. },
  629. selectstaff(e) {
  630. for (var i = 0; i < this.staffList.length; i++) {
  631. if (this.staffList[i].staffName == e) {
  632. this.deptBudgetList.personChargeKey = this.staffList[i].staffId
  633. }
  634. }
  635. },
  636. //暂存按钮
  637. temporaryStorage() {
  638. this.$confirm(`暂存后可在待完成页面查看,确定暂存`, {
  639. cancelButtonText: '取消',
  640. confirmButtonText: '确定',
  641. type: 'warning',
  642. })
  643. .then(() => {
  644. this.$refs.dataList.validate((valid) => {
  645. if (valid) {
  646. this.dataList.compId = sessionStorage.getItem('ws-pf_compId')
  647. this.dataList.inOutFlag = 1
  648. this.dataList.statusFlag = 1
  649. addstorageputList(this.dataList)
  650. .toPromise()
  651. .then((response) => {
  652. this.$message.success('暂存成功')
  653. this.$router.push({ path: 'warehouseManagementList' })
  654. })
  655. } else {
  656. EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  657. return false
  658. }
  659. })
  660. })
  661. .catch(() => {
  662. return false
  663. })
  664. },
  665. contractNoChange(e){
  666. for (var i = 0; i < this.outContractNo.length; i++) {
  667. if (this.outContractNo[i].contractNo == e) {
  668. if (this.outContractNo[i].inOutType == '销售出库') {
  669. this.deptBudgetList.inOutTypeKey = 1
  670. } else if (this.outContractNo[i].inOutType == '移库出库') {
  671. this.deptBudgetList.inOutTypeKey = 3
  672. } else if (this.outContractNo[i].inOutType == '暂存入库') {
  673. this.deptBudgetList.inOutTypeKey = 4
  674. } else if (this.outContractNo[i].inOutType == '贸易服务出库') {
  675. this.deptBudgetList.inOutTypeKey = 5
  676. } else if (this.detailData.inOutType == '采购出库') {
  677. this.deptBudgetList.inOutTypeKey = 6
  678. }
  679. this.dataList.goodsName = this.outContractNo[i].goodsName
  680. this.dataList.goodsNameKey = this.outContractNo[i].goodsNameKey
  681. if(this.outContractNo[i].tranCarInfoList){
  682. this.options2=this.outContractNo[i].tranCarInfoList
  683. this.tranCarInfoList=this.outContractNo[i].tranCarInfoList
  684. this.carstatus=true
  685. }
  686. }
  687. }
  688. },
  689. typeChange(e){
  690. },
  691. //提交按钮
  692. submit() {
  693. if (!this.dataList.goodsName) {
  694. this.$message({
  695. message: '货名不能为空',
  696. type: 'warning',
  697. })
  698. return
  699. }
  700. if (!this.dataList.grossWeight) {
  701. this.$message({
  702. message: '毛重不能为空',
  703. type: 'warning',
  704. })
  705. return
  706. }
  707. if (
  708. this.dataList.grossWeight <= 0 ||
  709. this.dataList.grossWeight > 200000 ||
  710. (String(this.dataList.grossWeight).indexOf('.') != -1 &&
  711. String(this.dataList.grossWeight).length -
  712. (String(this.dataList.grossWeight).indexOf('.') + 1) >
  713. 3)
  714. ) {
  715. this.$message({
  716. message: '毛重输入错误',
  717. type: 'warning',
  718. })
  719. return
  720. }
  721. if (
  722. this.dataList.tare < 0 ||
  723. this.dataList.tare > 200000 ||
  724. (String(this.dataList.tare).indexOf('.') != -1 &&
  725. String(this.dataList.tare).length -
  726. (String(this.dataList.tare).indexOf('.') + 1) >
  727. 3)
  728. ) {
  729. this.$message({
  730. message: '皮重输入错误',
  731. type: 'warning',
  732. })
  733. return
  734. }
  735. if (this.dataList.type=='潮粮'&&!this.dataList.buckleWeightRatio) {
  736. this.$message({
  737. message: '扣重比不能为空',
  738. type: 'warning'
  739. })
  740. return
  741. }
  742. if (
  743. this.dataList.type=='潮粮'&&this.dataList.buckleWeightRatio < 0 ||
  744. this.dataList.type=='潮粮'&&this.dataList.buckleWeightRatio > 3 ||
  745. (this.dataList.type=='潮粮'&&String(this.dataList.buckleWeightRatio).indexOf('.') != -1 &&
  746. String(this.dataList.buckleWeightRatio).length -
  747. (String(this.dataList.buckleWeightRatio).indexOf('.') + 1) >
  748. 2)
  749. ) {
  750. this.$message({
  751. message: '扣重比输入错误',
  752. type: 'warning'
  753. })
  754. return
  755. }
  756. if (this.dataList.type=='潮粮'&&!this.dataList.tidalGrainWater) {
  757. this.$message({
  758. message: '潮粮水分不能为空',
  759. type: 'warning'
  760. })
  761. return
  762. }
  763. if (
  764. this.dataList.type=='潮粮'&&this.dataList.tidalGrainWater < 1 ||
  765. this.dataList.type=='潮粮'&&this.dataList.tidalGrainWater > 40 ||
  766. (this.dataList.type=='潮粮'&&String(this.dataList.tidalGrainWater).indexOf('.') != -1 &&
  767. String(this.dataList.tidalGrainWater).length -
  768. (String(this.dataList.tidalGrainWater).indexOf('.') + 1) >
  769. 2)
  770. ) {
  771. this.$message({
  772. message: '潮粮水分输入错误',
  773. type: 'warning'
  774. })
  775. return
  776. }
  777. if (this.dataList.type=='潮粮'&&!this.dataList.solidGrainWater) {
  778. this.$message({
  779. message: '干粮水分不能为空',
  780. type: 'warning'
  781. })
  782. return
  783. }
  784. if (
  785. this.dataList.type=='潮粮'&&this.dataList.solidGrainWater < 1 ||
  786. this.dataList.type=='潮粮'&&this.dataList.solidGrainWater > 40 ||
  787. (this.dataList.type=='潮粮'&&String(this.dataList.solidGrainWater).indexOf('.') != -1 &&
  788. String(this.dataList.solidGrainWater).length -
  789. (String(this.dataList.solidGrainWater).indexOf('.') + 1) >
  790. 1)
  791. ) {
  792. this.$message({
  793. message: '干粮水分输入错误',
  794. type: 'warning'
  795. })
  796. return
  797. }
  798. if (!this.dataList.agent) {
  799. this.$message({
  800. message: '经办人不能为空',
  801. type: 'warning',
  802. })
  803. return
  804. }
  805. if (this.dataList.agent.length < 2 || this.dataList.agent.length > 10) {
  806. this.$message({
  807. message: '经办人输入有误',
  808. type: 'warning',
  809. })
  810. return
  811. }
  812. if (!this.dataList.grade) {
  813. this.$message({
  814. message: '品级不能为空!',
  815. type: 'warning',
  816. })
  817. return
  818. }
  819. if (!this.dataList.inOutDate) {
  820. this.$message({
  821. message: '入库日期不能为空!',
  822. type: 'warning',
  823. })
  824. return
  825. }
  826. if (!this.dataList.inOutType) {
  827. this.$message({
  828. message: '出库类型不能为空!',
  829. type: 'warning',
  830. })
  831. return
  832. }
  833. if (!this.dataList.carNo) {
  834. this.$message({
  835. message: '车牌号不能为空',
  836. type: 'warning',
  837. })
  838. return
  839. }
  840. if (this.dataList.carNo.length > 7) {
  841. this.$message({
  842. message: '车牌号输入错误,请输入7个字符之内',
  843. type: 'warning',
  844. })
  845. return
  846. }
  847. if (!this.dataList.contractNo) {
  848. this.$message({
  849. message: '合同编号不能为空',
  850. type: 'warning',
  851. })
  852. return
  853. }
  854. // if (
  855. // this.dataList.contractNo.length < 6 ||
  856. // this.dataList.contractNo.length > 20
  857. // ) {
  858. // this.$message({
  859. // message: '合同编号长度不符合要求,请输入6-20个字符之内',
  860. // type: 'warning',
  861. // })
  862. // return
  863. // }
  864. if (this.dataList.netWeight > this.$route.query.capacity) {
  865. this.$message({
  866. message: '入库量大于该仓库容量!',
  867. type: 'warning',
  868. })
  869. return
  870. }
  871. //自检员
  872. if (this.dataList.warehouseInOutDetail.qualityInspector) {
  873. if (
  874. this.dataList.warehouseInOutDetail.qualityInspector.length < 2 ||
  875. this.dataList.warehouseInOutDetail.qualityInspector.length > 10
  876. ) {
  877. this.$message({
  878. message: '质检员姓名长度错误!',
  879. type: 'warning',
  880. })
  881. return
  882. }
  883. }
  884. if (this.dataList.warehouseInOutDetail.waterContent) {
  885. if (isNaN(this.dataList.warehouseInOutDetail.waterContent)) {
  886. this.$message({
  887. message: '水分(%)非数字!',
  888. type: 'warning',
  889. })
  890. return
  891. }
  892. if (
  893. this.dataList.warehouseInOutDetail.waterContent < 1 ||
  894. this.dataList.warehouseInOutDetail.waterContent > 40 ||
  895. (String(this.dataList.warehouseInOutDetail.waterContent).indexOf(
  896. '.'
  897. ) != -1 &&
  898. String(this.dataList.warehouseInOutDetail.waterContent).length -
  899. (String(this.dataList.warehouseInOutDetail.waterContent).indexOf(
  900. '.'
  901. ) +
  902. 1) >
  903. 2)
  904. ) {
  905. this.$message({
  906. message: '水分(%)输入错误! 取值范围1-40之间且可以保留2小数',
  907. type: 'warning',
  908. })
  909. return
  910. }
  911. }
  912. //杂质
  913. if (this.dataList.warehouseInOutDetail.impurity) {
  914. if (isNaN(this.dataList.warehouseInOutDetail.impurity)) {
  915. this.$message({
  916. message: '杂质(%)非数字!',
  917. type: 'warning',
  918. })
  919. return
  920. }
  921. if (
  922. this.dataList.warehouseInOutDetail.impurity < 1 ||
  923. this.dataList.warehouseInOutDetail.impurity > 40 ||
  924. (String(this.dataList.warehouseInOutDetail.impurity).indexOf('.') !=
  925. -1 &&
  926. String(this.dataList.warehouseInOutDetail.impurity).length -
  927. (String(this.dataList.warehouseInOutDetail.impurity).indexOf(
  928. '.'
  929. ) +
  930. 1) >
  931. 2)
  932. ) {
  933. this.$message({
  934. message: '杂质(%)输入错误! 取值范围1-40之间且可以保留2小数',
  935. type: 'warning',
  936. })
  937. return
  938. }
  939. }
  940. //霉变
  941. if (this.dataList.warehouseInOutDetail.mildewGrain) {
  942. if (isNaN(this.dataList.warehouseInOutDetail.mildewGrain)) {
  943. this.$message({
  944. message: '霉变粒(%)非数字!',
  945. type: 'warning',
  946. })
  947. return
  948. }
  949. if (
  950. this.dataList.warehouseInOutDetail.mildewGrain < 1 ||
  951. this.dataList.warehouseInOutDetail.mildewGrain > 40 ||
  952. (String(this.dataList.warehouseInOutDetail.mildewGrain).indexOf(
  953. '.'
  954. ) != -1 &&
  955. String(this.dataList.warehouseInOutDetail.mildewGrain).length -
  956. (String(this.dataList.warehouseInOutDetail.mildewGrain).indexOf(
  957. '.'
  958. ) +
  959. 1) >
  960. 2)
  961. ) {
  962. this.$message({
  963. message: '霉变粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
  964. type: 'warning',
  965. })
  966. return
  967. }
  968. }
  969. //热损伤
  970. if (this.dataList.warehouseInOutDetail.jiaorenli) {
  971. if (isNaN(this.dataList.warehouseInOutDetail.jiaorenli)) {
  972. this.$message({
  973. message: '热损伤(%)非数字!',
  974. type: 'warning',
  975. })
  976. return
  977. }
  978. if (
  979. this.dataList.warehouseInOutDetail.jiaorenli < 1 ||
  980. this.dataList.warehouseInOutDetail.jiaorenli > 40 ||
  981. (String(this.dataList.warehouseInOutDetail.jiaorenli).indexOf('.') !=
  982. -1 &&
  983. String(this.dataList.warehouseInOutDetail.jiaorenli).length -
  984. (String(this.dataList.warehouseInOutDetail.jiaorenli).indexOf(
  985. '.'
  986. ) +
  987. 1) >
  988. 2)
  989. ) {
  990. this.$message({
  991. message: '热损伤(%)输入错误! 取值范围1-40之间且可以保留2小数',
  992. type: 'warning',
  993. })
  994. return
  995. }
  996. }
  997. //不完善粒(%)
  998. if (this.dataList.warehouseInOutDetail.imperfectGrain) {
  999. if (isNaN(this.dataList.warehouseInOutDetail.imperfectGrain)) {
  1000. this.$message({
  1001. message: '不完善粒(%)非数字!',
  1002. type: 'warning',
  1003. })
  1004. return
  1005. }
  1006. if (
  1007. this.dataList.warehouseInOutDetail.imperfectGrain < 1 ||
  1008. this.dataList.warehouseInOutDetail.imperfectGrain > 40 ||
  1009. (String(this.dataList.warehouseInOutDetail.imperfectGrain).indexOf(
  1010. '.'
  1011. ) != -1 &&
  1012. String(this.dataList.warehouseInOutDetail.imperfectGrain).length -
  1013. (String(
  1014. this.dataList.warehouseInOutDetail.imperfectGrain
  1015. ).indexOf('.') +
  1016. 1) >
  1017. 2)
  1018. ) {
  1019. this.$message({
  1020. message: '不完善粒(%)输入错误! 取值范围1-40之间且可以保留2小数',
  1021. type: 'warning',
  1022. })
  1023. return
  1024. }
  1025. }
  1026. //容重
  1027. if (this.dataList.warehouseInOutDetail.bulkDensity) {
  1028. if (isNaN(this.dataList.warehouseInOutDetail.bulkDensity)) {
  1029. this.$message({
  1030. message: '容重(克/升)非数字!',
  1031. type: 'warning',
  1032. })
  1033. return
  1034. }
  1035. if (
  1036. (this.dataList.warehouseInOutDetail.bulkDensity &&
  1037. String(this.dataList.warehouseInOutDetail.bulkDensity).indexOf('.') != -1 &&
  1038. String(this.dataList.warehouseInOutDetail.bulkDensity).length -
  1039. (String(this.dataList.warehouseInOutDetail.bulkDensity).indexOf('.') + 1) >
  1040. 2) || this.dataList.warehouseInOutDetail.bulkDensity > 1000 || this.dataList.warehouseInOutDetail.bulkDensity < 0
  1041. ) {
  1042. this.$message({
  1043. message: '容重输入错误',
  1044. type: 'warning',
  1045. })
  1046. return
  1047. }
  1048. }
  1049. this.$confirm(`确定提交毛重检斤`, {
  1050. cancelButtonText: '取消',
  1051. confirmButtonText: '确定',
  1052. type: 'warning',
  1053. })
  1054. .then(() => {
  1055. this.$refs.dataList.validate((valid) => {
  1056. if (valid) {
  1057. this.dataList.compId = sessionStorage.getItem('ws-pf_compId')
  1058. this.dataList.inOutFlag = 1
  1059. this.dataList.statusFlag = 3
  1060. this.dataList.grossWeight /= 1000
  1061. this.dataList.tare /= 1000
  1062. this.dataList.netWeight /= 1000
  1063. this.dataList.pureWeight /= 1000
  1064. addstorageputList(this.dataList)
  1065. .toPromise()
  1066. .then((response) => {
  1067. this.$message.success('提交成功')
  1068. this.$confirm(`是否打印磅单`, {
  1069. cancelButtonText: '取消',
  1070. confirmButtonText: '确定',
  1071. type: 'warning',
  1072. })
  1073. .then(() => {
  1074. getPrintInfo({
  1075. id: this.dataList.id
  1076. })
  1077. .toPromise()
  1078. .then((response) => {
  1079. window.open( '../../../../static/weightCheckInOut.html?type=2&tableData=' +JSON.stringify(response))
  1080. })
  1081. this.$router.push({ path: 'warehouseManagementList' })
  1082. })
  1083. .catch(() => {
  1084. return false
  1085. })
  1086. })
  1087. } else {
  1088. EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
  1089. return false
  1090. }
  1091. })
  1092. })
  1093. .catch(() => {
  1094. return false
  1095. })
  1096. },
  1097. tarechange(e) {
  1098. if (this.dataList.grossWeight && this.dataList.tare) {
  1099. this.dataList.netWeight = Number(
  1100. this.dataList.grossWeight - this.dataList.tare
  1101. )
  1102. }
  1103. },
  1104. grossWeightchange(e) {
  1105. if (this.dataList.grossWeight && this.dataList.tare) {
  1106. this.dataList.netWeight = Number(
  1107. this.dataList.grossWeight - this.dataList.tare
  1108. )
  1109. }
  1110. },
  1111. selectgoodsName(e) {
  1112. for (var i = 0; i < this.goodnameList.length; i++) {
  1113. if (this.goodnameList[i].constValue == e) {
  1114. this.dataList.goodsNameKey = this.goodnameList[i].constKey
  1115. }
  1116. }
  1117. },
  1118. selectpackingMethod(e) {
  1119. for (var i = 0; i < this.packtypeList.length; i++) {
  1120. if (this.packtypeList[i].constValue == e) {
  1121. this.dataList.packingMethodKey = this.packtypeList[i].constKey
  1122. }
  1123. }
  1124. },
  1125. selectstorageType(e) {
  1126. for (var i = 0; i < this.deliveryType.length; i++) {
  1127. if (this.deliveryType[i].constValue == e) {
  1128. this.dataList.inOutTypeKey = this.deliveryType[i].constKey
  1129. }
  1130. }
  1131. },
  1132. handleClose() {
  1133. this.accessoryTFs = false
  1134. },
  1135. handleSizeChange(val) {
  1136. console.log(`每页 ${val} 条`)
  1137. this.pageSize = val
  1138. this.getList()
  1139. },
  1140. handleCurrentChange(val) {
  1141. this.currentPage = val
  1142. console.log(`当前页: ${val}`)
  1143. this.getList()
  1144. },
  1145. getList() {
  1146. // 货名
  1147. pullDown({ constId: 'CON2' })
  1148. .toPromise()
  1149. .then((response) => {
  1150. this.goodnameList = response
  1151. })
  1152. // 品级
  1153. pullDown({ constId: 'CON3' })
  1154. .toPromise()
  1155. .then((response) => {
  1156. this.gradeList = response
  1157. })
  1158. // 类型
  1159. if (this.$route.query.warehouseType == '1') {
  1160. pullDown({ constId: 'CON6' })
  1161. .toPromise()
  1162. .then((response) => {
  1163. this.deliveryType = response
  1164. })
  1165. } else if (this.$route.query.warehouseType == '2') {
  1166. //临时仓库出库类型
  1167. pullDown({ constId: 'WARE2' })
  1168. .toPromise()
  1169. .then((response) => {
  1170. this.deliveryType = response
  1171. })
  1172. }
  1173. //合同编号
  1174. xialaNo({ compId: sessionStorage.getItem('ws-pf_compId'),flag:5 })
  1175. .toPromise()
  1176. .then((response) => {
  1177. this.outContractNo = response
  1178. })
  1179. //经办人
  1180. getstaff({ compId: sessionStorage.getItem('ws-pf_compId'),warehouseId:this.dataList.baseId })
  1181. .toPromise()
  1182. .then((response) => {
  1183. this.options = response
  1184. this.qualityInspectorList = response
  1185. this.staffList = response
  1186. // this.agent = response
  1187. })
  1188. },
  1189. selecttaskType(e) {
  1190. for (var i = 0; i < this.taskTypeList.length; i++) {
  1191. if (this.taskTypeList[i].value == e) {
  1192. this.searchType = this.taskTypeList[i].type
  1193. }
  1194. }
  1195. },
  1196. fujian(row) {
  1197. if (
  1198. row.receiveAttachmentPath === null ||
  1199. row.receiveAttachmentPath === ''
  1200. ) {
  1201. EventBus.$emit(
  1202. 'warning',
  1203. this.$t('system.noticeCircular.NoInformation')
  1204. )
  1205. } else {
  1206. this.accessoryTFs = true
  1207. }
  1208. this.appendixIdss = row.receiveAttachmentPath
  1209. },
  1210. handleExamine(row) {
  1211. this.$router.push({
  1212. name: 'salesContractExamine',
  1213. query: { id: row.id },
  1214. })
  1215. },
  1216. // 关闭 dialog时 处理文件url 初始化upload组件
  1217. handleCloe() {
  1218. this.dialogViewSpareMoney = false
  1219. },
  1220. history(row) {
  1221. console.log(row)
  1222. billoperatehis({ id: row.id })
  1223. .toPromise()
  1224. .then((response) => {
  1225. this.historyList = response
  1226. })
  1227. },
  1228. //删除
  1229. approve() {},
  1230. listQuery() {},
  1231. total() {},
  1232. clearfiltQuery() {},
  1233. selectCrtDuty() {},
  1234. },
  1235. }
  1236. </script>
  1237. <style lang="scss" scoped>
  1238. /deep/.basicInformation {
  1239. .ws-info-table {
  1240. border: none;
  1241. }
  1242. .el-form-item {
  1243. width: 33.3333%;
  1244. border: none;
  1245. .el-form-item__label {
  1246. background: transparent;
  1247. border: none;
  1248. }
  1249. .el-form-item__content {
  1250. border: none;
  1251. }
  1252. }
  1253. }
  1254. .title {
  1255. position: relative;
  1256. padding-left: 10px;
  1257. }
  1258. .title::before {
  1259. content: '';
  1260. display: inline-block;
  1261. width: 5px;
  1262. height: 30px;
  1263. background: #5473e8;
  1264. position: absolute;
  1265. left: 0;
  1266. }
  1267. .el-form {
  1268. padding: 0 10%;
  1269. }
  1270. .el-button--primary {
  1271. background-color: #5878e8;
  1272. border-color: #5878e8;
  1273. }
  1274. .el-col {
  1275. background: #f6f7fc;
  1276. }
  1277. .bg-right {
  1278. text-align: right;
  1279. padding: 16px 20px;
  1280. }
  1281. .center {
  1282. position: relative;
  1283. top: 50px;
  1284. width: 40%;
  1285. height: 2000px;
  1286. margin: 0 auto;
  1287. }
  1288. /deep/.el-form-item__label {
  1289. width: 160px;
  1290. }
  1291. //选填
  1292. /deep/.el-form-item {
  1293. width: 50%;
  1294. }
  1295. .container {
  1296. overflow: scroll;
  1297. height: 120vh;
  1298. }
  1299. /deep/.ws-info-table .el-form-item .el-form-item__label {
  1300. text-align: center;
  1301. }
  1302. .deliverydate {
  1303. display: inline-block;
  1304. width: 10%;
  1305. }
  1306. .center {
  1307. margin-top: -60px;
  1308. width: 80%;
  1309. }
  1310. //仓位
  1311. .position {
  1312. width: 52px;
  1313. height: 20px;
  1314. background: #afb5cb;
  1315. border-radius: 2px;
  1316. font-size: 12px;
  1317. font-family: PingFangSC-Medium, PingFang SC;
  1318. color: #ffffff;
  1319. line-height: 20px;
  1320. }
  1321. //表格文字
  1322. /deep/.ws-info-table .el-form-item .el-form-item__label {
  1323. text-align: left;
  1324. font-size: 14px;
  1325. font-family: PingFangSC-Regular, PingFang SC;
  1326. font-weight: 400;
  1327. color: #8890b1;
  1328. line-height: 16px;
  1329. }
  1330. .inspector {
  1331. width: 50%;
  1332. }
  1333. //质检员
  1334. .inspector .el-form-item__content {
  1335. text-align: left;
  1336. margin-left: 0px;
  1337. }
  1338. /deep/[data-v-d228e17e] .el-form-item__label {
  1339. width: 60px;
  1340. }
  1341. .small-title {
  1342. position: relative;
  1343. padding: 10px;
  1344. font-weight: 600;
  1345. }
  1346. .small-title::before {
  1347. position: absolute;
  1348. content: '';
  1349. display: block;
  1350. background: #5473e8;
  1351. width: 4px;
  1352. height: 14px;
  1353. left: 0px;
  1354. top: 13px;
  1355. }
  1356. //下面列表
  1357. .neifor {
  1358. width: 80%;
  1359. background-color: #f6f7fc;
  1360. }
  1361. /deep/.neifor .ws-info-table .el-form-item .el-form-item__label {
  1362. width: 35%;
  1363. text-align: center;
  1364. }
  1365. /deep/.neifor .ws-info-table .el-form-item .el-form-item__content {
  1366. width: 60%;
  1367. background-color: #f6f7fc;
  1368. }
  1369. /deep/.neifor .el-input--small .el-input__inner {
  1370. width: 100%;
  1371. }
  1372. .el-input__inner {
  1373. width: 150px;
  1374. }
  1375. </style>