|
@@ -4,10 +4,10 @@
|
|
|
<div>
|
|
|
<BaseHeaderLayout :leftSpan="8">
|
|
|
<template slot="left">
|
|
|
- <ws-button type="primary" @click="handleAdd()"
|
|
|
- v-hasPermission="
|
|
|
- `contractManagement.buyContract.buyContractInfo.add`
|
|
|
- "
|
|
|
+ <ws-button
|
|
|
+ type="primary"
|
|
|
+ @click="handleAdd()"
|
|
|
+ v-hasPermission="`contractManagement.buyContract.buyContractInfo.add`"
|
|
|
><img
|
|
|
width="13"
|
|
|
height="13"
|
|
@@ -24,13 +24,15 @@
|
|
|
<ws-button
|
|
|
@click="exportlist()"
|
|
|
v-hasPermission="
|
|
|
- `contractManagement.buyContract.buyContractInfo.view`
|
|
|
+ `contractManagement.buyContract.buyContractInfo.view`
|
|
|
"
|
|
|
>导出</ws-button
|
|
|
>
|
|
|
</template>
|
|
|
<template slot="right">
|
|
|
- <span style="width: 142px; display: inline-block;color: #8890B1;">状态:</span>
|
|
|
+ <span style="width: 142px; display: inline-block; color: #8890b1"
|
|
|
+ >状态:</span
|
|
|
+ >
|
|
|
<ws-select
|
|
|
v-model="searchTypeText"
|
|
|
placeholder=""
|
|
@@ -43,7 +45,7 @@
|
|
|
:key="item.value"
|
|
|
:label="item.value"
|
|
|
:value="item.value"
|
|
|
- style="color: #8890B1;"
|
|
|
+ style="color: #8890b1"
|
|
|
/>
|
|
|
</ws-select>
|
|
|
|
|
@@ -67,10 +69,7 @@
|
|
|
class="findValue"
|
|
|
></ws-input>
|
|
|
<!-- v-hasPermission="'procurement.sparepart.directShip'" -->
|
|
|
- <ws-button
|
|
|
- class="find"
|
|
|
- type="primary"
|
|
|
- @click="find()"
|
|
|
+ <ws-button class="find" type="primary" @click="find()"
|
|
|
><img
|
|
|
width="16"
|
|
|
height="16"
|
|
@@ -155,7 +154,11 @@
|
|
|
</template>
|
|
|
<div>
|
|
|
<p style="margin-top: 0; padding-left: 10px">操作历史</p>
|
|
|
- <div v-for="(item, index) in historyList" :key='index' class="flex">
|
|
|
+ <div
|
|
|
+ v-for="(item, index) in historyList"
|
|
|
+ :key="index"
|
|
|
+ class="flex"
|
|
|
+ >
|
|
|
<div class="vertical-text vertical-text-left">
|
|
|
{{ item.updateDate }}
|
|
|
</div>
|
|
@@ -211,8 +214,8 @@
|
|
|
src="../../../public/img/chakan.png"
|
|
|
@click="handleExamine(scope.row)"
|
|
|
v-hasPermission="
|
|
|
- `contractManagement.buyContract.buyContractInfo.view`
|
|
|
- "
|
|
|
+ `contractManagement.buyContract.buyContractInfo.view`
|
|
|
+ "
|
|
|
alt=""
|
|
|
/>
|
|
|
<img
|
|
@@ -222,8 +225,8 @@
|
|
|
src="../../../public/img/bianji.png"
|
|
|
@click="handleEdit(scope.row)"
|
|
|
v-hasPermission="
|
|
|
- `contractManagement.buyContract.buyContractInfo.edit`
|
|
|
- "
|
|
|
+ `contractManagement.buyContract.buyContractInfo.edit`
|
|
|
+ "
|
|
|
alt=""
|
|
|
/>
|
|
|
<img
|
|
@@ -237,8 +240,8 @@
|
|
|
"
|
|
|
src="../../../public/img/shanchu.png"
|
|
|
v-hasPermission="
|
|
|
- `contractManagement.buyContract.buyContractInfo.delete`
|
|
|
- "
|
|
|
+ `contractManagement.buyContract.buyContractInfo.delete`
|
|
|
+ "
|
|
|
@click="handleDelete(scope.row)"
|
|
|
alt=""
|
|
|
/>
|
|
@@ -273,7 +276,7 @@
|
|
|
accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar"
|
|
|
/>
|
|
|
</WinseaContentModal> -->
|
|
|
- <WinseaContentModal
|
|
|
+ <!-- <WinseaContentModal
|
|
|
v-model="accessoryTFs"
|
|
|
:title="$t('system.noticeCircular.information')"
|
|
|
@on-cancel="handleClose"
|
|
@@ -287,16 +290,38 @@
|
|
|
<img width="100" height="100" :src="items1" alt="" style=""/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </WinseaContentModal>
|
|
|
+ </WinseaContentModal> -->
|
|
|
+
|
|
|
<WinseaContentModal
|
|
|
- v-model="accesscard"
|
|
|
+ v-model="accessoryTFs"
|
|
|
:title="$t('system.noticeCircular.information')"
|
|
|
- @on-cancel="handleClose1"
|
|
|
+ @on-cancel="handleClose"
|
|
|
>
|
|
|
+ <el-upload
|
|
|
+ class="upload-demo"
|
|
|
+ action="https://www.zthymaoyi.com/upload/admin"
|
|
|
+ :on-success="
|
|
|
+ (res, file) => {
|
|
|
+ uploadSuccessHandle(res)
|
|
|
+ }
|
|
|
+ "
|
|
|
+ multiple
|
|
|
+ :limit="3"
|
|
|
+ :file-list="fileList"
|
|
|
+ >
|
|
|
+ <el-button size="small" type="primary">附件附件</el-button>
|
|
|
+ <div slot="tip" class="el-upload__tip">
|
|
|
+ 推荐格式.jpg, .jpeg, .png, .gif, .pdf, .doc, .zip,
|
|
|
+ .rar,单个文件大小不超过10M
|
|
|
+ </div>
|
|
|
+ </el-upload>
|
|
|
<p>查看附件</p>
|
|
|
- <img width="100" height="100" :src="accessurl" alt="" />
|
|
|
+ <div style="display: flex;">
|
|
|
+ <div style="display: flex; margin: 5px" v-for="item in this.appendixIdss">
|
|
|
+ <img width="100" height="100" :src="item" alt=""/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</WinseaContentModal>
|
|
|
-
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -310,7 +335,7 @@ import {
|
|
|
import { downloadFile } from '@/utils/batchDown'
|
|
|
import Pagination from '@/components/Pagination'
|
|
|
import WsUpload from '@/components/WsUpload'
|
|
|
-import { dayjs, EventBus } from 'base-core-lib'
|
|
|
+import { dayjs, EventBus } from 'base-core-lib'
|
|
|
export default {
|
|
|
name: 'viewSpareMoney',
|
|
|
components: {
|
|
@@ -350,9 +375,9 @@ export default {
|
|
|
contractType: 2,
|
|
|
startDate: null,
|
|
|
endDate: null,
|
|
|
- addressUrls:[],
|
|
|
- accessurl:'',
|
|
|
- accesscard:false,
|
|
|
+ addressUrls: [],
|
|
|
+ accessurl: '',
|
|
|
+ accesscard: false,
|
|
|
// 提交类型
|
|
|
submitType: true,
|
|
|
deptCircularPage: {},
|
|
@@ -363,6 +388,8 @@ export default {
|
|
|
contractList: [],
|
|
|
deptBudgetList: {},
|
|
|
historyList: [],
|
|
|
+ appendixIdss: [],
|
|
|
+ fileList:[],
|
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
pickerBeginDateBefore: {
|
|
|
disabledDate: (time) => {
|
|
@@ -496,13 +523,12 @@ export default {
|
|
|
this.deptCircularPage.pageSize = response.size
|
|
|
this.deptBudgetTotal = response.total
|
|
|
this.contractList = response
|
|
|
- for (var i = 0; i < response.records.length; i++) {
|
|
|
-
|
|
|
+ for (var i = 0; i < response.records.length; i++) {
|
|
|
var arr = new Array()
|
|
|
- this.addressUrls[i] = new Array()
|
|
|
+ this.addressUrls[i] = new Array()
|
|
|
if (this.contractList.records[i].addressUrl != null) {
|
|
|
- arr = this.contractList.records[i].addressUrl.split(',')
|
|
|
- this.addressUrls[i]=arr
|
|
|
+ arr = this.contractList.records[i].addressUrl.split(',')
|
|
|
+ this.addressUrls[i] = arr
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -556,10 +582,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
fujian(row) {
|
|
|
- if (
|
|
|
- row.addressUrl === null ||
|
|
|
- row.addressUrl === ''
|
|
|
- ) {
|
|
|
+ if (row.addressUrl === null || row.addressUrl === '') {
|
|
|
EventBus.$emit(
|
|
|
'warning',
|
|
|
this.$t('system.noticeCircular.NoInformation')
|
|
@@ -567,7 +590,7 @@ export default {
|
|
|
} else {
|
|
|
this.accessoryTFs = true
|
|
|
}
|
|
|
- this.appendixIdss = row.addressUrlArray
|
|
|
+ this.appendixIdss = row.addressUrl.split(',')
|
|
|
},
|
|
|
handleExamine(row) {
|
|
|
console.log(row)
|
|
@@ -958,7 +981,7 @@ export default {
|
|
|
padding: 0 !important;
|
|
|
}
|
|
|
}
|
|
|
-/deep/.typeselect .el-input__inner{
|
|
|
- color: #8890B1;
|
|
|
+/deep/.typeselect .el-input__inner {
|
|
|
+ color: #8890b1;
|
|
|
}
|
|
|
</style>
|