|
@@ -137,13 +137,42 @@
|
|
class="table_td"
|
|
class="table_td"
|
|
prop="loadingWeight"
|
|
prop="loadingWeight"
|
|
label="装车净重(吨)"
|
|
label="装车净重(吨)"
|
|
- ></el-table-column>
|
|
|
|
|
|
+ ><template slot-scope="scope">
|
|
|
|
+ <div
|
|
|
|
+ style="
|
|
|
|
+ display: inline-block;
|
|
|
|
+ color: #5878e8;
|
|
|
|
+ padding: 0 4px !important;
|
|
|
|
+ position: relative;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ "
|
|
|
|
+ @click="lookloadingImg(scope.row)"
|
|
|
|
+ >
|
|
|
|
+ <span>{{scope.row.loadingWeight}}</span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
width="100"
|
|
width="100"
|
|
class="table_td"
|
|
class="table_td"
|
|
prop="unloadingWeight"
|
|
prop="unloadingWeight"
|
|
label="卸车净重(吨)"
|
|
label="卸车净重(吨)"
|
|
- ></el-table-column>
|
|
|
|
|
|
+ ><template slot-scope="scope">
|
|
|
|
+ <span v-if="scope.row.unloadingWeight == null ">未卸车</span>
|
|
|
|
+ <div
|
|
|
|
+ style="
|
|
|
|
+ display: inline-block;
|
|
|
|
+ color: #5878e8;
|
|
|
|
+ padding: 0 4px !important;
|
|
|
|
+ position: relative;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ "
|
|
|
|
+ @click="lookunloadingImg(scope.row)"
|
|
|
|
+ >
|
|
|
|
+ <span>{{scope.row.unloadingWeight}}</span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
width="100"
|
|
width="100"
|
|
class="table_td"
|
|
class="table_td"
|
|
@@ -173,6 +202,7 @@
|
|
prop="settlementWeight"
|
|
prop="settlementWeight"
|
|
label="结算重量(吨)"
|
|
label="结算重量(吨)"
|
|
><template slot-scope="scope">
|
|
><template slot-scope="scope">
|
|
|
|
+ <span v-if="scope.row.unloadingWeight == '未卸车'">{{scope.row.loadingWeight}}}</span>
|
|
<span
|
|
<span
|
|
v-if="
|
|
v-if="
|
|
!scope.row.settlementWeightchange && scope.row.settlementWeight
|
|
!scope.row.settlementWeightchange && scope.row.settlementWeight
|
|
@@ -190,7 +220,7 @@
|
|
@click="changesettlementWeight(scope.row)"
|
|
@click="changesettlementWeight(scope.row)"
|
|
v-if="
|
|
v-if="
|
|
(scope.row.settlementWeightchange &&
|
|
(scope.row.settlementWeightchange &&
|
|
- scope.row.status == '待审核') ||
|
|
|
|
|
|
+ scope.row.status == '未审核') ||
|
|
(scope.row.settlementWeightchange &&
|
|
(scope.row.settlementWeightchange &&
|
|
scope.row.status == '已驳回')
|
|
scope.row.status == '已驳回')
|
|
"
|
|
"
|
|
@@ -200,7 +230,7 @@
|
|
v-if="
|
|
v-if="
|
|
(!scope.row.settlementWeightchange &&
|
|
(!scope.row.settlementWeightchange &&
|
|
scope.row.settlementWeight &&
|
|
scope.row.settlementWeight &&
|
|
- scope.row.status == '待审核') ||
|
|
|
|
|
|
+ scope.row.status == '未审核') ||
|
|
(!scope.row.settlementWeightchange &&
|
|
(!scope.row.settlementWeightchange &&
|
|
scope.row.settlementWeight &&
|
|
scope.row.settlementWeight &&
|
|
scope.row.status == '已驳回')
|
|
scope.row.status == '已驳回')
|
|
@@ -236,7 +266,7 @@
|
|
@click="changedeductionAmount(scope.row)"
|
|
@click="changedeductionAmount(scope.row)"
|
|
v-if="
|
|
v-if="
|
|
(scope.row.deductionAmountchange &&
|
|
(scope.row.deductionAmountchange &&
|
|
- scope.row.status == '待审核') ||
|
|
|
|
|
|
+ scope.row.status == '未审核') ||
|
|
(scope.row.deductionAmountchange &&
|
|
(scope.row.deductionAmountchange &&
|
|
scope.row.status == '已驳回')
|
|
scope.row.status == '已驳回')
|
|
"
|
|
"
|
|
@@ -246,7 +276,7 @@
|
|
v-if="
|
|
v-if="
|
|
(!scope.row.deductionAmountchange &&
|
|
(!scope.row.deductionAmountchange &&
|
|
scope.row.deductionAmount &&
|
|
scope.row.deductionAmount &&
|
|
- scope.row.status == '待审核') ||
|
|
|
|
|
|
+ scope.row.status == '未审核') ||
|
|
(!scope.row.deductionAmountchange &&
|
|
(!scope.row.deductionAmountchange &&
|
|
scope.row.deductionAmount &&
|
|
scope.row.deductionAmount &&
|
|
scope.row.status == '已驳回')
|
|
scope.row.status == '已驳回')
|
|
@@ -485,6 +515,23 @@
|
|
<el-button @click="dialogFormVisible8 = false">取 消</el-button>
|
|
<el-button @click="dialogFormVisible8 = false">取 消</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <!--磅单 -->
|
|
|
|
+ <WinseaContentModal
|
|
|
|
+ v-model="accessoryTFs"
|
|
|
|
+ title="磅单信息"
|
|
|
|
+ @on-cancel="handleClose"
|
|
|
|
+ >
|
|
|
|
+ <p>查看装车磅单</p>
|
|
|
|
+ <img width="100" height="100" :src="loadingImg1" alt="" />
|
|
|
|
+ </WinseaContentModal>
|
|
|
|
+ <WinseaContentModal
|
|
|
|
+ v-model="accesscard"
|
|
|
|
+ title="磅单信息"
|
|
|
|
+ @on-cancel="handleClose1"
|
|
|
|
+ >
|
|
|
|
+ <p>查看卸车磅单</p>
|
|
|
|
+ <img width="100" height="100" :src="unloadingImg1" alt="" />
|
|
|
|
+ </WinseaContentModal>
|
|
</div>
|
|
</div>
|
|
<!-- </div> -->
|
|
<!-- </div> -->
|
|
</template>
|
|
</template>
|
|
@@ -570,6 +617,8 @@ export default {
|
|
searchKeyWord: '',
|
|
searchKeyWord: '',
|
|
customerlist: {},
|
|
customerlist: {},
|
|
contractType: 2,
|
|
contractType: 2,
|
|
|
|
+ accessoryTFs: false,
|
|
|
|
+ accesscard: false,
|
|
enter: {
|
|
enter: {
|
|
closePositionList: [],
|
|
closePositionList: [],
|
|
},
|
|
},
|
|
@@ -591,6 +640,8 @@ export default {
|
|
pcFlag: 1,
|
|
pcFlag: 1,
|
|
carryoverlist: {},
|
|
carryoverlist: {},
|
|
modification: [],
|
|
modification: [],
|
|
|
|
+ loadingImg1: [],
|
|
|
|
+ unloadingImg1: [],
|
|
amendlist: {},
|
|
amendlist: {},
|
|
roleFlag: 1,
|
|
roleFlag: 1,
|
|
alreadyInvoice1: 0,
|
|
alreadyInvoice1: 0,
|
|
@@ -617,7 +668,6 @@ export default {
|
|
return time.getTime() > Date.now()
|
|
return time.getTime() > Date.now()
|
|
},
|
|
},
|
|
},
|
|
},
|
|
- accessoryTFs: false,
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
activated() {
|
|
activated() {
|
|
@@ -677,6 +727,12 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ handleClose() {
|
|
|
|
+ this.accessoryTFs = false
|
|
|
|
+ },
|
|
|
|
+ handleClose1() {
|
|
|
|
+ this.accesscard = false
|
|
|
|
+ },
|
|
//账户
|
|
//账户
|
|
look(item) {
|
|
look(item) {
|
|
this.dialogFormVisible8 = true
|
|
this.dialogFormVisible8 = true
|
|
@@ -973,6 +1029,28 @@ export default {
|
|
this.deductionAmount = item.deductionAmount
|
|
this.deductionAmount = item.deductionAmount
|
|
item.deductionAmountchange = true
|
|
item.deductionAmountchange = true
|
|
},
|
|
},
|
|
|
|
+ //装车磅单
|
|
|
|
+ lookloadingImg(row) {
|
|
|
|
+ if (row.loadingImg == null || row.loadingImg == '') {
|
|
|
|
+ EventBus.$emit(
|
|
|
|
+ this.$message.warning('暂无磅单信息')
|
|
|
|
+ )
|
|
|
|
+ } else {
|
|
|
|
+ this.accessoryTFs = true
|
|
|
|
+ }
|
|
|
|
+ this.loadingImg1 = row.loadingImgArray
|
|
|
|
+ },
|
|
|
|
+ //卸车磅单
|
|
|
|
+ lookunloadingImg(row) {
|
|
|
|
+ if (row.unloadingImg === null || row.unloadingImg === '') {
|
|
|
|
+ EventBus.$emit(
|
|
|
|
+ this.$message.warning('暂无磅单信息')
|
|
|
|
+ )
|
|
|
|
+ } else {
|
|
|
|
+ this.accesscard = true
|
|
|
|
+ }
|
|
|
|
+ this.unloadingImg1 = row.unloadingImgArray
|
|
|
|
+ },
|
|
//审核
|
|
//审核
|
|
audit(item, index, status, status2, reason) {
|
|
audit(item, index, status, status2, reason) {
|
|
if (index < this.modification.length) {
|
|
if (index < this.modification.length) {
|
|
@@ -1207,9 +1285,6 @@ export default {
|
|
}
|
|
}
|
|
return fmt
|
|
return fmt
|
|
},
|
|
},
|
|
- handleClose() {
|
|
|
|
- this.accessoryTFs = false
|
|
|
|
- },
|
|
|
|
handleSizeChange(val) {
|
|
handleSizeChange(val) {
|
|
console.log(`每页 ${val} 条`)
|
|
console.log(`每页 ${val} 条`)
|
|
this.pageSize = val
|
|
this.pageSize = val
|