Browse Source

修改出库单子页面时间bug

branch_ccpg_220107
xunyu.guo 3 years ago
parent
commit
1cd15c45e8
  1. 15
      vue/src/views/ux/billManage/kanbanOutOrder/detail.vue
  2. 15
      vue/src/views/ux/billManage/kanbanWithOutOrder/detail.vue
  3. 15
      vue/src/views/ux/billManage/sparepartOutOrder/detail.vue
  4. 14
      vue/src/views/ux/billManage/vwOutOrder/detail.vue
  5. 17
      vue/src/views/ux/vw/dataInput/hq_f_outorder/detail.vue
  6. 20
      vue/src/views/ux/vw/dataInput/hq_f_outorder_chickout/detail.vue
  7. 169
      vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue
  8. 19
      vue/src/views/ux/vw/dataInput/hq_h_outorder/detail.vue
  9. 19
      vue/src/views/ux/vw/dataInput/hq_m_checkout/detail.vue
  10. 19
      vue/src/views/ux/vw/dataInput/hq_m_outorder/detail.vue
  11. 18
      vue/src/views/ux/vw/dataInput/hq_y_outorder/detail.vue

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

@ -127,7 +127,7 @@
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate" required>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
@ -384,6 +384,15 @@ export default {
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist.accountDate == "") {
this.$message({
message: "请选择日期!",
type: "warning",
});
this.getList();
return;
//this.getList();
} else {
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
@ -405,13 +414,15 @@ export default {
type: "success",
duration: 2000,
});
this.accountDatelist.accountDate = "";
this.dialogFormVisible = false;
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
}
},
//
handleDelete(row){

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

@ -127,7 +127,7 @@
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate" required>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
@ -381,6 +381,15 @@ export default {
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist.accountDate == "") {
this.$message({
message: "请选择日期!",
type: "warning",
});
this.getList();
return;
//this.getList();
} else {
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
@ -402,13 +411,15 @@ export default {
type: "success",
duration: 2000,
});
this.accountDatelist.accountDate = "";
this.dialogFormVisible = false;
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
}
},
//
// handleDelete(row){

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

