123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398 |
- <!--检斤管理-->
- <template>
- <div>
- <BaseHeaderLayout :leftSpan="8">
- <template slot="left">
- <el-upload style="margin-left: 8px;" class="upload-demo inline-block margin-right-10" action=""
- :on-change="importClick" :show-file-list="false"
- accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
- :auto-upload="false">
- <ws-button type="primary">导入(销售)</ws-button>
- </el-upload>
- </template>
- <template slot="left">
- <el-upload style="margin-left: 8px;" class="upload-demo inline-block margin-right-10" action=""
- :on-change="importClickYk" :show-file-list="false"
- accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"
- :auto-upload="false">
- <ws-button type="primary">导入(移库)</ws-button>
- </el-upload>
- </template>
- <!-- <template slot="left"> </template> -->
- <template slot="right">
- <el-select class='select' filterable v-model="warehouseName" placeholder="" @change="warehouseNameChange" :value="searchType">
- <el-option v-for="item in warehouseList" :key="item.value" :label="item.value" :value="item.value"
- style="color: #8890b1" />
- </el-select>
- <ws-input class='findinput' @keyup.enter.native="find()" v-model="searchKeyWord" placeholder="可按业务编号、合同编号、车牌号查找"
- clearable maxlength="500" type="input">
- </ws-input>
- <ws-button class="find" type="primary" @click="find()"><img width="16" height="16" style="
- vertical-align: text-top;
- position: relative;
- top: 0px;
- left: -8px;
- " src="../../../public/img/sousuo.png" alt="" /></ws-button>
- </template>
- </BaseHeaderLayout>
- <el-table :data="weighingList" style="width: 100%; margin-top: 20px" ref="weighingList" border height="calc(100% - 110px)">
- <el-table-column type="index" label="序号" width="50">
- <template scope="scope">
- <span v-if="scope.$index < 9">0{{ scope.$index + 1 }}</span>
- <span v-else>{{ scope.$index + 1 }}</span>
- </template>
- </el-table-column>
- <el-table-column prop="inOutTaskNo" label="任务编号" width="170"></el-table-column>
- <el-table-column prop="number" label="业务编号" width="170"></el-table-column>
- <el-table-column prop="contractNo" width="140" label="合同编号/移库编号">
- <template scope="scope">
- <span v-if="scope.row.contractNo">{{ scope.row.contractNo }}</span>
- <span v-else>{{ scope.row.moveTaskNo }}</span>
- </template></el-table-column>
- <el-table-column prop="goodsName" label="货名"></el-table-column>
- <el-table-column prop="carNumber" label="车牌号"></el-table-column>
- <el-table-column prop="grossWeight" label="毛重(公斤)">
- </el-table-column>
- <el-table-column prop="tare" label="皮重(公斤)">
- </el-table-column>
- <el-table-column prop="buckleMiscellaneous" label="扣重(公斤)">
- </el-table-column>
- <el-table-column prop="netWeight" label="净重(公斤)">
- </el-table-column>
- <!-- <el-table-column prop="binNumber" label="仓位号"></el-table-column>
- <el-table-column prop="storageNumber" label="囤位号"></el-table-column> -->
- <el-table-column prop="secretaryWeigher" label="司称员"></el-table-column>
- <el-table-column prop="grossDate" width="140" label="检斤时间">
- <template slot-scope="scope">
- {{scope.row.grossDate}}
- <span v-if="scope.row.grossDate == null">
- {{scope.row.tareDate}}
- </span>
- </template>
- </el-table-column>
- <!-- <el-table-column prop="addressUrl" label="附件">
- <template slot-scope="scope">
- <img width="18" height="20" style="vertical-align: text-top; position: relative; top: -1px"
- src="../../../public/img/fujian.png" @click="fujian(scope.row)" alt="" />
- <span v-if="scope.row.addressUrlArray != null">
- {{scope.row.addressUrlArray.length == 0? "":scope.row.addressUrlArray.length}}
- </span>
- </template>
- </el-table-column> -->
- <el-table-column prop="status" label="状态"></el-table-column>
- <el-table-column width="400" prop="contractNo1" label="操作">
- <template slot-scope="scope">
- <!-- <el-button @click="weighing(scope.row, 1)" v-if="scope.row.status != '已质检'"
- v-hasPermission="`outbound.acquisitionWeightOut.mao`">毛重</el-button>
- <el-button @click="weighing(scope.row, 2)" v-if="scope.row.status == '已称皮重'"
- v-hasPermission="`outbound.acquisitionWeightOut.weight`"> 皮重</el-button> -->
- <el-button @click="print(scope.row)"
- v-hasPermission="`outbound.acquisitionWeightOut.view`">打印</el-button>
- <el-button @click="del(scope.row)" v-if="scope.row.status == '已称皮重'"
- v-hasPermission="`outbound.acquisitionWeightOut.view`">删除</el-button>
- <el-button v-hasPermission="`warehouseManagement.warehouse.warehouseInfo.huan`" class="putstorage" @click="exchange(scope.row)" v-if="scope.row.status == '已称皮重'">换仓</el-button>
- <el-button v-hasPermission="`warehouseManagement.warehouse.warehouseInfo.huan`" class="putstorage" @click="exchangeNo(scope.row)" v-if="scope.row.status == '已称皮重'">换任务号</el-button>
- <el-button v-hasPermission="`warehouseManagement.warehouse.warehouseInfo.huan`" class="putstorage" @click="returnBack(scope.row)" v-if="scope.row.status == '已称毛重'">退回</el-button>
- </template>
- </el-table-column>
- </el-table>
- <div style="text-align: center">
- <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"
- :page-sizes="[20, 30, 50, 100, 500, 1000, 9999]" layout="total, sizes, prev, pager, next, jumper"
- :total="deptBudgetTotal">
- </el-pagination>
- </div>
- <WinseaContentModal v-model="accessoryTFs" :title="$t('system.noticeCircular.information')"
- @on-cancel="handleClose">
- <ws-upload ref="upload" :comp-id="compId" :appendix-ids="appendixIdss" :editable="false"
- accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar" />
- </WinseaContentModal>
- <div class="mask" v-show="isShowPrintType"></div>
- <div class="print-type" v-show="isShowPrintType">
- <div class="print-type-content">
- <div class="print-type-title">请选择打印类型</div>
- <div class="ew-print" v-if="checked||(!ddchecked&&!checked)">
- <div class="row">
- <div>我司发货单位:</div>
- <el-select v-model="companyName" placeholder="请选择" style="width: 75%;">
- <el-option v-for="item in companyNameOptions" :key="item.value" :label="item.label" :value="item.value">
- </el-option>
- </el-select>
- </div>
- <div class="row">
- <div>我司收货单位:</div>
- <el-select v-model="myCompanyCustomer" disabled style="width: 75%;">
-
- </el-select>
- </div>
- </div>
- <div v-if="warehouseName=='鲅鱼圈金信库'||warehouseName=='白城内陆港'||warehouseName=='杜尔伯特家禾库'||warehouseName=='洮南新友谊兴旺库'||warehouseName=='甘南宏旗库'||warehouseName=='哈尔滨依兰库'||warehouseName=='山东园丰库'">
- <div class="print-type-ew">
- <el-checkbox v-model="checked" @change="changeEw">打印额外票据</el-checkbox>
- <el-checkbox v-model="ddchecked" @change="changeEwDD">单独打印额外票据</el-checkbox>
- </div>
- <div class="ew-print" v-if="printSeparately">
- <div class="row">
- <div>额外发货单位:</div>
- <!-- <div>{{companyName}}</div> -->
- <el-select v-model="ewCustomer" placeholder="请选择" style="width: 75%;">
- <el-option v-for="item in ewCustomerOptions" :key="item.value" :label="item.label" :value="item.value">
- </el-option>
- </el-select>
- </div>
- <div class="row">
- <div>额外收货单位:</div>
- <!-- <div>{{companyNameEW}}</div> -->
- <el-select v-model="companyNameEW" placeholder="请选择" style="width: 75%;">
- <el-option v-for="item in companyNameEWOptions" :key="item.value" :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- </div>
- </div>
- </div>
- <div class="bottom-btn">
- <el-button @click="typePrintClick">确定</el-button>
- <el-button @click="typePrintCannelClick">取消</el-button>
- </div>
- </div>
- <el-dialog
- width="70%"
- class="title_css"
- center
- :visible.sync="isShowPrint"
- title="出库检斤单"
- @opened="opendBtn"
- @close="closeDialog"
- :close-on-click-modal="false"
- >
- <weightCheckPrint :tableData="inspect" ref="saveImg"></weightCheckPrint>
- <div style="text-align: center">
- <el-button type="primary" @click="closePrint">关闭</el-button>
- <el-button type="primary" @click="printSmall">打印小票</el-button>
- <el-button type="primary" @click="printBig">打印单据</el-button>
- </div>
- </el-dialog>
- <el-dialog
- title="提示"
- :visible.sync="dialogVisible"
- width="30%"
- :before-close="handleClose1">
- <div style="text-align:center">
- <el-select filterable clearable v-model="binNumber" placeholder="请选择仓位" class="typeselect"
- @change="binNumberChange">
- <el-option v-for="item in binnumberList" :key="item.binNumber" :label="item.binNumber"
- :value="item.binNumber" />
- </el-select>
- </div>
- <span slot="footer" class="dialog-footer">
- <el-button @click="dialogVisible = false">取 消</el-button>
- <el-button type="primary" @click="dialogVisibleconfirm">确 定</el-button>
- </span>
- </el-dialog>
- <el-dialog
- title="提示"
- :visible.sync="dialogVisible1"
- width="30%"
- :before-close="handleClose2">
- <div style="text-align:center">
- <el-form ref="form" label-width="110px">
- <el-form-item label="任务编号">
- <el-select filterable clearable v-model="inOutTaskNo" placeholder="请选择任务号" class="typeselect"
- @change="taskNoChange">
- <el-option v-for="item in taskNolist" :key="item.inOutTaskNo" :label="item.inOutTaskNo"
- :value="item.inOutTaskNo" />
- </el-select>
- </el-form-item>
- <el-form-item label="合同编号">
- <el-input v-model="contractNo" placeholder="合同编号" :disabled="disabled" maxlength="15">
- </el-input>
- </el-form-item>
- </el-form>
- </div>
- <span slot="footer" class="dialog-footer">
- <el-button @click="dialogVisible1 = false">取 消</el-button>
- <el-button type="primary" @click="dialogVisibleconfirm1">确 定</el-button>
- </span>
- </el-dialog>
- </div>
- </template>
- <script>
- import {
- getweighingList,
- selectWarehouseSelf,
- delelteWeighing,
- getweighing,
- changeNo,
- changeTaskNo,
- importWordSale,
- importWordYk,
- goBack
- } from '@/model/outboundManagement/index'
- import {
- getReceiptTaskNo,
- } from '@/model/warehouse/index'
- import {
- EventBus
- } from 'base-core-lib'
- import {
- getcomp
- } from '@/model/indexRx'
- import WsUpload from '@/components/WsUpload'
- import weightCheckPrint from './component/weightCheckPrint.vue'
- import inspectInfoPrint from './component/inspectInfoPrint.vue'
- import html2canvas from 'html2canvas'
- export default {
- components: {
- WsUpload,
- inspectInfoPrint,
- weightCheckPrint
- },
- data() {
- return {
- //分页
- dialogViewSpareMoney: false,
- currentPage: 1,
- pageSize: 20,
- inspect:{},
- deptCircularPage: {},
- deptBudgetTotal: 0,
- paymentForm: false,
- isShowPrint:false,
- paymentForm1: false,
- weighingList: [],
- searchKeyWord: '',
- searchType: [],
- warehouseName: '',
- isShowPrintType: false,
- value1: '', //选择时间
- warehouseList: [],
- warehouseId: '',
- accessoryTFs: false,
- appendixIdss: [],
- addressUrls: [],
- compId: localStorage.getItem('ws-pf_compId'),
- dialogVisible:false,
- dialogVisible1:false,
- binNumber:'',
- inOutTaskNo:'',
- contractNo:'',
- disabled: true,
- binnumberList:[],
- taskNolist:[],
- cangweiNum:'',
- contractNum:'',
- positionId:'',
- warehouseList1:[],
-
- ewCustomerOptions: [{
- value: '天津建源供应链管理有限公司',
- label: '天津建源供应链管理有限公司'
- },{
- value: '厦门建发物产有限公司',
- label: '厦门建发物产有限公司'
- },{
- value: '黑龙江中天昊元贸易有限公司',
- label: '黑龙江中天昊元贸易有限公司'
- }, {
- value: '黑龙江利润元粮食贸易有限公司',
- label: '黑龙江利润元粮食贸易有限公司'
- }, {
- value: '黑龙江众利合粮食贸易有限公司',
- label: '黑龙江众利合粮食贸易有限公司'
- }, {
- value: '黑龙江鑫满仓粮食贸易有限公司',
- label: '黑龙江鑫满仓粮食贸易有限公司'
- },{
- value: '黑龙江欣洋粮食贸易有限公司',
- label: '黑龙江欣洋粮食贸易有限公司'
- },{
- value: '黑龙江谷香粮食贸易有限公司',
- label: '黑龙江谷香粮食贸易有限公司'
- },{
- value: '黑龙江秋收有限公司',
- label: '黑龙江秋收有限公司'
- }, {
- value: '黑龙江益储益运粮食贸易有限公司',
- label: '黑龙江益储益运粮食贸易有限公司'
- }, {
- value: '黑龙江启兴粮食贸易有限公司',
- label: '黑龙江启兴粮食贸易有限公司'
- }],
- companyNameOptions: [
- {
- value: '黑龙江中天昊元贸易有限公司',
- label: '黑龙江中天昊元贸易有限公司'
- }, {
- value: '黑龙江利润元粮食贸易有限公司',
- label: '黑龙江利润元粮食贸易有限公司'
- }, {
- value: '黑龙江众利合粮食贸易有限公司',
- label: '黑龙江众利合粮食贸易有限公司'
- }, {
- value: '黑龙江鑫满仓粮食贸易有限公司',
- label: '黑龙江鑫满仓粮食贸易有限公司'
- },{
- value: '黑龙江欣洋粮食贸易有限公司',
- label: '黑龙江欣洋粮食贸易有限公司'
- },{
- value: '黑龙江谷香粮食贸易有限公司',
- label: '黑龙江谷香粮食贸易有限公司'
- },{
- value: '黑龙江秋收有限公司',
- label: '黑龙江秋收有限公司'
- }, {
- value: '黑龙江益储益运粮食贸易有限公司',
- label: '黑龙江益储益运粮食贸易有限公司'
- }, {
- value: '黑龙江启兴粮食贸易有限公司',
- label: '黑龙江启兴粮食贸易有限公司'
- }],
- companyNameEWOptions: [{
- value: '黑龙江中天昊元贸易有限公司',
- label: '黑龙江中天昊元贸易有限公司'
- }, {
- value: '黑龙江利润元粮食贸易有限公司',
- label: '黑龙江利润元粮食贸易有限公司'
- }, {
- value: '黑龙江众利合粮食贸易有限公司',
- label: '黑龙江众利合粮食贸易有限公司'
- }, {
- value: '黑龙江鑫满仓粮食贸易有限公司',
- label: '黑龙江鑫满仓粮食贸易有限公司'
- },{
- value: '厦门建发物产有限公司',
- label: '厦门建发物产有限公司'
- },{
- value: '黑龙江欣洋粮食贸易有限公司',
- label: '黑龙江欣洋粮食贸易有限公司'
- },{
- value: '天津建源供应链管理有限公司',
- label: '天津建源供应链管理有限公司'
- }],
- companyName: '黑龙江中天昊元贸易有限公司',
- companyNameEW: '黑龙江利润元粮食贸易有限公司',
- ewCustomer: '厦门建发物产有限公司',
- ewradio: '',
- ddchecked: false,
- checked: false,
- myCompanyCustomer:'',
- printSeparately: false,
-
- jjSelectPrintList: [],
- }
- },
- activated() {
- getcomp({userMobilePhone:JSON.parse(localStorage.getItem('ws_login_getTenantInfoByUser')).loginInfo.userMobilePhone}).toPromise().then((res)=>{
- this.compNameoptions=res
- if (this.compNameoptions.length>0) {
- var company=this.compNameoptions
- var extra=company.filter((item)=>{
- return item!='黑龙江中天昊元贸易有限公司'
- &&item!='黑龙江利润元粮食贸易有限公司'
- &&item!= '黑龙江众利合粮食贸易有限公司'
- &&item!='黑龙江鑫满仓粮食贸易有限公司'
- &&item!='黑龙江谷香粮食贸易有限公司'
- &&item!='黑龙江秋收有限公司'
- &&item!= '黑龙江欣洋粮食贸易有限公司'
- &&item!='黑龙江益储益运粮食贸易有限公司'
- &&item!='黑龙江启兴粮食贸易有限公司'
- })
- if(extra.length>0){
- this.companyNameOptions=[
- {
- value: '黑龙江中天昊元贸易有限公司',
- label: '黑龙江中天昊元贸易有限公司'
- }, {
- value: '黑龙江利润元粮食贸易有限公司',
- label: '黑龙江利润元粮食贸易有限公司'
- }, {
- value: '黑龙江众利合粮食贸易有限公司',
- label: '黑龙江众利合粮食贸易有限公司'
- }, {
- value: '黑龙江鑫满仓粮食贸易有限公司',
- label: '黑龙江鑫满仓粮食贸易有限公司'
- },{
- value: '黑龙江欣洋粮食贸易有限公司',
- label: '黑龙江欣洋粮食贸易有限公司'
- },{
- value: '黑龙江谷香粮食贸易有限公司',
- label: '黑龙江谷香粮食贸易有限公司'
- },{
- value: '黑龙江秋收有限公司',
- label: '黑龙江秋收有限公司'
- }, {
- value: '黑龙江益储益运粮食贸易有限公司',
- label: '黑龙江益储益运粮食贸易有限公司'
- }, {
- value: '黑龙江启兴粮食贸易有限公司',
- label: '黑龙江启兴粮食贸易有限公司'
- }]
-
- this.ewCustomerOptions= [
- {
- value: '天津建源供应链管理有限公司',
- label: '天津建源供应链管理有限公司'
- },{
- value: '厦门建发物产有限公司',
- label: '厦门建发物产有限公司'
- },{
- value: '黑龙江中天昊元贸易有限公司',
- label: '黑龙江中天昊元贸易有限公司'
- }, {
- value: '黑龙江利润元粮食贸易有限公司',
- label: '黑龙江利润元粮食贸易有限公司'
- }, {
- value: '黑龙江众利合粮食贸易有限公司',
- label: '黑龙江众利合粮食贸易有限公司'
- }, {
- value: '黑龙江鑫满仓粮食贸易有限公司',
- label: '黑龙江鑫满仓粮食贸易有限公司'
- },{
- value: '黑龙江欣洋粮食贸易有限公司',
- label: '黑龙江欣洋粮食贸易有限公司'
- },{
- value: '黑龙江谷香粮食贸易有限公司',
- label: '黑龙江谷香粮食贸易有限公司'
- },{
- value: '黑龙江秋收有限公司',
- label: '黑龙江秋收有限公司'
- }, {
- value: '黑龙江益储益运粮食贸易有限公司',
- label: '黑龙江益储益运粮食贸易有限公司'
- }, {
- value: '黑龙江启兴粮食贸易有限公司',
- label: '黑龙江启兴粮食贸易有限公司'
- },{
- value: '天津建源供应链管理有限公司',
- label: '天津建源供应链管理有限公司'
- }]
- this.companyNameEWOptions=[
- {
- value: '黑龙江中天昊元贸易有限公司',
- label: '黑龙江中天昊元贸易有限公司'
- }, {
- value: '黑龙江利润元粮食贸易有限公司',
- label: '黑龙江利润元粮食贸易有限公司'
- }, {
- value: '黑龙江众利合粮食贸易有限公司',
- label: '黑龙江众利合粮食贸易有限公司'
- }, {
- value: '黑龙江鑫满仓粮食贸易有限公司',
- label: '黑龙江鑫满仓粮食贸易有限公司'
- },{
- value: '黑龙江欣洋粮食贸易有限公司',
- label: '黑龙江欣洋粮食贸易有限公司'
- },{
- value: '黑龙江谷香粮食贸易有限公司',
- label: '黑龙江谷香粮食贸易有限公司'
- },{
- value: '黑龙江秋收有限公司',
- label: '黑龙江秋收有限公司'
- }, {
- value: '黑龙江益储益运粮食贸易有限公司',
- label: '黑龙江益储益运粮食贸易有限公司'
- }, {
- value: '黑龙江启兴粮食贸易有限公司',
- label: '黑龙江启兴粮食贸易有限公司'
- },{
- value: '天津建源供应链管理有限公司',
- label: '天津建源供应链管理有限公司'
- }]
- this.companyName=extra[0]
- this.companyNameEW=extra[0]
- this.ewCustomer=extra[0]
- for (let i = 0; i < extra.length; i++) {
- this.ewCustomerOptions.push({value: extra[i],label:extra[i]})
- this.companyNameOptions.push({value: extra[i],label:extra[i]})
- this.companyNameEWOptions.push({value: extra[i],label:extra[i]})
- }
- }
- }
- })
- this.selectWarehouse()
- this.showType = this.isShow
- },
- methods: {
- changeEw(e) {
- this.ddchecked = false
- if (e) {
- this.printSeparately = true
- } else {
- this.printSeparately = false
- }
- },
- changeEwDD(e) {
- this.checked = false
- if (e) {
- this.printSeparately = true
- } else {
- this.printSeparately = false
- }
- },
- typePrintCannelClick() {
- this.onePrint = false //单个打印标识
- this.dialogDataList = [] //打个打印取消时数组至空
- this.isShowPrintType = false
- },
- async typePrintClick(type) {
- if (this.onePrint) { //判断是否是单个打印
- getweighing({
- id: this.idPrint
- })
- .toPromise()
- .then((response) => {
- this.dialogDataList = [] //点击确认时先清空要打印的数组
- this.dialogData = response
- if (response.compName == '黑龙江秋收有限公司') {
- this.dialogData.compName = '黑龙江中天昊元贸易有限公司'
- }
- if (this.checked) {
- if(this.dialogData&&!this.dialogData.customer&&this.dialogData.contractManagement){
- this.dialogData.customer = this.dialogData.contractManagement.seller
- }
- this.dialogDataList.push(this.dialogData)
- var _datas = JSON.stringify(this.dialogData)
- _datas = JSON.parse(_datas)
- _datas.compName =this.ewCustomer
- _datas.customer = this.companyNameEW
- this.dialogDataList.push(_datas)
- this.printBig('', this.radio)
- } else if (this.ddchecked) {
- _datas = this.dialogData
- _datas.compName = this.companyNameEW;
- _datas.customer = this.ewCustomer
- this.dialogDataList.push(_datas)
- this.printBig(1, this.radio)
- } else {
- this.dialogData.companyName = this.companyName
- if(this.dialogData&&!this.dialogData.customer&&this.dialogData.contractManagement){
- this.dialogData.customer = this.dialogData.contractManagement.buyer
- }
- this.dialogDataList.push(this.dialogData)
- this.printBig('', this.radio)
- }
- })
- .catch((response) => {
- // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
- })
- } else {
- // if (this.isExcelPrint) {
- // this.printBig(2, this.radio)
- // this.isExcelPrint = false
- // } else {
- this.jjSelectPrintList = []
- let index1 = 0;
- for (let i = 0; i < this.modification.length; i++) {
- await getweighing({
- id: this.modification[i].id
- })
- .toPromise()
- .then((response) => {
- index1++;
- response.compName = this.companyName
- if (response.compName == '黑龙江秋收有限公司') {
- response.compName = '黑龙江中天昊元贸易有限公司'
- }
- this.jjSelectPrintList.push(response)
- if (index1 == this.modification.length) {
- this.printBig(1, this.radio)
- }
- })
- .catch((response) => {})
- }
- // }
- }
- },
- print(row, type, pageType) {
- //打印
- if (type == 1) { //
- if (this.modification.length == 0) {
- this.$message.error('请选择批量打印的条目!')
- return
- }
- for (let _num = 0; _num < this.modification.length; _num++) {
- if (this.modification[_num].serviceManagementType == 1 && (this.warehouseName == '鲅鱼圈金信库' || this.warehouseName == '杜尔伯特家禾库'||this.warehouseName=='洮南新友谊兴旺库'||this.warehouseName=='甘南宏旗库' || this.warehouseName == '白城内陆港' || this.warehouseName == '哈尔滨依兰库'||this.warehouseName=='山东园丰库')) {
- if (this.modification[_num].seller && this.modification[_num].buyer) {
- let cang = {}
- cang.value = this.modification[_num].seller
- cang.label = this.modification[_num].seller
- if (this.check(this.modification[_num].seller, 1)) {
- this.ewCustomerOptions.push(cang)
- }
- let cang1 = {}
- cang1.value = this.modification[_num].buyer
- cang1.label = this.modification[_num].buyer
- if (this.check(this.modification[_num].buyer, 2)) {
- this.companyNameEWOptions.push(cang1)
- }
- }
- }
- }
- this.isShowPrintType = true
- } else {
- if (row.serviceManagementType == '2' && (this.warehouseName == '鲅鱼圈金信库' || this.warehouseName == '杜尔伯特家禾库'||this.warehouseName=='洮南新友谊兴旺库'||this.warehouseName=='甘南宏旗库'|| this.warehouseName == '白城内陆港' || this.warehouseName == '哈尔滨依兰库'||this.warehouseName=='山东园丰库')) {
- if (row.seller && row.buyer) {
- let cang = {}
- cang.value = row.seller
- cang.label = row.seller
- if (this.check(row.seller, 1)) {
- this.ewCustomerOptions.push(cang)
- }
- let cang1 = {}
- cang1.value = row.buyer
- cang1.label = row.buyer
- if (this.check(row.buyer, 2)) {
- this.companyNameEWOptions.push(cang1)
- }
- this.myCompanyCustomer = row.buyer
- }
- }
- this.idPrint = row.id
- this.isShowPrintType = true
- this.onePrint = true //单个打印标识
- }
- },
- check(name, type) {
- if (type == 1) {
- for (var _tmp = 0; _tmp < this.ewCustomerOptions.length; _tmp++) {
- if (this.ewCustomerOptions[_tmp].label == name) {
- return false
- }
- }
- return true
- } else if (type == 2) {
- for (var _tmp = 0; _tmp < this.companyNameEWOptions.length; _tmp++) {
- if (this.companyNameEWOptions[_tmp].label == name) {
- return false
- }
- }
- return true
- }
- },
- importClick(file, fileList) {
- this.fileTemp = file.raw
- let fileName = file.raw.name
- let fileType = fileName.substring(fileName.lastIndexOf('.') + 1)
- // 判断上传文件格式
- if (this.fileTemp) {
- if (fileType == 'xlsx' || fileType == 'xls') {
- this.importf(this.fileTemp)
- } else {
- this.$message({
- type: 'warning',
- message: '附件格式错误,请删除后重新上传!',
- })
- }
- } else {
- this.$message({
- type: 'warning',
- message: '请上传附件!',
- })
- }
- },
- importf(obj) {
- this.excelFreightspace = []
- // this.dialogVisible = true;
- let _this = this;
- let inputDOM = this.$refs.inputer; // 通过DOM取文件数据
- this.file = event.currentTarget.files[0];
- var rABS = false; //是否将文件读取为二进制字符串
- var f = this.file;
- var reader = new FileReader();
- //if (!FileReader.prototype.readAsBinaryString) {
- FileReader.prototype.readAsBinaryString = function(f) {
- var binary = '';
- var rABS = false; //是否将文件读取为二进制字符串
- var pt = this;
- var wb; //读取完成的数据
- var outdata;
- var reader = new FileReader();
- reader.onload = function(e) {
- var bytes = new Uint8Array(reader.result);
- var length = bytes.byteLength;
- for (var i = 0; i < length; i++) {
- binary += String.fromCharCode(bytes[i]);
- }
- var XLSX = require('xlsx');
- if (rABS) {
- wb = XLSX.read(btoa(fixdata(binary)), { //手动转化
- type: 'base64',
- cellDates: true
- });
- } else {
- wb = XLSX.read(binary, {
- type: 'binary'
- });
- }
- // outdata就是你想要的东西 excel导入的数据
- outdata = XLSX.utils.sheet_to_json(wb.Sheets[wb.SheetNames[0]]);
- // excel 数据再处理
- let arr = []
- outdata.map(v => {
- // let jsonString = JSON.stringify(v).replace(/\*/g, '').replace(/\s/ig,'');
- let jsonString = JSON.stringify(v).replace(/\//g, '').replace(/\s/ig, '');
- v = JSON.parse(jsonString);
- let obj = {}
- //xxx代表列名
- obj.number = v.业务编号
- obj.inOutTaskNo = v.出库任务编号
- obj.outType = v.运输方式
- obj.carNumber = v.车牌号
- obj.grossWeight = v.毛重
- obj.tare = v.皮重
- obj.netWeight = v.净重
- obj.contractNo = v.销售合同号
- obj.contractPrice = v.销售合同单价
- obj.grossDate = _this.formatDate(v.出库日期, '-')
- obj.settleWeight = v.结算数量
- obj.settlePrice = v.结算单价
- obj.settleDate = v.结算日期
- obj.settleMoney = v.结算金额
- _this.excelFreightspace.push(obj)
- })
- if (_this.excelFreightspace) {
- importWordSale({
- warehouseName: _this.warehouseName,
- weighingManagementList: _this.excelFreightspace
- }).toPromise()
- .then((response) => {
- if (response == 'ok') {
- this.$notify({
- title: '成功',
- message: '导入成功',
- type: 'success'
- });
- _this.getList()
- }
- })
- }
- }
- reader.readAsArrayBuffer(f);
- }
- if (rABS) {
- reader.readAsArrayBuffer(f);
- } else {
- reader.readAsBinaryString(f);
- }
- },
- importClickYk(file, fileList) {
- this.fileTemp = file.raw
- let fileName = file.raw.name
- let fileType = fileName.substring(fileName.lastIndexOf('.') + 1)
- // 判断上传文件格式
- if (this.fileTemp) {
- if (fileType == 'xlsx' || fileType == 'xls') {
- this.importfYk(this.fileTemp)
- } else {
- this.$message({
- type: 'warning',
- message: '附件格式错误,请删除后重新上传!',
- })
- }
- } else {
- this.$message({
- type: 'warning',
- message: '请上传附件!',
- })
- }
- },
- importfYk(obj) {
- this.excelFreightspace = []
- // this.dialogVisible = true;
- let _this = this;
- let inputDOM = this.$refs.inputer; // 通过DOM取文件数据
- this.file = event.currentTarget.files[0];
- var rABS = false; //是否将文件读取为二进制字符串
- var f = this.file;
- var reader = new FileReader();
- //if (!FileReader.prototype.readAsBinaryString) {
- FileReader.prototype.readAsBinaryString = function(f) {
- var binary = '';
- var rABS = false; //是否将文件读取为二进制字符串
- var pt = this;
- var wb; //读取完成的数据
- var outdata;
- var reader = new FileReader();
- reader.onload = function(e) {
- var bytes = new Uint8Array(reader.result);
- var length = bytes.byteLength;
- for (var i = 0; i < length; i++) {
- binary += String.fromCharCode(bytes[i]);
- }
- var XLSX = require('xlsx');
- if (rABS) {
- wb = XLSX.read(btoa(fixdata(binary)), { //手动转化
- type: 'base64',
- cellDates: true
- });
- } else {
- wb = XLSX.read(binary, {
- type: 'binary'
- });
- }
- // outdata就是你想要的东西 excel导入的数据
- outdata = XLSX.utils.sheet_to_json(wb.Sheets[wb.SheetNames[0]]);
- // excel 数据再处理
- let arr = []
- outdata.map(v => {
- // let jsonString = JSON.stringify(v).replace(/\*/g, '').replace(/\s/ig,'');
- let jsonString = JSON.stringify(v).replace(/\//g, '').replace(/\s/ig, '');
- v = JSON.parse(jsonString);
- let obj = {}
- //xxx代表列名
- obj.number = v.业务编号
- obj.inOutTaskNo = v.出库任务编号
- obj.outType = v.运输方式
- obj.carNumber = v.车牌号
- obj.grossWeight = v.毛重
- obj.tare = v.皮重
- obj.netWeight = v.净重
- obj.grossDate = _this.formatDate(v.出库日期, '-')
- _this.excelFreightspace.push(obj)
- })
- if (_this.excelFreightspace) {
- importWordYk({
- warehouseName: _this.warehouseName,
- weighingManagementList: _this.excelFreightspace
- }).toPromise()
- .then((response) => {
- if (response == 'ok') {
- this.$notify({
- title: '成功',
- message: '导入成功',
- type: 'success'
- });
- _this.getList()
- }
- })
- }
- }
- reader.readAsArrayBuffer(f);
- }
- if (rABS) {
- reader.readAsArrayBuffer(f);
- } else {
- reader.readAsBinaryString(f);
- }
- },
- formatDate(numb, format) {
- const old = numb - 1;
- const t = Math.round((old - Math.floor(old)) * 24 * 60 * 60);
- const time = new Date(1900, 0, old, 0, 0, t)
- const year = time.getFullYear();
- const month = time.getMonth() + 1;
- const date = time.getDate();
- return year + format + (month < 10 ? '0' + month : month) + format + (date < 10 ? '0' + date : date) +
- ' 00:00:00'
- },
- returnBack(item){
- goBack({id:item.id}).toPromise()
- .then((response) => {
- this.$notify.success({
- title: '成功',
- message: '退回成功',
- })
- this.getList()
- }) .catch(() => {
- return false
- })
- },
- binNumberChange(e){
- this.binNumber = e
- for(let i = 0 ; i < this.binnumberList.length ; i++){
- if(this.binNumber == this.binnumberList[i].binNumber){
- this.positionId = this.binnumberList[i].id
- }
- }
- },
- taskNoChange(e){
- this.inOutTaskNo = e
- for(let i = 0 ; i < this.taskNolist.length ; i++){
- if(this.inOutTaskNo == this.taskNolist[i].inOutTaskNo){
- if(this.taskNolist[i].contractNo){
- this.contractNo = this.taskNolist[i].contractNo
- }
- else{
- this.contractNo = this.taskNolist[i].moveTaskNo
- }
- }
- }
- },
- handleClose1(){
- this.dialogVisible = false
- },
- handleClose2(){
- this.inOutTaskNo=''
- this.dialogVisible1 = false
- },
- exchange(row){
- for(let i = 0 ; i < this.warehouseList1.length; i++ ){
- if(this.warehouseName == this.warehouseList1[i].warehouseName){
- this.binnumberList = this.warehouseList1[i].positionInfos
- }
- }
- this.id = row.id
- this.binNumber = row.binNumber
- this.cangweiNum = row.binNumber
- this.dialogVisible = true
- },
- exchangeNo(row){
- getReceiptTaskNo({
- flag: 1,
- warehouseName: this.warehouseName,
- })
- .toPromise()
- .then((response) => {
- this.taskNolist = response
- })
- this.id = row.id
- this.contractNo = row.contractNo
- this.contractNum = row.contractNo
- this.dialogVisible1 = true
- },
- dialogVisibleconfirm(){
- if(this.binNumber == this.cangweiNum){
- this.$message.error('已是该仓位无需修改')
- return
- }
- this.$confirm(`确定修改仓位?`, {
- cancelButtonText: '取消',
- confirmButtonText: '确定',
- type: 'warning',
- })
- .then(() => {
- // let _obj = JSON.parse(this.warehouseInOutDetail)
- // _obj.binNumber = this.binNumber
- changeNo({id:this.id,changePositionId:this.positionId,changeBinNumer:this.binNumber}).toPromise()
- .then((response) => {
- this.$notify.success({
- title: '成功',
- message: '修改仓位成功',
- })
- this.getList()
- this.inOutTaskNo=''
- this.dialogVisible=false
- })
- })
- .catch(() => {
- return false
- })
- },
- dialogVisibleconfirm1(){
- // if(this.contractNo == this.contractNum){
- // this.$message.error('已是该任务号无需修改')
- // return
- // }
- this.$confirm(`确定修改任务号?`, {
- cancelButtonText: '取消',
- confirmButtonText: '确定',
- type: 'warning',
- })
- .then(() => {
- changeTaskNo({id:this.id,inOutTaskNo:this.inOutTaskNo,contractNo:this.contractNo}).toPromise()
- .then((response) => {
- this.$notify.success({
- title: '成功',
- message: '修改任务号成功',
- })
- this.getList()
- this.dialogVisible1=false
- })
- })
- .catch(() => {
- return false
- })
- },
- warehouseNameChange(e) {
- // this.warehouseName = e
- console.log(this.warehouseList)
- for (let i = 0; i < this.warehouseList.length; i++) {
- if (this.warehouseList[i].value == e) {
- this.warehouseId = this.warehouseList[i].warehouseId
- }
- }
- this.getList()
- },
- weighing(row, num) {
- console.log
- this.$router.push({
- path: 'weighing',
- query: {
- typeNo: num,
- id: row.id,
- number: row.number,
- binNumber: row.binNumber,
- customer: row.customer,
- storageNumber: row.storageNumber,
- carNumber: row.carNumber,
- goodsName: row.goodsName,
- grossWeight: row.grossWeight,
- tare: row.tare,
- netWeight: row.netWeight,
- relationId: row.relationId,
- warehouseId: this.warehouseId,
- warehouseName: this.warehouseName,
- },
- })
- },
- // Reacquire() {
- // //重新获取
- // },
- find() {
- this.getList()
- },
- // dayin(row){
- // getweighing({
- // id: row.id
- // })
- // .toPromise()
- // .then((response) => {
- // this.inspect=response
- // this.isShowPrint=true
- // })
- // },
- handleSizeChange(val) {
- console.log(`每页 ${val} 条`)
- this.pageSize = val
- this.getList()
- },
- handleCurrentChange(val) {
- this.currentPage = val
- console.log(`当前页: ${val}`)
- this.getList()
- },
- printSmall() {
- localStorage.setItem('ck_bd_printData1',JSON.stringify(this.inspect))
- window.open('../../../../static/outWeightPrint.html?type=1')
- },
- printBig(type, radioType) {
- // localStorage.setItem('ck_bd_printData1',JSON.stringify(this.inspect))
- // window.open('../../../../static/outWeightPrint.html?type=2')
- // 打印额外
- localStorage.removeItem('print_out_data')
- localStorage.removeItem('selectPrint_EWjjSelectPrintList')
- localStorage.removeItem('selectPrint_jjSelectPrintList')
- if (this.checked || this.ddchecked) {
- this.makeEWjjSelectPrintList()
- // this.selectEW = true;
- }
-
- if (type == 1) {
- localStorage.setItem('selectPrint_jjSelectPrintList', JSON.stringify(this.dialogDataList))
- window.open('../../../../static/weightCheckOutNew.html?type=2&radioType=' + radioType + '&selectEW=' + this
- .checked + '&selectEWDD=' + this.ddchecked)
- } else if (type == 2) {
- localStorage.setItem('selectPrint_jjSelectPrintList', JSON.stringify(this.excelPrintData))
- window.open('../../../../static/weightCheckOutNew.html?type=2&radioType=' + radioType)
- } else {
- console.log(this.dialogDataList)
- localStorage.setItem('print_out_data',JSON.stringify(this.dialogDataList).replace(/%/g, 'baifenhao'))
- window.open('../../../../static/weightCheckOutNew.html?type=2' )
- }
- },
-
- makeEWjjSelectPrintList() {
- let _selectPrint_EWjjSelectPrintList = JSON.parse(JSON.stringify(this.dialogDataList));
- for (let i = 0; i < _selectPrint_EWjjSelectPrintList.length; i++) {
- let _data = _selectPrint_EWjjSelectPrintList[i];
- _data.compName = this.companyNameEW;
- _data.customer = this.ewCustomer
- }
- localStorage.setItem('selectPrint_EWjjSelectPrintList', JSON.stringify(_selectPrint_EWjjSelectPrintList))
- },
- opendBtn() {
- // html2canvas(this.$refs.saveImg.$el).then((canvas) => {
- // let dataURL = canvas.toDataURL('image/png')
- // this.imgUrl = dataURL
- // if (this.imgUrl !== '') {
- // let b = this.dataURLtoFile(this.imgUrl, 'printImage')
- // let formdata = new FormData()
- // formdata.append('file', b)
- // axios({
- // method: 'post',
- // url:this.global.uploadPath,
- // data: formdata,
- // }).then((response) => {
- // //编辑接口
- // this.weighingList.pictureAddress = response.data.url
- // tare(this.weighingList)
- // .toPromise()
- // .then((response) => {})
- // })
- // }
- // })
- },
- closeDialog() {
- html2canvas(this.$refs.saveImg.$el).then((canvas) => {
- let dataURL = canvas.toDataURL('image/png')
- this.imgUrl = dataURL
- if (this.imgUrl !== '') {
- let b = this.dataURLtoFile(this.imgUrl, 'printImage')
- let formdata = new FormData()
- formdata.append('file', b)
- axios({
- method: 'post',
- url:this.global.uploadPath,
- data: formdata,
- }).then((response) => {
- //编辑接口
- this.weighingList.pictureAddress = response.data.url
- tare(this.weighingList)
- .toPromise()
- .then((response) => {})
- })
- this.dialogTableVisible = true
- }
- })
- this.isShowPrint = false
- // this.$router.push({
- // path: 'weighingManagement'
- // })
- },
- closePrint() {
- this.isShowPrint = false
- // this.$router.push({
- // path: 'weighingManagement'
- // })
- },
- del(row) {
- this.$confirm(`检斤信息删除后不可恢复,是否确定删除?`, {
- cancelButtonText: '取消',
- confirmButtonText: '确定',
- type: 'warning',
- })
- .then(() => {
- delelteWeighing({
- id: row.id
- })
- .toPromise()
- .then((response) => {
- this.$notify.success({
- title: '成功',
- message: '删除成功',
- })
- this.getList()
- })
- .catch((response) => {})
- })
- .catch(() => {
- return false
- })
- },
- selectWarehouse() {
- selectWarehouseSelf({
- compId: localStorage.getItem('ws-pf_compId'),
- })
- .toPromise()
- .then((response) => {
- this.warehouseList1 = response
- this.warehouseList = []
- for (let i = 0; i < response.length; i++) {
- this.warehouseList.push({
- value: response[i].warehouseName,
- warehouseId: response[i].id,
- })
- }
- if(this.$route.query.warehouseName){
- this.warehouseName = this.$route.query.warehouseName
- }else{
- this.warehouseName = response[0].warehouseName
- this.warehouseId = this.warehouseList[0].warehouseId
- }
-
- this.getList()
- })
- },
- getList() {
- getweighingList({
- compId: localStorage.getItem('ws-pf_compId'),
- currentPage: this.currentPage,
- pageSize: this.pageSize,
- searchKeyWord: this.searchKeyWord,
- warehouseName: this.warehouseName,
- managementType: 3,
- })
- .toPromise()
- .then((response) => {
- this.weighingList = response.records
- this.deptBudgetTotal = response.total
- for (var i = 0; i < response.records.length; i++) {
- if (response.records[i].addressUrl != null) {
- if (response.records[i].addressUrl) {
- response.records[i].addressUrlArray = response.records[i].addressUrl.split(',')
- }
- } else {
- response.records[i].addressUrlArray = []
- }
- }
- for (var i = 0; i < response.records.length; i++) {
- var arr = new Array()
- this.addressUrls[i] = new Array()
- if (this.weighingList.records[i].addressUrl !=
- null) {
- arr = this.weighingList.records[i].addressUrl.split(',')
- this.addressUrls[i] = arr
- }
- }
- })
- .catch((response) => {
- })
- },
- //附件
- fujian(row) {
- if (row.addressUrl === null || row.addressUrl === '') {
- EventBus.$emit(
- 'warning',
- this.$t('system.noticeCircular.NoInformation')
- )
- } else {
- this.accessoryTFs = true
- }
- this.appendixIdss = row.addressUrl
- },
- handleClose() {
- this.dialogViewSpareMoney = false
- },
- },
- }
- </script>
- <style lang="scss" scoped>
- .title {
- font-size: 20px;
- font-weight: 600;
- margin: 20px;
- }
- .ws-info-table {
- border: none;
- }
- .ws-info-table .el-form-item {
- width: 50%;
- border: none;
- }
- .mask {
- background: black;
- width: 100vw;
- height: 100vh;
- position: fixed;
- top: 0;
- z-index: 99;
- opacity: 0.3;
- }
- .print-type-title {
- text-align: center;
- font-size: 18px;
- margin: 20px;
- }
- .bottom-btn {
- display: flex;
- margin-top: 20px;
- justify-content: space-around;
- }
- .print-type-checkbox {
- // padding-left: 20px;
- }
- .print-type {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- margin: auto;
- width: 440px;
- height: 320px;
- background: white;
- border-radius: 10px;
- z-index: 999;
- }
- /deep/.ws-info-table .el-form-item .el-form-item__label {
- width: 30%;
- text-align: center;
- background: #ffffff;
- color: #8890b1;
- }
- /deep/.ws-info-table .el-form-item .el-form-item__content {
- border: none;
- }
- /deep/.el-table .el-table__header .cell,
- .el-table .el-table__body .cell {
- text-align: center;
- }
- /deep/.el-table--enable-row-transition .el-table__body td {
- text-align: center;
- }
- .formItem {
- width: 51% !important;
- }
- /deep/.base_header_layout .find.el-button--primary {
- width: 30px;
- border-top-left-radius: 0px;
- border-bottom-left-radius: 0px;
- }
- .findinput{
- margin-left: 20px;
- }
- /deep/.base_header_layout .findinput input {
- border-top-right-radius: 0px;
- border-bottom-right-radius: 0px;
- }
- /deep/.title_css .el-dialog__header{
- text-align: center !important;
- }
- .select{
- width:400px;
- }
- .shdw-style {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 20px;
- margin-top: 20px;
- }
- .ew-print {
- padding: 0 20px;
- margin-top: 10px;
- margin-bottom: 15px;
- // display: flex;
- // justify-content: space-between;
- // align-content: center;
- .row {
- display: flex;
- margin-top: 10px;
- align-items: center;
- }
- }
- .sh-address {
- display: flex;
- }
- .print-type-ew {
- display: flex;
- justify-content: space-between;
- padding: 0 20px;
- }
- </style>
|