Browse Source

修改界面

branch_ccpg_220107
佐 张 3 years ago
parent
commit
4ab72126f6
  1. 70
      vue/src/views/ux/billManage/InvoiceSettledDetailDiff/index.vue
  2. 66
      vue/src/views/ux/billManage/kanBanWithCode/index.vue
  3. 66
      vue/src/views/ux/billManage/sparePart/index.vue

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

@ -35,6 +35,14 @@
@click="handleCreateBills()" @click="handleCreateBills()"
>生成出库单(支持批量)</el-button >生成出库单(支持批量)</el-button
> >
<el-button
class="filter-item"
type="success"
icon="el-icon-check"
size="mini"
@click="handleConfirm()"
>已确认</el-button
>
</flexbox> </flexbox>
</div> </div>
<!-- 刷新 --> <!-- 刷新 -->
@ -395,6 +403,7 @@
<el-form-item prop="materialGroupValue"> <el-form-item prop="materialGroupValue">
<el-select <el-select
v-model="formCount.materialGroupValue" v-model="formCount.materialGroupValue"
class="my-el-select"
style="width: 350px;margin-right: 15px" style="width: 350px;margin-right: 15px"
size="medium" size="medium"
multiple multiple
@ -883,17 +892,65 @@ export default {
prop: "remark", prop: "remark",
width: 220, width: 220,
}); });
// tempsTabs.push({ tempsTabs.push({
// label: "", label: "状态",
// prop: "stateName", prop: "FileName",
// width: 100, width: 100,
// }); });
return tempsTabs; return tempsTabs;
}, },
}, },
methods: { methods: {
handleSelectionChange(val) { handleSelectionChange(val) {
this.multipleSelection = val; this.multipleSelection = val;
},
handleConfirm(row){
if (this.multipleSelection.length == 0) {
this.$message({
message: "至少选择一行!",
type: "warning",
});
return;
}
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.$confirm("是否确认" + myalert + "?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.$axios
.posts("/api/settleaccount/wms/WmsJitOutPut", params)
.then((response) => {
const index = this.list.indexOf(row);
this.$notify({
title: "成功",
message: "生成成功",
type: "success",
duration: 2000,
});
this.getList();
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消操作",
});
});
}, },
// //
handleCreateBills(row){ handleCreateBills(row){
@ -1417,7 +1474,6 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "../../styles/crmtable.scss"; @import "../../styles/crmtable.scss";
@import "../../styles/steps.scss"; @import "../../styles/steps.scss";
@ -1428,4 +1484,4 @@ export default {
border: 0px; border: 0px;
box-shadow: none !important; box-shadow: none !important;
} }
</style> </style>

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

@ -35,6 +35,14 @@
@click="handleCreateBills()" @click="handleCreateBills()"
>生成出库单(支持批量)</el-button >生成出库单(支持批量)</el-button
> >
<el-button
class="filter-item"
type="success"
icon="el-icon-check"
size="mini"
@click="handleConfirm()"
>已确认</el-button
>
</flexbox> </flexbox>
</div> </div>
<!-- 刷新 --> <!-- 刷新 -->
@ -756,11 +764,11 @@ export default {
// prop: "actionName", // prop: "actionName",
// width: 120, // width: 120,
// }); // });
// tempsTabs.push({ tempsTabs.push({
// label: "", label: "状态",
// prop: "stateName", prop: "FileName",
// width: 100, width: 100,
// }); });
return tempsTabs; return tempsTabs;
}, },
}, },
@ -817,6 +825,54 @@ export default {
}); });
}); });
}, },
handleConfirm(row){
if (this.multipleSelection.length == 0) {
this.$message({
message: "至少选择一行!",
type: "warning",
});
return;
}
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.$confirm("是否确认" + myalert + "?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.$axios
.posts("/api/settleaccount/wms/WmsJitOutPut", params)
.then((response) => {
const index = this.list.indexOf(row);
this.$notify({
title: "成功",
message: "生成成功",
type: "success",
duration: 2000,
});
this.getList();
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消操作",
});
});
},
// //
handleCreateBills(row) { handleCreateBills(row) {
if (this.multipleSelection.length == 0) { if (this.multipleSelection.length == 0) {

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

@ -35,6 +35,14 @@
@click="handleCreateBills()" @click="handleCreateBills()"
>生成出库单(支持批量)</el-button >生成出库单(支持批量)</el-button
> >
<el-button
class="filter-item"
type="success"
icon="el-icon-check"
size="mini"
@click="handleConfirm()"
>已确认</el-button
>
</flexbox> </flexbox>
</div> </div>
<!-- 刷新 --> <!-- 刷新 -->
@ -743,11 +751,11 @@ export default {
// prop: "actionName", // prop: "actionName",
// width: 120, // width: 120,
// }); // });
// tempsTabs.push({ tempsTabs.push({
// label: "", label: "状态",
// prop: "stateName", prop: "FileName",
// width: 100, width: 100,
// }); });
return tempsTabs; return tempsTabs;
}, },
}, },
@ -804,6 +812,54 @@ export default {
}); });
}); });
}, },
handleConfirm(row){
if (this.multipleSelection.length == 0) {
this.$message({
message: "至少选择一行!",
type: "warning",
});
return;
}
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.$confirm("是否确认" + myalert + "?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
this.$axios
.posts("/api/settleaccount/wms/WmsJitOutPut", params)
.then((response) => {
const index = this.list.indexOf(row);
this.$notify({
title: "成功",
message: "生成成功",
type: "success",
duration: 2000,
});
this.getList();
});
})
.catch(() => {
this.$message({
type: "info",
message: "已取消操作",
});
});
},
// //
handleCreateBills(row) { handleCreateBills(row) {
if (this.multipleSelection.length == 0) { if (this.multipleSelection.length == 0) {

Loading…
Cancel
Save