|
@@ -15,13 +15,8 @@
|
|
|
<div class="center">
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
- <div class="centertitle">
|
|
|
- <el-button :type="warehousingType == 1?'primary':''" size="small" @click="changeType(1)" class="btn_css">贸易入库</el-button>
|
|
|
- <el-button :type="warehousingType == 3?'primary':''" size="small" @click="changeType(3)" class="btn_css">收购入库</el-button>
|
|
|
- </div>
|
|
|
- <el-button :type="choice == ''?'primary':''" size="small" @click="screen()" class="btn_css">全部</el-button>
|
|
|
- <el-button :type="choice == 2?'primary':''" size="small" @click="screen(2)" class="btn_css">已称毛重</el-button>
|
|
|
- <el-button :type="choice == 3?'primary':''" size="small" @click="screen(3)" class="btn_css">已称皮重</el-button>
|
|
|
+ <el-button :type="warehousingType == 1?'primary':''" size="small" @click="changeType(1)" class="btn_css btn_topcss">贸易入库</el-button>
|
|
|
+ <el-button :type="warehousingType == 3?'primary':''" size="small" @click="changeType(3)" class="btn_css btn_topcss">收购入库</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="bg-right">
|
|
|
<div style="display:flex">
|
|
@@ -29,12 +24,15 @@
|
|
|
<el-option v-for="item in warehouseList" :key="item.id" :label="item.warehouseName"
|
|
|
:value="item.warehouseName"></el-option>
|
|
|
</el-select>
|
|
|
- <el-input placeholder="可按业务编号、合同编号、车牌号查找" clearable v-model="searchKeyWord" class="search_css"></el-input>
|
|
|
+ <el-input :placeholder="warehousingType == 1 ? '可按业务编号、合同编号/移库编号、车牌号查找':'可按业务编号、车牌号、客户名查找'" clearable v-model="searchKeyWord" class="search_css"></el-input>
|
|
|
<!-- <el-input placeholder="可按业务编号、车牌号、客户名查找" clearable v-model="searchKeyWord"></el-input> -->
|
|
|
<el-button type="primary" size="small" @click="lookup">查找</el-button>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
+ <el-button :type="choice == ''?'primary':''" size="small" @click="screen()" class="btn_css">全部</el-button>
|
|
|
+ <el-button :type="choice == 2?'primary':''" size="small" @click="screen(2)" class="btn_css">已称毛重</el-button>
|
|
|
+ <el-button :type="choice == 3?'primary':''" size="small" @click="screen(3)" class="btn_css">已称皮重</el-button>
|
|
|
<el-table class="forData" :data="weighingRecordList" style="width: 100%; margin-top: 20px" height="780">
|
|
|
<el-table-column type="index" label="序号" width="80">
|
|
|
<template scope="scope">
|
|
@@ -43,7 +41,13 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="number" label="业务编号"></el-table-column>
|
|
|
- <el-table-column prop="contractNo" label="合同编号/移库编号" v-if="warehousingType == 1" width="130"></el-table-column>
|
|
|
+ <el-table-column prop="contractNo" label="合同编号/移库编号" v-if="warehousingType == 1" width="130">
|
|
|
+ <template scope="scope">
|
|
|
+ <span v-if="scope.row.contractNo">{{scope.row.contractNo}}</span>
|
|
|
+ <span v-else>{{scope.row.moveTaskNo}}</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ </el-table-column>
|
|
|
<!--//moveTaskNo -->
|
|
|
<el-table-column prop="customer" label="客户" v-if="warehousingType == 3"></el-table-column>
|
|
|
<el-table-column prop="carNumber" label="车牌号"></el-table-column>
|
|
@@ -112,6 +116,7 @@
|
|
|
warehousingType: 1,
|
|
|
isShowPrint:false,
|
|
|
dialogData:{},
|
|
|
+ title:"",
|
|
|
}
|
|
|
},
|
|
|
activated() {
|
|
@@ -297,8 +302,13 @@
|
|
|
width: 90%;
|
|
|
}
|
|
|
}
|
|
|
+ .btn_topcss{
|
|
|
+ margin-top: 15px;
|
|
|
+
|
|
|
+ }
|
|
|
.btn_css{
|
|
|
width: 90px;
|
|
|
+ margin-left: 10px;
|
|
|
}
|
|
|
.search_css{
|
|
|
margin: 0 20px;
|