Files

1039 lines
28 KiB
Vue
Executable File

<template>
<view class="content">
<opsoft-dialog-notice
:dialogNoticeShow="showDialog"
:dialogNoticeType="dialogNoticeType"
:dialogNoticeTitle="dialogNoticeTitle"
:dialogNoticeContent="dialogNoticeContent"
@dialogNoticeConfirmClick="dialogNoticeConfirmClick"
>
</opsoft-dialog-notice>
<view class="header-top">
<view class="header-top-organzie" style="">
<text class="header-row-title-class">当前组织</text>
<view class="header-top-organzie-select">
<picker @change="orgChange" :value="index" :range="orgArry" range-key="FNAME" style="width: 100%;">
<view class="header-top-organzie-content">{{orgArry[index].FNAME}}</view>
</picker>
</view>
<image class="header-top-organzie-img" src="@/static/login/icon-pull.png"/>
</view>
<view class="header-top-date">
<view class="header-top-data-select" @click="creatDatePicker()">{{creatlist[0].detail}}</view>
<!-- <image class="" src="@/static/login/icon-pull.png" style="height: 32rpx;width: 32rpx;padding-left: 10rpx;position: absolute;right: 0;"></image> -->
<date-time-picker ref='creatTime' :indicatorStyle='indicatorStyle' :type='type' :datestring='dateString'
@change='creatTimeChange'>
</date-time-picker>
</view>
</view>
<view >
<view class="header-row-class">
<text decode="true" class="header-row-title-class">源单类型</text>
<xfl-select :list="billTypeDefaultList" :listOrigin="billTypeDefaultList" :clearable="false" :showItemNum="5" :isCanInput="false"
@change="billTypeChange" class="header-row-select-class" :defaultSelectText="billTypeSelectText"
ref="billTypeDefaultList"/>
</view>
<view class="header-row-class">
<text decode="true" class="header-row-title-class">源单编号</text>
<view style="flex: 1 1;">
<input type="text" style="font-size: 32rpx;" class="header-row-input-white-class"
v-model="FSourceBillNo" :focus="sourceBillNoFocus"
@confirm="sourceBillNoInfoConfirm" :key="key">
</view>
<image src="@/static/img/scan-blue.png" @click="scan('sourceBillScan')"></image>
</view>
</view>
<view style="height: 32rpx;"></view>
<view class="separate"></view>
<view class="detail-tabs-class">
<!-- 正操作 -->
<view @tap="detailTabIndex=1" :class="[detailTabIndex==1?'detail-tabs-btn-gray-class':'detail-tabs-btn-handle-class']">正操作</view>
<view style="border-left-width:1.5px; border-left-color: #E5E5E5; border-left-style: solid; height:40rpx; flex-grow: 0; flex-shrink: 0;"></view>
<!-- 拣货明细 -->
<view @tap="detailTabIndex=2" :class="[detailTabIndex==2?'detail-tabs-btn-gray-class':'detail-tabs-btn-yes-class']">拣货明细</view>
<view style="border-left-width:1.5px; border-left-color: #E5E5E5; border-left-style: solid; height:40rpx; flex-grow: 0; flex-shrink: 0;"></view>
<!-- 扫描ID明细 -->
<view @tap="detailTabIndex=3" :class="[detailTabIndex==3?'detail-tabs-btn-gray-class':'detail-tabs-btn-total-class']">扫描条码明细</view>
</view>
<view class="detail-row-class" v-if="detailTabIndex==1">
<p class="detail-row-title-class">物料代码</p>
<view style="flex: 1 1;">
<input class="detail-row-gray-class" disabled="true" v-model="MaterialNumber" />
</view>
</view>
<view class="detail-row-class" v-if="detailTabIndex==1">
<p class="detail-row-title-class">物料名称</p>
<view style="flex: 1 1;">
<input class="detail-row-gray-class" disabled="true" v-model="MaterialName" />
</view>
</view>
<view class="detail-row-class" v-if="detailTabIndex==1">
<p class="detail-row-title-class">推荐条码</p>
<view style="flex: 1 1;">
<input class="detail-row-gray-class" disabled="true" v-model="RecID" />
</view>
</view>
<view class="detail-row-class" v-if="detailTabIndex==1">
<p class="detail-row-title-class">仓库仓位</p>
<view style="flex: 1 1;">
<input class="detail-row-gray-class" disabled="true" v-model="StockLocName" />
</view>
</view>
<view class="detail-row-class" v-if="detailTabIndex==1">
<p class="detail-row-title-class" style="text-align: center;">条码数量</p>
<view style="flex: 1 1;">
<input class="detail-row-gray-class" disabled="true" v-model="BarcodeQty" />
</view>
<p class="detail-row-title-class">分配数量</p>
<view style="flex: 1 1;">
<input class="detail-row-gray-class" disabled="true" v-model="currBarQty" />
</view>
</view>
<view class="detail-row-class" v-if="detailTabIndex==1">
<p class="detail-row-title-class">条&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 码</p>
<view style="flex: 1 1;">
<input class="detail-row-white-class" type="text" @confirm="barcodeConfirm()"
v-model="FBarcodeNumber" :focus="barcodeNumberFcous" :key="key"/>
</view>
<image src="@/static/img/scan-blue.png" @click="scan('barCodeScan')"></image>
</view>
<!--拣货明细-->
<view class="table" v-if="detailTabIndex==2" :k="key">
<z-table :tableData='totalTableData' :columns='totalColumns' showSelect @onSelect='tableSelect' />
</view>
<!--扫描ID明细-->
<view class="table" v-show="detailTabIndex==3" :ke="key">
<z-table :tableData='yesTableData' :columns='yesColumns'/>
</view>
<view class="header-row-btn-class-del" @click="delBtnClick" v-show="detailTabIndex==2">删除</view>
</view>
</template>
<script>
import Vue from 'vue';
import zTable from "../../../components/z-table/z-table.vue";
import xflSelect from '../../../components/xfl-select/xfl-select.vue';
import DateTimePicker from '@/components/bory-dateTimePickerWithOutTime/bory-dateTimePickerWithOutTime.vue';
// import errorUntil from '@/common/errorutil.js';
const commonUtil = require('@/common/util.js');
import opsoftDialogNotice from '@/components/opsoft-dialog-notice/opsoft-dialog-notice.vue';
import errorStrUntil from '@/common/errorStrUntil.js';
import {
mapState,
mapMutations
} from 'vuex';
export default {
data() {
return {
dialogNoticeContent:'',
dialogNoticeTitle:'',
dialogNoticeType:'',
showDialog:false,
key:1,
// 日期选择
dateString: '',
type: 'date',
creatlist: [{
type: 'date',
detail: '选择开始时间'
}],
curDate: '',
orgArry:[{name:"请选择组织", key:"", FName:""}],
orgFItemID:'',
index:0,
billTypeSelectText:"请选择",
SourceFormId:'',
billTypeDefaultList: new Array(),
FSourceBillNo:'',
InterId:'',
sourceBillNoFocus:false,
FBarcodeNumber:'',
barcodeNumberFcous:false,
MaterialNumber:'',
MaterialName:'',
RecID:'',
StockLocName:'',
BarcodeQty:'',
currBarQty:'',
detailTabIndex:1,
totalTableData: [],
yesTableData: [],
totalColumns: [{ title: "条码", key: "Barcode", width: 350, formatNum: false },
{ title: "物料名称", key: "MaterialName", width: 350, formatNum: false },
{ title: "仓位", key: "StockLocName", width: 350, formatNum: false },
{ title: "数量", key: "BarcodeQty", width: 350, formatNum: false },
{ title: "物料代码", key: "MaterialNumber", width: 350, formatNum: false }],
yesColumns: [{ title: "条码", key: "Barcode", width: 350, formatNum: false },
{ title: "物料名称", key: "MaterialName", width: 350, formatNum: false },
{ title: "仓位", key: "StockLocName", width: 350, formatNum: false },
{ title: "数量", key: "BarcodeQty", width: 350, formatNum: false },
{ title: "物料代码", key: "MaterialNumber", width: 350, formatNum: false }],
selectedList: [],
}
},
onLoad() {
this.getOrgList();
this.focusSourceBillCode();
//当前时间
let date = new Date();
this.curDate = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate();
this.creatlist[0].detail = this.curDate;
this.$forceUpdate();
},
components: {
zTable,
xflSelect,
DateTimePicker,
opsoftDialogNotice
},
computed: {
indicatorStyle() {
return {
background: 'rgba(255,0,0,.2)',
height: '40px',
};
},
},
methods: {
dialogNoticeConfirmClick(){
this.showDialog = false;
},
dialogNoticeProps(err,type){
err = errorStrUntil.handle(err);
this.showDialog = true;
this.dialogNoticeType = 'error';
this.dialogNoticeTitle = '异常提示';
if(type=='success'){
this.dialogNoticeType = 'success';
this.dialogNoticeTitle = '执行成功';
}
this.dialogNoticeContent = err;
},
//日期切换
creatDatePicker() {
this.type = 'date';
this.$refs['creatTime'].show();
},
creatTimeChange(value) {
let item = this.creatlist[0];
item['detail'] = value;
},
//组织
getOrgList:function(){
let _self = this;
let orgInfo = uni.getStorageSync('orgInfo');
if(orgInfo && orgInfo.length > 0) {
let defaultOrgInfo = uni.getStorageSync('defaultOrgInfo');
let isOpenDefaultOrg = uni.getStorageSync('isOpenDefaultOrg');
if(!isOpenDefaultOrg){
this.orgFItemID = orgInfo[0].FINTERID;
}else{
if(defaultOrgInfo){
this.orgFItemID = defaultOrgInfo.FINTERID;
}else{
this.orgFItemID = orgInfo[0].FINTERID;
}
}
this.orgArry = orgInfo;
this.orgArry.forEach(
function(el,index){
let currentOrgid = el.FINTERID;
let result = (currentOrgid == _self.orgFItemID);
if(result){
_self.index = index;
}
}
);
this.getSourceBillTypeInfo();
}else{
this.orgArry = [{name:"请选择组织", key:"", FNAME:"当前无组织"}];
this.index = 0;
}
},
orgChange:function(e){
this.index = e.target.value;
let isOpenDefaultOrg = uni.getStorageSync('isOpenDefaultOrg');
if(!this.orgArry[this.index].FINTERID){
this.orgFItemID = "";
}else{
this.orgFItemID = this.orgArry[this.index].FINTERID;
if(isOpenDefaultOrg){
uni.setStorageSync('defaultOrgInfo',this.orgArry[this.index]);
}
}
this.getSourceBillTypeInfo();
},
//源单类型
getSourceBillTypeInfo:function(){
let _self = this;
let requestParams = {
"orgID": this.orgFItemID,
"fNO": 'STK_PICKINVENTORY'
};
uni.showLoading({
icon:'loading',
title:'加载中……',
mask:true
});
this.$request.get('/SelBill/QuerySelBill',{params:requestParams}).then(res => {
uni.hideLoading();
let data = res;
let billTypes = data;
if (billTypes) {
billTypes.forEach(
function(el){
el.value = el.FSRCNAME? el.FSRCNAME:'null'
if(el.FDEFAULT) {
_self.billTypeSelectText = el.value;
_self.SourceFormId = el.FSRCFORMID;
if(_self.$refs.billTypeList) {
_self.$refs.billTypeList.selectText = _self.billTypeSelectText;
}
}
});
this.billTypeDefaultList = billTypes;
this.$forceUpdate();
}
}).catch(err => {
uni.hideLoading();
this.dialogNoticeProps(err,'error')
});
},
//切换源单
billTypeChange({ newVal, oldVal, index, orignItem }) {
let _self = this;
this.SourceFormId = orignItem.FSRCFORMID;
this.FSourceBillNo = '';
this.FBarcodeNumber = '';
this.MaterialNumber = '';
this.MaterialName = '';
this.RecID = '';
this.StockLocName = '';
this.BarcodeQty = '';
this.currBarQty = '';
this.totalTableData = [];
this.yesTableData = [];
this.focusSourceBillCode();
},
//源单编号扫码
sourceBillNoInfoConfirm: function(){
let _self = this;
let params = {
"SourceFormId":this.SourceFormId, //源单类型(用出入库单据相同的接口获取)
"SourceBillNo":this.FSourceBillNo, //源单编号
"OrgId": this.orgFItemID //组织
}
uni.showLoading({
icon:'loading',
title:'加载中……',
mask:true
});
this.$request.post('/PickInventory/GetPickInventoryDetail',params).then(res => {
uni.hideLoading();
this.InterId = res.InterId;
this.totalTableData = res.FrozenBarcodeList;
this.yesTableData = res.ScannedBarcodeList;
if (res.FrozenBarcodeList[0]) {
this.MaterialNumber = res.FrozenBarcodeList[0].MaterialNumber;
this.MaterialName = res.FrozenBarcodeList[0].MaterialName;
this.RecID = res.FrozenBarcodeList[0].Barcode;
this.StockLocName = res.FrozenBarcodeList[0].StockName+'/'+res.FrozenBarcodeList[0].StockLocName;
this.BarcodeQty = res.FrozenBarcodeList[0].BarcodeQty;
this.currBarQty = res.FrozenBarcodeList[0].NeedQty;
}
this.FBarcodeNumber = '';
this.focusBarCode();
}).catch(err => {
uni.hideLoading();
this.dialogNoticeProps(err,'error')
})
},
//条码扫码
barcodeConfirm: function(){
let _self = this;
let isExit = this.totalTableData.some(e => {
return e.Barcode == _self.FBarcodeNumber;
});
let IsNeedSplit;
let RemainQty;
let SplitInfo = new Array();
let params;
if(!isExit){
uni.showModal({
content:'扫描条码'+ _self.FBarcodeNumber + '不在拣货明细列表请重新扫描',
showCancel:false
})
return false
}
if(isExit){
this.totalTableData.forEach(e => {
if(e.Barcode == _self.FBarcodeNumber){
IsNeedSplit = e.IsNeedSplit;
if(IsNeedSplit){
RemainQty = e.RemainQty;
SplitInfo = [
{"Barcode":e.Barcode,"Qty":e.BarcodeQty},
{"Barcode":'',"Qty":parseInt(e.BarcodeQty)-parseInt(e.NeedQty)}
];
}
}
})
if(!IsNeedSplit){
params = {
"InterId":this.InterId, //拣货单内码
"BillNo":this.FSourceBillNo, //拣货单编号
"Barcode": this.FBarcodeNumber, //条码
"IsRemove": false //是否删除
}
uni.showLoading({
icon:'loading',
title:'加载中……',
mask:true
});
this.$request.post('/PickInventory/BarcodeOperate',params).then(res => {
uni.hideLoading();
// this.totalTableData.forEach(e => {
// if(e.Barcode == _self.FBarcodeNumber){
// _self.yesTableData.push(e);
// }
// })
// this.totalTableData = this.totalTableData.splice(this.totalTableData.findIndex(e => {
// e.Barcode == _self.FBarcodeNumber;
// }),1);
this.sourceBillNoInfoConfirm();
this.key++
this.$forceUpdate();
}).catch(err => {
uni.hideLoading();
this.dialogNoticeProps(err,'error')
})
}else{
uni.showModal({
title: '提示',
content: '是否需要拆分条码'+ _self.FBarcodeNumber,
success: function (res) {
if (res.confirm) {
params = {
"IsPickInventory":true, //是否拣货,此处固定为True
"RemainQty":RemainQty, //条码拆分后剩余数量,此处应为BarcodeQty-NeedQty
"Barcode":_self.FBarcodeNumber,
"SplitInfo":SplitInfo
}
uni.showLoading({
icon:'loading',
title:'加载中……',
mask:true
});
_self.$request.post('/PickInventory/SplitBarcode',params).then(res => {
uni.hideLoading();
// _self.totalTableData.forEach(e => {
// if(e.Barcode == _self.FBarcodeNumber){
// _self.yesTableData.push(e);
// }
// })
// _self.totalTableData = _self.totalTableData.splice(_self.totalTableData.findIndex(e => {
// e.Barcode == _self.FBarcodeNumber;
// }),1);
_self.sourceBillNoInfoConfirm();
_self.key++
_self.$forceUpdate();
}).catch(err => {
uni.hideLoading();
uni.showModal({
content:err,
showCancel:false
})
})
} else if (res.cancel) {
console.log('用户点击取消');
}
}
});
}
}
},
scan:function(e){
let currentScanType = e;
uni.scanCode({
success:function(res){
if(currentScanType == 'sourceBillScan'){
_self.FSourceBillNo = res.result;
_self.sourceBillNoInfoConfirm();
}else if(currentScanType == 'barCodeScan'){
_self.FBarcodeNumber = res.result;
_self.barcodeConfirm();
}
}
})
},
//选择下标元素
tableSelect: function(selected) {
this.selectedList = selected;
},
//删除样式
delBtnClick: function(e) {
let _self = this;
debugger
if(this.selectedList.length>1){
uni.showToast({
title:'请选择一条删除',
icon:'none'
})
return false
}
if(this.selectedList.length==0){
uni.showToast({
title:'无删除数据',
icon:'none'
})
return false
}
let delBarcodeNumber = _self.totalTableData[this.selectedList[0]].Barcode;
uni.showModal({
title: '提示',
content: '确定删除数据吗?',
showCancel: true,
cancelText: '取消',
confirmText: '确定',
success: res => {
if (res.confirm) {
let params = {
"InterId":_self.InterId, //拣货单内码
"BillNo":_self.FSourceBillNo, //拣货单编号
"Barcode": delBarcodeNumber, //条码
"IsRemove": true //是否删除
}
uni.showLoading({
icon:'loading',
title:'加载中……',
mask:true
});
_self.$request.post('/PickInventory/BarcodeOperate',params).then(res => {
uni.hideLoading();
// _self.yesTableData = _self.yesTableData.filter(
// function(el, index){
// return !_self.selectedList.includes(index);
// }
// );
_self.sourceBillNoInfoConfirm();
_self.key++
_self.$forceUpdate();
}).catch(err => {
uni.hideLoading();
this.dialogNoticeProps(err,'error')
})
} else if (res.cancel) {
console.log('取消')
}
},
fail: () => {},
complete: () => {}
});
},
focusSourceBillCode(){
let _self = this;
this.sourceBillNoFocus = false;
this.barcodeNumberFcous = false;
this.$nextTick(function(){
_self.sourceBillNoFocus = true;
_self.barcodeNumberFcous = false;
})
},
focusBarCode(){
let _self = this;
this.sourceBillNoFocus = false;
this.barcodeNumberFcous = false;
this.$nextTick(function(){
_self.sourceBillNoFocus = false;
_self.barcodeNumberFcous = true;
})
},
}
};
</script>
<style lang="scss">
.z-application-content {
font-size: 44rpx;
}
.header-row-class-organzie{
display: flex;
justify-content: flex-end;
align-items: center;
padding-right: 50rpx;
}
.header-row-title-class-organzie{
font-size: 32rpx;
font-family: MicrosoftYaHei;
color: #666666;
}
.head-row-content-class-organzie{
font-size: 32rpx;
font-family: MicrosoftYaHei;
color: #666666;
}
.img-organzie{
height: 32rpx;
width: 32rpx;
margin-left: 24rpx;
}
.header-row-class {
display: flex;
flex-wrap: nowrap;
height: 60rpx;
line-height: 60rpx;
margin-top: 8rpx;
// background-color: #f7f9ff;
justify-content: flex-start;
align-items: center;
margin-left: 32rpx;
margin-right: 32rpx;
}
.header-row-class image{
height: 40rpx;
width: 40rpx;
position: fixed;
right: 40rpx;
}
.header-row-title-class {
width: 130rpx;
height: 60rpx;
line-height: 60rpx;
font-size: 32rpx;
font-family: MicrosoftYaHei;
color: #666666;
}
.header-row-select-class{
width: 100%;
height: 66rpx;
line-height: 66rpx;
border-radius: 10rpx;
border: 2rpx solid #D8D8D8;
flex: 1 1;
font-size: 32rpx;
font-family: MicrosoftYaHei;
color: #5F7EF8;
margin-left: 24rpx;
}
.header-row-input-gray-class{
height: 60rpx;
border-radius: 10rpx;
border: 2rpx solid #D8D8D8;
flex: 0 0;
font-size: 28rpx;
font-family: MicrosoftYaHei;
color: #5F7EF8;
background-color: #F4F4F4;
margin-left: 24rpx;
padding-left: 24rpx;
}
.header-row-input-white-class{
height: 60rpx;
border-radius: 10rpx;
border: 2rpx solid #D8D8D8;
flex: 0 0;
font-size: 28rpx;
font-family: MicrosoftYaHei;
background-color: #FFFFFF;
color: #5F7EF8;
margin-left: 24rpx;
padding-left: 24rpx;
}
.separate{
width: 100%;
height: 16rpx;
background-color:#F5F5F5;
}
.detail-tabs-class {
display: flex;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: center;
height: 80rpx;
}
.detail-tabs-btn-gray-class {
position: relative;
width: 100%;
height: 80rpx;
line-height: 80rpx;
text-align: center;
font-size:28rpx;
font-family:MicrosoftYaHei;
color:#4662FF;
}
.detail-tabs-btn-gray-class::after{
position: absolute;
content: " ";
width: 2rem;
height: 0.12rem;
background: #4662FF;
bottom: -0.1rem;
left: 50%;
transform: translateX(-50%);
}
.detail-tabs-btn-handle-class {
// position: relative;
width: 100%;
height: 80rpx;
line-height: 80rpx;
text-align: center;
font-size:28rpx;
font-family:MicrosoftYaHei;
color:#666666;
}
.detail-tabs-btn-yes-class {
position: relative;
width: 100%;
height: 80rpx;
line-height: 80rpx;
text-align: center;
font-size:28rpx;
font-family:MicrosoftYaHei;
color:#666666;
}
.detail-tabs-btn-total-class {
width: 100%;
height: 80rpx;
line-height: 80rpx;
text-align: center;
font-size:28rpx;
font-family:MicrosoftYaHei;
color:#666666;
}
.detail-tabs-btn-base-class {
width: 100%;
height: 80rpx;
line-height: 80rpx;
text-align: center;
font-size:28rpx;
font-family:MicrosoftYaHei;
color:#666666;
}
.detail-row-class {
display: flex;
flex-wrap: nowrap;
height: 60rpx;
margin-top: 8rpx;
// background-color: #f7f9ff;
justify-content: flex-start;
align-items: center;
margin-left: 32rpx;
margin-right: 32rpx;
// margin-top: 16rpx;
}
.detail-row-class image{
height: 40rpx;
width: 40rpx;
position: fixed;
right: 40rpx;
}
.detail-row-title-class{
width: 135rpx;
height: 60rpx;
line-height: 72rpx;
font-size: 32rpx;
font-family: MicrosoftYaHei;
color: #666666;
}
.detail-row-white-class{
height: 60rpx;
line-height: 60rpx;
border-radius: 10rpx;
border: 2rpx solid #D8D8D8;
// flex: 0 0;
font-size: 32rpx;
font-family: MicrosoftYaHei;
color: #666666;
margin-left: 24rpx;
padding-left: 24rpx;
}
.detail-row-white-class-stock{
height: 60rpx;
line-height: 60rpx;
border-radius: 10rpx;
border: 2rpx solid #D8D8D8;
// flex: 0 0;
font-size: 32rpx;
font-family: MicrosoftYaHei;
color: #FFFFFF;
text-align: center;
margin-left: 24rpx;
background-color: #007AFF;
// padding-left: 24rpx;
}
.detail-row-gray-class{
height: 60rpx;
border-radius: 10rpx;
border: 2rpx solid #D8D8D8;
// flex: 0 0;
font-size: 32rpx;
font-family: MicrosoftYaHei;
color: #666666;
background-color: #F4F4F4;
margin-left: 24rpx;
padding-left: 24rpx;
}
.table {
margin-top: 16rpx;
margin-right: 32rpx;
margin-left: 32rpx;
}
.header-row-btn-class{
display: flex;
width: 100%;
height: 80rpx;
margin-top: 16rpx;
}
.commitBtnOther{
width: 100%;
height: 80rpx;
line-height: 80rpx;
color: #FFFFFF;
background: #5778FF;
font-size: 32rpx;
font-family: MicrosoftYaHei;
text-align: center;
border-radius: unset;
position: fixed;
left: 0;
bottom: 0;
}
.header-row-btn-class-commit{
width: 50%;
position: fixed;
height: 80rpx;
line-height: 80rpx;
font-size: 32rpx;
font-family: MicrosoftYaHei;
background: #5778FF;
color: #FFFFFF;
text-align: center;
border-radius: unset;
right: 0;
bottom: 0;
}
.header-row-btn-class-clear{
width: 50%;
position: fixed;
height: 80rpx;
line-height: 80rpx;
font-size: 32rpx;
text-align: center;
font-family: MicrosoftYaHei;
background: #F5F5F4;
color: #666666;
border-radius: unset;
left: 0;
bottom: 0;
}
.header-row-btn-class-del{
width: 100%;
height: 80rpx;
line-height: 80rpx;
font-size: 32rpx;
font-family: MicrosoftYaHei;
color: #FFFFFF;
text-align: center;
background-color: #F76260;
border-radius: unset;
position: fixed;
left: 0;
bottom: 0;
}
.chooseRowNo{
position: fixed;
width: 100%;
height: 50%;
top: 200rpx;
left: 0;
z-index: 15;
}
.image-barcode{
position: absolute;
width: 40rpx;
height: 40rpx;
// position: fixed;
right: 16rpx;
bottom: 12rpx;
}
.alter{
position: fixed;
left: 0;
right: 0;
top:0;
bottom: 0;
background-color: #333333;
opacity: 0.5;
}
.err{
position: fixed;
left: 100rpx;
right: 100rpx;
top: 400rpx;
background-color: #FFFFFF;
border-radius: 20rpx;
opacity: 1;
z-index: 5;
}
.errTitle{
height: 80rpx;
line-height: 80rpx;
width: 100%;
font-size: 32rpx;
text-align: center;
// border-bottom: 2rpx solid #3D3D3D;
}
.errList{
width: 100%;
margin-left: 16rpx;
margin-right: 16rpx;
}
.errDetails{
width: 90%;
font-size: 26rpx;
color: #3D3D3D;
text-align: center;
}
.errConfirm{
height: 80rpx;
line-height: 80rpx;
width: 100%;
font-size: 32rpx;
text-align: center;
color: #007AFF;
border-top: 2rpx solid #3D3D3D;
}
.cash-btn{
display: flex;
}
.cashConfirm{
height: 80rpx;
line-height: 80rpx;
width: 50%;
font-size: 32rpx;
text-align: center;
color: #007AFF;
border-top: 2rpx solid #3D3D3D;
border-right: 2rpx solid #3B4144;
}
.cashCancel{
height: 80rpx;
line-height: 80rpx;
width: 50%;
font-size: 32rpx;
text-align: center;
color: #007AFF;
border-top: 2rpx solid #3D3D3D;
}
.detail-row-class-b{
display: flex;
flex-wrap: nowrap;
height: 60rpx;
margin-top: 8rpx;
justify-content: flex-start;
align-items: center;
margin-left: 32rpx;
margin-right: 32rpx;
}
.detail-row-title-class-b{
width: 135rpx;
height: 60rpx;
line-height: 72rpx;
font-size: 32rpx;
font-family: MicrosoftYaHei;
color: #666666;
}
.detail-row-white-class-b{
flex: 1 1;
height: 64rpx;
line-height: 64rpx;
border-radius: 10rpx;
border: 2rpx solid #D8D8D8;
font-size: 32rpx;
font-family: MicrosoftYaHei;
color: #666666;
}
.pic-upload{
position: fixed;
height: 80rpx;
width: 80rpx;
border: 2rpx solid #5F7EF8;
border-radius: 50%;
color: #FFFFFF;
background: #5F7EF8;
bottom: 100rpx;
right: 32rpx;
}
.pic-upload-text{
height: 40rpx;
line-height: 40rpx;
font-size: 26rpx;
text-align: center;
}
</style>