details.vue 41 KB

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