Browse Source

修改界面

branch_ccpg_220107
佐 张 3 years ago
parent
commit
4ab72126f6
  1. 68
      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

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

@ -35,6 +35,14 @@
@click="handleCreateBills()"
>生成出库单(支持批量)</el-button
>
<el-button
class="filter-item"
type="success"
icon="el-icon-check"
size="mini"
@click="handleConfirm()"
>已确认</el-button
>
</flexbox>
</div>
<!-- 刷新 -->
@ -395,6 +403,7 @@
<el-form-item prop="materialGroupValue">
<el-select
v-model="formCount.materialGroupValue"
class="my-el-select"
style="width: 350px;margin-right: 15px"
size="medium"
multiple
@ -883,17 +892,65 @@ export default {
prop: "remark",
width: 220,
});
// tempsTabs.push({
// label: "",
// prop: "stateName",
// width: 100,
// });
tempsTabs.push({
label: "状态",
prop: "FileName",
width: 100,
});
return tempsTabs;
},
},
methods: {
handleSelectionChange(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){
@ -1417,7 +1474,6 @@ export default {
};
</script>
<style lang="scss" scoped>
@import "../../styles/crmtable.scss";
@import "../../styles/steps.scss";

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

@ -35,6 +35,14 @@
@click="handleCreateBills()"
>生成出库单(支持批量)</el-button
>
<el-button
class="filter-item"
type="success"
icon="el-icon-check"
size="mini"
@click="handleConfirm()"
>已确认</el-button
>
</flexbox>
</div>
<!-- 刷新 -->
@ -756,11 +764,11 @@ export default {
// prop: "actionName",
// width: 120,
// });
// tempsTabs.push({
// label: "",
// prop: "stateName",
// width: 100,
// });
tempsTabs.push({
label: "状态",
prop: "FileName",
width: 100,
});
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) {
if (this.multipleSelection.length == 0) {

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

@ -35,6 +35,14 @@
@click="handleCreateBills()"
>生成出库单(支持批量)</el-button
>
<el-button
class="filter-item"
type="success"
icon="el-icon-check"
size="mini"
@click="handleConfirm()"
>已确认</el-button
>
</flexbox>
</div>
<!-- 刷新 -->
@ -743,11 +751,11 @@ export default {
// prop: "actionName",
// width: 120,
// });
// tempsTabs.push({
// label: "",
// prop: "stateName",
// width: 100,
// });
tempsTabs.push({
label: "状态",
prop: "FileName",
width: 100,
});
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) {
if (this.multipleSelection.length == 0) {

Loading…
Cancel
Save