1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429 |
- <template>
- <view>
- <view @click='hidden' class='wrap'>
- <view class='title_b'>基本信息</view>
- <view class="c-row ">
- <view class="title">类型</view>
- <view class="con-list">
- <u-radio-group @change="groupChange" v-model="typevalue">
- <u-radio key="1" label="贸易入库" name="1">贸易入库</u-radio>
- <u-radio key="3" label="收购入库" name="3">收购入库</u-radio>
- </u-radio-group>
- </view>
- </view>
- <view class="c-row ">
- <view class="title">仓库</view>
- <view class="con-list">
- {{gridList.warehouseName}}
- </view>
- </view>
- <view v-if='typevalue==1' class="c-row ">
- <view class="title">任务编号</view>
- <view class="con-list">
- <view @click='show4=true'>{{gridList.inOutTaskNo?gridList.inOutTaskNo:'请选择任务编号'}}</view>
- <u-picker :range="taskNolist" range-key="inOutTaskNo" @confirm='tasknopicker($event)' v-model="show4"
- mode="selector">
- </u-picker>
- </view>
- </view>
- <view v-if='typevalue==1&&gridList.inOutType!="移库入库"' class="c-row ">
- <view class="title">合同编号</view>
- <view class="con-list">
- {{gridList.contractNo?gridList.contractNo:'自动获取,不可编辑'}}
- </view>
- </view>
- <view v-if='typevalue==1&&gridList.inOutType=="移库入库"' class="c-row ">
- <view class="title">移库编号</view>
- <view class="con-list">
- {{gridList.contractNo?gridList.contractNo:'自动获取,不可编辑'}}
- </view>
- </view>
- <view class="c-row ">
- <view class="title">业务编号</view>
- <view class="con-list">
- {{gridList.qualityNo}}
- </view>
- </view>
- <view v-if='typevalue==1' style=' align-items: flex-start;' class="c-row ">
- <view class="title">提示</view>
- <view class="con-list">
- {{gridList.tips?gridList.tips:'自动获取,不可编辑'}}
- </view>
- </view>
- <view v-if='typevalue==1' class="c-row ">
- <view class="title">成本</view>
- <view class="con-list">
- <view v-if='!coststatus'>{{gridList.cost?gridList.cost:'自动获取,不可编辑'}}</view>
- <view v-if='coststatus'>
- <input v-model='gridList.cost' placeholder="请输入成本" name="input" type="digit"></input>
- </view>
- </view>
- <button class='cu-btn bg-green shadow' @click="changecost">{{costtext}}</button>
- </view>
- <view v-if='typevalue==1' class="c-row ">
- <view class="title">运费</view>
- <view class="con-list flex">
- <view v-if='!freightstatus'>{{gridList.freight?gridList.freight:'自动获取,不可编辑'}}</view>
- <view v-if='freightstatus'>
- <input v-model='gridList.freight' placeholder="请输入运费" name="input" type="digit"></input>
- </view>
- </view>
- <button class='cu-btn bg-green shadow' @click="changefreight">{{freighttext}}</button>
- </view>
- <view v-if='typevalue==1' class="c-row ">
- <view class="title">扣款</view>
- <view class="con-list">
- <input v-model='gridList.deductionAmount' placeholder="请输入扣款" name="input" type="digit"></input>
- </view>
- </view>
- <view v-if='typevalue==1' class="c-row ">
- <view class="title">入库类型</view>
- <view class="con-list">
- {{gridList.inOutType?gridList.inOutType:'自动获取,不可编辑'}}
- </view>
- </view>
- <view v-if='typevalue==1' class="c-row ">
- <view class="title">入库日期</view>
- <view class="con-list">
- <view @click='show5=true'>{{gridList.inOutDate?gridList.inOutDate:'请选择入库日期'}}</view>
- <u-picker @confirm='inOutDatepicker($event)' :params="params" v-model="show5"
- mode="time">
- </u-picker>
- </view>
- </view>
- <view v-if='typevalue==1||typevalue==3&&gridList.outType=="自运"' class="c-row ">
- <view class="title">车队</view>
- <view class="con-list">
- <view @click='show6=true'>{{gridList.fleet?ridList.fleet:'非车队车辆'}}</view>
- <u-picker @confirm='fleetpicker($event)' :range="fleetNameList" range-key="fleetName" v-model="show5"
- mode="selector">
- </u-picker>
- </view>
- </view>
- <view v-if='typevalue==1' class="c-row ">
- <view class="title">运输方式</view>
- <view class="con-list">
- <view @click='show7=true'>{{gridList.outType?gridList.outType:'请选择运输方式'}}</view>
- <u-picker :range="multiSelector" range-key="name" @confirm='outtypepicker($event,0)' v-model="show7"
- mode="selector">
- </u-picker>
- </view>
- </view>
- <view v-if='typevalue==3' class="c-row ">
- <view class="title">运输方式</view>
- <view class="con-list">
- <view @click='show8=true'>{{outType?outType:'请选择运输方式'}}</view>
- <u-picker :range="multiSelector1" range-key="name" @confirm='outtypepicker($event,1)' v-model="show8"
- mode="selector">
- </u-picker>
- </view>
- </view>
- <view v-if="gridList.outType=='汽运'&&typevalue==1 ||gridList.outType == '集装箱船'&&typevalue==1" class="c-row ">
- <view class="title">箱号-1</view>
- <view class="con-list">
- <input v-model='gridList.boxNo' placeholder="请输入箱号" name="input" type="digit"></input>
- </view>
- </view>
- <view v-if="gridList.outType== '汽运'&&typevalue==1 ||gridList.outType == '集装箱船'&&typevalue==1" class="c-row ">
- <view class="title">封号-1</view>
- <view class="con-list">
- <input v-model='gridList.titleNo' placeholder="请输入封号" name="input" type="digit"></input>
- </view>
- </view>
- <view v-if="gridList.outType=='汽运'&&typevalue==1 ||gridList.outType == '集装箱船'&&typevalue==1" class="c-row ">
- <view class="title">箱号-2</view>
- <view class="con-list">
- <input v-model='gridList.boxNoOther' placeholder="请输入箱号" name="input" type="digit"></input>
- </view>
- </view>
- <view v-if="gridList.outType== '汽运'&&typevalue==1 ||gridList.outType == '集装箱船'&&typevalue==1" class="c-row ">
- <view class="title">封号-2</view>
- <view class="con-list">
- <input v-model='gridList.titleNoOther' placeholder="请输入封号" name="input" type="digit"></input>
- </view>
- </view>
- <view v-if="gridList.paramType != '1'" class="c-row ">
- <view class="title">扣重比</view>
- <view class="con-list">
- <input v-model='gridList.buckleWeightRatio' placeholder="请输入扣重比" name="input" type="digit"></input>
- </view>
- </view>
- <view class="c-row ">
- <view class="title">货名</view>
- <view class="con-list">
- <view v-if='goodsdisabled'>{{gridList.goodsName}}</view>
- <view v-if='!goodsdisabled' @click='show2=true'>{{gridList.goodsName}}</view>
- <u-picker :range="goodsList" range-key="goodsName" @confirm='goodspicker($event)' v-model="show2"
- mode="selector">
- </u-picker>
- </view>
- </view>
- <view v-if='typevalue==3' class="c-row ">
- <view class="title">客户</view>
- <view class="con-list">
- <view @click='gocustomer' v-if='gridList.customerName'>
- {{gridList.customerName}}({{gridList.customerPhone}})
- </view>
- <view @click='gocustomer' v-else>
- 选择客户
- </view>
- </view>
- </view>
- <view class="c-row ">
- <view class="title">车牌号</view>
- <view class="con-list">
- <input v-model='gridList.carNumber' @click.stop="handleShowKeyboard":disabled="true" placeholder="请输入车牌号" name="input"></input>
- <master-keyboard ref="keyboard" keyboardtype="car" :randomNumber="true" :newCar="false" :defaultValue="gridList.carNumber" @keyboardClick="handleClick"></master-keyboard>
- </view>
- </view>
- <view v-if="gridList.paramType != '1'" class="c-row ">
- <view class="title">扣重比</view>
- <view class="con-list">
- <input v-model='gridList.buckleWeightRatio' placeholder="请输入扣重比" name="input" type="digit"></input>
- </view>
- </view>
- <!-- <view v-else class="c-row ">
- <view class="title">扣杂</view>
- <view class="con-list">
- <input v-model='gridList.buckleMiscellaneous' placeholder="初检扣杂" @input="waterContentChange"
- name="input" type="digit"></input>
- <input v-model='gridList.reBuckleMiscellaneous' placeholder="复检扣杂" @input="waterContentChange"
- name="input" type="digit"></input>
- </view>
- </view> -->
- <view v-if='typevalue==3' class="c-row ">
- <view class="title">购粮性质</view>
- <view class="con-list">
- <input v-model='gridList.natureOfGrainPurchase' placeholder="请输入购粮性质" name="input"></input>
- </view>
- </view>
- <view class="c-row ">
- <view class="title">仓位号</view>
- <view class="con-list">
- <view @click='show=true'>{{gridList.binNumber?gridList.binNumber:'请选择仓位号'}}</view>
- <u-picker :range="warehouseList" range-key="binNumber" @confirm='binNumberpicker($event)'
- v-model="show" mode="selector">
- </u-picker>
- </view>
- </view>
- <view class="c-row ">
- <view class="title">囤位号</view>
- <view class="con-list">
- <input type="digit" v-model='gridList.storageTagNo' placeholder="请输入囤位号" name="input"></input>
- </view>
- </view>
- <view class="c-row ">
- <view class="title">类型</view>
- <view v-if="!edit" class="con-list">
- <view @click='show3=true'>{{gridList.type}}</view>
- <u-picker :range="typeList" @confirm='typepicker($event)' v-model="show3" mode="selector">
- </u-picker>
- </view>
- <view v-else class="con-list">{{gridList.type}}</view>
- </view>
- <view v-if="gridList.type == '潮粮'" class="c-row">
- <view class="title">净重单价(元/公斤)</view>
- <view class="con-list">
- <input v-model='gridList.tidalGrainPrice' :disabled='pricedisabled' @blur='inputprice' placeholder="自动获取,不可编辑" name="input"
- type="digit"></input>
- </view>
- <button class='cu-btn bg-green shadow' @click="changeprice">{{pricetext}}</button>
- </view>
- <view v-if="gridList.type == '干粮'" class="c-row">
- <view class="title">干粮单价(元/公斤)</view>
- <view class="con-list">
- <input v-model='gridList.dryGrainPrice' :disabled='pricedisabled' @blur='inputprice' placeholder="请输入干粮单价" name="input" type="digit"></input>
- </view>
- <button class='cu-btn bg-green shadow' @click="changeprice">{{pricetext}}</button>
- </view>
- <view v-if="typevalue==3" class="c-row">
- <view class="title">箱号-1</view>
- <view class="con-list">
- <input v-model='gridList.boxNo' placeholder="请输入箱号" name="input" type="digit"></input>
- </view>
- </view>
- <view v-if="typevalue==3" class="c-row">
- <view class="title">封号-1</view>
- <view class="con-list">
- <input v-model='gridList.titleNo' placeholder="请输入封号" name="input" type="digit"></input>
- </view>
- </view>
- <view v-if="typevalue==3" class="c-row">
- <view class="title">箱号-2</view>
- <view class="con-list">
- <input v-model='gridList.boxNoOther' placeholder="请输入箱号" name="input" type="digit"></input>
- </view>
- </view>
- <view v-if="typevalue==3" class="c-row">
- <view class="title">封号-2</view>
- <view class="con-list">
- <input v-model='gridList.titleNoOther' placeholder="请输入封号" name="input" type="digit"></input>
- </view>
- </view>
- </view>
- <view style='padding-bottom:300rpx;'>
- <view class='wrap'>
- <view style='margin-right:10px;' class='flex justify-between align-item-center'>
- <view class='title_b'>化验信息</view>
- <view class='flex justify-between align-item-center'>补录:<u-switch activeColor="#22C572" v-model="value" @change="change"></u-switch></view>
- </view>
- <view class="c-row ">
- <view class="title">等级</view>
- <view class="con-list">
- <view @click='show1=true'>{{gridList.grade?gridList.grade:'请选择等级'}}</view>
- <u-picker :range="gradeList" range-key="value" @confirm='gradepicker($event)' v-model="show1"
- mode="selector">
- </u-picker>
- </view>
- </view>
- <view class="c-row ">
- <view class="title">水分(%)</view>
- <view class="con-list">
- <input v-model='gridList.waterContent' placeholder="初检水分" @input="waterContentChange"
- name="input" type="digit"></input>
- <input v-model='gridList.rewaterContent' placeholder="复检水分" @input="waterContentChange"
- name="input" type="digit"></input>
- </view>
- </view>
- <view class="c-row ">
- <view class="title">容重(克/升)</view>
- <view class="con-list">
- <input v-model='gridList.bulkDensity' placeholder="请输入容重" name="input" type="digit"></input>
- </view>
- </view>
- <view class="c-row ">
- <view class="title">不完善粒(%)</view>
- <view class="con-list">
- <input v-model='gridList.imperfectGrain' placeholder="请输入不完整粒占比" name="input"
- type="digit"></input>
- </view>
- </view>
- <view class="c-row ">
- <view class="title">杂质(%)</view>
- <view class="con-list">
- <input v-model='gridList.impurity' placeholder="请输入杂质占比" name="input" type="digit"></input>
- </view>
- </view>
- <view class="c-row ">
- <view class="title">霉变粒(%)</view>
- <view class="con-list">
- <input v-model='gridList.mildewGrain' placeholder="请输入霉变粒占比" name="input" type="digit"></input>
- </view>
- </view>
- <view class="c-row">
- <view class="title">热损伤(%)</view>
- <view class="con-list">
- <input v-model='gridList.jiaorenli' placeholder="请输入热损伤占比" name="input" type="digit"></input>
- </view>
- </view>
- </view>
- </view>
- <view class="footer">
- <!-- <view @click='confirmInfo' class="button">确认初检信息</view> -->
- <view @click='submit' class="button">提交</view>
- </view>
- <u-modal v-model="isShowAlert" :title-style="{fontSize: '18px',fontWeight:'500'}"
- :content-style="{fontSize: '14px',fontWeight:'400'}" confirm-color='#22C572' confirm-text='确定' title='提示'
- showCancelButton='false' :content="content" @confirm="alertBtn" @cancel="cancelClick"></u-modal>
- <u-popup v-model="isShowPrint" class="popup" @close="close" mode="bottom" border-radius="30" :closeable="true">
- <view class="buns_item">
- <view class="but_css" @click="print">打印小票</view>
- <view class="but_css" @click="close">返回</view>
- </view>
- </u-popup>
- </view>
- </template>
- <script>
- import dragButton from "@/components/drag-button/drag-button.vue";
- import keyboard from "@/components/master-keyboard/master-keyboard.vue";
- import {
- mapState
- } from 'vuex';
- let startY = 0,
- moveY = 0,
- pageAtTop = true;
- export default {
- components: {
- dragButton,
- keyboard
- },
- data() {
- return {
- isShowPrint:false,
- isShowAlert: false,
- content: '确认初检信息后,初检员不需要再次确认质检信息,是否确定提交?',
- inputShow: false,
- params:{year: true,
- month: true,
- day: true,},
- modalName: '',
- pricetext:'锁定',
- pricedisabled:false,
- show8:false,
- mycarStyle: '',
- feild: undefined,
- id: 0,
- outType:'他运',
- show: false,
- show4:false,
- show5:false,
- show6:false,
- show7:false,
- edit: true,
- goodsdisabled:false,
- freighttext:'手动填写',
- costtext:'手动填写',
- selector: [],
- show1: false,
- inputContent: '',
- multiSelector1:[{name:'他运',value:'他运'}],
- typevalue:'3',
- coverTransform: 'translateY(0px)',
- coverTransition: '0s',
- moving: false,
- footprintList: [],
- searchKeyWord: '',
- isVip: false,
- userInfoTmp: [],
- inputStatus: 'none',
- carInfo: [],
- gridCol: 4,
- freightstatus:false,
- coststatus:false,
- pageSize: 10,
- show3: false,
- show2: false,
- goodsList: [],
- currentPage: 1,
- value:false,
- gridBorder: false,
- headUrl: "../../static/img/myimg/YongHu@3x.png",
- userphone: "",
- username: "请更改昵称",
- gridList: {
- natureOfGrainPurchase: '贸易粮',
- type: '',
- tidalGrainPrice: '',
- dryGrainPrice: '',
- buckleMiscellaneous: '',
- carNumber:'',
- customerName:'',
- customerPhone:'',
- bulkDensity:"",
- imperfectGrain:"",
- waterContent:"",
- jiaorenli:"",
- impurity:"",
- mildewGrain:"",
- compName:"",
- type: '',
- freight: 0,
- cost: '',
- addressUrl: '',
- tidalGrainPrice: 0,
- buckleWeightRatio: 0,
- buckleMiscellaneous: 0,
- paramType: 1,
- warehouseInOutDetail: {
- grade:'',
- reGrade:'',
- imperfectGrain:'',
- reImperfectGrain:'',
- impurity:'',
- reImpurity:'',
- jiaorenli:'',
- reJiaorenli:'',
- bulkDensity:'',
- reBulkDensity:'',
- mildewGrain:'',
- reMildewGrain:'',
- },
- disablednotarize:false,
- deductionAmount: 0,
- deductionWeight: 0,
- grossWeight: 0,
- tare: 0,
- grade:'',
- inOutDate: new Date().toISOString().slice(0, 10),
- netWeight:0,
- pureWeight:0,
- deductionWeight:0,
- waterContent:'',
- reWaterContent:'',
- reGrade:'',
- imperfectGrain:'',
- reImperfectGrain:'',
- impurity:'',
- reImpurity:'',
- jiaorenli:'',
- reJiaorenli:'',
- bulkDensity:'',
- reBulkDensity:'',
- reMemo:'',
- storageTagNo:'',
- mildewGrain:'',
- reMildewGrain:'',
- boxNo:'',
- boxNoOther:'',
- titleNo:'',
- titleNoOther:'',
- statusFlag:1
- },
- typeList: ['潮粮', '干粮'],
- managementType: '',
- warehouseName: '',
- warehouseList: [],
- warehouseCount: '',
- commonWarehouseNo: '',
- tranCarInfoList:[],
- warehouseTradeCount:0,
- showTran: true,
- companyId: 1,
- contractNolist:[],
- current: 4,taskNolist:[],
- fleetNameList:[],
- multiSelector: [{
- name: '汽运',
- value: '0',
- },
- {
- name: '火运',
- value: '1',
- },
- {
- name: '集装箱船',
- value: '2',
- },
- {
- name: '散船',
- value: '3',
- },
- ],
- gradeList: [{
- key: 1,
- value: '一等品'
- },
- {
- key: 2,
- value: '二等品'
- },
- {
- key: 3,
- value: '三等品'
- },
- {
- key: 4,
- value: '等外'
- },
- ],
- cangid: ''
- }
- },
- // #ifndef MP
- onNavigationBarButtonTap(e) {
- const index = e.index;
- if (index === 0) {
- this.navTo('/pages/set/set');
- } else if (index === 1) {
- // #ifdef APP-PLUS
- const pages = getCurrentPages();
- const page = pages[pages.length - 1];
- const currentWebview = page.$getAppWebview();
- currentWebview.hideTitleNViewButtonRedDot({
- index
- });
- // #endif
- uni.navigateTo({
- url: '/pages/notice/notice'
- })
- }
- },
- // #endif
- computed: {
- ...mapState(['hasLogin', 'userInfo']),
- // 手机号中间4位加*
- starUserphone() {
- let reg = /^(\d{3})\d{4}(\d{4})$/;
- if (this.userphone) {
- return this.userphone.replace(reg, "$1****$2");
- }
- }
- },
- onLoad(options) {
- this.commonWarehouseNo = options.commonWarehouseNo
- this.warehouseCount = Number(options.warehouseCount) + 1
- this.warehouseTradeCount = Number(options.warehouseTradeCount) + 1
- let number = '000' + this.warehouseCount
- number = number.substring(number.length - 4, number.length)
- this.gridList.warehouseName = options.warehouseName
- this.gridList.qualityNo = 'SGRK' + this.getdate() + this.commonWarehouseNo + number
- this.cangid = options.cangid
- this.gridList.compName = uni.getStorageSync('compName')
- this.gridList.person= options.personCharge
- this.gridList.personPhone= options.personPhone
- this.gridList.qualityInspector= uni.getStorageSync("userInfo").userName
- // this.$api.doRequest('get', '/qualityInspectionManagement/api/goodsName', {
- // warehouseId: this.cangid
- // }).then(res => {
- // if (res.data.data) {
- // this.setGoodName([0])
- // }
- // })
- this.managementType = options.managementType
- let that = this
- this.purchasePriceList = uni.getStorageSync('purchasePriceList')
- // if (uni.getStorageSync('checkcustomer')) {
-
- // let _customerInfo = uni.getStorageSync('checkcustomer')
- // if (_customerInfo.shipperName) {
- // this.gridList.identityId = _customerInfo.id
- // //点击登记客户
- // this.gridList.customerName = _customerInfo.shipperName
- // this.gridList.customerPhone = _customerInfo.shipperPhone
- // this.gridList.carNumber=_customerInfo.carNo
- // } else {
- // //点击搜索客户
- // this.gridList.customerName = _customerInfo.customerName
- // this.gridList.customerPhone = _customerInfo.customerPhone
- // }
-
- // this.gridList.customerNumberCard = _customerInfo.customerNumberCard
- // }
- this.gridList.grade = this.gradeList[0].value
- this.gridList.gradeKey = this.gradeList[0].key
- this.$api.doRequest('get', '/warehouseBaseInfo/getWarehouse', {
- id: this.cangid
- }).then(res => {
- this.warehouseList = res.data.data.warehousePositionInfoList
- })
- this.$api.doRequest('get', '/qualityInspectionManagement/api/goodsName', {
- warehouseId: this.cangid
- }).then(res => {
- if (res.data.data) {
- that.goodsList = res.data.data
- if (that.goodsList.length > 0) {
- that.gridList.goodsName = that.goodsList[0].goodsName
- this.setGoodName([0],1)
- uni.setStorageSync('purchasePriceList', that.goodsList)
- that.purchasePriceList = uni.getStorageSync('purchasePriceList')
- }
-
- // for (let i = 0; i < res.data.data.length; i++) {
- // this.goodsList.push(res.data.data[i].goodsName)
- // }
- // if(this.goodsList.some(item=>{return item.goodsName=='玉米'})){
- // this.gridList.goodsName='玉米'
- // uni.setStorageSync('goodsName',this.gridList.goodsName)
- // }else{
- // this.gridList.goodsName=this.goodsList[0].goodsName
- // uni.setStorageSync('goodsName',this.gridList.goodsName)
- // }
- }
- })
- },
- onShow(){
- uni.showLoading({title: '加载中',mask:true})
- this.$api.doRequest('get', '/inOutWarehouseTask/selectInOutWarehouseNo', {
- flag: 2,
- warehouseName:this.gridList.warehouseName
- }).then(res => {
- console.log(res)
- this.taskNolist=res.data.data
- })
- this.multiSelector1=[]
- this.$api.doRequest('get', '/inOutWarehouseTask/getContractNo', {
- warehouseName:this.gridList.warehouseName
- }).then(res => {
- // console.log(res)
- if(res.data.data.contractManagementInfoList){
- for (let i = 0; i < res.data.data.contractManagementInfoList.length; i++) {
- res.data.data.contractMangementInfoList[i].name='自运 ('+
- res.data.data.contractMangementInfoList[i].contractNo+' '+res.data.data.contractMangementInfoList[i].seller+')'
- this.multiSelector1.push(res.data.data.contractManagementInfoList[i])
- }
- }
- // this.taskNolist=res.data.data
- })
- this.$api.doRequest('get', '/warehouseBaseInfo/selectContractNoList', {
- flag: 7,
-
- }).then(res => {
- if(res.data.data){
- console.log(res.data.data)
- uni.hideLoading();
- }
- this.contractNolist=res.data.data
- })
-
- if (uni.getStorageSync('checkcustomer')) {
-
- let _customerInfo = uni.getStorageSync('checkcustomer')
- if (_customerInfo.shipperName) {
- this.gridList.identityId = _customerInfo.id
- //点击登记客户
- this.gridList.customerName = _customerInfo.shipperName
- this.gridList.customerPhone = _customerInfo.shipperPhone
- this.gridList.carNumber=_customerInfo.carNo
- } else {
- //点击搜索客户
- this.gridList.customerName = _customerInfo.customerName
- this.gridList.customerPhone = _customerInfo.customerPhone
- }
-
- this.gridList.customerNumberCard = _customerInfo.customerNumberCard
- }
- },
- methods: {
- changeprice(){
- if(this.pricetext=='解锁'){
- this.pricedisabled=false
- this.pricetext='锁定'
- }else{
- this.pricedisabled=true
- this.pricetext='解锁'
- }
- },
- inputprice(){
- if(this.pricetext=='锁定'){
- this.pricedisabled=true
-
- this.pricetext='解锁'
- }
- },
- groupChange(e){
- console.log(e)
- this.gridList.serviceManagementType=e
- if(e==1){
- this.gridList.qualityNo=''
- }else{
- let number = '000' + this.warehouseCount
- number = number.substring(number.length - 4, number.length)
- this.gridList.qualityNo = 'SGRK' + this.getdate() + this.commonWarehouseNo + number
- }
- },
- outtypepicker(e,status){
- if(status==0){
- this.gridList.outType=this.multiSelector[e[0]].name
- }else{
- if(this.multiSelector[e[0]].name=='他运'){
- this.goodsdisabled=false
- this.gridList.outType=this.multiSelector1[e[0]].name
- }else{
- this.gridList.outType='自运'
- this.goodsdisabled=true
- this.outType=this.multiSelector[e[0]].name
- this.gridList.contractNo=this.multiSelector1[i].contractNo
- for (let i = 0; i < this.contractNolist.length; i++) {
- if(this.gridList.contractNo==this.contractNolist[i].contractNo){
- this.gridList.goodsName=this.outContractNo[q].goodsName
- this.gridList.goodsNameKey=this.outContractNo[q].goodsNameKey
- }
- }
- this.waterContentChange()
- }
- }
-
- console.log(this.gridList.outType)
- },
- changefreight(){
- this.freightstatus=!this.freightstatus
- if(this.freightstatus){
- this.freighttext='自动获取'
- }else{
- this.freighttext='手动填写'
- }
- },
- changecost(){
- this.coststatus=!this.coststatus
- if(this.coststatus){
- this.costtext='自动获取'
- }else{
- this.costtext='手动填写'
- }
- },
- inOutDatepicker(e){
- this.gridList.inOutDate=e.year+'-'+e.month+'-'+e.day
- console.log(e)
- },
- fleetpicker(e){
- this.gridList.fleet=this.fleetNameList[e[0]].fleetName
- },
- change(e){
- if(e){
- this.gridList.supplementaryRecording=1
- }else{
- this.gridList.supplementaryRecording=0
- }
-
- },
- tasknopicker(e){
- console.log(e)
- this.gridList.inOutTaskNo=this.taskNolist[e[0]].inOutTaskNo
- var data = this.taskNolist[e[0]]
- if (this.taskNolist[e[0]].contractNo) {
- this.gridList.contractNo = this.taskNolist[e[0]].contractNo
- }else {
- this.gridList.contractNo = this.taskNolist[e[0]].moveTaskNo
- }
- for (let i = 0; i < this.contractNolist.length; i++) {
-
- if(this.gridList.contractNo==this.contractNolist[i].contractNo){
- console.log(this.contractNolist[i])
- this.gridList.goodsName = this.contractNolist[i].goodsName
- this.gridList.goodsNameKey = this.contractNolist[i].goodsNameKey
- this.gridList.grade = this.contractNolist[i].grade
- this.gridList.inOutType = this.contractNolist[i].inOutType
- if(this.gridList.inOutType=='采购入库'){
- this.warehouseTradeCount = '000' + this.warehouseTradeCount
- this.gridList.qualityNo='CGRK'+this.getdate()+this.commonWarehouseNo+this.warehouseTradeCount.substring(this.warehouseTradeCount.length - 4)
- if (!this.contractNolist[i].unitContractPrice) {
- this.gridList.tips = '卖方' + this.contractNolist[i].seller
- } else {
- this.gridList.tips ='卖方' +this.contractNolist[i].seller +'( ' + this.contractNolist[i].unitContractPrice +'元/吨)'
- }
-
- this.gridList.inOutTypeKey = 1
- }else if(this.gridList.inOutType=='移库入库'){
- this.warehouseTradeCount = '000' + this.warehouseTradeCount
- this.gridList.qualityNo='YKRK'+this.getdate()+this.commonWarehouseNo+this.warehouseTradeCount.substring(this.warehouseTradeCount.length - 4)
- if (this.contractNolist[i].unitContractPrice) {
- this.gridList.tips ='出货库' +data.sendWarehouse +' (' +this.contractNolist[i].unitContractPrice +'元/吨)'
- } else {
- this.gridList.tips = '出货库' + data.sendWarehouse
- }
- this.gridList.inOutTypeKey = 3
- }else if (this.contractNolist[i].inOutType == '移库出库') {
- this.gridList.tips = '入货库' + data.receiveWarehouse
- } else if (this.contractNolist[i].inOutType == '暂存入库') {
- this.gridList.inOutTypeKey = 4
- } else if (this.contractNolist[i].inOutType == '贸易服务入库') {
- this.gridList.inOutTypeKey = 5
- } else if (this.contractNolist[i].inOutType == '退库') {
- // <<<<<<< HEAD
- // if (this.contractNolist[i].contractNo) {
- // this.gridList.tips = '买方' + this.contractNolist[i].buyer
- // } else {
- // this.gridList.tips = '出货库' + data.sendWarehouse
- // }
- // this.gridList.inOutTypeKey = 6
- // =======
- this.warehouseTradeCount = '000' + this.warehouseTradeCount
- this.gridList.qualityNo = 'CGRK' + this.getdate() + this.commonWarehouseNo + this
- .warehouseTradeCount.substring(this.warehouseTradeCount.length - 4)
- if (this.contractNolist[i].contractNo) {
- this.gridList.tips = '买方' + this.contractNolist[i].buyer
- } else {
- this.gridList.tips = '出货库' + data.sendWarehouse
- }
- this.gridList.inOutTypeKey = 6
- }
- this.cost = this.contractNolist[i].contractPrice
- if (this.cost) {
- this.isGetCost = true
- this.gridList.cost =this.cost - this.gridList.deductionAmount
- } else {
- this.isGetCost = false
- this.gridList.cost = this.gridList.cost
- }
- if (this.contractNolist[i].inOutType == '移库入库') {
- this.isSelectType = false
- } else {
- this.isSelectType = true
- }
- if (this.contractNolist[i].priceType == '随行就市') {
- this.disabled1 = !this.disabled1
- }
- if (this.contractNolist[i].deliverType == '1') {
- this.carstatus = true
- } else {
- this.carstatus = false
- }
- if (this.contractNolist[i].tranCarInfoList) {
- this.tranCarInfoList = this.contractNolist[i].tranCarInfoList
- // this.carstatus = true
- }else{
- this.options2 =[]
- }
- this.fleetNameList=this.contractNolist[i].tranCarInfoList1
- }
-
- }
- console.log(this.gridList)
- },
- print(){
- uni.navigateTo({
- url: '/pages/erpbusiness/bleConnect'
- })
- },
- close(){
- this.isShowPrint = false
- uni.navigateBack({})
- },
- hidden(){
- this.$refs.keyboard.open(false)
- },
- handleShowKeyboard(){
- if(this.$refs.keyboard.open){
- this.$refs.keyboard.open(true)//true 键盘显示 false 键盘隐藏
- }else{
- this.$refs.keyboard[0].open(true)
- }
- },
- handleClick(e){
- this.gridList.carNumber = e.value //键盘输入值
- },
- // confirmInfo() {
- // this.isShowAlert = true
- // },
- // alertBtn() {
- // this.$api.doRequest('get', '/qualityInspectionManagement/api/editQualityInspection', {
- // id: this.id,
- // flag:2
- // }).then(res => {
- // if(res.data.code=="200"){
- // this.$api.msg('提交成功!')
- // }else{
- // this.$api.msg('提交失败')
- // }
- // })
- // },
- cancelClick() {
- this.isShowAlert = false
- },
- waterContentChange() {
- var that = this
- if (this.gridList.goodsName && this.cangid) {
- if (!this.gridList.dryGrainPrice || this.gridList.dryGrainPrice == 0) {
- this.$api.doRequest('get', '/purchasePrice/dryGrainPrice', {
- warehouseId: this.cangid,
- goodsName: this.gridList.goodsName
- }).then(res => {
- that.gridList.dryGrainPrice = res.data.data
- })
- }
- }
- if (this.gridList.goodsName) {
- for (var i = 0; i < this.purchasePriceList.length; i++) {
- if (this.purchasePriceList[i].goodsName == this.gridList.goodsName) {
- this.gridList.buckleWeightRatio = this.purchasePriceList[i].deductWeight
- this.gridList.paramType = this.purchasePriceList[i].paramType
- }
- }
- }
- var numReg = /^[0-9]*$/
- var numRe = new RegExp(numReg)
- //潮粮单价改变事件
- if (
- this.gridList.goodsName &&
- this.gridList.waterContent &&
- this.gridList.grade &&
- numRe.test(this.gridList.waterContent)
- ) {
- this.$api.doRequest('get', '/purchasePrice/tidalGrainPrice', {
- warehouseId: this.cangid,
- goodsName: this.gridList.goodsName,
- waterContent: this.gridList.waterContent,
- grade: this.gridList.grade,
- }).then(res => {
- if (that.gridList.paramType == '1') {
- that.gridList.tidalGrainPrice = parseFloat(parseFloat(res.data.data) - parseFloat(that
- .gridList.buckleMiscellaneous) / 100 * parseFloat(that.gridList
- .dryGrainPrice)).toFixed(4)
- if (!that.gridList.tidalGrainPrice) {
- that.gridList.tidalGrainPrice = ''
- }
- } else {
- if(that.gridList.type == '干粮'){
-
- that.gridList.dryGrainPrice = res.data.data
- }
- else{
- that.gridList.tidalGrainPrice = res.data.data
- }
- }
- })
- }
- },
- gocustomer() {
- uni.navigateTo({
- url: '/pages/erpbusiness/customer?cangid=' + this.cangid + '&warehouseName=' + this.gridList.warehouseName + '&goodsName=' + this.gridList.goodsName
- })
- },
- getdate() {
- var date = new Date()
- var year = date.getFullYear() //获取完整的年份(4位)
- var mouth = date.getMonth() + 1 //获取当前月份(0-11,0代表1月)
- var datetime = date.getDate() //获取当前日(1-31)
- if (mouth < 10) {
- mouth = '0' + mouth
- }
- if (datetime < 10) {
- datetime = '0' + datetime
- }
- return year + '' + mouth + '' + datetime
- },
- submit() {
- if(this.typevalue==3){
- if(this.outType){
- this.gridList.outType=this.outType
- }
- }
- var that = this
- this.gridList.carNo=this.gridList.carNumber
- this.gridList.baseId=this.cangid
- this.gridList.warehouseId=this.cangid
- if (!this.gridList.qualityNo) {
- this.$api.msg('编号不能为空')
- return
- }
- if (!this.gridList.binNumber) {
- this.$api.msg('仓位不能为空')
- return
- }
- if(this.typevalue==3){
- if (!this.gridList.customerName) {
- this.$api.msg('客户不能为空')
- return
- }
- if (!this.gridList.natureOfGrainPurchase) {
- this.$api.msg('购粮性质不能为空')
- return
- }
- }
-
- // if (!this.gridList.storageTagNo) {
- // this.$api.msg('囤位号不能为空')
- // return
- // }
- // if (this.gridList.storageTagNo&&this.gridList.storageTagNo.length > 10) {
- // this.$api.msg('囤位号不能为空')
- // return
- // }
- if (!this.gridList.carNumber) {
- this.$api.msg('车牌号不能为空')
- return
- }
- if (this.gridList.carNumber.length != 7) {
- this.$api.msg('车牌号输入错误')
- return
- }
- if (!this.gridList.goodsName) {
- this.$api.msg('货名不能为空')
- return
- }
- // if (this.gridList.buckleWeightRatio < 0 || this.gridList.buckleWeightRatio > 2) {
- // this.$api.msg('扣重比输入错误')
- // return
- // }
- // if (
- // String(this.gridList.buckleWeightRatio).indexOf('.') != -1 &&
- // String(this.gridList.buckleWeightRatio).length -
- // (String(this.gridList.buckleWeightRatio).indexOf('.') + 1) > 2) {
- // this.$api.msg('扣重比输入错误')
- // return
- // }
- if (!this.gridList.type) {
- this.$api.msg('类型不能为空')
- return
- }
-
- if(this.value==false){
- if (!this.gridList.grade) {
- this.$api.msg('等级不能为空')
- return
- }
- if (!this.gridList.impurity) {
- this.$api.msg('杂质不能为空')
- return
- }
- if (!this.gridList.waterContent) {
- this.$api.msg('初检水分不能为空')
- return
- }
- // if (!this.gridList.reWaterContent) {
- // this.$api.msg('复检水分不能为空')
- // return
- // }
- if (!this.gridList.mildewGrain) {
- this.$api.msg('霉变粒不能为空')
- return
- }
- if (!this.gridList.bulkDensity) {
- this.$api.msg('容重不能为空')
- return
- }
- if (!this.gridList.jiaorenli) {
- this.$api.msg('热损伤不能为空')
- return
- }
- if (!this.gridList.imperfectGrain) {
- this.$api.msg('不完整粒不能为空')
- return
- }
- }
- uni.showModal({
- content: "确定提交质检信息?",
- showCancel: true,
- confirmText: '提交',
- success: function(res) {
- if (res.confirm) {
- that.gridList.serviceManagementType=that.typevalue
- if(that.typevalue==3){
- that.$api.doRequest('get', '/paymentManagement/cumulant', {
- compId: uni.getStorageSync('pcUserInfo').compId,
- customerNumberCard: that.gridList.customerNumberCard,
- goodsName: that.gridList.goodsName,
- })
- .then(response => {
- if (response.data.code == 200) {
- for (let i = 0; i < that.purchasePriceList.length; i++) {
- if (
- that.gridList.goodsName == that.purchasePriceList[i]
- .goodsName
- ) {
- let count = (that.purchasePriceList[i].saleLimit -
- response.data.data / 1000).toFixed(2)
- console.log(count,that.purchasePriceList[i].saleLimit,
- response.data.data)
-
- if (Number(count) <= 0) {
- count = 0
- that.$api.msg('该客户累计销售' + that.gridList.goodsName + (
- response.data.data / 1000).toFixed(2) +
- '吨,还可售粮' +
- count + '吨', )
- } else {
- that.$api.doRequest('post',
- '/warehouseInOutInfo/InOutWarehouse',
- that.gridList)
- .then(res => {
- that.gridList.warehouseInOutId=res.data.data
- that.$api.doRequest('post',
- '/qualityInspectionManagement/api/addQualityInspection',
- that.gridList)
- .then(res => {
- if (res.data.code == 200) {
- that.$api.msg('提交成功')
- that.isShowPrint = true
- that.gridList.warehouseId = that.cangid
- that.gridList.compId = uni.getStorageSync('pcUserInfo').compId
- uni.setStorageSync("quality_print",that.gridList)
- console.log('that.gridList',that.gridList)
- // uni.navigateBack({})
- } else {
- that.$api.msg('提交失败')
- }
- })
- })
- }
- }
- }
- }
- })
- }else{
- that.$api.doRequest('post',
- '/warehouseInOutInfo/InOutWarehouse',
- that.gridList)
- .then(res => {
- that.gridList.warehouseInOutId=res.data.data
- that.$api.doRequest('post',
- '/qualityInspectionManagement/api/addQualityInspection',
- that.gridList)
- .then(res => {
- if (res.data.code == 200) {
- that.$api.msg('提交成功')
- that.isShowPrint = true
- that.gridList.warehouseId = that.cangid
- that.gridList.compId = uni.getStorageSync('pcUserInfo').compId
- uni.setStorageSync("quality_print",that.gridList)
- console.log('that.gridList',that.gridList)
- // uni.navigateBack({})
- } else {
- hat.$api.msg('提交失败')
- }
- })
- })
- }
-
- }
- }
- })
- },
- gradepicker(e) {
- console.log(e)
- // this.$set(this.gradeList,'grade',this.gradeList[e[0]].value)
- this.gridList.grade = this.gradeList[e[0]].value
- this.gridList.gradeKey = this.gradeList[e[0]].key
- this.waterContentChange()
- },
- setGoodName(e,status) {
- //
- // [e[0]] = 0
- // this.$set(this.gradeList,'grade',this.gradeList[e[0]].value)
- if (this.goodsList[e[0]].goodsName == '玉米') {
- this.gridList.type = '干粮'
- this.edit = true
- } else if (this.goodsList[e[0]].goodsName == '玉米(潮粮)') {
- this.gridList.type = '潮粮'
- this.edit = true
- } else {
- this.gridList.type = '干粮'
- this.edit = false
- }
- var that = this
- this.gridList.goodsName = this.goodsList[e[0]].goodsName
- // this.$api.doRequest('get', '/identityAuthenticationInfo/identityAuthenticationInfoCustomer', {
- // warehouseId: this.cangid,
- // goodsName: this.gridList.goodsName
- // }).then(res => {
- // if (res.data.data) {
- // uni.hideLoading()
- // // let data = res.data.data
- // // that.gridList =data
- // }
- // })
- uni.setStorageSync('goodsName', this.gridList.goodsName)
- if (this.gridList.type == "干粮" && this.gridList.goodsName) {
- if(!status){
- uni.showLoading({title: '加载中',mask:true})
- }
-
- this.$api.doRequest('get', '/purchasePrice/dryGrainPrice', {
- warehouseId: this.cangid,
- goodsName: this.gridList.goodsName
- }).then(res => {
- this.gridList.dryGrainPrice = res.data.data
- if(!status){
- uni.hideLoading()
- }
- })
- }
- this.waterContentChange()
- },
- goodspicker(e) {
- console.log(e)
- this.setGoodName(e)
- },
- typepicker(e) {
- var that = this
- this.gridList.type = this.typeList[e[0]]
- if (this.gridList.type == "干粮" && this.gridList.goodsName) {
- this.$api.doRequest('get', '/purchasePrice/dryGrainPrice', {
- warehouseId: this.cangid,
- goodsName: this.gridList.goodsName
- }).then(res => {
- that.gridList.dryGrainPrice = res.data.data
- })
- }
- },
- binNumberpicker(e) {
- console.log(this.warehouseList[e[0]])
- this.gridList.binNumber = this.warehouseList[e[0]].binNumber
- this.gridList.positionId = this.warehouseList[e[0]].id
- },
- del(item) {
- this.$api.doRequest('get', '/qualityInspectionManagement/api/deleteQualityInspection', {
- id: item.id
- }).then(res => {
- if (res.data.code == 200) {
- this.$api.msg('删除成功')
- } else {
- this.$api.msg('系统异常,请联系管理员')
- }
- })
- },
- contactUs() {
- const that = this
- uni.makePhoneCall({
- // 手机号
- phoneNumber: '18241771147',
- // 成功回调
- success: (res) => {},
- // 失败回调
- fail: (res) => {}
- });
- },
- loadData() {
- // const that = this
- // if(uni.getStorageSync("PageCur")){
- // that.PageCur = uni.getStorageSync("PageCur");
- // }
- // that.userInfoTmp = uni.getStorageSync("userInfo")
- // uni.showLoading({
- // title: '正在加载',
- // mask:true
- // })
- // that.$api.request('integral', 'getIndexData', failres => {
- // that.$api.msg(failres.errmsg)
- // uni.hideLoading()
- // }).then(res => {
- // let data = res.data
- // uni.setStorageSync("message", data.message);
- // uni.setStorageSync("task", data.task);
- // uni.setStorageSync("contract", data.contract);
- // uni.setStorageSync('showTran', data.showTran);
- // that.showTran = data.showTran
- // that.gridList[4].tips = data.task
- // that.gridList[2].tips = data.contract
- // that.companyId = data.companyId
- // uni.hideLoading()
- // })
- },
- confirm() {
- const that = this
- if (!that.inputContent) {
- that.$api.msg('输入不能为空')
- return
- }
- let obj = {}
- obj[that.feild] = that.inputContent
- that.$api.request('user', 'syncUserInfo', obj).then(res => {
- that.userInfo.nickname = that.inputContent
- that.inputContent = ''
- that.$store.commit('login', that.userInfo)
- })
- },
- cancel() {
- this.inputShow = false
- this.inputStatus = 'none'
- this.genderShow = false
- },
- myAccount() {
- uni.navigateTo({
- url: `/pageA/pages/contract`
- })
- },
- /**
- * 统一跳转接口,拦截未登录路由
- * navigator标签现在默认没有转场动画,所以用view
- */
- navTo(url) {
- if (!this.hasLogin) {
- url = '/pages/public/login';
- }
- uni.navigateTo({
- url
- })
- },
- mycarClick(carNo) {
- this.modalName = null
- uni.navigateTo({
- url: `/pageB/car/mycar_detail?carNo=${carNo}`
- })
- },
- scanCode() {
- uni.scanCode({
- success: function(res) {
- uni.navigateTo({
- url: res.result
- })
- }
- })
- },
- hideModal(e) {
- this.modalName = null
- },
- }
- }
- </script>
- <style lang='scss' scoped>
- page {
- background: #F5F6FA;
- }
- .title_b {
- margin: 20rpx 20rpx 0rpx 20rpx;
- padding: 20rpx 10rpx 20rpx 10rpx;
- font-size: 18px;
- font-weight: 550;
- }
- .c-row {
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-align: center;
- -webkit-align-items: center;
- align-items: center;
- padding: 20rpx 30rpx;
- position: relative;
- }
- .con-list {
- -webkit-box-flex: 1;
- -webkit-flex: 1;
- flex: 1;
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -webkit-flex-direction: column;
- flex-direction: column;
- color: #303133;
- line-height: 40rpx;
- text-align: right;
- padding-right: 20rpx;
- }
- .wrap {
- padding-bottom: 10px;
- font-size: 14px;
- background: #fff;
- margin: 10px;
- border-radius: 10px;
- input {
- font-size: 14px;
- }
- >.title {
- padding: 10px 16px;
- }
- }
- .footer {
- background: #fff;
- position: fixed;
- bottom: 0;
- width: 100%;
- padding: 20px 10px;
- z-index: 10;
- .button {
- background: #22C572;
- width: 90%;
- margin: 20rpx auto;
- padding: 10px;
- color: #fff;
- text-align: center;
- border-radius: 30px;
- }
- }
- .buns_item{
- display: flex;
- padding: 80rpx 0 50rpx 0;
- justify-content: space-around;
- }
- .but_css{
- background: #22C572;
- width: 40%;
- padding: 20rpx;
- color: #fff;
- text-align: center;
- border-radius: 20rpx;
- }
- /deep/.u-radio-group{
- flex-direction: row-reverse;
- }
- </style>
|