Browse Source

修改大众界面 已确认 出库单 按钮判断 任务失败 提示

branch_ccpg_220107
佐 张 3 years ago
parent
commit
2d0a4264df
  1. 32
      vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue
  2. 34
      vue/src/views/ux/billManage/kanBanWithCode/index.vue
  3. 34
      vue/src/views/ux/billManage/kanBanWithOutCode/index.vue
  4. 2
      vue/src/views/ux/billManage/kanbanOutOrder/detail.vue
  5. 2
      vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue
  6. 34
      vue/src/views/ux/billManage/sparePart/index.vue
  7. 2
      vue/src/views/ux/billManage/sparepartOutOrder/detail.vue
  8. 2
      vue/src/views/ux/billManage/vwOutOrder/detail.vue

32
vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue

@ -967,7 +967,8 @@ export default {
});
return;
} else {
var getbillNum = "";
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -975,7 +976,21 @@ export default {
this.isEdit = true;
getbillNum += state + ",";
}
else if(element.stateName != "Succeeded"){
this.isTaskSuccess=true;
getTaskState+=element.taskId;
}
});
}
//
if(this.isTaskSuccess == true){
this.$message({
message:
"有未成功的任务,不能单击确认!:" +
getTaskState.substr(0, getTaskState.length - 1),
type: "warning",
});
return;
}
if (this.isEdit == true) {
this.$message({
@ -1041,6 +1056,7 @@ export default {
return;
} else {
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -1048,8 +1064,22 @@ export default {
this.isEdit = true;
getbillNum += state + ",";
}
else if(element.stateName != "Succeeded"){
this.isTaskSuccess=true;
getTaskState+=element.taskId;
}
});
}
//
if(this.isTaskSuccess == true){
this.$message({
message:
"有未成功的任务,不能单击确认!:" +
getTaskState.substr(0, getTaskState.length - 1),
type: "warning",
});
return;
}
if (this.isEdit == true) {
this.$message({
message:

34
vue/src/views/ux/billManage/kanBanWithCode/index.vue

@ -857,7 +857,8 @@ export default {
});
return;
} else {
var getbillNum = "";
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -865,7 +866,21 @@ export default {
this.isEdit = true;
getbillNum += state + ",";
}
else if(element.stateName != "Succeeded"){
this.isTaskSuccess=true;
getTaskState+=element.taskId;
}
});
}
//
if(this.isTaskSuccess == true){
this.$message({
message:
"有未成功的任务,不能单击确认!:" +
getTaskState.substr(0, getTaskState.length - 1),
type: "warning",
});
return;
}
if (this.isEdit == true) {
this.$message({
@ -930,7 +945,8 @@ export default {
});
return;
} else {
var getbillNum = "";
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -938,7 +954,21 @@ export default {
this.isEdit = true;
getbillNum += state + ",";
}
else if(element.stateName != "Succeeded"){
this.isTaskSuccess=true;
getTaskState+=element.taskId;
}
});
}
//
if(this.isTaskSuccess == true){
this.$message({
message:
"有未成功的任务,不能单击确认!:" +
getTaskState.substr(0, getTaskState.length - 1),
type: "warning",
});
return;
}
if (this.isEdit == true) {
this.$message({

34
vue/src/views/ux/billManage/kanBanWithOutCode/index.vue

@ -857,7 +857,8 @@ export default {
});
return;
} else {
var getbillNum = "";
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -865,7 +866,21 @@ export default {
this.isEdit = true;
getbillNum += state + ",";
}
else if(element.stateName != "Succeeded"){
this.isTaskSuccess=true;
getTaskState+=element.taskId;
}
});
}
//
if(this.isTaskSuccess == true){
this.$message({
message:
"有未成功的任务,不能单击确认!:" +
getTaskState.substr(0, getTaskState.length - 1),
type: "warning",
});
return;
}
if (this.isEdit == true) {
this.$message({
@ -930,7 +945,8 @@ export default {
});
return;
} else {
var getbillNum = "";
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -938,7 +954,21 @@ export default {
this.isEdit = true;
getbillNum += state + ",";
}
else if(element.stateName != "Succeeded"){
this.isTaskSuccess=true;
getTaskState+=element.taskId;
}
});
}
//
if(this.isTaskSuccess == true){
this.$message({
message:
"有未成功的任务,不能单击确认!:" +
getTaskState.substr(0, getTaskState.length - 1),
type: "warning",
});
return;
}
if (this.isEdit == true) {
this.$message({

2
vue/src/views/ux/billManage/kanbanOutOrder/detail.vue

@ -22,7 +22,7 @@
icon="el-icon-check"
size="mini"
@click="print()"
>确认出库单(支持批量)</el-button
>确认出库单</el-button
>
<el-button
class="filter-item"

2
vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue

@ -22,7 +22,7 @@
icon="el-icon-check"
size="mini"
@click="print()"
>确认出库单(支持批量)</el-button
>确认出库单</el-button
>
<el-button
class="filter-item"

34
vue/src/views/ux/billManage/sparePart/index.vue

@ -957,7 +957,8 @@ export default {
});
return;
} else {
var getbillNum = "";
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -965,7 +966,21 @@ export default {
this.isEdit = true;
getbillNum += state + ",";
}
else if(element.stateName != "Succeeded"){
this.isTaskSuccess=true;
getTaskState+=element.taskId;
}
});
}
//
if(this.isTaskSuccess == true){
this.$message({
message:
"有未成功的任务,不能单击确认!:" +
getTaskState.substr(0, getTaskState.length - 1),
type: "warning",
});
return;
}
if (this.isEdit == true) {
this.$message({
@ -1030,7 +1045,8 @@ export default {
});
return;
} else {
var getbillNum = "";
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -1038,7 +1054,21 @@ export default {
this.isEdit = true;
getbillNum += state + ",";
}
else if(element.stateName != "Succeeded"){
this.isTaskSuccess=true;
getTaskState+=element.taskId;
}
});
}
//
if(this.isTaskSuccess == true){
this.$message({
message:
"有未成功的任务,不能单击确认!:" +
getTaskState.substr(0, getTaskState.length - 1),
type: "warning",
});
return;
}
if (this.isEdit == true) {
this.$message({

2
vue/src/views/ux/billManage/sparepartOutOrder/detail.vue

@ -22,7 +22,7 @@
icon="el-icon-check"
size="mini"
@click="handleCreateBills()"
>确认出库单(支持批量)</el-button
>确认出库单</el-button
>
<el-button
class="filter-item"

2
vue/src/views/ux/billManage/vwOutOrder/detail.vue

@ -22,7 +22,7 @@
icon="el-icon-check"
size="mini"
@click="print()"
>确认出库单(支持批量)</el-button
>确认出库单</el-button
>
<el-button
class="filter-item"

Loading…
Cancel
Save