|
@@ -48,7 +48,6 @@
|
|
style="color: #8890b1"
|
|
style="color: #8890b1"
|
|
/>
|
|
/>
|
|
</ws-select>
|
|
</ws-select>
|
|
-
|
|
|
|
<el-date-picker
|
|
<el-date-picker
|
|
v-model="value2"
|
|
v-model="value2"
|
|
type="daterange"
|
|
type="daterange"
|
|
@@ -68,7 +67,6 @@
|
|
type="input"
|
|
type="input"
|
|
class="findValue"
|
|
class="findValue"
|
|
></ws-input>
|
|
></ws-input>
|
|
- <!-- v-hasPermission="'procurement.sparepart.directShip'" -->
|
|
|
|
<ws-button class="find" type="primary" @click="find()"
|
|
<ws-button class="find" type="primary" @click="find()"
|
|
><img
|
|
><img
|
|
width="16"
|
|
width="16"
|
|
@@ -122,10 +120,10 @@
|
|
<el-table-column prop="packingMethod" label="包装方式"> </el-table-column>
|
|
<el-table-column prop="packingMethod" label="包装方式"> </el-table-column>
|
|
<el-table-column prop="buyer" label="买方"> </el-table-column>
|
|
<el-table-column prop="buyer" label="买方"> </el-table-column>
|
|
<el-table-column prop="seller" label="卖方"> </el-table-column>
|
|
<el-table-column prop="seller" label="卖方"> </el-table-column>
|
|
- <el-table-column prop="imperfectGrain" label="已完成(吨)">
|
|
|
|
|
|
+ <el-table-column prop="completedQuantity" label="已完成(吨)">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span style="color: #5473e8; font-weight: 600">{{
|
|
<span style="color: #5473e8; font-weight: 600">{{
|
|
- scope.row.imperfectGrain
|
|
|
|
|
|
+ scope.row.completedQuantity
|
|
}}</span>
|
|
}}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -199,10 +197,9 @@
|
|
@click="fujian(scope.row)"
|
|
@click="fujian(scope.row)"
|
|
alt=""
|
|
alt=""
|
|
/>
|
|
/>
|
|
- <span v-if="scope.row.addressUrlArray.length > 0">{{
|
|
|
|
- scope.row.addressUrlArray.length
|
|
|
|
- }}</span>
|
|
|
|
- <!-- <i @click="fujian(scope.row)" class="el-icon-paperclip iconCss"></i> -->
|
|
|
|
|
|
+ <span v-if="scope.row.addressUrlArray != null">
|
|
|
|
+ {{scope.row.addressUrlArray.length == 0? "":scope.row.addressUrlArray.length}}
|
|
|
|
+ </span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="address" label="操作" width="200">
|
|
<el-table-column prop="address" label="操作" width="200">
|
|
@@ -513,12 +510,16 @@ export default {
|
|
.then((response) => {
|
|
.then((response) => {
|
|
for (var i = 0; i < response.records.length; i++) {
|
|
for (var i = 0; i < response.records.length; i++) {
|
|
if (response.records[i].addressUrl != null) {
|
|
if (response.records[i].addressUrl != null) {
|
|
|
|
+ if(response.records[i].addressUrl){
|
|
response.records[i].addressUrlArray =
|
|
response.records[i].addressUrlArray =
|
|
response.records[i].addressUrl.split(',')
|
|
response.records[i].addressUrl.split(',')
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
response.records[i].addressUrlArray = []
|
|
response.records[i].addressUrlArray = []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ console.log( response.records[2].addressUrl == null)
|
|
|
|
+ console.log( response.records[2].addressUrl == "")
|
|
this.deptCircularPage.currentPage = response.current
|
|
this.deptCircularPage.currentPage = response.current
|
|
this.deptCircularPage.pageSize = response.size
|
|
this.deptCircularPage.pageSize = response.size
|
|
this.deptBudgetTotal = response.total
|
|
this.deptBudgetTotal = response.total
|