| | |
| | | {{ userInfo.weight || '' }} |
| | | </view> |
| | | </view> |
| | | <view class="information-line" |
| | | @click="modifyPrint"> |
| | | <!-- 由于是自定义icon 非设计图icon 所以要加上这个style="margin-left: 1.5%;" |
| | | icon 下载格式为18x18--> |
| | | <!-- <view class="information-line" |
| | | @click="modifyPrint"> |
| | | |
| | | <view class="line-label" |
| | | style="margin-left: 1.5%;"> |
| | | <image src="https://wrzs.czjlchem.com:9090/appimg/image/banner/printer.png" |
| | |
| | | <u-icon name="arrow-right" |
| | | size="36"></u-icon> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | <!-- <view class="information-line" |
| | | @click="addressManageHandle"> |
| | | <view class="line-label" |
| | |
| | | @confirm="logoutConfirm" |
| | | @cancel="logoutCancel"></u-modal> |
| | | </view> |
| | | <printerStyle ref="printerStyleRef" |
| | | @selectedPrintStyle='selectedPrintStyleHandle' /> |
| | | <!-- <printerStyle ref="printerStyleRef" |
| | | v-if="printerVisible" |
| | | @selectedPrintStyle='selectedPrintStyleHandle' /> --> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | import { BaseUrl } from '@/api/publicInterface.js'; |
| | | import previewImage from '@/components/kxj-previewImage/kxj-previewImage.vue'; |
| | | import noobTour from '@/components/noobTour/noobTour.vue' |
| | | import printerStyle from '@/subPages/bill-of-lading-details/printerStyle/printerStyle.vue' |
| | | // import printerStyle from '@/subPages/bill-of-lading-details/printerStyle/printerStyle.vue' |
| | | import { mapMutations, mapState } from 'vuex'; |
| | | import qianTree from '@/components/qian-tree/qian-tree.vue'; |
| | | export default { |
| | | components: { previewImage, noobTour, printerStyle,qianTree }, |
| | | components: { previewImage, noobTour,qianTree }, |
| | | data() { |
| | | return { |
| | | tablist:[], |
| | | minDate: this.getToday(), |
| | | customerName:"", |
| | | printerVisible:false, |
| | | // 获取的司机详情 |
| | | userInfo: {}, |
| | | productName:"", |
| | |
| | | }, |
| | | //修改磅单打印样式 |
| | | modifyPrint() { |
| | | this.printerVisible = true; |
| | | console.log(printerStyle,'123') |
| | | this.$nextTick(() => { |
| | | this.$refs.printerStyleRef.init() |
| | | }) |