details.vue 41 KB

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