|
@@ -415,12 +415,7 @@ export default {
|
|
|
currentChange({row}) {
|
|
currentChange({row}) {
|
|
|
this.loading = true
|
|
this.loading = true
|
|
|
this.id = row.outId
|
|
this.id = row.outId
|
|
|
- this.excuteNoParam(this.$service.otherOutboundService, this.$service.otherOutboundService.selectOutboundItem, [row.outId], false).then(res => {
|
|
|
|
|
- if (res.code === this.$config.SUCCESS_CODE) {
|
|
|
|
|
- this.detailTableData = res.data.itemList
|
|
|
|
|
- }
|
|
|
|
|
- this.loading = false
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ this.getDetail(1)
|
|
|
//订单附件
|
|
//订单附件
|
|
|
this.fileTableData = row.annexPaths
|
|
this.fileTableData = row.annexPaths
|
|
|
},
|
|
},
|
|
@@ -463,18 +458,12 @@ export default {
|
|
|
*/
|
|
*/
|
|
|
getDetail(val) {
|
|
getDetail(val) {
|
|
|
this.detailModel = val
|
|
this.detailModel = val
|
|
|
- if (val == 'goodsDetail') {
|
|
|
|
|
- this.loading = true
|
|
|
|
|
- this.excuteNoParam(this.$service.otherOutboundService, this.$service.otherOutboundService.selectOutboundItem, [this.id], false).then(res => {
|
|
|
|
|
- if (res.code === this.$config.SUCCESS_CODE) {
|
|
|
|
|
- this.detailTableData = res.data.itemList
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- }
|
|
|
|
|
- //附件
|
|
|
|
|
- else if (val == 'filesDetail') {
|
|
|
|
|
- //todo
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this.loading = true
|
|
|
|
|
+ this.excuteNoParam(this.$service.otherOutboundService, this.$service.otherOutboundService.selectOutboundItem, [this.id], false).then(res => {
|
|
|
|
|
+ if (res.code === this.$config.SUCCESS_CODE) {
|
|
|
|
|
+ this.detailTableData = res.data.itemList
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
},
|
|
},
|
|
|
/**
|
|
/**
|
|
|
* @desc : 出库撤回
|
|
* @desc : 出库撤回
|