- 新购任务信息:
+
@@ -33,32 +33,10 @@
/>
-
-
+
-
-
-
- 保存
-
-
- 采购验收管理
-
-
+
@@ -103,7 +81,29 @@
/>
-
+
+
+
+ 保存
+
+
+ 采购验收管理
+
+
+
+
@@ -261,6 +260,11 @@ export default {
// this.reset();
// this.open = true;
// this.title = "添加字典类型";
+ },
+ /** 修改按钮操作 */
+ handleUpdate(row) {
+ let query = { taskId:row.taskId }
+ this.$router.replace({ path: "/store/newBuy/newDevicesArrival", query });
},
// 多选框选中数据
handleSelectionChange(selection) {
@@ -268,17 +272,17 @@ export default {
this.single = selection.length!=1
this.multiple = !selection.length
},
- /** 修改按钮操作 */
- handleUpdate(row) {
- this.$router.replace("/store/newBuy/newDevicesArrival");
- // this.reset();
- // const dictId = row.dictId || this.ids
- // getType(dictId).then(response => {
- // this.form = response.data;
- // this.open = true;
- // this.title = "修改字典类型";
- // });
- },
+ // /** 修改按钮操作 */
+ // handleUpdate(row) {
+ // this.$router.replace("/store/newBuy/newDevicesArrival");
+ // // this.reset();
+ // // const dictId = row.dictId || this.ids
+ // // getType(dictId).then(response => {
+ // // this.form = response.data;
+ // // this.open = true;
+ // // this.title = "修改字典类型";
+ // // });
+ // },
/** 提交按钮 */
submitForm: function() {
this.$refs["form"].validate(valid => {
diff --git a/sgzb-ui/src/views/store/shelves/shelvesList.vue b/sgzb-ui/src/views/store/shelves/shelvesList.vue
index 35279b11..a352a66c 100644
--- a/sgzb-ui/src/views/store/shelves/shelvesList.vue
+++ b/sgzb-ui/src/views/store/shelves/shelvesList.vue
@@ -66,7 +66,7 @@
v-hasPermi="['system:dept:edit']"
>编辑
-
-
+
+
@@ -148,7 +148,7 @@ export default {
data() {
return {
// 遮罩层
- loading: true,
+ loading: false,
// 显示搜索条件
showSearch: true,
// 表格树数据
@@ -172,7 +172,7 @@ export default {
form: {},
// 表单校验
rules: {
- deptId: [
+ parentId: [
{ required: true, message: "上级部门不能为空", trigger: "blur" }
],
houseName: [
@@ -181,13 +181,14 @@ export default {
sort: [
{ required: true, message: "显示排序不能为空", trigger: "blur" }
],
- phone: [
- {
- pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
- message: "请输入正确的手机号码",
- trigger: "blur"
- }
- ]
+ // phone: [
+ // { required: true, message: "手机号码不能为空", trigger: "blur" },
+ // // {
+ // // pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
+ // // message: "请输入正确的手机号码",
+ // // trigger: "blur"
+ // // }
+ // ]
}
};
},
@@ -200,7 +201,7 @@ export default {
this.loading = true;
listHouse(this.queryParams).then(response => {
console.log(response)
- this.houseList = this.handleTree(response.rows, "houseId");
+ this.houseList = this.handleTree(response.data, "houseId");
this.loading = false;
});
},
@@ -224,7 +225,7 @@ export default {
reset() {
this.form = {
houseId: undefined,
- deptId: undefined,
+ parentId: undefined,
houseName: undefined,
sort: undefined,
concat: undefined,
@@ -247,12 +248,12 @@ export default {
handleAdd(row) {
this.reset();
if (row != undefined) {
- this.form.deptId = row.houseId;
+ this.form.parentId = row.houseId;
}
this.open = true;
this.title = "新建";
listHouse().then(response => {
- this.deptOptions = this.handleTree(response.rows, "houseId");
+ this.deptOptions = this.handleTree(response.data, "houseId");
});
},
/** 展开/折叠操作 */
diff --git a/sgzb-ui/src/views/store/tools/devices.vue b/sgzb-ui/src/views/store/tools/devices.vue
index 7d6124f7..8002a483 100644
--- a/sgzb-ui/src/views/store/tools/devices.vue
+++ b/sgzb-ui/src/views/store/tools/devices.vue
@@ -274,6 +274,9 @@