details.vue 41 KB

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