|
@@ -62,7 +62,7 @@
|
|
|
<el-table-column prop="customer" label="客户"></el-table-column>
|
|
|
<el-table-column prop="carNumber" label="车牌号"></el-table-column>
|
|
|
<el-table-column prop="goodsName" label="货名"></el-table-column>
|
|
|
-
|
|
|
+ <el-table-column prop="type" label="类型"></el-table-column>
|
|
|
<el-table-column
|
|
|
prop="grossWeight"
|
|
|
label="毛重(公斤)"
|
|
@@ -79,9 +79,9 @@
|
|
|
<el-table-column width="300" prop="contractNo1" label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
- <el-button @click="weightCheck(scope.row,1)">毛重</el-button>
|
|
|
- <el-button @click="weightCheck(scope.row,2)">皮重</el-button>
|
|
|
- <el-button @click="print">打印</el-button>
|
|
|
+ <el-button @click="weightCheck(scope.row,1)" v-if="(scope.row.status !='已称皮重'&& scope.row.status !='已质检')">毛重</el-button>
|
|
|
+ <el-button @click="weightCheck(scope.row,2)" v-if="scope.row.status =='已称毛重' || scope.row.status =='已称皮重'">皮重</el-button>
|
|
|
+ <el-button @click="print" v-if="scope.row.status =='已称皮重'">打印</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -234,7 +234,7 @@ export default {
|
|
|
weightCheck(row,num) {
|
|
|
this.$router.push({
|
|
|
path: 'weightCheck',
|
|
|
- query: { tpyeNo: num ,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},
|
|
|
+ query: { tpyeNo: 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},
|
|
|
})
|
|
|
},
|
|
|
// Reacquire() {
|