diff --git a/src/views/system/dept/authDept.vue b/src/views/system/dept/authDept.vue
index 943f114e..5b88f104 100644
--- a/src/views/system/dept/authDept.vue
+++ b/src/views/system/dept/authDept.vue
@@ -542,6 +542,7 @@ export default {
this.formVisible = false;
// 刷新表单
this.$refs["dataForm"].resetFields();
+ this.getList();
},
deleteDialog(row) {
this.$confirm("是否删除该部门?", "提示", {
diff --git a/src/views/system/dept/invWarehouse.vue b/src/views/system/dept/invWarehouse.vue
index 7605e5b0..817816fb 100644
--- a/src/views/system/dept/invWarehouse.vue
+++ b/src/views/system/dept/invWarehouse.vue
@@ -9,13 +9,6 @@
placeholder="仓库名称"
>
-
-
-
-
-
-
-
重置
diff --git a/src/views/system/param/busTypePre.vue b/src/views/system/param/busTypePre.vue
index 7f9ca058..0487efae 100644
--- a/src/views/system/param/busTypePre.vue
+++ b/src/views/system/param/busTypePre.vue
@@ -6,12 +6,14 @@
@@ -128,10 +130,9 @@ export default {
loading: false,
formMap: {
add: "新增单据流转设置",
- update: "编辑单据流转设置",
+ edit: "编辑单据流转设置",
},
formName: null,
-
};
},
@@ -178,7 +179,6 @@ export default {
this.filterQuery.page = val;
this.getList();
},
-
onAddSubmit() {
if (isBlank(this.inputQuery.originAction)) {
this.$message.error("原单据类型不能为空!");
@@ -192,10 +192,10 @@ export default {
this.$message.error("目标所在仓库不能为空!")
return;
}
- // if (isBlank(this.inputQuery.defaultInvCode)) {
- // this.$message.error("目标往来仓库不能为空");
- // return;
- // }
+ if (!isBlank(this.inputQuery.beforeTime) && this.inputQuery.beforeTime < 0) {
+ this.$message.error("推移时间不能小于0!");
+ return;
+ }
if (this.formName === "add") {
let numRegExp = '^[0-9]*$';
@@ -210,13 +210,8 @@ export default {
this.loading = false;
this.cancelDialog();
this.getList();
- } else {
- this.$message.error(res.message);
}
- }).catch((error) => {
- this.loading = false;
- this.$message.error(error.message);
- this.cancelDialog();
+ }).catch(() => {
});
} else {
updateBusTypePre(this.inputQuery).then((res) => {
@@ -252,6 +247,7 @@ export default {
},
handleModifyClick(row) {
+ this.formName = 'edit';
this.inputQuery = row;
this.modifyDialogVisible = true;
},
diff --git a/src/views/system/param/busTypePreModify.vue b/src/views/system/param/busTypePreModify.vue
index 9293ab94..6cea57ca 100644
--- a/src/views/system/param/busTypePreModify.vue
+++ b/src/views/system/param/busTypePreModify.vue
@@ -74,8 +74,12 @@
+ type="number"
+ placeholder="请输入内容"
+ v-model="inputQuery.beforeTime"
+ onkeyup="this.value=this.value.replace(/\D/g,'')"
+ onafterpaste="this.value=this.value.replace(/\D/g,'')"
+ >
@@ -107,7 +111,8 @@