|
@@ -780,17 +780,16 @@ export default {
|
|
|
},
|
|
|
//首页审批跳转关闭返回首页
|
|
|
cancelTwo() {
|
|
|
- this.open = false
|
|
|
let view = {
|
|
|
- fullPath: '/domesticTrade/orderInformation?data=%7B%22fId%22%3A687%7D',
|
|
|
+ fullPath: '/purchaseRequest',
|
|
|
hash: '',
|
|
|
matched: Array(2),
|
|
|
meta: Object,
|
|
|
- name: 'OrderInformation',
|
|
|
+ name: 'PurchaseRequest',
|
|
|
params: Object,
|
|
|
- path: '/domesticTrade/orderInformation',
|
|
|
+ path: '/purchaseRequest',
|
|
|
query: Object,
|
|
|
- title: '订单信息'
|
|
|
+ title: '采购申请'
|
|
|
}
|
|
|
this.$router.push({ path: '/index' })
|
|
|
this.$store
|
|
@@ -1082,14 +1081,16 @@ export default {
|
|
|
this.addOrUpdateHand()
|
|
|
break
|
|
|
case '返回列表':
|
|
|
- if (!this.$refs.avatar.form.fId && this.contentList !== 0 || this.$refs.avatar.form.fBillstatus > 3 && !this.$route.query) {
|
|
|
+ console.log(this.$route.query.data)
|
|
|
+ if (!this.$refs.avatar.form.fId && this.contentList !== 0 || this.$refs.avatar.form.fBillstatus > 3 && !this.$route.query.data) {
|
|
|
data = {
|
|
|
tableName: this.queryList.tableName,
|
|
|
userId: Cookies.get('userName')
|
|
|
}
|
|
|
this.getRow(data)
|
|
|
this.query(this.formDataList)
|
|
|
- } else if(this.$route.query){
|
|
|
+ } else if(this.$route.query.data){
|
|
|
+
|
|
|
this.$router.push({path:'/index'})
|
|
|
}else {
|
|
|
this.$confirm('当前数据未保存是否保存?', '提示', {
|