Browse Source

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

branch_ccpg_220107
佐 张 3 years ago
parent
commit
2d0a4264df
  1. 30
      vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue
  2. 30
      vue/src/views/ux/billManage/kanBanWithCode/index.vue
  3. 30
      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. 30
      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

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

@ -968,6 +968,7 @@ export default {
return;
} else {
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -975,8 +976,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:
@ -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:

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

@ -858,6 +858,7 @@ export default {
return;
} else {
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -865,8 +866,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:
@ -931,6 +946,7 @@ export default {
return;
} else {
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -938,8 +954,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:

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

@ -858,6 +858,7 @@ export default {
return;
} else {
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -865,8 +866,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:
@ -931,6 +946,7 @@ export default {
return;
} else {
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -938,8 +954,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:

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"

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

@ -958,6 +958,7 @@ export default {
return;
} else {
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -965,8 +966,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:
@ -1031,6 +1046,7 @@ export default {
return;
} else {
var getbillNum = "";
var getTaskState="";
//
this.multipleSelection.forEach((element) => {
let state = element.fileName;
@ -1038,8 +1054,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:

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