|
@@ -556,6 +556,7 @@
|
|
//杂发/杂收
|
|
//杂发/杂收
|
|
sendOrReceive(data){
|
|
sendOrReceive(data){
|
|
var idExistence = 'yes',
|
|
var idExistence = 'yes',
|
|
|
|
+ okSync = 'no',
|
|
idArr = []
|
|
idArr = []
|
|
//判断有没有增行但没保存数据
|
|
//判断有没有增行但没保存数据
|
|
this.selectedRows.map(item=>{
|
|
this.selectedRows.map(item=>{
|
|
@@ -564,6 +565,9 @@
|
|
}else{
|
|
}else{
|
|
idArr.push(item.id)
|
|
idArr.push(item.id)
|
|
}
|
|
}
|
|
|
|
+ if(item.sync=='是'){
|
|
|
|
+ okSync = 'yes'
|
|
|
|
+ }
|
|
})
|
|
})
|
|
if(this.selectedRowKeys.length==0){
|
|
if(this.selectedRowKeys.length==0){
|
|
this.$message.warning('请选择余料管理')
|
|
this.$message.warning('请选择余料管理')
|
|
@@ -574,6 +578,9 @@
|
|
if(data == 'out'){
|
|
if(data == 'out'){
|
|
info = '是否确认生成杂发单?'
|
|
info = '是否确认生成杂发单?'
|
|
}
|
|
}
|
|
|
|
+ if(okSync=='yes'){
|
|
|
|
+ info = '执行数据中含有已同步数据,请确实是否再次同步'
|
|
|
|
+ }
|
|
this.$confirm({
|
|
this.$confirm({
|
|
title: '执行确认',
|
|
title: '执行确认',
|
|
content: info,
|
|
content: info,
|