details.vue 40 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157
  1. <template>
  2. <view class="wrap">
  3. <view>
  4. <view class='flex' style='margin-left:10px;justify-content: space-between;align-items: center;'>
  5. <view>任务详情</view>
  6. <view>
  7. <u-search placeholder="输入车牌号" bg-color='#F2F6FA ' shape='square' v-model="carNo" @change='carchange' @custom='search' @clear='clearsearch' :show-action="true"></u-search></view>
  8. </view>
  9. <view class='flex' style='margin-left:10px;align-items: center;'>
  10. <view :class='status1=="0"?"active":""' class='statusitem' @click='statuschange1("0")'>全部</view>
  11. <view :class='status1=="1"?"active":""' class='statusitem' @click='statuschange1("1")'>已反馈</view>
  12. <view :class='status1=="2"?"active":""' class='statusitem' @click='statuschange1("2")'>未反馈</view>
  13. </view>
  14. <view class="content">
  15. <view class="row">
  16. <view class="left">任务编号</view>
  17. <view>{{detailData.processNo}}</view>
  18. </view>
  19. <view class="row">
  20. <view class="left">货名</view>
  21. <view>{{detailData.goodsName}}</view>
  22. </view>
  23. <view class="row">
  24. <view class="left">重量</view>
  25. <view>{{detailData.weight}}</view>
  26. </view>
  27. <view class="row">
  28. <view class="left">发货地址</view>
  29. <view>{{detailData.sendPrivate}}{{detailData.sendCity}}{{detailData.sendArea}}</view>
  30. </view>
  31. <view class="row">
  32. <view class="left">发货人</view>
  33. <view>{{detailData.sender}}</view>
  34. </view>
  35. <view class="row">
  36. <view class="left">发货人电话</view>
  37. <view>{{detailData.senderPhone}}</view>
  38. </view>
  39. <view class="row">
  40. <view class="left">收货地址</view>
  41. <view>{{detailData.receivePrivate}}{{detailData.receiveCity}}{{detailData.receiveArea}}</view>
  42. </view>
  43. <view class="row">
  44. <view class="left">收货人</view>
  45. <view>{{detailData.receiver}}</view>
  46. </view>
  47. <view class="row">
  48. <view class="left">收货人电话</view>
  49. <view>{{detailData.receiverPhone}}</view>
  50. </view>
  51. <view class="row">
  52. <view class="left">发货日期</view>
  53. <view>{{detailData.deliveryDateStart}}</view>
  54. </view>
  55. <view class="row">
  56. <view class="left">最晚到货日期</view>
  57. <view>{{detailData.deliveryDateEnd}}</view>
  58. </view>
  59. <view class="row">
  60. <view class="left">合同编号</view>
  61. <view>{{detailData.contractNo}}</view>
  62. </view>
  63. <view class="row">
  64. <view class="left">运输方式</view>
  65. <view>{{detailData.tranType}}</view>
  66. </view>
  67. </view>
  68. </view>
  69. <view>
  70. <view v-if='detailData.tranType=="火运"' style='margin-left:10px;'>联络员及车次</view>
  71. <view v-if='detailData.tranType=="火运"' class="content">
  72. <view class="row">
  73. <view class="left">姓名</view>
  74. <view>{{detailData.driver}}</view>
  75. </view>
  76. <view class="row">
  77. <view class="left">电话</view>
  78. <view>{{detailData.driverPhone}}</view>
  79. </view>
  80. <view class="row">
  81. <view class="left">发车日期</view>
  82. <view>
  83. <view @click='show1=true'>{{detailData.sendDateStart}}</view>
  84. <u-picker v-model="show1" mode="time" @confirm='dateChange($event)' :params="params">
  85. </u-picker>
  86. </view>
  87. </view>
  88. <view class="row">
  89. <view class="left">预计到站日期</view>
  90. <view>
  91. <view>{{detailData.receiveDateEnd}}</view>
  92. </view>
  93. </view>
  94. <view class="row">
  95. <view class="left">车型</view>
  96. <view>
  97. <view>{{detailData.carModel}}</view>
  98. </view>
  99. </view>
  100. </view>
  101. </view>
  102. <view v-if='detailData.tranType=="船运"' class="content">
  103. <view class="row">
  104. <view class="left">姓名</view>
  105. <view>{{detailData.driver}}</view>
  106. </view>
  107. <view class="row">
  108. <view class="left">电话</view>
  109. <view>{{detailData.driverPhone}}</view>
  110. </view>
  111. <view class="row">
  112. <view class="left">发船日期</view>
  113. <view>
  114. <view @click='show1=true'>{{detailData.sendDateStart}}</view>
  115. <u-picker v-model="show1" mode="time" @confirm='dateChange($event)' :params="params">
  116. </u-picker>
  117. </view>
  118. </view>
  119. <view class="row">
  120. <view class="left">预计到港日期</view>
  121. <view>
  122. <view>{{detailData.receiveDateEnd}}</view>
  123. </view>
  124. </view>
  125. <view class="row">
  126. <view class="left">船名</view>
  127. <view>
  128. <view>{{detailData.shipName}}</view>
  129. </view>
  130. </view>
  131. <view class="row">
  132. <view class="left">航次</view>
  133. <view>
  134. <view>{{detailData.shipNo}}</view>
  135. </view>
  136. </view>
  137. <view class="row">
  138. <view class="left">类型</view>
  139. <view>
  140. <view>{{detailData.shipType}}</view>
  141. </view>
  142. </view>
  143. <view v-if="detailData.shipType == '集装箱'" class="row">
  144. <view class="left">数量</view>
  145. <view>
  146. <view>{{detailData.boxNumber}}</view>
  147. </view>
  148. </view>
  149. </view>
  150. <view v-if='detailData.tranType=="火运"'>
  151. <view style='margin-left:10px;'>卸车详情</view>
  152. <view v-for='(item,index) in freightspace' class="content">
  153. <view class="row">
  154. <view class="left">车厢-{{index+1}}</view>
  155. <view style='text-align:right;' v-if="item.status == '未装车'">{{item.status}}</view>
  156. <view style='text-align:right;' v-else-if="item.status == '已送达'">已卸车</view>
  157. </view>
  158. <view class="row">
  159. <view class="left">车厢号</view>
  160. <view>{{item.boxNo}}</view>
  161. </view>
  162. <view class="row">
  163. <view class="left">装车净重</view>
  164. <view>{{item.loadNetWeight}}</view>
  165. </view>
  166. <view class="row">
  167. <view class="left">卸车净重</view>
  168. <view v-if="item.status == '未装车' || item.status == '已送达'">{{item.unloadNetWeight}}</view>
  169. <view style='text-align:right;' v-else>
  170. <input v-model='item.unloadNetWeight' class="right-bottom"
  171. placeholder="输入卸车净重"></input>
  172. </view>
  173. </view>
  174. <view v-if="detailData.priceType!=null&&detailData.priceType=='随行就市'" class="row">
  175. <view class="left">单价(元/吨)</view>
  176. <view v-if="item.status == '未装车' || item.status == '已送达'">{{item.contractPrice}}</view>
  177. <view style='text-align:right;' v-else>
  178. <input v-model='item.contractPrice' class="right-bottom"
  179. placeholder="输入单价"></input>
  180. </view>
  181. </view>
  182. <view class="row">
  183. <view class="left">磅单</view>
  184. <view v-if="item.status == '未装车' || item.status == '已送达'">
  185. <image v-if="item.unloadPoundImg" @click='shadeshow(item.unloadPoundImg)' style='width:100px;height:100px;' :src="item.unloadPoundImg" mode=""></image>
  186. <view v-else>暂无图片</view>
  187. </view>
  188. <view v-else class="pound_list">
  189. <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="9" :file-list="imgUrl[index]"
  190. :size-type="['compressed']" :imgIndex='index' @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
  191. @on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload>
  192. </view>
  193. </view>
  194. <view class="row">
  195. <view class="left">卸车日期</view>
  196. <view>
  197. <view v-if="item.status == '未装车' || item.status == '已送达'">{{item.unloadingDate}}</view>
  198. <view v-else @click='train(index)'>{{item.unloadingDate?item.unloadingDate:'请选择日期'}}</view>
  199. <u-picker v-model="item.show2" mode="time" @cancel='datecancel()' @confirm='dateChange1($event,item)' :params="params">
  200. </u-picker>
  201. </view>
  202. </view>
  203. <u-button v-if="item.status == '已装车'" @click='submit(index,2)' type="success">保存</u-button>
  204. </view>
  205. </view>
  206. <view v-if='detailData.tranType=="汽运"'>
  207. <view style='margin-left:10px;'>卸车详情</view>
  208. <view v-for='(item,index) in freightspace' class="content">
  209. <view class="row">
  210. <view class="left">司机-{{index+1}}</view>
  211. <view v-if="item.status == '未装车'">未装车</view>
  212. <view v-if="item.status == '已装车'">未卸车</view>
  213. <view v-if="item.status == '已送达'">已卸车</view>
  214. </view>
  215. <view class="row">
  216. <view class="left">姓名</view>
  217. <view>{{item.driver}}</view>
  218. </view>
  219. <view class="row">
  220. <view class="left">司机电话</view>
  221. <view>{{item.driverPhone}}</view>
  222. </view>
  223. <view class="row">
  224. <view class="left">车牌号</view>
  225. <view>{{item.carNo}}</view>
  226. </view>
  227. <view class="row">
  228. <view class="left">装车净重</view>
  229. <view>{{item.loadNetWeight}}</view>
  230. </view>
  231. <view class="row">
  232. <view class="left">卸车净重</view>
  233. <view v-if="item.status == '未装车' || item.status == '已送达'">{{item.unloadNetWeight}}</view>
  234. <view style='text-align:right;' v-else>
  235. <input v-model='item.unloadNetWeight' class="right-bottom"
  236. placeholder="输入卸车净重"></input>
  237. </view>
  238. </view>
  239. <view v-if="detailData.priceType!=null&&detailData.priceType=='随行就市'" class="row">
  240. <view class="left">单价(元/吨)</view>
  241. <view v-if="item.status == '未装车' || item.status == '已送达'">{{item.contractPrice}}</view>
  242. <view style='text-align:right;' v-else>
  243. <input v-model='item.contractPrice' class="right-bottom"
  244. placeholder="输入单价"></input>
  245. </view>
  246. </view>
  247. <view class="row">
  248. <view class="left">卸车日期</view>
  249. <view>
  250. <view v-if="item.status == '未装车' || item.status == '已送达'">{{item.receiveDateEnd}}</view>
  251. <view @click='train(index)'>{{item.receiveDateEnd?item.receiveDateEnd:'请选择日期'}}</view>
  252. <u-picker v-model="item.show2" mode="time" @cancel='datecancel()' @confirm='dateChange2($event,index)' :params="params">
  253. </u-picker>
  254. </view>
  255. </view>
  256. <view class="row">
  257. <view class="left">磅单</view>
  258. <view v-if="item.status == '未装车' || item.status == '已送达'">
  259. <image v-if="item.unloadPoundImg" @click='shadeshow(item.unloadPoundImg)' style='width:100px;height:100px;' :src="item.unloadPoundImg" mode=""></image>
  260. <view v-else>暂无图片</view>
  261. </view>
  262. <view v-else class="pound_list">
  263. <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="9" :file-list="imgUrl[index]"
  264. :size-type="['compressed']" :imgIndex='index' @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
  265. @on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload>
  266. </view>
  267. </view>
  268. <view class="row">
  269. <view class="left">箱号</view>
  270. <view>{{item.caseNo}}</view>
  271. </view>
  272. <view class="row">
  273. <view class="left">封号</view>
  274. <view>{{item.titleNo}}</view>
  275. </view>
  276. <view v-if="item.signStatus == '未签合同'">未签合同</view>
  277. <view v-if="item.signStatus == '已签合同'">已签合同</view>
  278. <u-button v-if="item.status != '未装车' && item.status != '已送达'" @click='submit(index,1)' type="success">保存</u-button>
  279. </view>
  280. </view>
  281. <view v-if='detailData.tranType=="船运"'>
  282. <view style='margin-left:10px;'>卸船详情</view>
  283. <view v-for='(item,index) in freightspace' class="content">
  284. <view v-if="item.shipType == '集装箱'" class="row">
  285. <view class="left">集装箱-{{index+1}}</view>
  286. <view v-if="item.status == '未装车'">未装船</view>
  287. <view v-if="item.status == '已装车'">未卸船</view>
  288. <view v-if="item.status == '已送达'">已卸船</view>
  289. </view>
  290. <view v-if="item.shipType == '散船'" class="row">
  291. <view class="left">仓位号-{{index+1}}</view>
  292. <view v-if="item.status == '未装车'">未装船</view>
  293. <view v-if="item.status == '已装车'">未卸船</view>
  294. <view v-if="item.status == '已送达'">已卸船</view>
  295. </view>
  296. <view v-if="item.shipType == '集装箱'" class="row">
  297. <view class="left">箱号</view>
  298. <view style='text-align:right;'>
  299. <view v-if="item.status == '未装车' || item.status == '已送达'">{{item.caseNo}}</view>
  300. <input v-else placeholder="请输入箱号" v-model='item.caseNo' type="text">
  301. </view>
  302. </view>
  303. <view v-if="item.shipType == '集装箱'" class="row">
  304. <view class="left">封号</view>
  305. <view style='text-align:right;'>
  306. <view v-if="item.status == '未装车' || item.status == '已送达'">{{item.titleNo}}</view>
  307. <input v-else placeholder="请输入封号" v-model='item.titleNo' type="text">
  308. </view>
  309. </view>
  310. <view v-if="item.shipType == '散船'" class="row">
  311. <view class="left">仓位号</view>
  312. <view>
  313. <view>{{item.binNumber}}</view>
  314. </view>
  315. </view>
  316. <view v-if="item.shipType == '散船'" class="row">
  317. <view class="left">计划重量</view>
  318. <view>
  319. <view>{{item.positionWeight}}</view>
  320. </view>
  321. </view>
  322. <view class="row">
  323. <view class="left">装船净重</view>
  324. <view>{{item.loadNetWeight}}</view>
  325. </view>
  326. <view class="row">
  327. <view class="left">卸船净重</view>
  328. <view v-if="item.status == '未装车' || item.status == '已送达'">{{item.unloadNetWeight}}</view>
  329. <view style='text-align:right;' v-else>
  330. <input v-model='item.unloadNetWeight' class="right-bottom"
  331. placeholder="输入卸船净重"></input>
  332. </view>
  333. </view>
  334. <view v-if="detailData.priceType!=null&&detailData.priceType=='随行就市'" class="row">
  335. <view class="left">单价(元/吨)</view>
  336. <view v-if="item.status == '未装车' || item.status == '已送达'">{{item.contractPrice}}</view>
  337. <view style='text-align:right;' v-else>
  338. <input v-model='item.contractPrice' class="right-bottom"
  339. placeholder="输入单价"></input>
  340. </view>
  341. </view>
  342. <view class="row">
  343. <view class="left">卸船日期</view>
  344. <view>
  345. <view v-if="item.status == '未装车' || item.status == '已送达'">{{item.unloadingDate}}</view>
  346. <view v-else @click='train(index)'>{{item.unloadingDate?item.unloadingDate:'请选择日期'}}</view>
  347. <u-picker v-model="item.show2" mode="time" @cancel='datecancel()' @confirm='dateChange1($event,index)' :params="params">
  348. </u-picker>
  349. </view>
  350. </view>
  351. <!-- <view style='text-align:right;' v-if="item.status == '未装车' || item.status == '已送达'">{{item.status}}</view> -->
  352. <u-button v-if="item.status == '已装车'" @click='submit(index,3)' type="success">保存</u-button>
  353. </view>
  354. <view class="row">
  355. <view style='margin-left:10px;' class="left">运单</view>
  356. <view v-if="pictureTotal.length>0">
  357. <image v-for='item in pictureTotal' @click='shadeshow(item)' style='width:100px;height:100px;' :src="item" mode=""></image>
  358. </view>
  359. <view v-else>
  360. <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="9" :file-list="imgUrl[index]"
  361. :size-type="['compressed']" @on-success="getImgUrl1" @on-error="onError" @on-remove="onRemove"
  362. @on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload>
  363. </view>
  364. </view>
  365. </view>
  366. <view>合计吨:{{ total }}/{{ detailData.weight }}
  367. <text style='margin-left:10px;'
  368. class="noservice"
  369. v-show="detailData.receivingStatus == '执行中'">未完货</text>
  370. <text
  371. class="service"
  372. v-show="detailData.receivingStatus == '已完货'">{{ detailData.receivingStatus }}</text>
  373. </view>
  374. <view style='padding:10px;' class='flex bottom-btn'>
  375. <u-button @click='pass' type="error" class="btn1" hover-class='none'>提交</u-button>
  376. <u-button @click='finishedgoods' type="success" class="btn2">完货</u-button>
  377. </view>
  378. <view @click='imgShow=false' v-if="imgShow" class="shade">
  379. <image style='position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;' :src="url" mode=""></image>
  380. </view>
  381. </view>
  382. </template>
  383. <script>
  384. import upload from '@/components/upload.vue';
  385. import helper from '@/common/helper.js';
  386. export default {
  387. components: {
  388. upload
  389. },
  390. data() {
  391. return {
  392. id:'',
  393. show1: false,
  394. show2: false,
  395. carNo:'',
  396. currentPage: 1,
  397. pageSize: 10,
  398. show1:false,
  399. positionId: "",
  400. binNumber: "",
  401. maxSize: 50 * 1024 * 1024,
  402. status: '执行中',
  403. status1:'0',
  404. positionName: '',
  405. statusList: [
  406. {name:'执行中',value:1},
  407. {name:'已完货',value:2},
  408. {name:'全部任务',value:3},
  409. ],
  410. params: {
  411. year: true,
  412. month: true,
  413. day: true,
  414. },
  415. imgUrl:[],
  416. unloadPoundImg:'',
  417. action: this.$uploadUrl,
  418. freightspace:[],
  419. feedbackFlag:1,
  420. detailData:{},
  421. allWarehouse: [],
  422. pictureTotal:[],
  423. showTime: '',
  424. index:0,
  425. imgShow:false,
  426. url:''
  427. }
  428. },
  429. onLoad(options) {
  430. this.id = options.id
  431. },
  432. onShow() {
  433. this.getList()
  434. },
  435. computed: {
  436. total: function () {
  437. var maxStorage = 0
  438. if(this.detailData.tranCarInfoList){
  439. for (var i = 0; i < this.detailData.tranCarInfoList.length; i++) {
  440. maxStorage += Number(
  441. this.detailData.tranCarInfoList[i].unloadNetWeight
  442. )
  443. }
  444. }
  445. return maxStorage
  446. },
  447. },
  448. methods: {
  449. search(e){
  450. this.getList()
  451. },
  452. clearsearch(){
  453. },
  454. carchange(){
  455. if(this.carNo==''){
  456. this.freightspace=this.detailData.tranCarInfoList
  457. }
  458. },
  459. statuschange1(status){
  460. this.status1=status
  461. if(status==0){
  462. if(this.carNo==''){
  463. this.freightspace=this.detailData.tranCarInfoList
  464. }else{
  465. this.freightspace=this.detailData.carInfoList
  466. }
  467. }else if(status==1){
  468. if(this.carNo==''){
  469. var arr=this.detailData.tranCarInfoList
  470. }else{
  471. var arr=this.detailData.carInfoList
  472. }
  473. this.freightspace=arr.filter((item)=>{return item.status=='已送达'})
  474. }else if(status==2){
  475. if(this.carNo==''){
  476. var arr=this.detailData.tranCarInfoList
  477. }else{
  478. var arr=this.detailData.carInfoList
  479. }
  480. this.freightspace=arr.filter((item)=>{return item.status!='已送达'})
  481. }
  482. },
  483. shadeshow(url){
  484. this.imgShow=true
  485. this.url=url
  486. },
  487. datecancel(){
  488. this.freightspace[this.index].show2 = true
  489. this.$forceUpdate();
  490. },
  491. submit(index,status){
  492. var that = this
  493. if(this.detailData.tranType=='火运'){
  494. if (!this.freightspace[index].unloadNetWeight) {
  495. this.$api.msg('卸车净重不能为空!')
  496. return
  497. }
  498. if (
  499. this.freightspace[index].unloadNetWeight < 0 ||
  500. this.freightspace[index].unloadNetWeight > 10000
  501. ) {
  502. this.$api.msg('卸车净重输入错误!')
  503. return
  504. }
  505. if (!this.freightspace[index].unloadNetWeight) {
  506. this.$api.msg('卸车日期不能为空!')
  507. return
  508. }
  509. var tranProcessInfo = {}
  510. tranProcessInfo.flag='1'
  511. tranProcessInfo.id=that.freightspace[index].id
  512. tranProcessInfo.infoId = that.detailData.infoId
  513. tranProcessInfo.processId = that.detailData.id
  514. tranProcessInfo.driver = that.detailData.driver
  515. tranProcessInfo.driverPhone = that.detailData.driverPhone
  516. tranProcessInfo.tranCarNo = that.detailData.tranCarNo
  517. tranProcessInfo.carNo = that.detailData.carNo
  518. tranProcessInfo.unloadNetWeight = that.freightspace[index].unloadNetWeight
  519. tranProcessInfo.unloadingDate = that.freightspace[index].unloadingDate
  520. tranProcessInfo.unloadPoundImg = that.freightspace[index].unloadPoundImg
  521. tranProcessInfo.tranType = status
  522. tranProcessInfo.contractNo = that.detailData.contractNo
  523. that.$api.doRequest('post', '/tranCarInfo/api/feedbackTranCar', tranProcessInfo).then(res => {
  524. if (res.data.code == 200) {
  525. that.$api.msg('保存成功')
  526. that.detailData = {}
  527. that.freightspace = {}
  528. uni.navigateBack({})
  529. }
  530. })
  531. // }
  532. // }
  533. // })
  534. }else if(this.detailData.tranType=='船运'){
  535. if (this.freightspace[index].shipType == '集装箱'&&!this.freightspace[index].caseNo) {
  536. this.$api.msg('箱号不能为空!')
  537. return
  538. }
  539. if (
  540. this.freightspace[index].shipType == '集装箱'&&this.freightspace[index].caseNo.length > 15 ||
  541. this.freightspace[index].shipType == '集装箱'&&this.freightspace[index].caseNo.length < 1) {
  542. this.$api.msg('箱号输入错误!')
  543. return
  544. }
  545. if (this.freightspace[index].shipType == '集装箱'&&!this.freightspace[index].titleNo) {
  546. this.$api.msg('封号不能为空!')
  547. return
  548. }
  549. if (
  550. this.freightspace[index].shipType == '集装箱'&&this.freightspace[index].titleNo.length > 15 ||
  551. this.freightspace[index].shipType == '集装箱'&&this.freightspace[index].titleNo.length < 1
  552. ) {
  553. this.$api.msg('封号输入错误!')
  554. return
  555. }
  556. if (!this.freightspace[index].unloadNetWeight) {
  557. this.$api.msg('卸船净重不能为空!')
  558. return
  559. }
  560. if (
  561. this.freightspace[index].unloadNetWeight < 0 ||
  562. this.freightspace[index].unloadNetWeight > 10000
  563. ) {
  564. this.$api.msg('卸船净重输入错误!')
  565. return
  566. }
  567. if (!this.freightspace[index].unloadingDate) {
  568. this.$api.msg('卸船日期不能为空!')
  569. return
  570. }
  571. var tranProcessInfo = {}
  572. tranProcessInfo.flag='1'
  573. tranProcessInfo.id=that.freightspace[index].id
  574. tranProcessInfo.infoId = that.detailData.infoId
  575. tranProcessInfo.processId = that.detailData.id
  576. tranProcessInfo.driver = that.detailData.driver
  577. tranProcessInfo.driverPhone = that.detailData.driverPhone
  578. tranProcessInfo.tranCarNo = that.detailData.tranCarNo
  579. tranProcessInfo.caseNo = that.freightspace[index].caseNo
  580. tranProcessInfo.titleNo = that.freightspace[index].titleNo
  581. tranProcessInfo.unloadNetWeight = that.freightspace[index].unloadNetWeight
  582. tranProcessInfo.unloadingDate = that.freightspace[index].unloadingDate
  583. tranProcessInfo.unloadPoundImg = that.freightspace[index].unloadPoundImg
  584. tranProcessInfo.tranType = status
  585. tranProcessInfo.contractNo = that.detailData.contractNo
  586. that.$api.doRequest('post', '/tranCarInfo/api/feedbackTranCar', tranProcessInfo).then(res => {
  587. if (res.data.code == 200) {
  588. that.$api.msg('保存成功')
  589. that.detailData = {}
  590. that.freightspace = {}
  591. uni.navigateBack({})
  592. }
  593. })
  594. }else if(this.detailData.tranType=='汽运'){
  595. if (!this.freightspace[index].driver) {
  596. that.$api.msg('司机姓名不能为空!')
  597. return
  598. }
  599. if (!this.freightspace[index].driverPhone) {
  600. that.$api.msg('司机电话不能为空!')
  601. return
  602. }
  603. if (!this.freightspace[index].carNo) {
  604. that.$api.msg('车牌号不能为空!')
  605. return
  606. }
  607. if (!this.freightspace[index].unloadNetWeight) {
  608. that.$api.msg('卸重不能为空!')
  609. return
  610. }
  611. var tranProcessInfo = {}
  612. tranProcessInfo.flag='1'
  613. tranProcessInfo.id=that.freightspace[index].id
  614. tranProcessInfo.infoId = that.detailData.infoId
  615. tranProcessInfo.processId = that.detailData.id
  616. tranProcessInfo.driver = that.detailData.driver
  617. tranProcessInfo.driverPhone = that.detailData.driverPhone
  618. tranProcessInfo.tranCarNo = that.detailData.tranCarNo
  619. tranProcessInfo.carNo = that.freightspace[index].carNo
  620. tranProcessInfo.caseNo = that.freightspace[index].caseNo
  621. tranProcessInfo.titleNo = that.freightspace[index].titleNo
  622. tranProcessInfo.unloadNetWeight = that.freightspace[index].unloadNetWeight
  623. tranProcessInfo.receiveDateEnd = that.freightspace[index].receiveDateEnd
  624. tranProcessInfo.unloadPoundImg = that.freightspace[index].unloadPoundImg
  625. tranProcessInfo.tranType = status
  626. tranProcessInfo.contractNo = that.detailData.contractNo
  627. that.$api.doRequest('post', '/tranCarInfo/api/feedbackTranCar', tranProcessInfo).then(res => {
  628. if (res.data.code == 200) {
  629. that.$api.msg('保存成功')
  630. that.detailData = {}
  631. that.freightspace = {}
  632. uni.navigateBack()
  633. }
  634. })
  635. }
  636. },
  637. finishedgoods(){
  638. var that = this
  639. if(this.detailData.tranType=='火运'){
  640. uni.showModal({
  641. content: "完货操作后,装车信息不可修改,是否确定完货?",
  642. success(res) {
  643. if (res.confirm) {
  644. that.tranCarInfoList = that.freightspace
  645. that.tranCarInfoList.driver = that.detailData.driver
  646. that.tranCarInfoList.driverPhone = that.detailData.driverPhone
  647. that.tranCarInfoList.tranCarNo = that.detailData.tranCarNo
  648. that.tranCarInfoList.carNo = that.detailData.carNo
  649. that.tranCarInfoList[0].sendDateStart = that.detailData.sendDateStart
  650. that.tranCarInfoList.loadNetWeight = that.detailData.loadNetWeight
  651. that.tranCarInfoList.tranType = that.tranType
  652. that.tranCarInfoList.unloadPoundImg = that.detailData.unloadPoundImg
  653. // this.tranCarInfoList.boxNo = this.arr.toString()
  654. for (var i = 0; i < that.tranCarInfoList.length; i++) {
  655. that.tranCarInfoList[i].id = that.freightspace[i].id
  656. if (that.tranCarInfoList[i].temporaryDriverFlag != 0) {
  657. that.tranCarInfoList[i].temporaryDriverFlag = 1
  658. that.tranCarInfoList[i].tranType = that.tranType
  659. }
  660. }
  661. var tranProcessInfo = {}
  662. tranProcessInfo.id = that.detailData.id
  663. tranProcessInfo.weight = that.total
  664. tranProcessInfo.infoId = that.detailData.infoId
  665. tranProcessInfo.processNo = that.detailData.processNo
  666. tranProcessInfo.tranPrice = that.detailData.tranPrice
  667. tranProcessInfo.tranCarInfoList = that.tranCarInfoList
  668. that.$api.doRequest('post', '/tranProcessInfo/api/editFeedbackStatus', tranProcessInfo).then(res => {
  669. if (res.data.code == 200) {
  670. that.$api.msg('提交成功')
  671. that.detailData = {}
  672. that.freightspace = {}
  673. setTimeout(function(){
  674. uni.navigateBack()
  675. },1000)
  676. }
  677. })
  678. }
  679. }
  680. })
  681. }else if(this.detailData.tranType=='船运'){
  682. uni.showModal({
  683. content: "完货操作后,装船信息不可修改,是否确定完货?",
  684. success(res) {
  685. if (res.confirm) {
  686. var tranProcessInfo = {}
  687. tranProcessInfo.id = that.detailData.id
  688. tranProcessInfo.weight = that.total
  689. that.$api.doRequest('post', '/tranProcessInfo/api/editFeedbackStatus', tranProcessInfo).then(res => {
  690. if (res.data.code == 200) {
  691. that.$api.msg('提交成功')
  692. that.detailData = {}
  693. that.freightspace = {}
  694. setTimeout(function(){
  695. uni.navigateBack()
  696. },1000)
  697. }
  698. })
  699. }
  700. }
  701. })
  702. }else if(this.detailData.tranType=='汽运'){
  703. uni.showModal({
  704. content: "完货操作后,装车信息不可修改,是否确定完货?",
  705. success(res) {
  706. if (res.confirm) {
  707. var tranProcessInfo = {}
  708. tranProcessInfo.id = that.detailData.id
  709. tranProcessInfo.weight = that.total
  710. that.$api.doRequest('post', '/tranProcessInfo/api/editFeedbackStatus', tranProcessInfo).then(res => {
  711. if (res.data.code == 200) {
  712. that.$api.msg('提交成功')
  713. that.detailData = {}
  714. that.freightspace = {}
  715. setTimeout(function(){
  716. uni.navigateBack()
  717. },1000)
  718. }
  719. })
  720. }
  721. }
  722. })
  723. }
  724. },
  725. pass(){
  726. var that = this
  727. if(this.detailData.tranType=='火运'){
  728. // for(var i=0;i<this.freightspace.length;i++){
  729. // if (!this.freightspace[i].unloadPoundImg) {
  730. // this.$api.msg('卸车净重不能为空!')
  731. // return
  732. // }
  733. // if (
  734. // this.freightspace[i].unloadPoundImg < 0 ||
  735. // this.freightspace[i].unloadPoundImg > 10000
  736. // ) {
  737. // this.$api.msg('装车净重输入错误!')
  738. // return
  739. // }
  740. // if (!this.freightspace[i].unloadingDate) {
  741. // this.$api.msg('装车日期不能为空!')
  742. // return
  743. // }
  744. // }
  745. uni.showModal({
  746. content: "提交成功后提醒司机及时签订运输合同,确定提交卸车信息?",
  747. success(res) {
  748. if (res.confirm) {
  749. that.tranCarInfoList = that.freightspace
  750. that.tranCarInfoList.driver = that.detailData.driver
  751. that.tranCarInfoList.driverPhone = that.detailData.driverPhone
  752. that.tranCarInfoList.tranCarNo = that.detailData.tranCarNo
  753. that.tranCarInfoList.carNo = that.detailData.carNo
  754. that.tranCarInfoList[0].sendDateStart = that.detailData.sendDateStart
  755. that.tranCarInfoList.unloadNetWeight = that.detailData.unloadNetWeight
  756. that.tranCarInfoList.tranType = that.tranType
  757. that.tranCarInfoList.loadPoundImg = that.detailData.loadPoundImg
  758. // this.tranCarInfoList.boxNo = this.arr.toString()
  759. for (var i = 0; i < that.tranCarInfoList.length; i++) {
  760. that.tranCarInfoList[i].id = that.freightspace[i].id
  761. if (that.tranCarInfoList[i].temporaryDriverFlag != 0) {
  762. that.tranCarInfoList[i].temporaryDriverFlag = 1
  763. that.tranCarInfoList[i].tranType = that.tranType
  764. }
  765. }
  766. var tranProcessInfo = {}
  767. tranProcessInfo.id = that.detailData.id
  768. tranProcessInfo.infoId = that.detailData.infoId
  769. tranProcessInfo.flag = 1
  770. tranProcessInfo.processNo = that.detailData.processNo
  771. tranProcessInfo.tranPrice = that.detailData.tranPrice
  772. tranProcessInfo.tranCarInfoList = that.tranCarInfoList
  773. that.$api.doRequest('post', '/tranProcessInfo/api/insertTranCar', tranProcessInfo).then(res => {
  774. if (res.data.code == 200) {
  775. that.$api.msg('提交成功')
  776. that.detailData = {}
  777. that.freightspace = {}
  778. setTimeout(function(){
  779. uni.navigateBack()
  780. },1000)
  781. }
  782. })
  783. }
  784. }
  785. })
  786. }else if(this.detailData.tranType=='船运'){
  787. for(var i=0;i<this.freightspace.length;i++){
  788. if (this.freightspace[i].loadNetWeight&&this.freightspace[i].loadNetWeight < 0 ||this.freightspace[i].loadNetWeight&&this.freightspace[i].loadNetWeight > 10000) {
  789. this.$api.msg('装船净重输入错误!')
  790. return
  791. }
  792. }
  793. uni.showModal({
  794. content: "提交成功后装船信息不可修改,是否确定提交?",
  795. success(res) {
  796. if (res.confirm) {
  797. that.tranCarInfoList = that.freightspace
  798. that.tranCarInfoList[0].sendDateStart = that.detailData.sendDateStart
  799. for (var i = 0; i < that.tranCarInfoList.length; i++) {
  800. that.tranCarInfoList[i].id = that.freightspace[i].id
  801. }
  802. var tranProcessInfo = {}
  803. tranProcessInfo.id = that.detailData.id
  804. tranProcessInfo.infoId = that.detailData.infoId
  805. tranProcessInfo.flag = 1
  806. tranProcessInfo.processNo = that.detailData.processNo
  807. tranProcessInfo.tranCarInfoList = that.tranCarInfoList
  808. that.$api.doRequest('post', '/tranProcessInfo/api/insertTranCar', tranProcessInfo).then(res => {
  809. if (res.data.code == 200) {
  810. that.$api.msg('提交成功')
  811. that.detailData = {}
  812. that.freightspace = {}
  813. setTimeout(function(){
  814. uni.navigateBack()
  815. },1000)
  816. }
  817. })
  818. }
  819. }
  820. })
  821. }else if(this.detailData.tranType=='汽运'){
  822. uni.showModal({
  823. content: "所有车辆完成卸车任务后,请及时修改任务状态,确定提交卸车信息?",
  824. success(res) {
  825. if (res.confirm) {
  826. that.tranCarInfoList = that.freightspace
  827. that.tranCarInfoList.driver = that.detailData.driver
  828. that.tranCarInfoList.driverPhone = that.detailData.driverPhone
  829. that.tranCarInfoList.tranCarNo = that.detailData.tranCarNo
  830. that.tranCarInfoList.carNo = that.detailData.carNo
  831. that.tranCarInfoList.unloadNetWeight = that.detailData.unloadNetWeight
  832. that.tranCarInfoList.tranType = that.tranType
  833. that.tranCarInfoList.unloadPoundImg = that.detailData.unloadPoundImg
  834. // this.tranCarInfoList.boxNo = this.arr.toString()
  835. for (var i = 0; i < that.tranCarInfoList.length; i++) {
  836. that.tranCarInfoList[i].id = that.freightspace[i].id
  837. if (that.tranCarInfoList[i].temporaryDriverFlag != 0) {
  838. that.tranCarInfoList[i].temporaryDriverFlag = 1
  839. that.tranCarInfoList[i].tranType = that.tranType
  840. }
  841. }
  842. var tranProcessInfo = {}
  843. tranProcessInfo.id = that.detailData.id
  844. tranProcessInfo.infoId = that.detailData.infoId
  845. tranProcessInfo.flag = 1
  846. tranProcessInfo.processNo = that.detailData.processNo
  847. tranProcessInfo.tranPrice = that.detailData.tranPrice
  848. tranProcessInfo.tranCarInfoList = that.tranCarInfoList
  849. that.$api.doRequest('post', '/tranProcessInfo/api/insertTranCar', tranProcessInfo).then(res => {
  850. if (res.data.code == 200) {
  851. that.$api.msg('提交成功')
  852. that.detailData = {}
  853. that.freightspace = {}
  854. setTimeout(function(){
  855. uni.navigateBack()
  856. },1000)
  857. }
  858. })
  859. }
  860. }
  861. })
  862. }
  863. },
  864. getList() {
  865. uni.showLoading({
  866. title:'加载中'
  867. })
  868. this.$api.doRequest('get', '/tranProcessInfo/getTranProcess', {
  869. id:this.id,
  870. carNo:this.carNo,
  871. }).then(res => {
  872. if (res.data.code == 200) {
  873. uni.hideLoading()
  874. this.detailData = res.data.data
  875. if(res.data.data.tranType=='火运'){
  876. if(res.data.data.tranCarInfoList.length>0){
  877. if(res.data.data.tranCarInfoList[0].driver){
  878. this.detailData.driver = res.data.data.tranCarInfoList[0].driver
  879. }
  880. for (var i = 0; i < res.data.data.tranCarInfoList.length; i++) {
  881. res.data.data.tranCarInfoList[i].show2=false
  882. }
  883. this.detailData.driverPhone =res.data.data.tranCarInfoList[0].driverPhone
  884. this.$set(this.detailData,'sendDateStart',res.data.data.tranCarInfoList[0].sendDateStart)
  885. this.detailData.receiveDateEnd =
  886. res.data.data.tranCarInfoList[0].receiveDateEnd
  887. this.detailData.carModel = res.data.data.tranCarInfoList[0].carModel
  888. if(this.carNo){
  889. this.freightspace=res.data.data.carInfoList
  890. }else{
  891. this.freightspace=res.data.data.tranCarInfoList
  892. }
  893. }
  894. }else if(res.data.data.tranType=='汽运'){
  895. for (var i = 0; i < res.data.data.tranCarInfoList.length; i++) {
  896. this.imgUrl[i]=[]
  897. res.data.data.tranCarInfoList[i].show2=false
  898. if(res.data.data.tranCarInfoList[i].unloadPoundImg){
  899. if(res.data.data.tranCarInfoList[i].unloadPoundImg){
  900. var arr=res.data.data.tranCarInfoList[i].unloadPoundImg.split(",")
  901. for (var q = 0; q < arr.length; q++) {
  902. if(arr[q]!=''){
  903. this.imgUrl[i].push({url:arr[q]})
  904. }
  905. }
  906. }
  907. }
  908. }
  909. if(this.carNo){
  910. this.freightspace=res.data.data.carInfoList
  911. }else{
  912. this.freightspace=res.data.data.tranCarInfoList
  913. }
  914. }else if(res.data.data.tranType=='船运'){
  915. if (res.data.data.tranCarInfoList.length > 0) {
  916. for (var i = 0; i < res.data.data.tranCarInfoList.length; i++) {
  917. res.data.data.tranCarInfoList[i].show2=false
  918. }
  919. this.detailData.driver = res.data.data.tranCarInfoList[0].driver
  920. this.detailData.driverPhone =
  921. res.data.data.tranCarInfoList[0].driverPhone
  922. this.$set(
  923. this.detailData,
  924. 'sendDateStart',
  925. res.data.data.tranCarInfoList[0].sendDateStart
  926. )
  927. this.detailData.receiveDateEnd =
  928. res.data.data.tranCarInfoList[0].receiveDateEnd
  929. this.detailData.shipName = res.data.data.tranCarInfoList[0].shipName
  930. this.detailData.shipNo = res.data.data.tranCarInfoList[0].shipNo
  931. this.detailData.shipType = res.data.data.tranCarInfoList[0].shipType
  932. this.detailData.boxNumber = res.data.data.tranCarInfoList[0].boxNumber
  933. //上传附件计数
  934. if(this.detailData.tranCarInfoList[0].unloadPoundImg){
  935. this.pictureTotal = this.detailData.tranCarInfoList[0].unloadPoundImg.split(",")
  936. }
  937. if(this.carNo){
  938. this.freightspace=res.data.data.carInfoList
  939. }else{
  940. this.freightspace=res.data.data.tranCarInfoList
  941. }
  942. }
  943. }
  944. }
  945. // console.log(this.imgUrl)
  946. })
  947. },
  948. getImgUrl(res1,res2,res3,res4) {
  949. this.freightspace[res4].unloadPoundImg=res1
  950. // this.detailData.addressUrl = res
  951. // console.log(res)
  952. // console.log('------------res-----------')
  953. },
  954. getImgUrl1(res1,res2,res3,res4){
  955. console.log(res1,res2,res3,res4)
  956. if (this.freightspace[0].unloadPoundImg) {
  957. this.freightspace[0].unloadPoundImg += ',' + res1
  958. } else {
  959. this.freightspace[0].unloadPoundImg = res1
  960. }
  961. },
  962. setImgUrl(val){
  963. for(let i = 0;i<freightspace.length;i++){
  964. }
  965. },
  966. filterFileType(index, lists) {
  967. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  968. lists.splice(index, 1);
  969. // 当前文件不支持
  970. uni.showModal({
  971. title: '暂不支持当前图片类型',
  972. showCancel: false
  973. });
  974. } else {
  975. this.isAdd = false;
  976. }
  977. },
  978. dateChange(e) {
  979. this.detailData.sendDateStart = e.year + "-" + e.month + "-" + e.day
  980. },
  981. train(index){
  982. console.log(index)
  983. this.freightspace[index].show2 = true
  984. this.$forceUpdate();
  985. this.index=index
  986. },
  987. dateChange1(e){
  988. this.$set(this.freightspace[this.index],'unloadingDate',e.year + "-" + e.month + "-" + e.day)
  989. },
  990. dateChange2(e){
  991. this.$set(this.freightspace[this.index],'receiveDateEnd',e.year + "-" + e.month + "-" + e.day)
  992. },
  993. statuschange(e) {
  994. this.status = this.statusList[e[0]].name
  995. this.getList()
  996. },
  997. goDetail(val) {
  998. uni.navigateTo({
  999. url: '/pages/erp/deliveryfeedback/details?id=' + val.id,
  1000. })
  1001. }
  1002. }
  1003. }
  1004. </script>
  1005. <style scoped lang="scss">
  1006. uni-page-body {
  1007. overflow: hidden;
  1008. }
  1009. .content{
  1010. margin:10px 0;
  1011. }
  1012. .wrap {
  1013. margin: 10rpx;
  1014. padding: 20rpx 20rpx 300rpx 20rpx;
  1015. .top {
  1016. display: flex;
  1017. margin-bottom: 20rpx;
  1018. .top-left {
  1019. margin-right: 20rpx;
  1020. }
  1021. }
  1022. }
  1023. .bottom-btn {
  1024. width: 100%;
  1025. position: fixed;
  1026. bottom:0;
  1027. display: flex;
  1028. z-index: 11;
  1029. left: 0;
  1030. background-color: #f8f8f8;
  1031. flex-direction: column;
  1032. .btn1,.btn2{
  1033. width: 100%;
  1034. margin-bottom: 26rpx;
  1035. border-radius: 90rpx;
  1036. }
  1037. .btn1{
  1038. background: white;
  1039. color: #00C265;
  1040. }
  1041. }
  1042. .content,
  1043. .content1,
  1044. .content2 {
  1045. border-radius: 20rpx;
  1046. background: white;
  1047. padding: 20rpx;
  1048. .title {
  1049. font-size: 28rpx;
  1050. font-weight: 600;
  1051. color: #333333;
  1052. }
  1053. .row {
  1054. display: flex;
  1055. justify-content: space-between;
  1056. // border-bottom: 1px solid #EEEEEE;
  1057. padding: 21rpx 0;
  1058. .right,
  1059. input {
  1060. font-size: 28rpx;
  1061. color: #333333;
  1062. }
  1063. }
  1064. .row-bottom {
  1065. // border: 0;
  1066. .right-bottom {
  1067. width: 280rpx;
  1068. text-align: right;
  1069. }
  1070. }
  1071. }
  1072. .content1 {
  1073. margin-top: 20rpx;
  1074. }
  1075. .content2 {
  1076. margin-top: 10px;
  1077. // display: flex;
  1078. align-items: center;
  1079. .left {
  1080. margin-right: 20px;
  1081. width: 300rpx;
  1082. }
  1083. }
  1084. // .left {
  1085. // margin-right: 20px;
  1086. // width: 300rpx;
  1087. // }
  1088. .pound_list{
  1089. width: 452rpx;
  1090. display: flex;
  1091. justify-content: flex-end;
  1092. text-align: right;
  1093. }
  1094. .submit {
  1095. width: 40%;
  1096. background: #22C572;
  1097. border-radius: 10rpx;
  1098. }
  1099. .edit-btn {
  1100. background: #22C572;
  1101. width: 100rpx;
  1102. height: 50rpx;
  1103. margin: 0;
  1104. color: white;
  1105. }
  1106. .has-btn {
  1107. align-items: center;
  1108. }
  1109. .shade{
  1110. background:#000;
  1111. position:fixed;
  1112. top:0;left:0;
  1113. width:100%;height:100%;
  1114. z-index:10000;
  1115. }
  1116. // .bottom-btn {
  1117. // padding: 30rpx;
  1118. // background: #FFFFFF;
  1119. // width: 92%;
  1120. // position: fixed;
  1121. // bottom: 0rpx;
  1122. // display: flex;
  1123. // z-index: 9999;
  1124. // }
  1125. .statusitem{
  1126. padding:10rpx;
  1127. }
  1128. .statusitem.active{
  1129. background:#19be6b;
  1130. color:#fff;
  1131. }
  1132. </style>