edit_quality_testing.vue 38 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222
  1. <template>
  2. <view ref="all-input">
  3. <view @click='hidden' class='wrap'>
  4. <view class='title_b'>基本信息</view>
  5. <view class="c-row ">
  6. <view class="title">入库类型</view>
  7. <view class="con-list">
  8. <view v-if='gridList.serviceManagementType==1'>贸易入库</view>
  9. <view v-if='gridList.serviceManagementType==3'>收购入库</view>
  10. </view>
  11. </view>
  12. <view v-if="flag!=3" class="c-row ">
  13. <view class="title">仓库</view>
  14. <view class="con-list">
  15. {{gridList.warehouseName}}
  16. </view>
  17. </view>
  18. <view v-if='gridList.serviceManagementType==1&&flag!=3' class="c-row ">
  19. <view class="title">任务编号</view>
  20. <view class="con-list">
  21. <view >{{gridList.inOutTaskNo}}</view>
  22. </view>
  23. </view>
  24. <view v-if='gridList.serviceManagementType==1&&gridList.inOutType!="移库入库"&&flag!=3' class="c-row ">
  25. <view class="title">合同编号</view>
  26. <view class="con-list">
  27. {{gridList.contractNo}}
  28. </view>
  29. </view>
  30. <view v-if='gridList.serviceManagementType==1&&gridList.inOutType=="移库入库"&&flag!=3' class="c-row ">
  31. <view class="title">移库编号</view>
  32. <view class="con-list">
  33. {{gridList.contractNo}}
  34. </view>
  35. </view>
  36. <view v-if='flag!=3' class="c-row ">
  37. <view class="title">业务编号</view>
  38. <view class="con-list">
  39. {{gridList.qualityNo}}
  40. </view>
  41. </view>
  42. <view v-if='gridList.serviceManagementType==1&&flag!=3' class="c-row ">
  43. <view class="title">成本</view>
  44. <view class="con-list">
  45. <view v-if='!coststatus'>{{gridList.cost?gridList.cost:'自动获取,不可编辑'}}</view>
  46. <view v-if='coststatus'>
  47. <input v-model='gridList.cost' placeholder="请输入成本" name="input" type="digit"></input>
  48. </view>
  49. </view>
  50. <button class='cu-btn bg-green shadow' @click="changecost">{{costtext}}</button>
  51. </view>
  52. <view v-if='gridList.serviceManagementType==1&&flag!=3' class="c-row ">
  53. <view class="title">运费</view>
  54. <view class="con-list flex">
  55. <view v-if='!freightstatus'>{{gridList.freight?gridList.freight:'自动获取,不可编辑'}}</view>
  56. <view v-if='freightstatus'>
  57. <input v-model='gridList.freight' placeholder="请输入运费" name="input" type="digit"></input>
  58. </view>
  59. </view>
  60. <button class='cu-btn bg-green shadow' @click="changefreight">{{freighttext}}</button>
  61. </view>
  62. <view v-if='gridList.serviceManagementType==1&&flag!=3' class="c-row ">
  63. <view class="title">扣款</view>
  64. <view class="con-list">
  65. <input v-model='gridList.deductionAmount' placeholder="请输入扣款" name="input" type="digit"></input>
  66. </view>
  67. </view>
  68. <view v-if='gridList.serviceManagementType==1&&flag!=3' class="c-row ">
  69. <view class="title">入库类型</view>
  70. <view class="con-list">
  71. {{gridList.inOutType?gridList.inOutType:'自动获取,不可编辑'}}
  72. </view>
  73. </view>
  74. <view v-if='gridList.serviceManagementType==1&&flag!=3' class="c-row ">
  75. <view class="title">入库日期</view>
  76. <view class="con-list">
  77. <view @click='show5=true'>{{gridList.inOutDate?gridList.inOutDate:'请选择入库日期'}}</view>
  78. <u-picker @confirm='inOutDatepicker($event)' :params="params" v-model="show5"
  79. mode="time">
  80. </u-picker>
  81. </view>
  82. </view>
  83. <view v-if='gridList.serviceManagementType==3&&flag!=0' class="c-row ">
  84. <view class="title">客户</view>
  85. <view class="con-list">
  86. <view @click='gocustomer'>
  87. {{gridList.customerName}}({{gridList.customerPhone}})
  88. </view>
  89. </view>
  90. </view>
  91. <view v-if='flag!=0' class="c-row ">
  92. <view class="title">车牌号</view>
  93. <view class="con-list">
  94. <input v-model='gridList.carNumber' @click.stop="handleShowKeyboard" placeholder="请输入车牌号"
  95. name="input"></input>
  96. <master-keyboard ref="keyboard" keyboardtype="car" :randomNumber="true" :newCar="false"
  97. :defaultValue="gridList.carNumber" @keyboardClick="handleClick"></master-keyboard>
  98. <!-- <input :disabled='flag==1' v-model='gridList.carNumber' placeholder="请输入车牌号" name="input"></input> -->
  99. </view>
  100. </view>
  101. <!-- <view v-if="gridList.paramType != '1'" class="c-row ">
  102. <view class="title">扣重比</view>
  103. <view class="con-list">
  104. <input :disabled='flag==1' v-model='gridList.buckleWeightRatio' placeholder="请输入扣重比"
  105. name="input"></input>
  106. </view>
  107. </view>
  108. <view v-else class="c-row ">
  109. <view class="title">扣杂</view>
  110. <view class="con-list">
  111. <input :disabled='flag==1' v-model='gridList.buckleMiscellaneous' placeholder="初检扣杂"
  112. @input="waterContentChange" name="input"></input>
  113. <input v-if='flag==0' value='未复检' disabled placeholder="复检扣杂" name="input"></input>
  114. <input v-else :disabled='flag!=1' v-model='gridList.reBuckleMiscellaneous' placeholder="复检扣杂"
  115. name="input"></input>
  116. </view>
  117. </view> -->
  118. <view v-if='gridList.serviceManagementType==3&&flag!=3' class="c-row ">
  119. <view class="title">购粮性质</view>
  120. <view class="con-list">
  121. <input :disabled='flag==1' v-model='gridList.natureOfGrainPurchase' placeholder="请输入购粮性质"
  122. name="input"></input>
  123. </view>
  124. </view>
  125. <view v-if='flag!=3' class="c-row ">
  126. <view class="title">仓位号</view>
  127. <view class="con-list">
  128. <view v-if='flag!=1' @click='show=true'>{{gridList.binNumber?gridList.binNumber:'请选择仓位号'}}</view>
  129. <view v-else>{{gridList.binNumber}}</view>
  130. </view>
  131. </view>
  132. <view v-if='flag!=3' class="c-row ">
  133. <view class="title">囤位号</view>
  134. <view class="con-list">
  135. <input v-model='gridList.storageTagNo' placeholder="请输入囤位号" name="input"></input>
  136. </view>
  137. </view>
  138. <view v-if='flag!=3' class="c-row ">
  139. <view class="title">货名</view>
  140. <view class="con-list">
  141. <!-- <view v-if="flag != '0'">
  142. {{gridList.goodsName}}
  143. </view> -->
  144. <view @click='goodsName = true'>{{gridList.goodsName}}</view>
  145. <u-picker :range="goodsList" range-key="goodsName" @confirm='goodsPicker($event)'
  146. v-model="goodsName" mode="selector">
  147. </u-picker>
  148. </view>
  149. </view>
  150. <view v-if='flag!=3' class="c-row ">
  151. <view class="title">类型</view>
  152. <view class="con-list">
  153. {{gridList.type}}
  154. </view>
  155. </view>
  156. <view v-if='gridList.serviceManagementType==1' class="c-row ">
  157. <view class="title">运输方式</view>
  158. <view class="con-list">
  159. <view @click='show7=true'>{{gridList.outType?gridList.outType:'请选择运输方式'}}</view>
  160. <u-picker :range="multiSelector" range-key="name" @confirm='outtypepicker($event,0)' v-model="show7"
  161. mode="selector">
  162. </u-picker>
  163. </view>
  164. </view>
  165. <view v-if='gridList.serviceManagementType==3&&flag!=0' class="c-row ">
  166. <view class="title">运输方式</view>
  167. <view class="con-list">
  168. <view @click='show8=true'>{{outType?outType:'请选择运输方式'}}</view>
  169. <u-picker :range="multiSelector1" range-key="name" @confirm='outtypepicker($event,1)' v-model="show8"
  170. mode="selector">
  171. </u-picker>
  172. </view>
  173. </view>
  174. <view v-if='gridList.serviceManagementType==1&&flag!=3||gridList.serviceManagementType==3&&gridList.outType=="自运"&&flag!=3' class="c-row ">
  175. <view class="title">车队</view>
  176. <view class="con-list">
  177. <view @click='show6=true'>{{gridList.fleet?ridList.fleet:'非车队车辆'}}</view>
  178. <u-picker @confirm='fleetpicker($event)' :range="fleetNameList" range-key="fleetName" v-model="show5"
  179. mode="selector">
  180. </u-picker>
  181. </view>
  182. </view>
  183. <view v-if="gridList.outType=='汽运'&&gridList.serviceManagementType==1 ||gridList.outType == '集装箱船'&&gridList.serviceManagementType==1" class="c-row ">
  184. <view class="title">箱号-1</view>
  185. <view class="con-list">
  186. <input v-model='gridList.boxNo' placeholder="请输入箱号" name="input" type="digit"></input>
  187. </view>
  188. </view>
  189. <view v-if="gridList.outType== '汽运'&&gridList.serviceManagementType==1 ||gridList.outType == '集装箱船'&&gridList.serviceManagementType==1" class="c-row ">
  190. <view class="title">封号-1</view>
  191. <view class="con-list">
  192. <input v-model='gridList.titleNo' placeholder="请输入封号" name="input" type="digit"></input>
  193. </view>
  194. </view>
  195. <view v-if="gridList.outType=='汽运'&&gridList.serviceManagementType==1 ||gridList.outType == '集装箱船'&&gridList.serviceManagementType==1" class="c-row ">
  196. <view class="title">箱号-2</view>
  197. <view class="con-list">
  198. <input v-model='gridList.boxNoOther' placeholder="请输入箱号" name="input" type="digit"></input>
  199. </view>
  200. </view>
  201. <view v-if="gridList.outType== '汽运'&&gridList.serviceManagementType==1 ||gridList.outType == '集装箱船'&&gridList.serviceManagementType==1" class="c-row ">
  202. <view class="title">封号-2</view>
  203. <view class="con-list">
  204. <input v-model='gridList.titleNoOther' placeholder="请输入封号" name="input" type="digit"></input>
  205. </view>
  206. </view>
  207. <view v-if="gridList.serviceManagementType==3&&flag!=0" class="c-row">
  208. <view class="title">箱号-1</view>
  209. <view class="con-list">
  210. <input v-model='gridList.boxNo' placeholder="请输入箱号" name="input" type="digit"></input>
  211. </view>
  212. </view>
  213. <view v-if="gridList.serviceManagementType==3&&flag!=0" class="c-row">
  214. <view class="title">封号-1</view>
  215. <view class="con-list">
  216. <input v-model='gridList.titleNo' placeholder="请输入封号" name="input" type="digit"></input>
  217. </view>
  218. </view>
  219. <view v-if="gridList.serviceManagementType==3&&flag!=0" class="c-row">
  220. <view class="title">箱号-2</view>
  221. <view class="con-list">
  222. <input v-model='gridList.boxNoOther' placeholder="请输入箱号" name="input" type="digit"></input>
  223. </view>
  224. </view>
  225. <view v-if="gridList.serviceManagementType==3&&flag!=0" class="c-row">
  226. <view class="title">封号-2</view>
  227. <view class="con-list">
  228. <input v-model='gridList.titleNoOther' placeholder="请输入封号" name="input" type="digit"></input>
  229. </view>
  230. </view>
  231. <view v-if="gridList.type == '潮粮'&&gridList.serviceManagementType==3&&flag!=3" class="c-row">
  232. <view class="title">净重单价(元/公斤)</view>
  233. <view class="con-list">
  234. <input :disabled='flag==1&&pricedisabled' v-model='gridList.tidalGrainPrice' @blur='inputprice' placeholder="自动获取,不可编辑"
  235. name="input"></input>
  236. </view>
  237. <button class='cu-btn bg-green shadow' @click="changeprice">{{pricetext}}</button>
  238. </view>
  239. <view v-if="gridList.type == '干粮'&&gridList.serviceManagementType==3&&flag!=3" class="c-row">
  240. <view class="title">干粮单价(元/公斤)</view>
  241. <view class="con-list">
  242. <input v-model='gridList.dryGrainPrice' :disabled='pricedisabled' type="digit" @blur='inputprice' placeholder="请输入干粮单价" name="input"></input>
  243. </view>
  244. <button class='cu-btn bg-green shadow' @click="changeprice">{{pricetext}}</button>
  245. </view>
  246. <view class="c-row-fj" v-if="flag==2||flag==1">
  247. <view style="margin: 0px 0px 30rpx 10rpx;">复检备注</view>
  248. <textarea class='textarea-style' v-model='gridList.reMemo' placeholder="请输入复检备注"
  249. maxlength="300"></textarea>
  250. </view>
  251. <view class="c-row" v-if="flag==1&&gridList.warehouseName=='鲅鱼圈金信库'">
  252. <view class="title">车型</view>
  253. <view class="con-list">
  254. <view @click='carstatus = true'>{{gridList.carModel?gridList.carModel:'请选择车型'}}</view>
  255. <u-picker :range="carModeList" range-key="constValue" @confirm='carPicker($event)'
  256. v-model="carstatus" mode="selector">
  257. </u-picker>
  258. </view>
  259. </view>
  260. <view v-if="gridList.type == '干粮'&&gridList.serviceManagementType==1&&flag!=3" class="c-row">
  261. <view class="title">干粮单价(元/公斤)</view>
  262. <view class="con-list" @click="setPrice">
  263. {{gridList.dryGrainPrice}}
  264. </view>
  265. </view>
  266. </view>
  267. <view v-if='flag!=3' style='padding-bottom:300rpx;'>
  268. <view class='wrap'>
  269. <view style='margin-right:10px;' class='flex justify-between align-item-center'>
  270. <view class='title_b'>化验信息</view>
  271. <view v-if='flag==0||flag==4' class='flex justify-between align-item-center'>补录:<u-switch activeColor="#22C572"
  272. v-model="value" @change="change"></u-switch>
  273. </view>
  274. </view>
  275. <view class="c-row ">
  276. <view class="title">等级</view>
  277. <view class="con-list">
  278. <u-picker :range="gradeList" range-key="value" @confirm='gradepicker($event)' v-model="show1"
  279. mode="selector">
  280. </u-picker>
  281. <view v-if='flag!=1' @click='show1=true'>{{gridList.grade?gridList.grade:'请选择等级'}}</view>
  282. <view v-else>{{gridList.grade}}</view>
  283. <u-picker :range="gradeList" range-key="value" @confirm='gradepicker1($event)' v-model="show2"
  284. mode="selector">
  285. </u-picker>
  286. <view v-if='flag==1' @click='show2=true'>{{gridList.reGrade?gridList.reGrade:'请选择等级'}}</view>
  287. <view v-if='flag==2'>{{gridList.reGrade}}</view>
  288. </view>
  289. </view>
  290. <view class="c-row ">
  291. <view class="title">水分(%)</view>
  292. <view class="con-list">
  293. <input :disabled='flag==1' v-model='gridList.waterContent' placeholder="初检水分"
  294. @input="waterContentChange" type="digit" name="input"></input>
  295. <input v-if='flag==1||flag==2' type="digit" v-model='gridList.reWaterContent' placeholder="复检水分"
  296. name="input"></input>
  297. </view>
  298. </view>
  299. <view class="c-row ">
  300. <view class="title">容重(克/升)</view>
  301. <view class="con-list">
  302. <input :disabled='flag==1' type="digit" v-model='gridList.bulkDensity' placeholder="请输入容重"
  303. name="input"></input>
  304. <input v-if='flag==1||flag==2' type="digit" v-model='gridList.reBulkDensity' placeholder="请输入容重"
  305. name="input"></input>
  306. </view>
  307. </view>
  308. <view class="c-row ">
  309. <view class="title">不完善粒(%)</view>
  310. <view class="con-list">
  311. <input :disabled='flag==1' type="digit" v-model='gridList.imperfectGrain' placeholder="请输入不完整粒占比"
  312. name="input"></input>
  313. <input v-if='flag==1||flag==2' type="digit" v-model='gridList.reImperfectGrain' placeholder="请输入不完整粒占比"
  314. name="input"></input>
  315. </view>
  316. </view>
  317. <view class="c-row ">
  318. <view class="title">杂质(%)</view>
  319. <view class="con-list">
  320. <input :disabled='flag==1' type="digit" v-model='gridList.impurity' placeholder="请输入杂质占比"
  321. name="input"></input>
  322. <input v-if='flag==1||flag==2' type="digit" v-model='gridList.reImpurity' placeholder="请输入杂质占比"
  323. name="input"></input>
  324. </view>
  325. </view>
  326. <view class="c-row ">
  327. <view class="title">霉变粒(%)</view>
  328. <view class="con-list">
  329. <input :disabled='flag==1' type="digit" v-model='gridList.mildewGrain' placeholder="请输入霉变粒占比"
  330. name="input"></input>
  331. <input v-if='flag==1||flag==2' type="digit" v-model='gridList.reMildewGrain' placeholder="请输入霉变粒占比"
  332. name="input"></input>
  333. </view>
  334. </view>
  335. <view class="c-row ">
  336. <view class="title">热损伤(%)</view>
  337. <view class="con-list">
  338. <input :disabled='flag==1' type="digit" v-model='gridList.jiaorenli' placeholder="请输入热损伤占比"
  339. name="input"></input>
  340. <input v-if='flag==1||flag==2' type="digit" v-model='gridList.reJiaorenli' placeholder="请输入热损伤占比"
  341. name="input"></input>
  342. <!-- <input v-model='gridList.jiaorenli' @click.stop="handleShowKeyboard1":disabled="true" placeholder="请输入热损伤占比" name="input"></input> -->
  343. </view>
  344. </view>
  345. </view>
  346. </view>
  347. <view class="footer">
  348. <view v-if='flag==1' @click='confirmInfo' class="button">确认初检信息</view>
  349. <view @click='submit' class="button">提交</view>
  350. </view>
  351. <u-modal v-model="isShowAlert" :title-style="{fontSize: '18px',fontWeight:'500'}"
  352. :content-style="{fontSize: '14px',fontWeight:'400'}" confirm-color='#22C572' confirm-text='确定' title='提示'
  353. showCancelButton='false' :content="content" @confirm="alertBtn" @cancel="cancelClick"></u-modal>
  354. <u-popup v-model="isShowPrint" class="popup" @close="close" mode="bottom" border-radius="30" :closeable="true">
  355. <view class="buns_item">
  356. <view class="but_css" @click="print">打印小票</view>
  357. <view class="but_css" @click="close">返回</view>
  358. </view>
  359. </u-popup>
  360. <u-picker :range="warehouseList" range-key="binNumber" @confirm='binNumberpicker($event)'
  361. v-model="show" mode="selector">
  362. </u-picker>
  363. </view>
  364. </template>
  365. <script>
  366. import dragButton from "@/components/drag-button/drag-button.vue";
  367. import keyboard from "@/components/master-keyboard/master-keyboard.vue";
  368. import {
  369. mapState
  370. } from 'vuex';
  371. let startY = 0,
  372. moveY = 0,
  373. pageAtTop = true;
  374. export default {
  375. components: {
  376. dragButton,
  377. keyboard
  378. },
  379. data() {
  380. return {
  381. isShowPrint: false,
  382. inputShow: false,
  383. modalName: '',
  384. mycarStyle: '',
  385. feild: undefined,
  386. id: 0,
  387. show: false,
  388. show2:false,
  389. show4:false,
  390. show5:false,
  391. show7:false,
  392. show8:false,
  393. pricedisabled:false,
  394. multiSelector1:[{name:'他运',value:'他运'}],
  395. outType:'',
  396. selector: [],
  397. show1: false,
  398. pricetext:'锁定',
  399. goodsName: false,
  400. carstatus: false,
  401. params:{year: true,
  402. month: true,
  403. day: true,},
  404. inputContent: '',
  405. multiSelector: [{
  406. name: '汽运',
  407. value: '0',
  408. },
  409. {
  410. name: '火运',
  411. value: '1',
  412. },
  413. {
  414. name: '集装箱船',
  415. value: '2',
  416. },
  417. {
  418. name: '散船',
  419. value: '3',
  420. },
  421. ],
  422. coverTransform: 'translateY(0px)',
  423. coverTransition: '0s',
  424. moving: false,
  425. footprintList: [],
  426. searchKeyWord: '',
  427. isVip: false,
  428. flag: 0,
  429. freightstatus:false,
  430. coststatus:false,
  431. freighttext:'手动填写',
  432. costtext:'手动填写',
  433. userInfoTmp: [],
  434. inputStatus: 'none',
  435. carInfo: [],
  436. gridCol: 4,
  437. pageSize: 10,
  438. currentPage: 1,
  439. gridBorder: false,
  440. headUrl: "../../static/img/myimg/YongHu@3x.png",
  441. userphone: "",
  442. username: "请更改昵称",
  443. gridList: {
  444. natureOfGrainPurchase: '贸易粮',
  445. type: '潮粮',
  446. tidalGrainPrice: '',
  447. dryGrainPrice: '',
  448. carNumber: '',
  449. carModel: '',
  450. },
  451. managementType: '',
  452. warehouseName: '',
  453. warehouseList: [],
  454. showTran: true,
  455. companyId: 1,
  456. current: 4,
  457. value: false,
  458. carModeList: [],
  459. fleetNameList:[],
  460. gradeList: [{
  461. key: 1,
  462. value: '一等品'
  463. },
  464. {
  465. key: 2,
  466. value: '二等品'
  467. },
  468. {
  469. key: 3,
  470. value: '三等品'
  471. },
  472. {
  473. key: 4,
  474. value: '等外'
  475. },
  476. ],
  477. cangid: '',
  478. goodsList: [],
  479. taskNolist:[],
  480. isShowAlert: false,
  481. content: '确认初检信息后,初检员不需要再次确认质检信息,是否确定提交?',
  482. }
  483. },
  484. // #ifndef MP
  485. onNavigationBarButtonTap(e) {
  486. const index = e.index;
  487. if (index === 0) {
  488. this.navTo('/pages/set/set');
  489. } else if (index === 1) {
  490. // #ifdef APP-PLUS
  491. const pages = getCurrentPages();
  492. const page = pages[pages.length - 1];
  493. const currentWebview = page.$getAppWebview();
  494. currentWebview.hideTitleNViewButtonRedDot({
  495. index
  496. });
  497. // #endif
  498. uni.navigateTo({
  499. url: '/pages/notice/notice'
  500. })
  501. }
  502. },
  503. // #endif
  504. computed: {
  505. ...mapState(['hasLogin', 'userInfo']),
  506. // 手机号中间4位加*
  507. starUserphone() {
  508. let reg = /^(\d{3})\d{4}(\d{4})$/;
  509. if (this.userphone) {
  510. return this.userphone.replace(reg, "$1****$2");
  511. }
  512. }
  513. },
  514. onLoad(options) {
  515. this.id = options.id
  516. this.flag = options.flag
  517. this.cangid = options.cangid
  518. this.warehouseName=options.warehouseName
  519. this.managementType = options.managementType
  520. console.log(this.flag)
  521. var that = this
  522. this.$api.doRequest('get', '/qualityInspectionManagement/api/getQualityInspection', {
  523. id: this.id
  524. }).then(res => {
  525. if (res.data.data) {
  526. let data = res.data.data
  527. if (data.supplementaryRecording == 1) {
  528. that.value = true
  529. } else {
  530. that.value = false
  531. }
  532. that.gridList = data
  533. if(!that.gridList.reGrade){
  534. that.gridList.reGrade=that.gridList.grade
  535. }
  536. if(!that.gridList.reWaterContent){
  537. that.gridList.reWaterContent=that.gridList.waterContent
  538. }
  539. if(!that.gridList.reBulkDensity){
  540. that.gridList.reBulkDensity=that.gridList.bulkDensity
  541. }
  542. if(!that.gridList.reImperfectGrain){
  543. that.gridList.reImperfectGrain=that.gridList.imperfectGrain
  544. }
  545. if(!that.gridList.reImpurity){
  546. that.gridList.reImpurity=that.gridList.impurity
  547. }
  548. if(!that.gridList.reMildewGrain){
  549. that.gridList.reMildewGrain=that.gridList.mildewGrain
  550. }
  551. if(!that.gridList.reJiaorenli){
  552. that.gridList.reJiaorenli=that.gridList.jiaorenli
  553. }
  554. if(this.gridList.outType&&this.gridList.serviceManagementType==3){
  555. this.outType=this.gridList.outType
  556. }
  557. that.$api.doRequest('get', '/warehouseBaseInfo/getWarehouse', {
  558. id: this.cangid
  559. }).then(res => {
  560. that.warehouseList = res.data.data.warehousePositionInfoList
  561. })
  562. }
  563. })
  564. this.$api.doRequest('get', 'commonSysParameter/getInfo', {
  565. constId: 'QUA1'
  566. }).then(res => {
  567. if (res.data.data) {
  568. that.carModeList = res.data.data
  569. }
  570. })
  571. //质检货名下拉
  572. this.$api.doRequest('get', '/qualityInspectionManagement/api/goodsName', {
  573. warehouseId: this.cangid
  574. }).then(res => {
  575. if (res.data.data) {
  576. this.goodsList = res.data.data
  577. }
  578. })
  579. this.gridList.grade = this.gradeList[0].value
  580. this.gridList.gradeKey = this.gradeList[0].key
  581. },
  582. onShow() {
  583. this.multiSelector1=[{name:'他运',value:'他运'}]
  584. this.$api.doRequest('get', '/inOutWarehouseTask/getContractNo', {
  585. warehouseName:this.warehouseName
  586. }).then(res => {
  587. // console.log(res)
  588. if(res.data.data.contractManagementInfoList){
  589. for (let i = 0; i < res.data.data.contractManagementInfoList.length; i++) {
  590. res.data.data.contractMangementInfoList[i].name='自运 ('+
  591. res.data.data.contractMangementInfoList[i].contractNo+' '+res.data.data.contractMangementInfoList[i].seller+')'
  592. this.multiSelector1.push(res.data.data.contractManagementInfoList[i])
  593. }
  594. }else{
  595. this.multiSelector1=[{name:'他运',value:'他运'}]
  596. }
  597. // this.taskNolist=res.data.data
  598. })
  599. // uni.showLoading({title: '加载中'})
  600. // this.$api.doRequest('get', '/inOutWarehouseTask/selectInOutWarehouseNo', {
  601. // flag: 2,
  602. // warehouseName:this.warehouseName
  603. // }).then(res => {
  604. // console.log(res)
  605. // uni.hideLoading();
  606. // this.taskNolist=res.data.data
  607. // })
  608. let _kh = uni.getStorageSync('isClick')
  609. if (uni.getStorageSync('checkcustomer') && _kh) {
  610. let _customerInfo = uni.getStorageSync('checkcustomer')
  611. if (_customerInfo.shipperName) {
  612. this.gridList.identityId = _customerInfo.id
  613. //点击登记客户
  614. this.gridList.customerName = _customerInfo.shipperName
  615. this.gridList.customerPhone = _customerInfo.shipperPhone
  616. this.gridList.carNumber = _customerInfo.carNo
  617. } else {
  618. //点击搜索客户
  619. this.gridList.customerName = _customerInfo.customerName
  620. this.gridList.customerPhone = _customerInfo.customerPhone
  621. }
  622. this.gridList.customerNumberCard = _customerInfo.customerNumberCard
  623. }
  624. },
  625. methods: {
  626. changeprice(){
  627. if(this.pricetext=='解锁'){
  628. this.pricedisabled=false
  629. this.pricetext='锁定'
  630. }else{
  631. this.pricedisabled=true
  632. this.pricetext='解锁'
  633. }
  634. },
  635. inputprice(){
  636. if(this.pricetext=='锁定'){
  637. this.pricedisabled=true
  638. this.pricetext='解锁'
  639. }
  640. },
  641. inOutDatepicker(e){
  642. this.gridList.inOutDate=e.year+'-'+e.month+'-'+e.day
  643. console.log(e)
  644. },
  645. fleetpicker(e){
  646. this.gridList.fleet=this.fleetNameList[e[0]].fleetName
  647. },
  648. changefreight(){
  649. this.freightstatus=!this.freightstatus
  650. if(this.freightstatus){
  651. this.freighttext='自动获取'
  652. }else{
  653. this.freighttext='手动填写'
  654. }
  655. },
  656. changecost(){
  657. this.coststatus=!this.coststatus
  658. if(this.coststatus){
  659. this.costtext='自动获取'
  660. }else{
  661. this.costtext='手动填写'
  662. }
  663. },
  664. gocustomer() {
  665. uni.navigateTo({
  666. url: '/pages/erpbusiness/customer?cangid=' + this.cangid + '&warehouseName=' + this.gridList
  667. .warehouseName + '&goodsName=' + this.gridList.goodsName + '&status=edit'
  668. })
  669. },
  670. print() {
  671. uni.navigateTo({
  672. url: '/pages/erpbusiness/bleConnect'
  673. })
  674. },
  675. close() {
  676. this.isShowPrint = false
  677. uni.navigateBack({})
  678. },
  679. // focusConfig(type){
  680. // console.log('childclick',type)
  681. // // 0是上一项
  682. // if(type==0){
  683. // }else{}
  684. // },
  685. hidden() {
  686. this.$refs.keyboard.open(false)
  687. },
  688. carPicker(e) {
  689. this.gridList.carModel = this.carModeList[e[0]].constValue
  690. },
  691. handleShowKeyboard() {
  692. if (this.flag == 0) {
  693. if (this.$refs.keyboard.open) {
  694. this.$refs.keyboard.open(true) //true 键盘显示 false 键盘隐藏
  695. } else {
  696. this.$refs.keyboard[0].open(true)
  697. }
  698. }
  699. },
  700. handleShowKeyboard1() {
  701. if (this.flag == 0) {
  702. if (this.$refs.keyboard1.open) {
  703. this.$refs.keyboard1.open(true) //true 键盘显示 false 键盘隐藏
  704. } else {
  705. this.$refs.keyboard1[0].open(true)
  706. }
  707. }
  708. },
  709. handleClick(e) {
  710. this.gridList.carNumber = e.value //键盘输入值
  711. },
  712. handleClick1(e) {
  713. this.gridList.jiaorenli = e.value //键盘输入值
  714. },
  715. change(e) {
  716. if (e) {
  717. this.gridList.supplementaryRecording = 1
  718. } else {
  719. this.gridList.supplementaryRecording = 0
  720. }
  721. },
  722. confirmInfo() {
  723. this.isShowAlert = true
  724. },
  725. alertBtn() {
  726. var that = this
  727. that.gridList.reWaterContent = that.gridList.waterContent
  728. if (that.gridList.buckleMiscellaneous) {
  729. that.gridList.reBuckleMiscellaneous = that.gridList.buckleMiscellaneous
  730. }
  731. that.gridList.flag = 1
  732. this.$api.doRequest('post', '/qualityInspectionManagement/api/editQualityInspection', that.gridList).then(
  733. res => {
  734. if (res.data.code == "200") {
  735. that.$api.doRequest('post', '/qualityInspectionManagement/api/editQualityInspection', {
  736. id: that.gridList.id,
  737. flag: 2
  738. }).then(res => {
  739. if (res.data.code == "200") {
  740. that.$api.msg('提交成功!')
  741. setTimeout(function() {
  742. uni.navigateBack({})
  743. }, 1000)
  744. } else {
  745. that.$api.msg('提交失败')
  746. }
  747. })
  748. } else {
  749. that.$api.msg('提交失败')
  750. }
  751. })
  752. },
  753. waterContentChange() {
  754. var that = this
  755. if (this.gridList.goodsName && this.cangid) {
  756. if (!this.gridList.dryGrainPrice || this.gridList.dryGrainPrice == 0) {
  757. this.$api.doRequest('get', '/purchasePrice/dryGrainPrice', {
  758. warehouseId: this.cangid,
  759. goodsName: this.gridList.goodsName
  760. }).then(res => {
  761. that.gridList.dryGrainPrice = res.data.data
  762. })
  763. }
  764. }
  765. if (this.gridList.goodsName) {
  766. for (var i = 0; i < this.purchasePriceList.length; i++) {
  767. if (this.purchasePriceList[i].goodsName == this.gridList.goodsName) {
  768. this.gridList.buckleWeightRatio = this.purchasePriceList[i].deductWeight
  769. this.gridList.paramType = this.purchasePriceList[i].paramType
  770. }
  771. }
  772. }
  773. var numReg = /^[0-9]*$/
  774. var numRe = new RegExp(numReg)
  775. //潮粮单价改变事件
  776. if (
  777. this.gridList.goodsName &&
  778. this.gridList.waterContent &&
  779. this.gridList.grade &&
  780. numRe.test(this.gridList.waterContent)
  781. ) {
  782. this.$api.doRequest('get', '/purchasePrice/tidalGrainPrice', {
  783. warehouseId: this.cangid,
  784. goodsName: this.gridList.goodsName,
  785. waterContent: this.gridList.waterContent,
  786. grade: this.gridList.grade,
  787. }).then(res => {
  788. if (that.gridList.paramType == '1') {
  789. that.gridList.tidalGrainPrice = parseFloat(parseFloat(res.data.data) - parseFloat(that
  790. .gridList.buckleMiscellaneous) / 100 * parseFloat(that.gridList
  791. .dryGrainPrice)).toFixed(4)
  792. if (!that.gridList.tidalGrainPrice) {
  793. that.gridList.tidalGrainPrice = ''
  794. }
  795. } else {
  796. that.gridList.tidalGrainPrice = res.data.data
  797. }
  798. })
  799. }
  800. },
  801. goodsPicker(e) {
  802. this.gridList.goodsName = this.goodsList[e[0]].goodsName
  803. },
  804. submit() {
  805. this.gridList.statusFlag=1
  806. if(this.gridList.serviceManagementType==3){
  807. if(this.outType){
  808. this.gridList.outType=this.outType
  809. }
  810. }else{
  811. this.gridList.customerName = ''
  812. }
  813. var text=''
  814. if(this.utils.getCurrectRoles('acquisitionQuality.qview')&&!this.utils.getCurrectRoles('acquisitionQuality.initial')){
  815. text="确定提交钎样信息?"
  816. if(this.flag==3||this.flag==4||this.flag==0){
  817. this.gridList.brazer=1
  818. }
  819. }else{
  820. text="确定提交质检信息?"
  821. if(this.flag==3||this.flag==4||this.flag==0){
  822. this.gridList.brazer=0
  823. }
  824. }
  825. if(this.flag==4){
  826. this.gridList.flag = 0
  827. }else{
  828. this.gridList.flag = this.flag
  829. }
  830. // if(this.flag==2){
  831. // this.gridList.reInspector=this.userInfo.userName
  832. // }
  833. var that = this
  834. if (!this.gridList.qualityNo) {
  835. this.$api.msg('编号不能为空')
  836. return
  837. }
  838. if (!this.gridList.binNumber) {
  839. this.$api.msg('仓位不能为空')
  840. return
  841. }
  842. if(this.gridList.serviceManagementType==3){
  843. if (!this.gridList.customerName) {
  844. this.$api.msg('客户不能为空')
  845. return
  846. }
  847. }
  848. // if (!this.gridList.storageTagNo) {
  849. // this.$api.msg('囤位号不能为空')
  850. // return
  851. // }
  852. // if (this.gridList.storageTagNo.length > 10) {
  853. // this.$api.msg('囤位号不能为空')
  854. // return
  855. // }
  856. if (!this.gridList.carNumber) {
  857. this.$api.msg('车牌号不能为空')
  858. return
  859. }
  860. if (this.gridList.carNumber.length > 7) {
  861. this.$api.msg('车牌号输入错误')
  862. return
  863. }
  864. if (!this.gridList.goodsName) {
  865. this.$api.msg('货名不能为空')
  866. return
  867. }
  868. if (this.gridList.paramType != 1 && this.gridList.buckleWeightRatio < 0 || this.gridList.paramType != 1 &&
  869. this.gridList.buckleWeightRatio > 2) {
  870. this.$api.msg('扣重比输入错误')
  871. return
  872. }
  873. if (
  874. this.gridList.paramType != 1 && String(this.gridList.buckleWeightRatio).indexOf('.') != -1 &&
  875. String(this.gridList.buckleWeightRatio).length -
  876. (String(this.gridList.buckleWeightRatio).indexOf('.') + 1) > 2) {
  877. this.$api.msg('扣重比输入错误')
  878. return
  879. }
  880. if (this.flag == 0 && this.gridList.paramType == 1 && this.gridList.buckleMiscellaneous < 0 || this.flag ==
  881. 0 && this.gridList.paramType == 1 && this.gridList.buckleMiscellaneous > 50) {
  882. this.$api.msg('初检扣杂输入错误')
  883. return
  884. }
  885. if (this.flag == 1 && this.gridList.paramType == 1 && this.gridList.reBuckleMiscellaneous < 0 || this
  886. .flag == 0 && this.gridList.paramType == 1 && this.gridList.reBuckleMiscellaneous > 50) {
  887. this.$api.msg('复检扣杂输入错误')
  888. return
  889. }
  890. if (!this.gridList.type) {
  891. this.$api.msg('类型不能为空')
  892. return
  893. }
  894. if (this.value == false || this.flag == 2) {
  895. if (!this.gridList.grade) {
  896. this.$api.msg('等级不能为空')
  897. return
  898. }
  899. if (!this.gridList.impurity) {
  900. this.$api.msg('杂质不能为空')
  901. return
  902. }
  903. if (!this.gridList.waterContent) {
  904. this.$api.msg('初检水分不能为空')
  905. return
  906. }
  907. // if (!this.gridList.reWaterContent) {
  908. // this.$api.msg('复检水分不能为空')
  909. // return
  910. // }
  911. if (!this.gridList.mildewGrain) {
  912. this.$api.msg('霉变粒不能为空')
  913. return
  914. }
  915. if (!this.gridList.bulkDensity) {
  916. this.$api.msg('容重不能为空')
  917. return
  918. }
  919. if (!this.gridList.jiaorenli) {
  920. this.$api.msg('热损伤不能为空')
  921. return
  922. }
  923. if (!this.gridList.imperfectGrain) {
  924. this.$api.msg('不完整粒不能为空')
  925. return
  926. }
  927. }
  928. this.gridList.storageNumber = this.gridList.storageTagNo
  929. that.gridList.warehouseInOutDetail={
  930. id:that.gridList.warehouseInOutId,
  931. grade:that.gridList.grade,
  932. reGrade:that.gridList.grade,
  933. waterContent:that.gridList.waterContent,
  934. reWaterContent:that.gridList.reWaterContent,
  935. imperfectGrain:that.gridList.imperfectGrain,
  936. reImperfectGrain:that.gridList.reImperfectGrain,
  937. impurity:that.gridList.impurity,
  938. reImpurity:that.gridList.reImpurity,
  939. jiaorenli:that.gridList.jiaorenli,
  940. reJiaorenli:that.gridList.reJiaorenli,
  941. bulkDensity:that.gridList.bulkDensity,
  942. reBulkDensity:that.gridList.reBulkDensity,
  943. mildewGrain:that.gridList.mildewGrain,
  944. reMildewGrain:that.gridList.reMildewGrain,
  945. }
  946. uni.showModal({
  947. content: text,
  948. showCancel: true,
  949. confirmText: '提交',
  950. success: function(res) {
  951. if (res.confirm) {
  952. that.$api.doRequest('post',
  953. '/qualityInspectionManagement/api/editQualityInspection', that.gridList)
  954. .then(res => {
  955. that.$api.doRequest('post',
  956. '/warehouseInOutInfo/InOutWarehouse',
  957. that.gridList)
  958. .then(res => {
  959. if (res.data.code == 200) {
  960. that.$api.msg('编辑质检成功')
  961. that.gridList.warehouseId = that.cangid
  962. uni.setStorageSync("quality_print", that.gridList)
  963. console.log('that.gridList', that.gridList)
  964. if(that.utils.getCurrectRoles('acquisitionQuality.initial')){
  965. that.isShowPrint = true
  966. }
  967. // uni.getStorageSync("depotAcquisition_warehouseName")
  968. // uni.navigateBack({})
  969. }
  970. })
  971. })
  972. }
  973. }
  974. })
  975. },
  976. gradepicker(e) {
  977. console.log(e)
  978. // this.$set(this.gradeList,'grade',this.gradeList[e[0]].value)
  979. this.gridList.grade = this.gradeList[e[0]].value
  980. this.gridList.gradeKey = this.gradeList[e[0]].key
  981. this.waterContentChange()
  982. },
  983. gradepicker1(e) {
  984. console.log(e)
  985. // this.$set(this.gradeList,'grade',this.gradeList[e[0]].value)
  986. this.gridList.reGrade = this.gradeList[e[0]].value
  987. this.gridList.reGradeKey = this.gradeList[e[0]].key
  988. },
  989. binNumberpicker(e) {
  990. this.gridList.binNumber = this.warehouseList[e[0]].binNumber
  991. },
  992. del(item) {
  993. this.$api.doRequest('get', '/qualityInspectionManagement/api/deleteQualityInspection', {
  994. id: item.id
  995. }).then(res => {
  996. if (res.data.code == 200) {
  997. this.$api.msg('删除成功')
  998. } else {
  999. this.$api.msg('系统异常,请联系管理员')
  1000. }
  1001. })
  1002. },
  1003. contactUs() {
  1004. const that = this
  1005. uni.makePhoneCall({
  1006. // 手机号
  1007. phoneNumber: '18241771147',
  1008. // 成功回调
  1009. success: (res) => {},
  1010. // 失败回调
  1011. fail: (res) => {}
  1012. });
  1013. },
  1014. loadData() {
  1015. // const that = this
  1016. // if(uni.getStorageSync("PageCur")){
  1017. // that.PageCur = uni.getStorageSync("PageCur");
  1018. // }
  1019. // that.userInfoTmp = uni.getStorageSync("userInfo")
  1020. // uni.showLoading({
  1021. // title: '正在加载',
  1022. // mask:true
  1023. // })
  1024. // that.$api.request('integral', 'getIndexData', failres => {
  1025. // that.$api.msg(failres.errmsg)
  1026. // uni.hideLoading()
  1027. // }).then(res => {
  1028. // let data = res.data
  1029. // uni.setStorageSync("message", data.message);
  1030. // uni.setStorageSync("task", data.task);
  1031. // uni.setStorageSync("contract", data.contract);
  1032. // uni.setStorageSync('showTran', data.showTran);
  1033. // that.showTran = data.showTran
  1034. // that.gridList[4].tips = data.task
  1035. // that.gridList[2].tips = data.contract
  1036. // that.companyId = data.companyId
  1037. // uni.hideLoading()
  1038. // })
  1039. },
  1040. confirm() {
  1041. const that = this
  1042. if (!that.inputContent) {
  1043. that.$api.msg('输入不能为空')
  1044. return
  1045. }
  1046. let obj = {}
  1047. obj[that.feild] = that.inputContent
  1048. that.$api.request('user', 'syncUserInfo', obj).then(res => {
  1049. that.userInfo.nickname = that.inputContent
  1050. that.inputContent = ''
  1051. that.$store.commit('login', that.userInfo)
  1052. })
  1053. },
  1054. cancel() {
  1055. this.inputShow = false
  1056. this.inputStatus = 'none'
  1057. this.genderShow = false
  1058. },
  1059. myAccount() {
  1060. uni.navigateTo({
  1061. url: `/pageA/pages/contract`
  1062. })
  1063. },
  1064. /**
  1065. * 统一跳转接口,拦截未登录路由
  1066. * navigator标签现在默认没有转场动画,所以用view
  1067. */
  1068. navTo(url) {
  1069. if (!this.hasLogin) {
  1070. url = '/pages/public/login';
  1071. }
  1072. uni.navigateTo({
  1073. url
  1074. })
  1075. },
  1076. mycarClick(carNo) {
  1077. this.modalName = null
  1078. uni.navigateTo({
  1079. url: `/pageB/car/mycar_detail?carNo=${carNo}`
  1080. })
  1081. },
  1082. scanCode() {
  1083. uni.scanCode({
  1084. success: function(res) {
  1085. uni.navigateTo({
  1086. url: res.result
  1087. })
  1088. }
  1089. })
  1090. },
  1091. hideModal(e) {
  1092. this.modalName = null
  1093. },
  1094. }
  1095. }
  1096. </script>
  1097. <style lang='scss' scoped>
  1098. .title_b {
  1099. margin: 20rpx 20rpx 0rpx 20rpx;
  1100. padding: 20rpx 10rpx 20rpx 10rpx;
  1101. font-size: 18px;
  1102. font-weight: 550;
  1103. }
  1104. page {
  1105. background: #F5F6FA;
  1106. }
  1107. .wrap {
  1108. padding-bottom: 10px;
  1109. font-size: 14px;
  1110. background: #fff;
  1111. margin: 10px;
  1112. border-radius: 10px;
  1113. input {
  1114. font-size: 14px;
  1115. }
  1116. >.title {
  1117. padding: 10px 16px;
  1118. }
  1119. .b-b:after {
  1120. border-bottom: 1px solid #eee;
  1121. }
  1122. }
  1123. .footer {
  1124. background: #fff;
  1125. position: fixed;
  1126. bottom: 0;
  1127. width: 100%;
  1128. padding: 20px 10px;
  1129. z-index: 10;
  1130. .button {
  1131. background: #22C572;
  1132. width: 90%;
  1133. margin: 20rpx auto;
  1134. padding: 10px;
  1135. color: #fff;
  1136. text-align: center;
  1137. border-radius: 30px;
  1138. }
  1139. }
  1140. .c-row {
  1141. display: -webkit-box;
  1142. display: -webkit-flex;
  1143. display: flex;
  1144. -webkit-box-align: center;
  1145. -webkit-align-items: center;
  1146. align-items: center;
  1147. padding: 20rpx 30rpx;
  1148. position: relative;
  1149. }
  1150. .con-list {
  1151. -webkit-box-flex: 1;
  1152. -webkit-flex: 1;
  1153. flex: 1;
  1154. display: -webkit-box;
  1155. display: -webkit-flex;
  1156. display: flex;
  1157. -webkit-box-orient: vertical;
  1158. -webkit-box-direction: normal;
  1159. -webkit-flex-direction: column;
  1160. flex-direction: column;
  1161. color: #303133;
  1162. line-height: 40rpx;
  1163. text-align: right;
  1164. padding-right: 20rpx;
  1165. }
  1166. input:disabled {
  1167. color: #ccc;
  1168. }
  1169. .textarea-style {
  1170. border: 1px solid #EEEEEE;
  1171. width: 100%;
  1172. padding: 20rpx;
  1173. border-radius: 20rpx;
  1174. }
  1175. .c-row-fj {
  1176. padding: 20rpx
  1177. }
  1178. .buns_item {
  1179. display: flex;
  1180. padding: 80rpx 0 50rpx 0;
  1181. justify-content: space-around;
  1182. }
  1183. .but_css {
  1184. background: #22C572;
  1185. width: 40%;
  1186. padding: 20rpx;
  1187. color: #fff;
  1188. text-align: center;
  1189. border-radius: 20rpx;
  1190. }
  1191. </style>