|
@@ -284,22 +284,22 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
// 是否显示取消按钮
|
|
// 是否显示取消按钮
|
|
isShowCancelBtn (row) {
|
|
isShowCancelBtn (row) {
|
|
- const res = ((row.state === 'WAIT_SUBMIT' || row.state === 'WAIT_AUDIT' || row.state === 'REJECT') && !row.thirdpartyBizState) || (row.state === 'PASS' && row.thirdpartyBizState === 'WAIT_AUDIT') || (row.state === 'PASS' && row.thirdpartyBizState === 'AUDIT_PASS')
|
|
|
|
|
|
+ const res = ((row.state === 'WAIT_SUBMIT' || row.state === 'WAIT_AUDIT' || row.state === 'REJECT') && !row.thirdpartyBizState) || (row.state === 'PASS' && row.thirdpartyBizState === 'WAIT_AUDIT') || (row.state === 'WAIT_PUT' && row.thirdpartyBizState === 'AUDIT_PASS')
|
|
return res
|
|
return res
|
|
},
|
|
},
|
|
// 是否显示上传凭证按钮
|
|
// 是否显示上传凭证按钮
|
|
isShowUploadBtn (con) {
|
|
isShowUploadBtn (con) {
|
|
- const res = ((con.state === 'PASS' && con.thirdpartyBizState === 'AUDIT_PASS') || (con.state === 'PASS' && con.thirdpartyBizState === 'WAIT_RECEIVE') || (con.state === 'WAIT_PUT' && con.thirdpartyBizState === 'FINISH') || (con.state === 'FINISH' && con.thirdpartyBizState === 'FINISH')) && !con.attachmentList
|
|
|
|
|
|
+ const res = ((con.state === 'WAIT_PUT' && con.thirdpartyBizState === 'AUDIT_PASS') || (con.state === 'WAIT_PUT' && con.thirdpartyBizState === 'FINISH') || (con.state === 'FINISH' && con.thirdpartyBizState === 'AUDIT_PASS') || (con.state === 'FINISH' && con.thirdpartyBizState === 'FINISH') || (con.state === 'WAIT_PUT' && con.thirdpartyBizState === 'CANCEL')) && !con.attachmentList
|
|
return res
|
|
return res
|
|
},
|
|
},
|
|
// 是否显示查看凭证按钮
|
|
// 是否显示查看凭证按钮
|
|
isShowCheckBtn (con) {
|
|
isShowCheckBtn (con) {
|
|
- const res = ((con.state === 'PASS' && con.thirdpartyBizState === 'AUDIT_PASS') || (con.state === 'PASS' && con.thirdpartyBizState === 'WAIT_RECEIVE') || (con.state === 'WAIT_PUT' && con.thirdpartyBizState === 'FINISH') || (con.state === 'FINISH' && con.thirdpartyBizState === 'FINISH')) && (con.attachmentList && con.attachmentList.length > 0)
|
|
|
|
|
|
+ const res = ((con.state === 'WAIT_PUT' && con.thirdpartyBizState === 'AUDIT_PASS') || (con.state === 'WAIT_PUT' && con.thirdpartyBizState === 'FINISH') || (con.state === 'FINISH' && con.thirdpartyBizState === 'AUDIT_PASS') || (con.state === 'FINISH' && con.thirdpartyBizState === 'FINISH') || (con.state === 'WAIT_PUT' && con.thirdpartyBizState === 'CANCEL')) && (con.attachmentList && con.attachmentList.length > 0)
|
|
return res
|
|
return res
|
|
},
|
|
},
|
|
// 是否显示 --
|
|
// 是否显示 --
|
|
isShowNoBtn (rowVal) {
|
|
isShowNoBtn (rowVal) {
|
|
- const res = (rowVal.state === 'CANCEL' && !rowVal.thirdpartyBizState) || (rowVal.state === 'CANCEL' && rowVal.thirdpartyBizState === 'WAIT_AUDIT') || (rowVal.state === 'CANCEL' && rowVal.thirdpartyBizState === 'AUDIT_PASS') || (rowVal.state === 'PASS' && rowVal.thirdpartyBizState === 'AUDIT_REJECT') || (rowVal.state === 'PASS' && rowVal.thirdpartyBizState === 'CANCEL')
|
|
|
|
|
|
+ const res = (rowVal.state === 'CANCEL' && !rowVal.thirdpartyBizState) || (rowVal.state === 'CANCEL' && rowVal.thirdpartyBizState === 'WAIT_AUDIT') || (rowVal.state === 'PASS' && rowVal.thirdpartyBizState === 'AUDIT_REJECT') || (rowVal.state === 'WAIT_PUT' && rowVal.thirdpartyBizState === 'CANCEL')
|
|
return res
|
|
return res
|
|
},
|
|
},
|
|
// 创建时间
|
|
// 创建时间
|