Commit f73ea2f1 authored by 邓春圆's avatar 邓春圆

Merge remote-tracking branch 'origin/dev' into dev

parents f3d8dd65 709770a2
...@@ -5,7 +5,8 @@ export function listOperateLog(query) { ...@@ -5,7 +5,8 @@ export function listOperateLog(query) {
return request({ return request({
url: '/system/operate-log/page', url: '/system/operate-log/page',
method: 'get', method: 'get',
params: query params: query,
timeout: 5*6000,
}) })
} }
...@@ -15,6 +16,8 @@ export function exportOperateLog(query) { ...@@ -15,6 +16,8 @@ export function exportOperateLog(query) {
url: '/system/operate-log/export', url: '/system/operate-log/export',
method: 'get', method: 'get',
params: query, params: query,
timeout: 5*6000,
responseType: 'blob' responseType: 'blob'
}) })
} }
...@@ -576,8 +576,8 @@ ...@@ -576,8 +576,8 @@
if(this.orderExceptionData.orderItemId && this.orderData && this.orderData.orderItemVOList){ if(this.orderExceptionData.orderItemId && this.orderData && this.orderData.orderItemVOList){
if(this.orderExceptionData.orderExceptionType=='goods_add_exception'&&!this.handlerParams.productId){ if(this.orderExceptionData.orderExceptionType=='goods_add_exception'&&!this.handlerParams.productId){
this.handlerParams.productId = this.orderData.orderItemVOList.find(item => item.orderItemId == this.orderExceptionData.orderItemId).prodId this.handlerParams.productId = this.orderData.orderItemVOList.find(item => item.orderItemId == this.orderExceptionData.orderItemId).prodId
this.productId1 = this.handlerParams.productId // this.productId1 = this.handlerParams.productId
this.productId2 = this.handlerParams.productId // this.productId2 = this.handlerParams.productId
} }
console.log(this.orderData.orderItemVOList.find(item => item.orderItemId == this.orderExceptionData.orderItemId)) console.log(this.orderData.orderItemVOList.find(item => item.orderItemId == this.orderExceptionData.orderItemId))
return this.orderData.orderItemVOList.find(item => item.orderItemId == this.orderExceptionData.orderItemId) return this.orderData.orderItemVOList.find(item => item.orderItemId == this.orderExceptionData.orderItemId)
...@@ -670,10 +670,10 @@ ...@@ -670,10 +670,10 @@
}, },
//新增异常处理结果切换 //新增异常处理结果切换
handlerResultChange(){ handlerResultChange(){
if(this.orderExceptionData.orderExceptionType=='goods_add_exception'){ // if(this.orderExceptionData.orderExceptionType=='goods_add_exception'){
this.productId1 = this.handlerParams.productId // this.productId1 = this.handlerParams.productId
this.productId2 = this.handlerParams.productId // this.productId2 = this.handlerParams.productId
} // }
}, },
submitForm(){ submitForm(){
if(!this.handlerParams.orderExceptionHandlerResult){ if(!this.handlerParams.orderExceptionHandlerResult){
...@@ -691,8 +691,13 @@ ...@@ -691,8 +691,13 @@
this.$redirect('/product/product-list?prodId=' + this.handlerParams.productId) this.$redirect('/product/product-list?prodId=' + this.handlerParams.productId)
return return
} }
if(this.orderExceptionData.orderExceptionType=='goods_add_exception'&&this.handlerParams.orderExceptionHandlerResult=='goods_exists'){
if(this.productId1){ if(this.productId1){
this.handlerParams.productId = this.productId1 this.handlerParams.productId = this.productId1
}else{
this.$modal.msgError(this.$t('请选择产品'));
return
}
} }
handlerExceptionByExceptionId(this.handlerParams).then(res=>{ handlerExceptionByExceptionId(this.handlerParams).then(res=>{
this.$modal.msgSuccess(this.$t('提交成功')); this.$modal.msgSuccess(this.$t('提交成功'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment