detail.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. <template>
  2. <div v-if="showPage" class="jg-page-wrap salesDetail-wrap">
  3. <a-spin :spinning="spinning" tip="Loading...">
  4. <a-page-header :ghost="false" :backIcon="false" class="salesDetail-cont" :style="{ padding: !outBizSn ? '16px 24px' : '0px 24px' }">
  5. <!-- 自定义的二级文字标题 -->
  6. <template slot="subTitle" v-if="!outBizSn && detailData">
  7. <span class="billno">单号:{{ detailData.salesBillNo ||'--' }}</span>
  8. <a-tag color="green" v-if="detailData.billStatusDictValue">{{ detailData.billStatusDictValue }}</a-tag>
  9. <a-tag color="orange" v-if="detailData.financialStatusDictValue">{{ detailData.financialStatusDictValue }}</a-tag>
  10. <a-button type="link" class="button-default" @click="isShowBisiceInfo=!isShowBisiceInfo" style="margin-left:10px;vertical-align:middle;">
  11. <a-icon :type="isShowBisiceInfo ? 'eye-invisible' : 'eye'"/>
  12. {{ isShowBisiceInfo?'隐藏':'查看' }}信息
  13. </a-button>
  14. <a-button id="purchaseNewOrderEdit-back-btn" type="link" @click="handleBack" class="button-default"> <a-icon type="rollback" /> 返回列表</a-button>
  15. </template>
  16. <!-- 操作区,位于 title 行的行尾 -->
  17. <template slot="extra" v-if="outBizSn ? $hasPermissions('B_outboundOrderDetail') : $hasPermissions('B_salesPrint')">
  18. <div style="margin-top: 5px;">
  19. <PrintPanel ref="printBox" position="bottomRight" :disabled="localDataSource.length==0" @handlePrint="handlePrint">
  20. <div style="padding:10px;line-height: 30px;" slot="extendCons">
  21. <div>打印内容(多选)</div>
  22. <a-checkbox v-model="printNo" :checked="printNo" id="salesQuery-printNo">销售单号</a-checkbox>
  23. <a-checkbox v-model="printAllName" :checked="printAllName" id="salesQuery-printAllName">完整产品名称</a-checkbox>
  24. <a-checkbox v-model="printOrgCode" :checked="printOrgCode" id="salesQuery-printOrgCode">原厂编码</a-checkbox>
  25. <br>
  26. <a-checkbox v-model="printPrice" :checked="printPrice" id="salesQuery-printPrice">售价</a-checkbox>
  27. <a-checkbox v-model="printRemarks" :checked="printRemarks" id="salesQuery-printRemarks">备注</a-checkbox>
  28. <a-checkbox v-model="printWarehouse" :checked="printWarehouse" id="salesQuery-printWarehouse">仓库仓位</a-checkbox>
  29. <a-checkbox v-model="printDate" :checked="printDate" id="salesQuery-printDate">打印时间</a-checkbox>
  30. </div>
  31. </PrintPanel>
  32. </div>
  33. </template>
  34. </a-page-header>
  35. <div class="sales-detail-body">
  36. <!-- 基础信息 -->
  37. <a-card size="small" :bordered="false" class="salesDetail-cont" v-show="isShowBisiceInfo">
  38. <a-descriptions size="small" :column="3">
  39. <div slot="title">基础信息</div>
  40. <a-descriptions-item label="客户名称">{{ detailData&&detailData.buyerNameCurrent?detailData.buyerName?detailData.buyerName==detailData.buyerNameCurrent?detailData.buyerNameCurrent:detailData.buyerNameCurrent+'('+detailData.buyerName+')':detailData.buyerNameCurrent:'--' }}</a-descriptions-item>
  41. <a-descriptions-item label="客户地址" :span="2">
  42. <div v-if="detailData&&(detailData.shippingAddressProvinceName || detailData.shippingAddressCityName || detailData.shippingAddressCountyName || detailData.shippingAddress)">
  43. {{ detailData&&detailData.shippingAddressProvinceName || '' }}
  44. {{ detailData&&detailData.shippingAddressCityName || '' }}
  45. {{ detailData&&detailData.shippingAddressCountyName || '' }}
  46. {{ detailData&&detailData.shippingAddress || '' }}
  47. </div>
  48. <span v-else>--</span>
  49. </a-descriptions-item>
  50. <a-descriptions-item label="收款方式">{{ detailData&&detailData.settleStyleSnDictValue || '--' }}</a-descriptions-item>
  51. <a-descriptions-item label="联系电话">{{ detailData&&detailData.consigneeTel || '--' }}</a-descriptions-item>
  52. <a-descriptions-item label="备注">{{ detailData&&detailData.remarks || '--' }}</a-descriptions-item>
  53. <a-descriptions-item label="销售单号">{{ detailData&&detailData.salesBillNo || '--' }}</a-descriptions-item>
  54. <a-descriptions-item label="制单人">{{ detailData&&detailData.operatorName || '--' }}</a-descriptions-item>
  55. <a-descriptions-item label="业务员">{{ detailData&&detailData.salesManName || '--' }}</a-descriptions-item>
  56. <a-descriptions-item label="来源">{{ detailData&&detailData.sourceTypeDictValue || '--' }}</a-descriptions-item>
  57. <a-descriptions-item label="下级采购单号" v-if="detailData&&detailData.sourceType=='PURCHASE'">{{ detailData&&detailData.purchaseBillNo || '--' }}</a-descriptions-item>
  58. <a-descriptions-item label="业务状态">{{ detailData&&detailData.billStatusDictValue || '--' }}</a-descriptions-item>
  59. <a-descriptions-item label="财务状态">{{ detailData&&detailData.financialStatusDictValue || '--' }}</a-descriptions-item>
  60. <a-descriptions-item label="采购单号" v-if="detailData&&detailData.sourceType!='SALES'">{{ detailData.purchaseBillNo || '--' }}</a-descriptions-item>
  61. <a-descriptions-item label="收货状态" v-if="detailData&&detailData.sourceType!='TEMPORARY_DISPATCHING'&&detailData.sourceType!='SALES'&&detailData.billStatus=='FINISH'">{{ detailData.receiptStatusDictValue || '--' }}</a-descriptions-item>
  62. </a-descriptions>
  63. </a-card>
  64. <a-card size="small" :bordered="false" class="pages-wrap">
  65. <!-- alert -->
  66. <div style="display: flex;align-items: center;justify-content: space-between;margin-bottom:10px;">
  67. <div>
  68. 总款数:<strong>{{ detailData&&(detailData.totalCategory || detailData.totalCategory==0) ? detailData.totalCategory : '--' }}</strong>;
  69. 总数量:<strong>{{ detailData&&(detailData.totalQty || detailData.totalQty==0) ? detailData.totalQty : '--' }}</strong>;
  70. 总赠品数量:<strong>{{ detailData&&(detailData.giftQty || detailData.giftQty==0) ? detailData.giftQty : '--' }}</strong>;
  71. 急件总款数:<strong>{{ detailData&&(detailData.oosCategory || detailData.oosCategory==0) ? detailData.oosCategory : '--' }}</strong>;
  72. 急件总数量:<strong>{{ detailData&&(detailData.oosQty || detailData.oosQty==0) ? detailData.oosQty : '--' }}</strong>;<br/>
  73. 总售价:<strong>{{ detailData&&(detailData.totalAmount || detailData.totalAmount==0) ? toThousands(detailData.totalAmount) : '--' }}</strong>;
  74. <template v-if="!showCell.includes('totalCost')">
  75. 总成本:<strong>{{ detailData&&(detailData.totalCost || detailData.totalCost==0) ? toThousands(detailData.totalCost) : '--' }}</strong>;
  76. 总毛利:<strong>{{ detailData&&(detailData.grossProfit || detailData.grossProfit==0) ? toThousands(detailData.grossProfit) : '--' }}</strong>;
  77. </template>
  78. 折后总售价:<strong>{{ detailData&&(detailData.discountedAmount || detailData.discountedAmount==0) ? toThousands(detailData.discountedAmount) : '--' }}</strong>;
  79. 折扣:<strong>{{ detailData&&(detailData.discountRate || detailData.discountRate==0) ? detailData.discountRate+'%' : '--' }}</strong>;
  80. 折扣金额:<strong>{{ detailData&&(detailData.discountAmount || detailData.discountAmount==0) ? toThousands(detailData.discountAmount) : '--' }}</strong>;
  81. <span v-if="detailData&&detailData.sourceType&&detailData.sourceType==='XPRH_PURCHASE'"> 返券金额:<strong>{{ detailData&&(detailData.totalGiveAmount || detailData.totalGiveAmount==0) ? toThousands(detailData.totalGiveAmount) : '--' }}</strong>;</span>
  82. </div>
  83. <div>
  84. <hideCellMenus placeholder="显示" :defHiddenKes="colsArr" v-model="showCell"></hideCellMenus>
  85. </div>
  86. </div>
  87. <!-- 列表 -->
  88. <s-table
  89. class="sTable"
  90. ref="table"
  91. size="small"
  92. :rowKey="(record) => record.id"
  93. :columns="columns"
  94. :data="loadData"
  95. :defaultLoadData="false"
  96. bordered>
  97. <div slot="costTitle">
  98. <a-tooltip placement="top">
  99. <template slot="title">
  100. 系统中不同批次的产品,成本价可能不同,此值是按照实际出库批次的成本计算得到。
  101. </template>
  102. <span style="margin-right: 5px;">实际总成本</span> <a-icon type="question-circle" />
  103. </a-tooltip>
  104. </div>
  105. <!-- 产品编码 -->
  106. <template slot="productCode" slot-scope="text, record">
  107. <div v-if="detailData">
  108. <span>{{ text }}</span>
  109. <a-badge count="急" v-if="(isOwerEdit&&record.oosFlag == 1) || (!isOwerEdit&&isAudit&&record.oosFlag == 1)" :number-style="{ zoom:'80%',marginLeft:'5px' }"></a-badge>
  110. <a-badge count="缺" v-if="!isOwerEdit&&!isAudit&&(!record.currentStockQty || record.currentStockQty < record.qty)" :number-style="{ zoom:'80%',marginLeft:'5px' }"></a-badge>
  111. <a-badge count="赠" v-if="record.promoProductType=='GIFT_PRODUCT'" :number-style="{ backgroundColor: '#52c41a', zoom:'80%',marginLeft:'5px' }"></a-badge>
  112. <a-badge count="券" v-if="record.promoProductType=='TICKET_PRODUCT'" :number-style="{ backgroundColor: '#FF5500', zoom:'80%',marginLeft:'5px' }"></a-badge>
  113. <a-badge count="特" v-if="record.promoProductType=='SPECIAL_PRODUCT'" :number-style="{ backgroundColor: '#FED714',zoom:'80%',marginLeft:'5px' }"></a-badge>
  114. </div>
  115. </template>
  116. <!-- 操作 -->
  117. <template slot="action" slot-scope="text, record">
  118. <a-button
  119. :id="'sales-detail-out-'+record.id"
  120. size="small"
  121. type="link"
  122. v-if="record.oosFlag == 0 && (isOwerEdit || isAudit)"
  123. class="button-primary"
  124. @click="handleViewDetail(record)">出库明细</a-button>
  125. <span v-else>--</span>
  126. </template>
  127. </s-table>
  128. </a-card>
  129. </div>
  130. </a-spin>
  131. <!-- 出入库明细 -->
  132. <outInDetialModal ref="outInDetialModal" outBizType="SALES" :openModal="showOutInModal" @close="showOutInModal=false"></outInDetialModal>
  133. </div>
  134. </template>
  135. <script>
  136. import { commonMixin } from '@/utils/mixin'
  137. import { getOperationalPrecision } from '@/libs/tools.js'
  138. import { hdPrint } from '@/libs/JGPrint'
  139. // 组件
  140. import { STable, VSelect } from '@/components'
  141. import outInDetialModal from './outInDetialModal.vue'
  142. import PrintPanel from '@/views/common/printPanel.vue'
  143. import hideCellMenus from '@/views/common/hideCellMenus'
  144. // 接口
  145. import { salesDetailBySn, salesDetailPrint, salesDetailExport } from '@/api/sales'
  146. import { salesDetailList } from '@/api/salesDetail'
  147. export default {
  148. name: 'SalesDetail',
  149. components: { STable, VSelect, PrintPanel, outInDetialModal, hideCellMenus },
  150. mixins: [commonMixin],
  151. props: {
  152. outBizSn: { // 有值则为弹框,无值则为页面
  153. type: [Number, String],
  154. default: ''
  155. }
  156. },
  157. data () {
  158. return {
  159. showPage: false, // 是否显示组件
  160. spinning: false,
  161. disabled: false,
  162. printOrgCode: false, // 是否打印原创编码
  163. printAllName: false, // 是否打印全部名称
  164. printRemarks: false, // 是否打印备注
  165. printPrice: false, // 是否打印价格
  166. printNo: true, // 是否打印销售单号
  167. printDate: false, // 是否打印日期
  168. printWarehouse: false, // 是否打印仓库
  169. showOutInModal: false, // 出库明细弹框
  170. // 加载数据方法 必须为 Promise 对象
  171. loadData: parameter => {
  172. this.disabled = true
  173. return salesDetailList(Object.assign(parameter, { orderBy: 'sales_bill_detail.CREATE_DATE desc', salesBillSn: this.outBizSn || this.$route.params.sn })).then(res => {
  174. let data
  175. if (res.status == 200) {
  176. data = res.data
  177. const no = (data.pageNo - 1) * data.pageSize
  178. for (var i = 0; i < data.list.length; i++) {
  179. data.list[i].no = no + i + 1
  180. const productCode = (data.list[i].productEntity && data.list[i].productEntity.code) || (data.list[i].dealerProductEntity && data.list[i].dealerProductEntity.code)
  181. const productName = (data.list[i].productEntity && data.list[i].productEntity.name) || (data.list[i].dealerProductEntity && data.list[i].dealerProductEntity.name)
  182. const productOrigCode = (data.list[i].productEntity && data.list[i].productEntity.origCode) || (data.list[i].dealerProductEntity && data.list[i].dealerProductEntity.origCode) || '--'
  183. const productOrigUnit = (data.list[i].productEntity && data.list[i].productEntity.unit) || (data.list[i].dealerProductEntity && data.list[i].dealerProductEntity.unit)
  184. data.list[i].productCode = productCode || '--'
  185. data.list[i].productName = productName || '--'
  186. data.list[i].productOrigCode = productOrigCode || '--'
  187. data.list[i].productOrigUnit = productOrigUnit || '--'
  188. data.list[i].warehouseName = data.list[i].warehouseEntity && data.list[i].warehouseEntity.name || '--'
  189. data.list[i].warehouseLocationName = data.list[i].warehouseLocationEntity && data.list[i].warehouseLocationEntity.name || '--'
  190. // 售价小计 由于数据库内小数位数为4位,页面则需显示2位。因此会做小数运算精度处理
  191. data.list[i].salePriceSubtotal = getOperationalPrecision(data.list[i].price, data.list[i].qty)
  192. }
  193. this.localDataSource = data.list
  194. this.disabled = false
  195. }
  196. return data
  197. })
  198. },
  199. localDataSource: [], // 原始列表数据
  200. detailData: null, // 详情数据
  201. isShowBisiceInfo: false, // 显示基础内容
  202. showCell: []// 已选要显示的列
  203. }
  204. },
  205. computed: {
  206. colsArr () {
  207. return [
  208. {
  209. title: '成本价',
  210. key: 'totalCost',
  211. disabled: false,
  212. checked: false
  213. },
  214. {
  215. title: '返券金额',
  216. key: 'giveAmount',
  217. disabled: !(this.detailData && this.detailData.sourceType && this.detailData.sourceType === 'XPRH_PURCHASE'),
  218. checked: false
  219. }
  220. ]
  221. },
  222. // 是否自建单据
  223. isOwerEdit () {
  224. return this.detailData && this.detailData.sourceType == 'SALES'
  225. },
  226. // 是否审核通过
  227. isAudit () {
  228. return this.detailData ? (this.detailData.billStatus == 'WAIT_OUT_WAREHOUSE' || this.detailData.billStatus == 'FINISH') : false
  229. },
  230. // 列定义
  231. columns () {
  232. const _this = this
  233. const arr = [
  234. { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
  235. { title: '产品编码', dataIndex: 'dealerProductEntity.code', width: '11%', scopedSlots: { customRender: 'productCode' }, align: 'center' },
  236. { title: '产品名称', dataIndex: 'productName', width: '11%', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
  237. { title: '原厂编码', dataIndex: 'productOrigCode', width: '9%', align: 'center', customRender: function (text) { return text && text != ' ' ? text : '--' } },
  238. { title: '售价', dataIndex: 'price', width: '5%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  239. { title: '折后售价', dataIndex: 'discountedPrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  240. { title: '销售数量', dataIndex: 'qty', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
  241. { title: '单位', dataIndex: 'productOrigUnit', width: '4%', align: 'center', customRender: function (text) { return text || '--' } },
  242. { title: '售价小计', dataIndex: 'totalAmount', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  243. { title: '折后小计', dataIndex: 'discountedAmount', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  244. { title: '折扣金额', dataIndex: 'discountAmount', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
  245. { slots: { title: 'costTitle' }, dataIndex: 'totalCost', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } }
  246. ]
  247. if (this.detailData && this.detailData.sourceType && this.detailData.sourceType === 'XPRH_PURCHASE') {
  248. arr.push({ title: <a-tooltip placement="bottom" title='返券金额以销售单完结时的活动规则为准'>返券金额&nbsp;<a-icon type="question-circle" /></a-tooltip>, dataIndex: 'giveAmount', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } })
  249. }
  250. // 下级创建,不显示仓库仓位
  251. if (!this.isOwerEdit) {
  252. arr.push({ title: '库存数量', dataIndex: 'currentStockQty', width: '6%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } })
  253. } else {
  254. arr.push({ title: '仓库', dataIndex: 'warehouseName', width: '7%', align: 'center', customRender: function (text) { return text || '--' } })
  255. arr.push({ title: '仓位', dataIndex: 'warehouseLocationName', width: '7%', align: 'center', customRender: function (text) { return text || '--' } })
  256. }
  257. arr.push({ title: '是否急件', dataIndex: 'oosFlagDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } })
  258. arr.push({ title: '操作', scopedSlots: { customRender: 'action' }, width: '7%', align: 'center' })
  259. return arr.filter(item => !_this.showCell.includes(item.dataIndex))
  260. }
  261. },
  262. methods: {
  263. // 打印预览/快捷打印
  264. handlePrint (type, printerType) {
  265. const _this = this
  266. _this.spinning = true
  267. let url = salesDetailPrint
  268. const params = {
  269. sn: this.outBizSn || this.$route.params.sn,
  270. printOrgCode: this.printOrgCode ? 1 : 0,
  271. printAllName: this.printAllName ? 1 : 0,
  272. remarksShowFlag: this.printRemarks ? 1 : 0,
  273. printNo: this.printNo ? 1 : 0,
  274. priceFlag: this.printPrice ? 1 : 0,
  275. printWarehouse: this.printWarehouse ? 1 : 0,
  276. printDate: this.printDate ? 1 : 0
  277. }
  278. if (type == 'export') { // 导出
  279. url = salesDetailExport
  280. }
  281. // 打印或导出
  282. hdPrint(printerType, type, url, params, '销售单', function () {
  283. _this.spinning = false
  284. })
  285. },
  286. // 返回
  287. handleBack () {
  288. this.$router.push({ name: 'salesNewList' })
  289. },
  290. // 详情
  291. getDetail () {
  292. salesDetailBySn({ salesBillSn: this.outBizSn || this.$route.params.sn }).then(res => {
  293. if (res.status == 200) {
  294. this.detailData = res.data
  295. } else {
  296. this.detailData = null
  297. }
  298. })
  299. },
  300. // 打开出入库明细
  301. handleViewDetail (row) {
  302. this.showOutInModal = true
  303. this.$refs.outInDetialModal.getData(row)
  304. },
  305. // 页面初始
  306. pageInit () {
  307. const vm = this
  308. vm.$nextTick(() => {
  309. vm.spinning = false
  310. vm.disabled = false
  311. // 是否默认打印原厂编码
  312. vm.printOrgCode = localStorage.getItem('printOrgCode-' + this.$store.state.user.info.orgId) == 'true'
  313. vm.printAllName = localStorage.getItem('printAllName-' + this.$store.state.user.info.orgId) == 'true'
  314. vm.printRemarks = localStorage.getItem('printRemarks-' + this.$store.state.user.info.orgId) == 'true'
  315. vm.printPrice = localStorage.getItem('printPrice-' + this.$store.state.user.info.orgId) == 'true'
  316. vm.printWarehouse = localStorage.getItem('printWarehouse-' + this.$store.state.user.info.orgId) == 'true'
  317. vm.printDate = localStorage.getItem('printDate-' + this.$store.state.user.info.orgId) == 'true'
  318. const printNo = localStorage.getItem('printNo-' + this.$store.state.user.info.orgId)
  319. vm.printNo = printNo ? printNo == 'true' : true
  320. // 查询列表
  321. vm.$refs.table.refresh(true)
  322. // 获取单据详情
  323. vm.getDetail()
  324. })
  325. }
  326. },
  327. watch: {
  328. // 打印选项变化
  329. printOrgCode (newValue, oldValue) {
  330. localStorage.setItem('printOrgCode-' + this.$store.state.user.info.orgId, newValue)
  331. },
  332. printRemarks (newValue, oldValue) {
  333. localStorage.setItem('printRemarks-' + this.$store.state.user.info.orgId, newValue)
  334. },
  335. printPrice (newValue, oldValue) {
  336. localStorage.setItem('printPrice-' + this.$store.state.user.info.orgId, newValue)
  337. },
  338. printAllName (newValue, oldValue) {
  339. localStorage.setItem('printAllName-' + this.$store.state.user.info.orgId, newValue)
  340. },
  341. printDate (newValue, oldValue) {
  342. localStorage.setItem('printDate-' + this.$store.state.user.info.orgId, newValue)
  343. },
  344. printWarehouse (newValue, oldValue) {
  345. localStorage.setItem('printWarehouse-' + this.$store.state.user.info.orgId, newValue)
  346. },
  347. printNo (newValue, oldValue) {
  348. localStorage.setItem('printNo-' + this.$store.state.user.info.orgId, newValue)
  349. }
  350. },
  351. mounted () {
  352. if (!this.$store.state.app.isNewTab || this.outBizSn) { // 页签刷新时调用
  353. this.showPage = true
  354. this.pageInit()
  355. }
  356. },
  357. activated () {
  358. this.showPage = true
  359. this.pageInit()
  360. },
  361. beforeRouteEnter (to, from, next) {
  362. next(vm => {
  363. })
  364. }
  365. }
  366. </script>
  367. <style lang="less" scoped>
  368. .salesDetail-wrap{
  369. position: relative;
  370. height: 100%;
  371. .billno{
  372. font-size: 16px;
  373. font-weight: 600;
  374. display: inline-block;
  375. vertical-align: middle;
  376. color: #333;
  377. margin-right: 15px;
  378. }
  379. .ant-tag-green,.ant-tag-orange{
  380. vertical-align: middle;
  381. }
  382. .salesDetail-cont{
  383. margin-bottom: 10px;
  384. /deep/ .ant-descriptions-title{
  385. margin-bottom: 10px;
  386. }
  387. }
  388. .pages-wrap{
  389. strong{
  390. color:#f12929;
  391. }
  392. }
  393. }
  394. </style>