purchasecontract.vue 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284
  1. <template>
  2. <view class="container">
  3. <view class="headInfo">
  4. <view class="headInfo_left">
  5. <u-icon name="checkmark" color="#22C572" size="30" v-if="auditCheck=='success'"></u-icon>
  6. <u-icon name="close" color="#FB2323" size="24" v-if="auditCheck=='error'"></u-icon>
  7. <u-icon name="clock-fill" color="#FE6430" size="30" v-if="auditCheck=='question'"></u-icon>
  8. </view>
  9. <view class="headInfo_middle">
  10. <view class="headInfo_title">采购合同审批</view>
  11. <view class="headInfo_No">{{list.contractNo}}</view>
  12. </view>
  13. <view class="headInfo_right">
  14. <view class="char_a" v-if="auditCheck == 'success'">审批通过</view>
  15. <view class="char_b" v-if="auditCheck == 'question'">审核中</view>
  16. <view class="char_c" v-if="auditCheck == 'error'">审批未通过</view>
  17. </view>
  18. <view class="adopt" v-if="auditCheck == 'success'">
  19. <image src="../../../static/img/oa_office/adopt.png" class="adopt_img" mode=""></image>
  20. </view>
  21. </view>
  22. <u-form ref="uForm">
  23. <view class="form_top">基本信息</view>
  24. <u-form-item label-width='260' label="合同编号" :borderBottom="false">
  25. <u-input v-model="list.contractNo" input-align="right" placeholder="--" disabled />
  26. </u-form-item>
  27. <u-form-item label-width='260' label="买方" :borderBottom="false">
  28. <u-input v-model="list.buyer" input-align="right" placeholder="--" disabled />
  29. </u-form-item>
  30. <u-form-item label-width='260' label="买方电话" :borderBottom="false">
  31. <u-input v-model="list.buyerPhone" input-align="right" placeholder="--" disabled />
  32. </u-form-item>
  33. <u-form-item label-width='260' label="卖方" :borderBottom="false">
  34. <u-input v-model="list.seller" input-align="right" placeholder="--" disabled />
  35. </u-form-item>
  36. <u-form-item label-width='260' label="卖方电话" :borderBottom="false">
  37. <u-input v-model="list.sellerPhone" input-align="right" placeholder="--" disabled />
  38. </u-form-item>
  39. <u-form-item label-width='260' label="交易主体" :borderBottom="false" v-if="list.transactionSubject">
  40. <u-input v-model="list.transactionSubject" input-align="right" placeholder="--" disabled />
  41. </u-form-item>
  42. <u-form-item label-width='260' label="合营方" :borderBottom="false" v-if="list.seller">
  43. <u-input v-model="list.jointVentureParties" input-align="right" placeholder="--" disabled />
  44. </u-form-item>
  45. <u-form-item label-width='260' label="合营方电话" :borderBottom="false" v-if="list.sellerPhone">
  46. <u-input v-model="list.jointPhone" input-align="right" placeholder="--" disabled />
  47. </u-form-item>
  48. <u-form-item label-width='260' label="交货日期(起)" :borderBottom="false">
  49. <!-- <u-input v-model="list.deliveryDateStart" input-align="right" placeholder="--" disabled /> -->
  50. <view class="textCss">
  51. {{list.deliveryDateStart }} ~ {{list.deliveryDateEnd}}
  52. </view>
  53. </u-form-item>
  54. <u-form-item label-width='260' label="签订日期" :borderBottom="false">
  55. <u-input v-model="list.signingDate" input-align="right" placeholder="--" disabled />
  56. </u-form-item>
  57. <u-form-item label-width='260' label="合同单价(元/吨)" :borderBottom="false" v-if="list.unitContractPrice">
  58. <u-input v-model="list.unitContractPrice" input-align="right" placeholder="--" disabled />
  59. </u-form-item>
  60. <u-form-item label-width='260' label="合同总价(元)" :borderBottom="false" v-if="list.totalContractPrice">
  61. <u-input v-model="list.totalContractPrice" input-align="right" placeholder="--" disabled />
  62. </u-form-item>
  63. <u-form-item label-width='300' label="结算单价(元/吨)" :borderBottom="false" v-if="list.settlementPrice">
  64. <u-input v-model="list.settlementPrice" input-align="right" placeholder="--" disabled />
  65. </u-form-item>
  66. <!-- <u-form-item label-width='260' label="交货日期(止)" :borderBottom="false">
  67. <u-input v-model="list.deliveryDateEnd" input-align="right" placeholder="--" disabled />
  68. </u-form-item> -->
  69. <u-form-item label-width='260' label="货源所在地区" :borderBottom="false" v-if="list.sourceProvince">
  70. <view class="textCss">
  71. {{list.sourceProvince}}{{list.sourceCity}}{{list.sourceArea}}
  72. </view>
  73. </u-form-item>
  74. <u-form-item label-width='260' label="货源详细地址" :borderBottom="false" v-if="list.sourceGoods">
  75. <u-input v-model="list.sourceGoods" input-align="right" placeholder="--" disabled />
  76. </u-form-item>
  77. <u-form-item label-width='260' label="交货地所在地区" :borderBottom="false" v-if="list.deliveryProvince">
  78. <view class="textCss">
  79. {{list.deliveryProvince}}{{list.deliveryCity}}{{list.deliveryArea}}
  80. </view>
  81. </u-form-item>
  82. <u-form-item label-width='260' label="交货地详细地址" :borderBottom="false" v-if="list.placeDelivery">
  83. <u-input v-model="list.placeDelivery" input-align="right" placeholder="--" disabled />
  84. </u-form-item>
  85. <u-form-item label-width='300' label="最终实际交易量(吨)" :borderBottom="false" v-if="list.finalTradingVolume">
  86. <u-input v-model="list.finalTradingVolume" input-align="right" placeholder="--" disabled />
  87. </u-form-item>
  88. <u-form-item v-if='list.deliverType == 1 && list.personCharge' label-width='260' label="临时仓库负责人" :borderBottom="false">
  89. <u-input v-model="list.personCharge" input-align="right" placeholder="--" disabled />
  90. </u-form-item>
  91. <u-form-item label-width='260' label="合同收入(元)" :borderBottom="false" v-if="list.contractProcessInfo.goodsNameKey">
  92. <u-input v-model="list.contractProcessInfo.goodsNameKey" input-align="right" placeholder="--" disabled />
  93. </u-form-item>
  94. <u-form-item label-width='260' label="已开发票(元)" :borderBottom="false" v-if="list.contractProcessInfo.goodsName">
  95. <u-input v-model="list.contractProcessInfo.goodsName" input-align="right" placeholder="--" disabled />
  96. </u-form-item>
  97. <u-form-item label-width='260' label="费用支出(元)" :borderBottom="false" v-if="list.contractProcessInfo.waterContent">
  98. <u-input v-model="list.contractProcessInfo.waterContent" input-align="right" placeholder="--" disabled />
  99. </u-form-item>
  100. <u-form-item label-width='260' label="未开发票(元)" :borderBottom="false" v-if="list.contractProcessInfo.impurity">
  101. <u-input v-model="list.contractProcessInfo.impurity" input-align="right" placeholder="--" disabled />
  102. </u-form-item>
  103. <u-form-item label-width='260' label="未回款(元)" :borderBottom="false">
  104. <u-input v-model="list.contractProcessInfo.mildewGrain" input-align="right" placeholder="--" disabled />
  105. </u-form-item>
  106. <u-form-item label-width='260' label="双章原件回收情况" :borderBottom="false" v-if="list.contractProcessInfo.grade">
  107. <u-input v-model="list.contractProcessInfo.grade" input-align="right" placeholder="--" disabled />
  108. </u-form-item>
  109. <u-form-item label-width='260' label="备注信息" :borderBottom="false">
  110. </u-form-item>
  111. <u-form-item>
  112. <textarea class='textarea' autoHeight v-model="list.remarks" input-align="right" placeholder="暂无信息" disabled />
  113. </u-form-item>
  114. <!-- <u-form-item label-width='260' label="附件"> -->
  115. <!-- <view class="textCss">
  116. <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="1"
  117. :file-list="imglist" :size-type="['compressed']" @on-success="getImgUrl" @on-error="onError"
  118. @on-remove="onRemove" @on-uploaded="isAdd = true" :before-upload="filterFileType"
  119. @on-progress="onProgress" :deletable="false" :showProgress = "false"></upload>
  120. </view> -->
  121. <!-- </u-form-item> -->
  122. </u-form>
  123. <u-form ref="uForm">
  124. <view class="form_top">货物信息</view>
  125. <view class="form_view">
  126. <u-row customStyle="margin-bottom: 10px;">
  127. <u-col span="6">
  128. <u-form-item label-width='100' label="货名" class="label_css" :borderBottom="false">
  129. <u-input v-model="list.contractGoodsInfo.goodsName" input-align="right" placeholder="--" disabled />
  130. </u-form-item>
  131. </u-col>
  132. <u-col span="6">
  133. <u-form-item label-width='150' label="品级" class="label_css" :borderBottom="false">
  134. <u-input v-model="list.contractGoodsInfo.grade" input-align="right" placeholder="--" disabled />
  135. </u-form-item>
  136. </u-col>
  137. </u-row>
  138. <u-row customStyle="margin-bottom: 10px;">
  139. <u-col span="6">
  140. <u-form-item label-width='230' label="容重(克/升)>=" class="label_css" :borderBottom="false">
  141. <u-input v-model="list.contractGoodsInfo.bulkDensity" input-align="right" placeholder="--" disabled />
  142. </u-form-item>
  143. </u-col>
  144. <u-col span="6">
  145. <u-form-item label-width='200' label="水分(%)<=" class="label_css" :borderBottom="false">
  146. <u-input v-model="list.contractGoodsInfo.waterContent" input-align="right" placeholder="--" disabled />
  147. </u-form-item>
  148. </u-col>
  149. </u-row>
  150. <u-row customStyle="margin-bottom: 10px;">
  151. <u-col span="6">
  152. <u-form-item label-width='200' label="热损伤(%)<=" class="label_css" :borderBottom="false">
  153. <u-input v-model="list.contractGoodsInfo.jiaorenli" input-align="right" placeholder="--" disabled />
  154. </u-form-item>
  155. </u-col>
  156. <u-col span="6">
  157. <u-form-item label-width='200' label="杂质(%)<=" class="label_css" :borderBottom="false">
  158. <u-input v-model="list.contractGoodsInfo.impurity" input-align="right" placeholder="--" disabled />
  159. </u-form-item>
  160. </u-col>
  161. </u-row>
  162. <u-row customStyle="margin-bottom: 10px;">
  163. <u-col span="6">
  164. <u-form-item label-width='200' label="霉变粒(%)<=" class="label_css" :borderBottom="false">
  165. <u-input v-model="list.contractGoodsInfo.mildewGrain" input-align="right" placeholder="--" disabled />
  166. </u-form-item>
  167. </u-col>
  168. <u-col span="6">
  169. <u-form-item label-width='250' label="不完善粒(%)<=" class="label_css" :borderBottom="false">
  170. <u-input v-model="list.contractGoodsInfo.imperfectGrain" input-align="right" placeholder="--" disabled />
  171. </u-form-item>
  172. </u-col>
  173. </u-row>
  174. </view>
  175. </u-form>
  176. <u-form ref="uForm">
  177. <view class="form_top">约定信息</view>
  178. <u-form-item label-width='150' label="结算方式" class="label_css" :borderBottom="false">
  179. <u-input v-model="list.settlementMethod" input-align="right" placeholder="--" disabled />
  180. </u-form-item>
  181. <view class="form_view">
  182. <u-row customStyle="margin-bottom: 10px;">
  183. <u-col span="6">
  184. <u-form-item label-width='260' label="溢短装(%)" :borderBottom="false" >
  185. <u-input v-model="list.overShort" input-align="right" placeholder="--" disabled />
  186. </u-form-item>
  187. </u-col>
  188. <u-col span="6">
  189. <u-form-item label-width='150' label="交货方式" class="label_css" :borderBottom="false">
  190. <u-input v-model="list.deliverType1" input-align="right" placeholder="--" disabled />
  191. </u-form-item>
  192. </u-col>
  193. </u-row>
  194. <u-row customStyle="margin-bottom: 10px;">
  195. <u-col span="6">
  196. <u-form-item label-width='150' label="运输方式" class="label_css" :borderBottom="false">
  197. <u-input v-model="list.shippingType" input-align="right" placeholder="--" disabled />
  198. </u-form-item>
  199. </u-col>
  200. <u-col span="6">
  201. <u-form-item label-width='150' label="包装方式" class="label_css" :borderBottom="false">
  202. <u-input v-model="list.packingMethod" input-align="right" placeholder="--" disabled />
  203. </u-form-item>
  204. </u-col>
  205. </u-row>
  206. <u-row customStyle="margin-bottom: 10px;">
  207. <u-col span="6">
  208. <u-form-item label-width='150' label="验收方式" class="label_css" :borderBottom="false">
  209. <u-input v-model="list.acceptanceMethod" input-align="right" placeholder="--" disabled />
  210. </u-form-item>
  211. </u-col>
  212. <u-col span="6">
  213. <u-form-item label-width='150' label="重量(吨)" class="label_css" :borderBottom="false">
  214. <u-input v-model="list.weight" input-align="right" placeholder="--" disabled />
  215. </u-form-item>
  216. </u-col>
  217. </u-row>
  218. </view>
  219. </u-form>
  220. <u-form ref="uForm">
  221. <view class="form_top">共{{imglist.length}}个附件</view>
  222. <view v-if='imglist.length>0'>
  223. <view style="justify-content: space-between;" class='flex' v-for='item in imglist'>
  224. <view class="img_item">
  225. <view class="" style="width: 16%;">
  226. <image
  227. v-if="item.type == 'pdf'"
  228. class="imgsign" src="../../../static/img/oa_office/pdf3.png"
  229. mode=""></image>
  230. <image v-else-if="item.type == 'xls'||item.type == 'xlsx'"
  231. class="imgsign" src="../../../static/img/oa_office/excle3.png"
  232. mode=""></image>
  233. <image v-else-if="item.type == 'doc'||item.type == 'docx'"
  234. class="imgsign" src="../../../static/img/oa_office/word3.png"
  235. mode=""></image>
  236. <image v-else class="imgsign" :src="item.appendixPath" mode="">
  237. </image>
  238. </view>
  239. <view class="" style="width: 70%;">
  240. <view class="char_css">{{item.appendixName}}</view>
  241. <u-line-progress v-if='item.progressstatus' :striped="true" :percent="item.progress" :striped-active="true"></u-line-progress>
  242. <view class="img_size">{{item.appendixSize}}</view>
  243. </view>
  244. <view style="color: #22C572;" class="img_dowload" @click="openDocument(item)">
  245. 下载
  246. </view>
  247. </view>
  248. <!-- <u-icon name="attach" ></u-icon> -->
  249. <!-- <image style='width: 200rpx;height: 200rpx;' :src="item" mode=""></image> -->
  250. </view>
  251. </view>
  252. </u-form>
  253. <u-form ref="uForm">
  254. <view class="form_top">流程</view>
  255. <view class="content2">
  256. <view v-for="(item,index) in auditList" :key='index' class="audit">
  257. <view class="row" v-if='item.desc!="_PLACEHOLDER_"'>
  258. <view class="left">
  259. <view class="item1">
  260. <view class="item-content">{{item.operatorTitle}}</view>
  261. <view v-if="item.status=='success'" class='status success'>
  262. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  263. </view>
  264. <view v-if="item.status=='error'" class='status error'>
  265. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  266. </view>
  267. <view v-if="item.status=='question'" class='status question'>
  268. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  269. </view>
  270. </view>
  271. </view>
  272. <view class="right">
  273. <view class="right-item">
  274. <view class="item2">
  275. <view class="name">{{item.desc}}
  276. </view>
  277. <!-- <view class='time'>{{item.updateDate}}</view> -->
  278. <view v-if="item.status=='success'" class="status success">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1&&index!=0'>已审核</text></view>
  279. <view v-if="item.status=='error'" class="status error">{{item.commonStaffs1?item.staffscontent:item.operatorName}}<text v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text></view>
  280. <view v-if="item.status=='question'" class="status question">{{item.commonStaffs1?item.staffscontent:''}}<text v-if='!item.commonStaffs1'>未审核</text></view>
  281. <!-- <view class="status success">吕波(已审核)</view> -->
  282. </view>
  283. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0' class='time'>
  284. {{item.updateDate}}
  285. </view>
  286. </view>
  287. <view v-if='item.auditMind' class="right-content">
  288. {{item.auditMind}}
  289. </view>
  290. <view class="flex audit_img">
  291. <view v-for="(items,indexs) in item.fileUrl" class="url_css">
  292. <image :src="items" mode='aspectFill' imageMode='aspectFill' class="url_img" @click="auditFile(items)"></image>
  293. </view>
  294. </view>
  295. </view>
  296. <view v-if='item.commonStaffs1' class="right">
  297. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28"></u-icon>
  298. </view>
  299. </view>
  300. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  301. <view class='row2'>
  302. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  303. <view class="item-content">
  304. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  305. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  306. </view>
  307. <view class="name">{{item1.staffName}}</view>
  308. </view>
  309. </view>
  310. </view>
  311. <view class="row-line" v-if="index!= auditList.length - 1&&item.desc!='_PLACEHOLDER_'"></view>
  312. </view>
  313. </view>
  314. </u-form>
  315. <view v-if='list.taskId' style='padding:10px;' class='flex bottom-btn'>
  316. <u-button v-if='list.approveStatus||isSHowBtn' @click='reject' type="error" class="btn1" hover-class='none'>
  317. 驳回
  318. </u-button>
  319. <u-button v-if='list.approveStatus||isSHowBtn' @click='pass' type="success" class="btn2">通过</u-button>
  320. </view>
  321. <view v-if='show' class="shade">
  322. <view class="wrap">
  323. <view class="alert-top">
  324. <view class="title">
  325. {{title}}
  326. </view>
  327. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  328. </view>
  329. <view class="content1">
  330. <view class="u-textarea-style">
  331. <view class="right-bottom">
  332. {{auditMind.length}}/1000个字
  333. </view>
  334. <textarea maxlength="1000" v-model='auditMind' placeholder="请在此输入审核意见" name="" id="" cols="30" rows="11"></textarea>
  335. <!-- <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  336. maxlength="300" /> -->
  337. </view>
  338. <view class="upload_css">
  339. 上传附件
  340. <u-upload :custom-btn='true' class="upload" ref="upload" name='fileName' :form-data="{companyId: pcUserInfo.compId,
  341. modelId: '',
  342. vesselId: ''}" :action="action" :show-tips="false" :max-size="maxSize" :max-count="9"
  343. :size-type="['compressed']" @on-success="getImgUrl($event)" @on-error="onError"
  344. @on-remove="onRemove" @on-uploaded="isAdd = true" :limitType ="['png', 'jpg', 'jpeg', 'webp', 'gif']"
  345. @on-progress="onProgress">
  346. <view slot="addBtn" class="slot-btn u-list-item" hover-class="slot-btn__hover" hover-stay-time="150">
  347. <image style="width:23px;height:23px;" src="../../../static/img/liangmai/xiangji-2.png" mode=""></image>
  348. <view>选择图片</view>
  349. </view>
  350. </u-upload>
  351. <!--< upload :form-data="{companyId: pcUserInfo.compId,
  352. modelId: '',
  353. vesselId: ''}" class="upload" :width="150" ref="upload" :action="action" :max-size="maxSize" :max-count="99"
  354. :size-type="['compressed']" @on-success="getImgUrl" @on-error="onError" @on-remove="onRemove"
  355. @on-uploaded="isAdd = true" :before-upload="filterFileType" @on-progress="onProgress"></upload> -->
  356. </view>
  357. </view>
  358. <view class="audit_btn">
  359. <view @click='close()' class="cancel">取消</view>
  360. <view @click='passSubmit()' class="confirm">确定</view>
  361. </view>
  362. </view>
  363. </view>
  364. <view @click='imgShow=false' v-if="imgShow" class="shade">
  365. <image style='position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;' :src="url" mode=""></image>
  366. </view>
  367. </view>
  368. </template>
  369. <script>
  370. import upload from '@/components/upload.vue';
  371. import helper from '@/common/helper.js';
  372. export default {
  373. components: {
  374. upload
  375. },
  376. data() {
  377. return {
  378. isSHowBtn: true,
  379. id: "",
  380. currentPage: 1,
  381. pageSize: 10,
  382. list: {
  383. status: "",
  384. contractGoodsInfo: {},
  385. contractProcessInfo: {}
  386. },
  387. imglist: [],
  388. auditList:[],
  389. auditMind: '',
  390. show: false,
  391. title: '',
  392. contractNo: "",
  393. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  394. isAdd: true,
  395. imgShow: false,
  396. url: "",
  397. everyCheck: '',
  398. auditCheck:"question",//判断审核是否通过
  399. // 上传附件、
  400. action: this.$uploadUrl,
  401. pcUserInfo :uni.getStorageSync('pcUserInfo'),
  402. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  403. isAdd: true,
  404. fileUrl: []
  405. }
  406. },
  407. onBackPress(e) {
  408. if(this.everyCheck){
  409. uni.navigateTo({
  410. url: "/pages/task/my_task"
  411. })
  412. return true;
  413. }
  414. },
  415. onLoad(options) {
  416. this.id = options.id
  417. this.getList()
  418. this.everyCheck = uni.getStorageSync("everyTask")
  419. this.isSHowBtn = options.isShowbtn
  420. },
  421. methods: {
  422. auditFile(src) {
  423. uni.downloadFile({
  424. url: src,
  425. success: function(res) {
  426. var filePath = res.tempFilePath;
  427. uni.openDocument({
  428. filePath: filePath,
  429. showMenu: true,
  430. success: function(res) {
  431. console.log('打开文档成功');
  432. }
  433. });
  434. }
  435. });
  436. },
  437. getImgUrl(res) {
  438. this.fileUrl.push(res.data.appendixPath)
  439. },
  440. onError(error) {
  441. alert(error)
  442. console.log('------------error-----------')
  443. console.log(error)
  444. },
  445. onProgress(e) {
  446. console.log(e)
  447. },
  448. onRemove(index) {
  449. this.fileUrl.splice(index, 1)
  450. },
  451. shadeshow(url) {
  452. this.imgShow = true
  453. this.url = url
  454. },
  455. openDocument(item){
  456. this.$set(item,'progressstatus',true)
  457. this.$forceUpdate()
  458. const downloadTask =uni.downloadFile({
  459. url: item.appendixPath,
  460. success: function(res) {
  461. var filePath = res.tempFilePath;
  462. if(item.type=='pdf'||item.type == 'xls'||item.type == 'xlsx'||item.type == 'doc'||item.type == 'docx'){
  463. uni.openDocument({
  464. filePath: filePath,
  465. showMenu: true,
  466. success: function(res) {
  467. console.log('打开文档成功');
  468. }
  469. });
  470. }else{
  471. uni.previewImage({
  472. current: 0, //预览图片的下标
  473. urls: [item.appendixPath]
  474. })
  475. }
  476. }
  477. });
  478. downloadTask.onProgressUpdate((res) => {
  479. this.$set(item,'progress',res.progress)
  480. this.$forceUpdate()
  481. console.log('下载进度' + res.progress);
  482. console.log('已经下载的数据长度' + res.totalBytesWritten);
  483. console.log('预期需要下载的数据总长度' + res.totalBytesExpectedToWrite);
  484. // 满足测试条件,取消下载任务。
  485. // if (res.progress > 50) {
  486. // downloadTask.abort();
  487. // }
  488. });
  489. },
  490. showcontent(item){
  491. item.showflow=!item.showflow
  492. },
  493. getList(id) {
  494. uni.showLoading({
  495. title:'加载中',
  496. mask:true
  497. })
  498. var that = this
  499. this.$api.doRequest('get', '/contractManagementInfo/getInfo', {
  500. id: this.id
  501. }).then(res => {
  502. if (res.data.code == 200) {
  503. this.list = res.data.data
  504. if (this.list.deliverType == 1) {
  505. this.list.deliverType1 = '我方自提'
  506. } else if (this.list.deliverType == 2) {
  507. this.list.deliverType1 = '对方送货'
  508. }else if (this.list.deliverType == 3) {
  509. this.list.deliverType1 = '对方送货(临时库)'
  510. }
  511. this.$api.doRequest('get', '/appendix/query/getFileList', {
  512. appendixIds: that.list.addressUrl
  513. }).then(res1 => {
  514. that.imglist=res1.data.data
  515. for (let i = 0; i < that.imglist.length; i++) {//获取后缀
  516. that.imglist[i].progressstatus=false
  517. that.imglist[i].progress=0
  518. if (that.imglist[i].appendixName) {
  519. let index = that.imglist[i].appendixName.lastIndexOf(".") //获取最后出现.的字符
  520. that.imglist[i].type = that.imglist[i].appendixName.substring(index+1)
  521. }
  522. }
  523. //审核流程
  524. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  525. businessCode: 'BUY-CONTRACT-APPROVE',
  526. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  527. }).then(res1 => {
  528. this.$api.doRequest('get', '/commonUser/getHis', {
  529. workflowId: res1.data.data[0].id,
  530. businessKey: this.id,
  531. branch:that.list.jointVentureParties?that.list.jointVentureParties:'zt'
  532. }).then(response => {
  533. uni.hideLoading()
  534. for (let i = 0; i < response.data.data.length; i++) {
  535. this.$set(response.data.data[i],'status','question')
  536. // console.log(response.data.data[i].workflowHistoricTasks,i)
  537. if(response.data.data[i].commonStaffs){
  538. response.data.data[i].showflow=false
  539. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  540. response.data.data[i].operatorName=response.data.data[i].desc
  541. response.data.data[i].staffscontent='共'+response.data.data[i].commonStaffs.length+'人,当前审核'+response.data.data[i].workflowHistoricTasks.length+'人'
  542. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  543. if(response.data.data[i].workflowHistoricTasks.length!=response.data.data[i].commonStaffs.length){
  544. // response.data.data[i].status='question'
  545. this.$set(response.data.data[i],'status','question')
  546. }else{
  547. this.$set(response.data.data[i],'status','success')
  548. // response.data.data[i].status='success'
  549. }
  550. response.data.data[i].workflowlen=response.data.data[i].workflowHistoricTasks.length
  551. var workflowdata=response.data.data[i].workflowHistoricTasks
  552. var staffsdata=response.data.data[i].commonStaffs
  553. for (let q = 0; q < staffsdata.length; q++) {
  554. staffsdata[q].status=false
  555. staffsdata[q].staffTitle=staffsdata[q].staffName
  556. for (let k = 0; k < workflowdata.length; k++) {
  557. if(staffsdata[q].staffId==workflowdata[k].operatorId){
  558. staffsdata[q].status=true
  559. }
  560. }
  561. }
  562. }
  563. response.data.data[i].commonStaffs1=response.data.data[i].commonStaffs
  564. }else{
  565. if(response.data.data[i].workflowHistoricTasks&&response.data.data[i].workflowHistoricTasks.length>0){
  566. var len =response.data.data[i].workflowHistoricTasks.length-1
  567. if(response.data.data[i].workflowHistoricTasks[len].approved){
  568. this.$set(response.data.data[i],'status','success')
  569. }else{
  570. this.$set(response.data.data[i],'status','error')
  571. }
  572. response.data.data[i].operatorTitle=response.data.data[i].workflowHistoricTasks[len].operatorName.substring(response.data.data[i].workflowHistoricTasks[0].operatorName.length - 2)
  573. response.data.data[i].operatorName=response.data.data[i].workflowHistoricTasks[len].operatorName
  574. var time=new Date(response.data.data[i].workflowHistoricTasks[len].claimTime).getTime()
  575. response.data.data[i].updateDate=this.$u.timeFormat(time, 'mm.dd hh:MM')
  576. // response.data.data[i].auditMind=response.data.data[i].workflowHistoricTasks[len].auditMind
  577. if (response.data.data[i].workflowHistoricTasks[len].auditMind && response.data.data[i].workflowHistoricTasks[len].auditMind.indexOf("##") !=-1) {
  578. response.data.data[i].auditMind = response.data.data[i].workflowHistoricTasks[len].auditMind.split("##")[0]
  579. response.data.data[i].fileUrl = response.data.data[i].workflowHistoricTasks[len].auditMind.split("##")[1].split(",")
  580. }else{
  581. response.data.data[i].auditMind = response.data.data[i].workflowHistoricTasks[len].auditMind
  582. }
  583. }else{
  584. this.$set(response.data.data[i],'status','question')
  585. // response.data.data[i].status='question'
  586. if(response.data.data[i].desc=='总经理助理审核'){
  587. response.data.data[i].operatorTitle='总助'
  588. }else if(response.data.data[i].desc=='杜大光审核'){
  589. response.data.data[i].operatorTitle='大光'
  590. }else{
  591. response.data.data[i].operatorTitle=response.data.data[i].desc.substring(0,2)
  592. }
  593. response.data.data[i].operatorName=response.data.data[i].desc
  594. var time1=new Date(response.data.data[i].updateDate).getTime()
  595. response.data.data[i].updateDate=this.$u.timeFormat(time1, 'mm.dd hh:MM')
  596. response.data.data[i].auditMind=''
  597. }
  598. }
  599. }
  600. console.log(response.data.data)
  601. for(let i = 0 ;i<response.data.data.length;i++){
  602. if(response.data.data[i].status == "error"){
  603. this.auditCheck = "error"
  604. break;
  605. }else if(response.data.data[i].status == "question"){
  606. this.auditCheck = "question"
  607. break;
  608. }else{
  609. this.auditCheck = "success"
  610. }
  611. }
  612. this.auditList = response.data.data
  613. var time2=new Date(this.list.createDate).getTime()
  614. var time3=this.$u.timeFormat(time2, 'mm.dd hh:MM')
  615. this.auditList.unshift({
  616. operatorTitle:this.list.creater.substring(0,2),
  617. operatorName:this.list.creater,
  618. updateDate:time3,
  619. auditMind:'',
  620. desc:'发起申请',
  621. showflow:false,
  622. commonStaffs1:null,
  623. commonStaffs:null,
  624. workflowHistoricTasks:[],
  625. status:'success'
  626. })
  627. })
  628. })
  629. })
  630. }
  631. })
  632. },
  633. filterFileType(index, lists) {
  634. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  635. lists.splice(index, 1);
  636. // 当前文件不支持
  637. uni.showModal({
  638. title: '暂不支持当前图片类型',
  639. showCancel: false
  640. });
  641. } else {
  642. this.isAdd = false;
  643. }
  644. },
  645. //驳回
  646. rejectSubmit() {
  647. var that = this
  648. uni.showLoading({
  649. title: '加载中',
  650. mask: true
  651. });
  652. var info = that.auditMind
  653. if (that.fileUrl.length > 0) {
  654. info = that.auditMind + "##" + that.fileUrl.toString()
  655. }
  656. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  657. taskId: that.list.taskId,
  658. approved: false,
  659. auditMind: info?info:"",
  660. needReapply: true,
  661. }).then(res => {
  662. that.$api.msg('驳回成功')
  663. that.show = false
  664. setTimeout(function() {
  665. if (that.everyCheck) {
  666. helper.setAudit(that.list)
  667. } else {
  668. uni.navigateBack()
  669. }
  670. uni.hideLoading()
  671. }, 1000);
  672. })
  673. },
  674. close() {
  675. this.show = false
  676. this.fileUrl = []//清除审核附件
  677. },
  678. pass() {
  679. this.show = true
  680. this.title = '审核意见(通过)'
  681. },
  682. reject() {
  683. this.show = true
  684. this.title = '驳回原因(驳回)'
  685. },
  686. //通过
  687. passSubmit() {
  688. var that = this
  689. if (this.title == '驳回原因(驳回)') {
  690. this.rejectSubmit()
  691. } else {
  692. uni.showLoading({
  693. title: '加载中',
  694. mask: true
  695. });
  696. var info = that.auditMind
  697. if (that.fileUrl.length > 0) {
  698. info = that.auditMind + "##" + that.fileUrl.toString()
  699. }
  700. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  701. taskId: that.list.taskId,
  702. approved: true,
  703. auditMind: info?info:"",
  704. needReapply: true,
  705. }).then(res => {
  706. that.$api.msg('通过成功')
  707. that.show = false
  708. setTimeout(function() {
  709. if (that.everyCheck) {
  710. helper.setAudit(that.list)
  711. } else {
  712. uni.navigateBack()
  713. }
  714. uni.hideLoading()
  715. }, 1000);
  716. })
  717. }
  718. },
  719. //审核方法
  720. audit(item, index, status, status2, reason) {
  721. if (index < this.list.length) {
  722. this.$api.doRequest('post', '/newWorkflow/api/handle', {
  723. taskId: item.taskId,
  724. approved: status,
  725. auditMind: reason != undefined ? '已驳回' : '34',
  726. needReapply: status2 != undefined ? true : false,
  727. }).then(res => {
  728. this.audit(this.list[index + 1], index + 1, status)
  729. })
  730. } else {
  731. if (status == true) {
  732. that.$api.msg('通过成功')
  733. this.getList()
  734. } else if (status == false) {
  735. that.$api.msg('驳回成功')
  736. this.getList()
  737. }
  738. }
  739. },
  740. }
  741. }
  742. </script>
  743. <style scoped lang="scss">
  744. .container {
  745. padding: 20rpx 20rpx 250rpx 20rpx;
  746. }
  747. .u-form {
  748. margin-bottom: 20rpx;
  749. background: #fff;
  750. border-radius: 10px;
  751. padding: 30rpx 10px;
  752. .u-form-item {
  753. line-height: 30px;
  754. padding: 0px 0;
  755. font-size: 26rpx;
  756. color: #878C9C;
  757. }
  758. }
  759. .content {
  760. margin-top: 30rpx;
  761. .top {
  762. display: flex;
  763. justify-content: space-between;
  764. }
  765. .content-item {
  766. border-radius: 20rpx;
  767. background: white;
  768. padding: 40rpx 20rpx;
  769. margin-bottom: 30rpx;
  770. }
  771. .title {
  772. font-size: 32rpx;
  773. font-weight: 600;
  774. color: #333333;
  775. text-align: left;
  776. margin: 20rpx 0;
  777. }
  778. .car-container {
  779. border-bottom: 2rpx solid #EEEEEE;
  780. }
  781. .car-type-item {
  782. font-size: 28rpx;
  783. margin: 20rpx 0;
  784. color: #878C9C;
  785. }
  786. .weightInfoCss {
  787. font-size: 28rpx;
  788. color: #333333;
  789. font-weight: 500;
  790. }
  791. .row {
  792. display: flex;
  793. justify-content: space-between;
  794. // .right,
  795. // input {
  796. // font-size: 28rpx;
  797. // // color: #333333;
  798. // }
  799. }
  800. .money {
  801. font-size: 32rpx;
  802. font-weight: 500;
  803. margin-bottom: 30rpx;
  804. }
  805. .moneyInfo {
  806. color: #22C572;
  807. font-size: 32rpx;
  808. }
  809. }
  810. .bottom-btn {
  811. width: 100%;
  812. position: fixed;
  813. bottom: 0;
  814. display: flex;
  815. z-index: 2;
  816. left: 0;
  817. background-color: #f8f8f8;
  818. flex-direction: column;
  819. .btn1,
  820. .btn2 {
  821. width: 100%;
  822. margin-bottom: 26rpx;
  823. border-radius: 90rpx;
  824. }
  825. .btn1 {
  826. background: white;
  827. color: #00C265;
  828. }
  829. }
  830. .topInfo {
  831. height: 210rpx;
  832. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  833. padding: 30rpx;
  834. .topInfo-item {
  835. height: 150rpx;
  836. background-color: #FFFFFF;
  837. border-radius: 20rpx;
  838. padding: 40rpx;
  839. .logo {
  840. width: 40rpx;
  841. height: 40rpx;
  842. margin-top: 8rpx;
  843. }
  844. .infoText {
  845. font-size: 36rpx;
  846. font-weight: 600;
  847. margin-left: 20rpx;
  848. }
  849. .infoData {
  850. color: #878C9C;
  851. font-size: 26rpx;
  852. margin-top: 10rpx;
  853. }
  854. }
  855. }
  856. .shade {
  857. position: fixed;
  858. top: 0;
  859. left: 0;
  860. height: 100%;
  861. width: 100%;
  862. background: rgba(0, 0, 0, 0.4);
  863. z-index: 3;
  864. overflow-y: scroll;
  865. .wrap {
  866. position: absolute;
  867. left: 0;
  868. top: 0;
  869. right: 0;
  870. bottom: 0;
  871. margin: auto;
  872. background: #fff;
  873. width: calc(100% - 198rpx);
  874. height: 770rpx;
  875. // overflow: hidden;
  876. border-radius: 20rpx;
  877. .content1{
  878. height:600rpx;
  879. overflow-y: scroll;
  880. }
  881. .alert-top {
  882. padding: 33rpx;
  883. display: flex;
  884. justify-content: center;
  885. align-items: center;
  886. position: relative;
  887. }
  888. .title {
  889. font-size: 32rpx;
  890. font-weight: 600;
  891. color: #333333;
  892. }
  893. .close {
  894. position: absolute;
  895. right: 33rpx;
  896. }
  897. .upload_css {
  898. margin-left: 20rpx;
  899. .upload {
  900. // width: 80px;
  901. // height: 80px;
  902. }
  903. }
  904. }
  905. }
  906. .audit_btn {
  907. display: flex;
  908. top: 0px;
  909. }
  910. .cancel,
  911. .confirm {
  912. // position: absolute;
  913. // display: inline-block;
  914. width: 50%;
  915. text-align: center;
  916. // bottom: 0;
  917. padding: 10px;
  918. border-top: 1px solid #eee;
  919. font-size: 34rpx;
  920. margin: auto;
  921. }
  922. .cancel {
  923. left: 0;
  924. border-right: 1px solid #eee;
  925. color: #AFB3BF;
  926. }
  927. .confirm {
  928. right: 0;
  929. color: #22C572;
  930. }
  931. .textCss {
  932. display: flex;
  933. justify-content: flex-end;
  934. width: 100%;
  935. text-align: right;
  936. color: #333333;
  937. }
  938. .textarea {
  939. margin: 18rpx auto;
  940. width: 100%;
  941. background: #F9F9FA;
  942. border-radius: 10px;
  943. border: 1px solid #EEEEEE;
  944. font-size: 28rpx;
  945. padding: 10px;
  946. }
  947. .u-textarea-style {
  948. margin: 20rpx;
  949. background: #F9F9FA;
  950. border-radius: 10px;
  951. border: 1px solid #EEEEEE;
  952. padding: 10rpx 20rpx;
  953. position: relative;
  954. height:280rpx;
  955. overflow: scroll;
  956. /deep/.uni-textarea-textarea{
  957. width: 80%;
  958. }
  959. .right-bottom {
  960. position: absolute;
  961. right: 20rpx;
  962. bottom: 20rpx;
  963. color: #AFB3BF;
  964. }
  965. }
  966. .content2 {
  967. background: white;
  968. margin: 20rpx 0;
  969. border-radius: 20rpx;
  970. padding: 20rpx;
  971. .row {
  972. display: flex;
  973. .left {
  974. display: flex;
  975. align-items: center;
  976. .item1 {
  977. position: relative;
  978. .item-content {
  979. background: #617AE0;
  980. width: 44px;
  981. height: 44px;
  982. border-radius: 22px;
  983. line-height: 44px;
  984. text-align: center;
  985. font-size: 15px;
  986. color: #fff;
  987. }
  988. .status {
  989. position: absolute;
  990. border-radius: 50%;
  991. padding: 0px 2px;
  992. right: -3px;
  993. bottom: -3px;
  994. background: #fff;
  995. }
  996. .status.success {
  997. border: 1px solid rgb(60, 156, 255);
  998. }
  999. .status.error {
  1000. border: 1px solid rgb(245, 108, 108);
  1001. }
  1002. .status.question {
  1003. border: 1px solid #f9ae3d;
  1004. }
  1005. }
  1006. }
  1007. .right {
  1008. width: 80%;
  1009. // color: #B0B1B5;
  1010. margin-top: 10px;
  1011. .right-content {
  1012. background: #F2F3F7;
  1013. margin-left: 10px;
  1014. margin-top: 10px;
  1015. padding: 10px;
  1016. border-radius: 5px;
  1017. color: #B0B1B5;
  1018. }
  1019. .right-item {
  1020. display: flex;
  1021. justify-content: space-between;
  1022. .time {
  1023. color: #999;
  1024. }
  1025. .item2 {
  1026. margin-left: 20rpx;
  1027. margin-top: -7px;
  1028. .name {
  1029. font-size: 28rpx;
  1030. font-weight: 800;
  1031. margin-bottom: 4px;
  1032. }
  1033. .status.success {
  1034. color: #6CC48C;
  1035. }
  1036. .status.error {
  1037. color: rgb(245, 108, 108);
  1038. }
  1039. .status.question {
  1040. color: #f9ae3d;
  1041. }
  1042. }
  1043. }
  1044. .audit_img {
  1045. flex-wrap: wrap;
  1046. margin: 0 20rpx;
  1047. .url_css {
  1048. // border: 1px solid #999999;
  1049. border-radius: 10px;
  1050. margin-top: 10px;
  1051. margin-right: 10px;
  1052. .url_img {
  1053. width: 66px;
  1054. height: 66px;
  1055. border-radius: 10px;
  1056. }
  1057. }
  1058. }
  1059. }
  1060. }
  1061. .row2 {
  1062. display: flex;
  1063. .item-content {
  1064. background: #22C572;
  1065. width: 30px;
  1066. height: 30px;
  1067. border-radius: 50%;
  1068. line-height: 30px;
  1069. text-align: center;
  1070. font-size: 12px;
  1071. color: #fff;
  1072. padding: 0 2px;
  1073. margin: 0 auto;
  1074. }
  1075. .status {
  1076. position: absolute;
  1077. top: 0;
  1078. right: 0;
  1079. }
  1080. }
  1081. .row-line {
  1082. width: 1px;
  1083. height: 30px;
  1084. background: #F2F2F2;
  1085. margin: 10rpx 50rpx;
  1086. }
  1087. .audit {
  1088. margin-top: 20rpx;
  1089. }
  1090. }
  1091. .form_top {
  1092. border-bottom: 1px solid #F5F6FA;
  1093. padding-bottom: 10px;
  1094. margin-bottom: 18rpx;
  1095. font-size: 30rpx;
  1096. font-weight: 600;
  1097. }
  1098. .form_view{
  1099. margin: 20rpx 0;
  1100. border-radius: 20rpx;
  1101. background: #F9F9FA;
  1102. padding: 30rpx 20rpx;
  1103. margin-top: 30rpx;
  1104. }
  1105. .label_css{
  1106. font-size: 26rpx;
  1107. color: #878C9C;
  1108. }
  1109. .input_css{
  1110. font-size: 20rpx;
  1111. }
  1112. .img_item {
  1113. display: flex;
  1114. width: 100%;
  1115. margin: 10px 0;
  1116. padding: 0 10rpx;
  1117. .imgsign{
  1118. width: 25px;
  1119. height: 25px;
  1120. margin-top: 6px;
  1121. }
  1122. .char_css {
  1123. font-size: 28rpx;
  1124. font-weight: 600;
  1125. display: -webkit-box;
  1126. overflow: hidden;
  1127. /*! autoprefixer: off; */
  1128. -webkit-box-orient: vertical;
  1129. -webkit-line-clamp: 1;
  1130. -webkit-box-orient: vertical;
  1131. text-overflow: ellipsis;
  1132. word-break: break-all;
  1133. }
  1134. .img_size{
  1135. color: #B0B3BF;
  1136. font-size: 12px;
  1137. margin-top: 5px;
  1138. }
  1139. .img_dowload {
  1140. width: 14%;
  1141. color: #22C572;
  1142. text-align: right;
  1143. }
  1144. }
  1145. .headInfo{
  1146. height: 100px;
  1147. background-color: #FFFFFF;
  1148. margin-bottom: 20rpx;
  1149. border-radius: 10px;
  1150. padding: 30rpx 10px;
  1151. display: flex;
  1152. .headInfo_left{
  1153. width: 10%;
  1154. line-height: 60px;
  1155. text-align: center;
  1156. }
  1157. .headInfo_middle{
  1158. width: 60%;
  1159. padding-left: 10px;
  1160. margin-top: 10px;
  1161. }
  1162. .headInfo_right{
  1163. width: 30%;
  1164. line-height: 60px;
  1165. .char_a{
  1166. color: #22C572;
  1167. }
  1168. .char_b{
  1169. color: #FE6430;
  1170. }
  1171. .char_c{
  1172. color: #FB2323;
  1173. }
  1174. .char_a,.char_b,.char_c{
  1175. font-size: 16px;
  1176. }
  1177. }
  1178. .adopt{
  1179. position: absolute;
  1180. right: 30px;
  1181. top: 60px;
  1182. .adopt_img{
  1183. width: 90px;
  1184. height: 90px;
  1185. }
  1186. }
  1187. .headInfo_title{
  1188. font-size: 19px;
  1189. color: #333333;
  1190. font-weight: 600;
  1191. }
  1192. .headInfo_No{
  1193. color: #878C9C;
  1194. font-size: 13px;
  1195. margin-top: 6px;
  1196. }
  1197. }
  1198. /deep/.u-upload .u-list-item{
  1199. background:#fff;
  1200. border:1px dashed #ccc;
  1201. border-radius:10rpx;
  1202. height:190rpx !important;
  1203. width:190rpx !important;
  1204. margin:10rpx;
  1205. text-align:center;
  1206. display: flex;
  1207. align-items: center;
  1208. justify-content: center;
  1209. flex-direction: column;
  1210. }
  1211. </style>