|
@@ -320,6 +320,13 @@ export default {
|
|
endDate: null,
|
|
endDate: null,
|
|
// 提交类型
|
|
// 提交类型
|
|
submitType: true,
|
|
submitType: true,
|
|
|
|
+ contractForm: {},
|
|
|
|
+ categoryIndex: 0,
|
|
|
|
+ rulesVendor: {},
|
|
|
|
+ deptBudgetTotal: 0,
|
|
|
|
+ size: 10,
|
|
|
|
+ compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
|
+ handleCurrentChange:{},
|
|
deptCircularPage: {},
|
|
deptCircularPage: {},
|
|
date: {
|
|
date: {
|
|
year: dayjs().format('YYYY'),
|
|
year: dayjs().format('YYYY'),
|
|
@@ -526,10 +533,10 @@ export default {
|
|
this.appendixIdss = row.receiveAttachmentPath
|
|
this.appendixIdss = row.receiveAttachmentPath
|
|
},
|
|
},
|
|
handleExamine(row) {
|
|
handleExamine(row) {
|
|
- console.log(row)
|
|
|
|
|
|
+
|
|
this.$router.push({
|
|
this.$router.push({
|
|
name: 'salesContractExamine',
|
|
name: 'salesContractExamine',
|
|
- query: { id: row.id, status: row.status },
|
|
|
|
|
|
+ query: { id: row.id },
|
|
})
|
|
})
|
|
},
|
|
},
|
|
handleAdd() {
|
|
handleAdd() {
|
|
@@ -538,9 +545,10 @@ export default {
|
|
handleEdit(row) {
|
|
handleEdit(row) {
|
|
this.$router.push({
|
|
this.$router.push({
|
|
name: 'salesContractEdit',
|
|
name: 'salesContractEdit',
|
|
- query: { id: row.id },
|
|
|
|
|
|
+ params: { id: row.id },
|
|
})
|
|
})
|
|
},
|
|
},
|
|
|
|
+
|
|
// 关闭 dialog时 处理文件url 初始化upload组件
|
|
// 关闭 dialog时 处理文件url 初始化upload组件
|
|
handleCloe() {
|
|
handleCloe() {
|
|
this.dialogViewSpareMoney = false
|
|
this.dialogViewSpareMoney = false
|
|
@@ -585,6 +593,13 @@ export default {
|
|
// deletecontract(){},
|
|
// deletecontract(){},
|
|
//删除
|
|
//删除
|
|
|
|
|
|
|
|
+
|
|
|
|
+ approve() {},
|
|
|
|
+ listQuery() {},
|
|
|
|
+ total() {},
|
|
|
|
+ clearfiltQuery() {},
|
|
|
|
+ selectCrtDuty() {},
|
|
|
|
+
|
|
handleDelete(row) {
|
|
handleDelete(row) {
|
|
var handleDelete = ' '
|
|
var handleDelete = ' '
|
|
if (row.handleDelete == '待执行' || row.handleDelete == '已完成') {
|
|
if (row.handleDelete == '待执行' || row.handleDelete == '已完成') {
|
|
@@ -592,10 +607,9 @@ export default {
|
|
} else if (row.handleDelete == '执行中') {
|
|
} else if (row.handleDelete == '执行中') {
|
|
handleDelete = '已完成'
|
|
handleDelete = '已完成'
|
|
}
|
|
}
|
|
- this.$confirm(`合同删除后不可恢复,是否继续删除?`, '删除该合同?', {
|
|
|
|
-
|
|
|
|
- confirmButtonText: '确定',
|
|
|
|
|
|
+ this.$confirm(`合同删除后不可恢复,是否继续删除?`, '提示', {
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
|
|
+ confirmButtonText: '确定',
|
|
type: 'warning',
|
|
type: 'warning',
|
|
})
|
|
})
|
|
.then(() => {
|
|
.then(() => {
|