|
@@ -2,12 +2,41 @@
|
|
<!--2019年5月30日 20:25:16 by jlx-->
|
|
<!--2019年5月30日 20:25:16 by jlx-->
|
|
<template>
|
|
<template>
|
|
<div>
|
|
<div>
|
|
- <BaseHeaderLayout :leftSpan="16">
|
|
|
|
-
|
|
|
|
|
|
+ <BaseHeaderLayout :leftSpan="10">
|
|
<template slot="left">
|
|
<template slot="left">
|
|
-
|
|
|
|
-
|
|
|
|
- <ws-date-picker class="times"
|
|
|
|
|
|
+ <ws-button
|
|
|
|
+ type="primary"
|
|
|
|
+ :disable="checkBtn"
|
|
|
|
+ @click="handleAdd()"
|
|
|
|
+ v-hasPermission="
|
|
|
|
+ `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
|
|
+ "
|
|
|
|
+ >添加</ws-button
|
|
|
|
+ >
|
|
|
|
+ <ws-button
|
|
|
|
+ :disable="checkBtn"
|
|
|
|
+ @click="enquiry(3)"
|
|
|
|
+ v-hasPermission="
|
|
|
|
+ `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
|
|
+ "
|
|
|
|
+ >导出</ws-button
|
|
|
|
+ >
|
|
|
|
+ </template>
|
|
|
|
+ <template slot="right">
|
|
|
|
+ <ws-select
|
|
|
|
+ v-model="deptBudgetList.crtDutyId"
|
|
|
|
+ placeholder=""
|
|
|
|
+ class="typeselect"
|
|
|
|
+ @change="selectCrtDuty"
|
|
|
|
+ >
|
|
|
|
+ <ws-option
|
|
|
|
+ v-for="item in taskTypeList"
|
|
|
|
+ :key="item.value"
|
|
|
|
+ :label="item.value"
|
|
|
|
+ :value="item.value"
|
|
|
|
+ />
|
|
|
|
+ </ws-select>
|
|
|
|
+ <ws-date-picker
|
|
:picker-options="pickerBeginDateBefore"
|
|
:picker-options="pickerBeginDateBefore"
|
|
v-model="deptBudgetList.birthday"
|
|
v-model="deptBudgetList.birthday"
|
|
type="date"
|
|
type="date"
|
|
@@ -17,7 +46,7 @@
|
|
value-format="yyyy-MM-dd"
|
|
value-format="yyyy-MM-dd"
|
|
/>
|
|
/>
|
|
<span>至</span>
|
|
<span>至</span>
|
|
- <ws-date-picker class="times"
|
|
|
|
|
|
+ <ws-date-picker
|
|
:picker-options="pickerBeginDateBefore"
|
|
:picker-options="pickerBeginDateBefore"
|
|
v-model="deptBudgetList.birthday"
|
|
v-model="deptBudgetList.birthday"
|
|
type="date"
|
|
type="date"
|
|
@@ -26,7 +55,7 @@
|
|
format="yyyy-MM-dd"
|
|
format="yyyy-MM-dd"
|
|
value-format="yyyy-MM-dd"
|
|
value-format="yyyy-MM-dd"
|
|
/>
|
|
/>
|
|
- <ws-input
|
|
|
|
|
|
+ <ws-input
|
|
v-model="deptBudgetList.interviewOpinion"
|
|
v-model="deptBudgetList.interviewOpinion"
|
|
placeholder="可按照合同编号、买方名称、卖方名称进行查找"
|
|
placeholder="可按照合同编号、买方名称、卖方名称进行查找"
|
|
clearable
|
|
clearable
|
|
@@ -44,42 +73,8 @@
|
|
"
|
|
"
|
|
>查找</ws-button
|
|
>查找</ws-button
|
|
>
|
|
>
|
|
- <ws-select
|
|
|
|
- v-model="deptBudgetList.crtDutyId"
|
|
|
|
- placeholder=""
|
|
|
|
- class="typeselect"
|
|
|
|
- @change="selectCrtDuty"
|
|
|
|
- >
|
|
|
|
-
|
|
|
|
- <ws-option class="topcenter"
|
|
|
|
- v-for="item in taskTypeList"
|
|
|
|
- :key="item.value"
|
|
|
|
- :label="item.value"
|
|
|
|
- :value="item.value"
|
|
|
|
- />
|
|
|
|
- </ws-select>
|
|
|
|
- </template>
|
|
|
|
- <template slot="right" >
|
|
|
|
-
|
|
|
|
- <ws-button
|
|
|
|
- type="primary"
|
|
|
|
- :disable="checkBtn"
|
|
|
|
- @click="handleAdd()"
|
|
|
|
- v-hasPermission="
|
|
|
|
- `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
|
|
- "
|
|
|
|
- >添加</ws-button
|
|
|
|
- >
|
|
|
|
- <ws-button
|
|
|
|
- :disable="checkBtn"
|
|
|
|
- @click="enquiry(3)"
|
|
|
|
- v-hasPermission="
|
|
|
|
- `${$permission('PERMISSIONS.PURSPAPPLINFO_CREATEINSTORE')}`
|
|
|
|
- "
|
|
|
|
- >导出</ws-button
|
|
|
|
- >
|
|
|
|
</template>
|
|
</template>
|
|
- </BaseHeaderLayout>
|
|
|
|
|
|
+ </BaseHeaderLayout>
|
|
<el-table :data="tableData" style="width: 100%; margin-top: 10px">
|
|
<el-table :data="tableData" style="width: 100%; margin-top: 10px">
|
|
<el-table-column type="index" />
|
|
<el-table-column type="index" />
|
|
<el-table-column prop="date" label="合同编号" width="80">
|
|
<el-table-column prop="date" label="合同编号" width="80">
|
|
@@ -124,8 +119,12 @@
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
import {
|
|
import {
|
|
- getList
|
|
|
|
-} from '@/model/procurement/spare'
|
|
|
|
|
|
+ getList,
|
|
|
|
+ export1,
|
|
|
|
+ editstatus,
|
|
|
|
+ billoperatehis,
|
|
|
|
+} from '@/model/contarct/index'
|
|
|
|
+import { dayjs } from 'base-core-lib'
|
|
export default {
|
|
export default {
|
|
name: 'viewSpareMoney',
|
|
name: 'viewSpareMoney',
|
|
watch: {
|
|
watch: {
|
|
@@ -154,7 +153,6 @@ export default {
|
|
contractForm: {},
|
|
contractForm: {},
|
|
categoryIndex: 0,
|
|
categoryIndex: 0,
|
|
rulesVendor: {},
|
|
rulesVendor: {},
|
|
- pickerBeginDateBefore:{},
|
|
|
|
tableData: [{ date: 1111, name: 'qqqq', address: 'errrtt' }],
|
|
tableData: [{ date: 1111, name: 'qqqq', address: 'errrtt' }],
|
|
taskTypeList: [
|
|
taskTypeList: [
|
|
{ value: '未完成(默认)' },
|
|
{ value: '未完成(默认)' },
|
|
@@ -180,27 +178,22 @@ export default {
|
|
interviewResult: '1',
|
|
interviewResult: '1',
|
|
interviewOpinion: '',
|
|
interviewOpinion: '',
|
|
aliasName: '',
|
|
aliasName: '',
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ currentPage: 1,
|
|
|
|
+ pageSize: 10,
|
|
|
|
+ searchType: 1,
|
|
|
|
+ searchTypeText: '未完成',
|
|
|
|
+ searchKeyWord: '',
|
|
|
|
+ contractType: 1,
|
|
|
|
+ startDate: null,
|
|
|
|
+ endDate: null,
|
|
},
|
|
},
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
- //cg.viewBudget
|
|
|
|
- //cg.viewSpareMoney
|
|
|
|
- // this.getVesselData();
|
|
|
|
this.getList()
|
|
this.getList()
|
|
this.showType = this.isShow
|
|
this.showType = this.isShow
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- getList(){
|
|
|
|
- getList({
|
|
|
|
-
|
|
|
|
- }).toPromise().then(response => {
|
|
|
|
- this.contractList = response
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
- selectCrtDuty(){},
|
|
|
|
// 关闭 dialog时 处理文件url 初始化upload组件
|
|
// 关闭 dialog时 处理文件url 初始化upload组件
|
|
handleClose() {
|
|
handleClose() {
|
|
this.dialogViewSpareMoney = false
|
|
this.dialogViewSpareMoney = false
|
|
@@ -223,13 +216,46 @@ export default {
|
|
listQuery() {},
|
|
listQuery() {},
|
|
total() {},
|
|
total() {},
|
|
clearfiltQuery() {},
|
|
clearfiltQuery() {},
|
|
|
|
+ selectCrtDuty() {},
|
|
|
|
+ pickerBeginDateBefore: {
|
|
|
|
+ disabledDate: (time) => {
|
|
|
|
+ return time.getTime() > Date.now()
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ getList() {
|
|
|
|
+ console.log(
|
|
|
|
+ this.contractType,
|
|
|
|
+ this.currentPage,
|
|
|
|
+ this.pageSize,
|
|
|
|
+ this.searchType,
|
|
|
|
+ this.searchKeyWord,
|
|
|
|
+ this.startDate,
|
|
|
|
+ this.endDate,
|
|
|
|
+ this.contrPage
|
|
|
|
+ )
|
|
|
|
+ getList({
|
|
|
|
+ compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
|
+ contractType: this.contractType,
|
|
|
|
+ currentPage: this.currentPage,
|
|
|
|
+ pageSize: this.pageSize,
|
|
|
|
+ searchType: this.searchType,
|
|
|
|
+ searchKeyWord: this.searchKeyWord,
|
|
|
|
+ startDate: this.startDate,
|
|
|
|
+ endDate: this.endDate,
|
|
|
|
+ contrPage: this.contrPage,
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.contractList = response
|
|
|
|
+ })
|
|
|
|
+ },
|
|
},
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
-
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+.typeselect {
|
|
|
|
+ width: 500px;
|
|
|
|
+}
|
|
.padding-xs {
|
|
.padding-xs {
|
|
padding: 15px;
|
|
padding: 15px;
|
|
text-align: right;
|
|
text-align: right;
|
|
@@ -308,7 +334,7 @@ export default {
|
|
}
|
|
}
|
|
.box-app {
|
|
.box-app {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
-
|
|
|
|
|
|
+ float: left;
|
|
margin-left: 30px;
|
|
margin-left: 30px;
|
|
line-height: 50px;
|
|
line-height: 50px;
|
|
}
|
|
}
|
|
@@ -391,4 +417,4 @@ export default {
|
|
padding: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|