|
|
@@ -86,6 +86,42 @@ export default {
|
|
|
if(item['linkType'] == 'PUR'){
|
|
|
this.$router.push('/pur/pur-order/edit/' + row['purId'])
|
|
|
}
|
|
|
+ //入库跳转
|
|
|
+ if(item['linkType'] == 'INTO'){
|
|
|
+ //采购入库
|
|
|
+ if(row['intoTypeName'] == this.$config.intoType.purchase){
|
|
|
+ this.$router.push('/pur/pur-enter/edit/' + row['intoId'])
|
|
|
+ }
|
|
|
+ //采退入库
|
|
|
+ if(row['intoTypeName'] == this.$config.intoType.saleReturn){
|
|
|
+ this.$router.push('/pur/pur-return/edit/' + row['intoId'])
|
|
|
+ }
|
|
|
+ //其他入库
|
|
|
+ else if(row['intoTypeName'] == this.$config.intoType.other){
|
|
|
+ this.$router.push({
|
|
|
+ name: 'entry-handle-edit',
|
|
|
+ params: {id: row['intoId']}
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //出库跳转
|
|
|
+ if(item['linkType'] == 'OUT'){
|
|
|
+ //销售出库
|
|
|
+ if(row['outTypeName'] == this.$config.outType.sale){
|
|
|
+ this.$router.push('/sale/order-out/edit/' + row['outId'])
|
|
|
+ }
|
|
|
+ //销退回库
|
|
|
+ if(row['outTypeName'] == this.$config.outType.saleReturn){
|
|
|
+ this.$router.push('/sale/order-return/edit/' + row['outId'])
|
|
|
+ }
|
|
|
+ //其他出库
|
|
|
+ else if(row['outTypeName'] == this.$config.outType.other){
|
|
|
+ this.$router.push({
|
|
|
+ name: 'out-handle-edit',
|
|
|
+ params: {id: row['outId']}
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
/**
|