@ -127,7 +127,7 @@
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate" required>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
@ -384,6 +384,15 @@ export default {
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist.accountDate == "") {
this.$message({
message: "请选择日期!",
type: "warning",
});
this.getList();
return;
//this.getList();
} else {
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
@ -405,13 +414,15 @@ export default {
type: "success",
duration: 2000,
});
this.accountDatelist.accountDate = "";
this.dialogFormVisible = false;
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
}
},
//
handleDelete(row){

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

@ -127,7 +127,7 @@
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate" required>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
@ -385,6 +385,15 @@ export default {
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist.accountDate == "") {
this.$message({
message: "请选择日期!",
type: "warning",
});
this.getList();
return;
//this.getList();
} else {
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
@ -404,12 +413,15 @@ export default {
type: "success",
duration: 2000,
});
this.accountDatelist.accountDate = "";
this.dialogFormVisible = false;
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
}
},
//
handleCreateBills_old(row) {

17
vue/src/views/ux/vw/dataInput/hq_f_outorder/detail.vue

@ -127,7 +127,7 @@
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate" required>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
@ -392,6 +392,15 @@ export default {
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist.accountDate == "") {
this.$message({
message: "请选择日期!",
type: "warning",
});
this.getList();
return;
//this.getList();
} else {
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
@ -402,7 +411,7 @@ export default {
this.$axios
.posts(
"/api/settleaccount/wmsHQFSharePartoutput/WmsSharePartOutPut-Pass",
"/api/settleaccount/WMSHQFKanbanoutput/WmsHQFKanbanOutPut-Pass",
this.listOutPutQuery
)
.then((response) => {
@ -413,13 +422,15 @@ export default {
type: "success",
duration: 2000,
});
this.accountDatelist.accountDate = "";
this.dialogFormVisible = false;
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
}
},
//
handleDelete(row){

20
vue/src/views/ux/vw/dataInput/hq_f_outorder_chickout/detail.vue

@ -144,7 +144,7 @@
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate" required>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
@ -401,6 +401,10 @@ export default {
},
print() {
this.dialogFormVisible = true;
},
handleCreateBillsEnd(row) {
this.dialogFormVisible = false;
this.getList();
},
//
handleCreateBills(row) {
@ -409,6 +413,15 @@ export default {
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist.accountDate == "") {
this.$message({
message: "请选择日期!",
type: "warning",
});
this.getList();
return;
//this.getList();
} else {
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
@ -419,7 +432,7 @@ export default {
this.$axios
.posts(
"/api/settleaccount/WMSHQFKanbanoutput/WmsHQFKanbanOutPut-Pass",
"/api/settleaccount/wmsHQFSharePartoutput/WmsSharePartOutPut-Pass",
this.listOutPutQuery
)
.then((response) => {
@ -430,12 +443,15 @@ export default {
type: "success",
duration: 2000,
});
this.accountDatelist.accountDate = "";
this.dialogFormVisible = false;
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
}
},
//
handleDelete(row) {

169
vue/src/views/ux/vw/dataInput/hq_h_checkout/detail.vue

@ -101,19 +101,21 @@
{{ scope.column.label }}
</template>
</el-table-column>
<el-table-column
prop="OutPutQty"
label="出库数量"
width="100">
<template slot-scope="scope">
<el-input size="small" v-model="scope.row.deliverytype" @change="handleEdit(scope.$index, scope.row)"></el-input>
</template>
<el-table-column prop="OutPutQty" label="出库数量" width="100">
<template slot-scope="scope">
<el-input
size="small"
v-model="scope.row.deliverytype"
@change="handleEdit(scope.$index, scope.row)"
></el-input>
</template>
</el-table-column>
<el-table-column
prop="state"
:formatter="fieldFormatter"
label="状态"
width="100">
width="100"
>
</el-table-column>
</el-table>
<div class="table-footer">
@ -133,7 +135,7 @@
:title="formTitle"
width="700px"
>
<el-form
<el-form
ref="accountDatelist"
:inline="true"
:model="accountDatelist"
@ -141,7 +143,7 @@
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate" required>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
@ -246,7 +248,7 @@ export default {
billNum: "",
accountDate: "",
},
listDeleteQuery: {
listDeleteQuery: {
billNum: "",
},
page: 1,
@ -397,6 +399,11 @@ export default {
},
print() {
this.dialogFormVisible = true;
//this.getList();
},
handleCreateBillsEnd(row) {
this.dialogFormVisible = false;
this.getList();
},
//
handleCreateBills(row) {
@ -405,77 +412,93 @@ export default {
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
//this.listOutPutQuery.accountDate = this.accountDatelist;
console.log(
"未选择时全部确认出库条件:" + JSON.stringify(this.listOutPutQuery)
);
//debugger
if (this.accountDatelist.accountDate == "") {
this.$message({
message: "请选择日期!",
type: "warning",
});
this.getList();
return;
//this.getList();
} else {
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
//this.listOutPutQuery.accountDate = this.accountDatelist;
console.log(
"未选择时全部确认出库条件:" + JSON.stringify(this.listOutPutQuery)
);
this.$axios
.posts(
"/api/settleaccount/wmsjitoutput/WmsJitOutPut-Pass",
this.listOutPutQuery
)
.then((response) => {
const index = this.list.indexOf(row);
this.$notify({
title: "成功",
message: "生成成功",
type: "success",
duration: 2000,
this.$axios
.posts(
"/api/settleaccount/WmsHQHSharePartoutput/WmsSharePartOutPut-Pass",
this.listOutPutQuery
)
.then((response) => {
const index = this.list.indexOf(row);
this.$notify({
title: "成功",
message: "生成成功",
type: "success",
duration: 2000,
});
this.accountDatelist.accountDate = "";
this.dialogFormVisible = false;
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
}
},
//
handleDelete(row){
handleDelete(row) {
var params = [];
let myalert = ""; //使
if (row) {
//
params.push(row.id);
myalert = row.name;
} else {
//
this.multipleSelection.forEach((element) => {
let id = element.id;
params.push(id);
});
myalert = "选中项";
}
this.listDeleteQuery.billNum = this.listQuery.billNum ;
let myalert = ""; //使
if (row) {
//
params.push(row.id);
myalert = row.name;
} else {
//
this.multipleSelection.forEach((element) => {
let id = element.id;
params.push(id);
});
myalert = "选中项";
}
this.listDeleteQuery.billNum = this.listQuery.billNum;
console.log("单据号:" + JSON.stringify(this.listDeleteQuery));
this.$confirm("是否删除" + myalert + "?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.$axios
.posts("/api/settleaccount/WmsHQHSharePartoutput/WmsOutPutDelete", this.listDeleteQuery)
.then((response) => {
const index = this.list.indexOf(row);
this.$notify({
title: "成功",
message: "删除成功",
type: "success",
duration: 2000,
});
this.getList();
this.$confirm("是否删除" + myalert + "?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.$axios
.posts(
"/api/settleaccount/WmsHQHSharePartoutput/WmsOutPutDelete",
this.listDeleteQuery
)
.then((response) => {
const index = this.list.indexOf(row);
this.$notify({
title: "成功",
message: "删除成功",
type: "success",
duration: 2000,
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消操作",
this.getList();
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消操作",
});
});
},
/** 刷新列表 */
handleHandle(data) {

19
vue/src/views/ux/vw/dataInput/hq_h_outorder/detail.vue

@ -127,7 +127,7 @@
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate" required>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
@ -388,6 +388,11 @@ export default {
print() {
this.dialogFormVisible = true;
},
handleCreateBillsEnd(row)
{
this.dialogFormVisible = false;
this.getList();
},
//
handleCreateBills(row) {
this.dialogFormVisible = true;
@ -395,6 +400,15 @@ export default {
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist.accountDate == "") {
this.$message({
message: "请选择日期!",
type: "warning",
});
this.getList();
return;
//this.getList();
}else {
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
@ -416,12 +430,15 @@ export default {
type: "success",
duration: 2000,
});
this.accountDatelist.accountDate = "";
this.dialogFormVisible = false;
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
}
},
//
handleDelete(row){

19
vue/src/views/ux/vw/dataInput/hq_m_checkout/detail.vue

@ -141,7 +141,7 @@
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate" required>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
@ -399,6 +399,10 @@ export default {
},
print() {
this.dialogFormVisible = true;
},
handleCreateBillsEnd(row) {
this.dialogFormVisible = false;
this.getList();
},
//
handleCreateBills(row) {
@ -407,6 +411,15 @@ export default {
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist.accountDate == "") {
this.$message({
message: "请选择日期!",
type: "warning",
});
this.getList();
return;
//this.getList();
}else{
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
@ -428,13 +441,15 @@ export default {
type: "success",
duration: 2000,
});
this.accountDatelist.accountDate = "";
this.dialogFormVisible = false;
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
}
},
//
handleDelete(row){

19
vue/src/views/ux/vw/dataInput/hq_m_outorder/detail.vue

@ -127,7 +127,7 @@
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate" required>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
@ -385,6 +385,10 @@ export default {
print() {
this.dialogFormVisible = true;
},
handleCreateBillsEnd(row) {
this.dialogFormVisible = false;
this.getList();
},
//
handleCreateBills(row) {
this.dialogFormVisible = true;
@ -392,6 +396,15 @@ export default {
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist.accountDate == "") {
this.$message({
message: "请选择日期!",
type: "warning",
});
this.getList();
return;
//this.getList();
} else {
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
@ -413,13 +426,15 @@ export default {
type: "success",
duration: 2000,
});
this.accountDatelist.accountDate = "";
this.dialogFormVisible = false;
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
}
},
//
handleDelete(row){

18
vue/src/views/ux/vw/dataInput/hq_y_outorder/detail.vue

@ -141,7 +141,7 @@
size="small"
label-width="120px"
>
<el-form-item label="日期" prop="accountDate" required>
<el-form-item label="日期" prop="accountDate">
<el-date-picker
v-model="accountDatelist.accountDate"
type="date"
@ -400,6 +400,10 @@ export default {
},
print() {
this.dialogFormVisible = true;
},
handleCreateBillsEnd(row) {
this.dialogFormVisible = false;
this.getList();
},
//
handleCreateBills(row) {
@ -408,6 +412,15 @@ export default {
this.listOutPutQuery.guids = [];
this.listOutPutQuery.version = this.customerInfo.version;
this.listOutPutQuery.billNum = this.customerInfo.parentId;
if (this.accountDatelist.accountDate == "") {
this.$message({
message: "请选择日期!",
type: "warning",
});
this.getList();
return;
//this.getList();
} else {
if (this.accountDatelist != "") {
this.listOutPutQuery.accountDate = this.accountDatelist.accountDate;
}
@ -429,12 +442,15 @@ export default {
type: "success",
duration: 2000,
});
this.accountDatelist.accountDate = "";
this.dialogFormVisible = false;
this.getList();
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
}
},
//
handleDelete(row){

Loading…
Cancel
Save