|
@@ -68,8 +68,8 @@
|
|
<el-table-column width='100' class="table_td" prop="outWeight" label="出货量(吨)"></el-table-column>
|
|
<el-table-column width='100' class="table_td" prop="outWeight" label="出货量(吨)"></el-table-column>
|
|
<el-table-column width='120' class="table_td" prop="alreadyInvoice" label="已开发票(元)"></el-table-column>
|
|
<el-table-column width='120' class="table_td" prop="alreadyInvoice" label="已开发票(元)"></el-table-column>
|
|
<el-table-column width='120' class="table_td" prop="notInvoice" label="未开发票(元)"></el-table-column>
|
|
<el-table-column width='120' class="table_td" prop="notInvoice" label="未开发票(元)"></el-table-column>
|
|
- <el-table-column class="table_td" prop="notInvoice" label="附加">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
|
+ <el-table-column class="table_td" prop="notInvoice" label="附件">
|
|
|
|
+ <!-- <template slot-scope="scope">
|
|
<img
|
|
<img
|
|
width="18"
|
|
width="18"
|
|
height="20"
|
|
height="20"
|
|
@@ -78,17 +78,24 @@
|
|
@click="fujian(scope.row)"
|
|
@click="fujian(scope.row)"
|
|
alt=""
|
|
alt=""
|
|
/>
|
|
/>
|
|
- </template>
|
|
|
|
|
|
+ </template> -->
|
|
|
|
+ <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.length > 0">{{
|
|
|
|
+ scope.row.addressUrlArray.length
|
|
|
|
+ }}</span>
|
|
|
|
+ <!-- <i @click="fujian(scope.row)" class="el-icon-paperclip iconCss"></i> -->
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column prop="status" label="状态">
|
|
<el-table-column prop="status" label="状态">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-popover
|
|
|
|
- placement="left"
|
|
|
|
- :width="285"
|
|
|
|
- trigger="click"
|
|
|
|
- visible-arrow="false"
|
|
|
|
- @show="history(scope.row)"
|
|
|
|
- >
|
|
|
|
<template>
|
|
<template>
|
|
<span slot="reference">
|
|
<span slot="reference">
|
|
<span v-if="scope.row.status == '待回款'" class="executory"></span>
|
|
<span v-if="scope.row.status == '待回款'" class="executory"></span>
|
|
@@ -97,7 +104,6 @@
|
|
{{ scope.row.status }}
|
|
{{ scope.row.status }}
|
|
</span>
|
|
</span>
|
|
</template>
|
|
</template>
|
|
- </el-popover>
|
|
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column class="table_td" prop="updateDate" label="更新时间" width="130"></el-table-column>
|
|
<el-table-column class="table_td" prop="updateDate" label="更新时间" width="130"></el-table-column>
|
|
@@ -252,7 +258,7 @@
|
|
</el-dialog>
|
|
</el-dialog>
|
|
<!-- 附件弹框 -->
|
|
<!-- 附件弹框 -->
|
|
<el-dialog width="60%" :visible.sync="accessoryTFs" :before-close="handlefujianClose" :append-to-body="true">
|
|
<el-dialog width="60%" :visible.sync="accessoryTFs" :before-close="handlefujianClose" :append-to-body="true">
|
|
- <p>查看附件</p>
|
|
|
|
|
|
+ <p>添加附件</p>
|
|
<el-upload
|
|
<el-upload
|
|
class="avatar-uploader"
|
|
class="avatar-uploader"
|
|
action="https://www.zthymaoyi.com/upload/admin"
|
|
action="https://www.zthymaoyi.com/upload/admin"
|
|
@@ -379,7 +385,6 @@ export default {
|
|
id: '',
|
|
id: '',
|
|
contractList: [],
|
|
contractList: [],
|
|
deptBudgetList: {},
|
|
deptBudgetList: {},
|
|
- historyList: [],
|
|
|
|
appendixIdss: [],
|
|
appendixIdss: [],
|
|
fileList: [],
|
|
fileList: [],
|
|
dataList: {},
|
|
dataList: {},
|
|
@@ -433,7 +438,12 @@ export default {
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
fujian(row) {
|
|
fujian(row) {
|
|
- this.addressUrls=row.addressUrl.split(',')
|
|
|
|
|
|
+ if(row.addressUrl!=null){
|
|
|
|
+ this.addressUrls=row.addressUrl.split(',')
|
|
|
|
+ }
|
|
|
|
+ else{
|
|
|
|
+ this.addressUrls=[]
|
|
|
|
+ }
|
|
this.editlist.id=row.id
|
|
this.editlist.id=row.id
|
|
this.accessoryTFs=true
|
|
this.accessoryTFs=true
|
|
},
|
|
},
|
|
@@ -752,6 +762,16 @@ export default {
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then(response => {
|
|
.then(response => {
|
|
|
|
+ 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 = []
|
|
|
|
+ }
|
|
|
|
+ }
|
|
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
|
|
@@ -912,14 +932,6 @@ export default {
|
|
handleCloe() {
|
|
handleCloe() {
|
|
this.dialogViewSpareMoney = false
|
|
this.dialogViewSpareMoney = false
|
|
},
|
|
},
|
|
- history(row) {
|
|
|
|
- console.log(row)
|
|
|
|
- billoperatehis({ id: row.id })
|
|
|
|
- .toPromise()
|
|
|
|
- .then(response => {
|
|
|
|
- this.historyList = response
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
async exportlist() {
|
|
async exportlist() {
|
|
const { data } = await export1(
|
|
const { data } = await export1(
|
|
{
|
|
{
|