Browse Source

仓库管理

mainqaq 3 years ago
parent
commit
8791ddb2e3

+ 1 - 1
src/xt_pages/stock/warehouseManage/query.vue View File

@@ -18,7 +18,7 @@
18 18
             style="width: 200px; margin-left: 10px"
19 19
             class="filter-item"
20 20
             v-model.trim="keyword"
21
-            placeholder="药品名称"
21
+            placeholder=""
22 22
           />
23 23
           <el-button
24 24
             size="small"

+ 1 - 6
src/xt_pages/stock/warehouseManage/waresetting.vue View File

@@ -100,7 +100,7 @@ export default {
100 100
       },
101 101
     initData() {
102 102
       let params = {};
103
-      //请求分页接口
103
+      //获取当前机构的所有可用仓库名称接口
104 104
       getallstorehousename(params).then((response) => {
105 105
         if (response.data.state == 1) {
106 106
           this.options = response.data.data.list;
@@ -114,7 +114,6 @@ export default {
114 114
           this.h2 = response.data.data.storehouse_out_info;
115 115
           this.h3 = response.data.data.drug_storehouse_info;
116 116
           this.h4 = response.data.data.drug_storehouse_out;
117
-          console.log("h1",this.h1)
118 117
         }
119 118
       });
120 119
     },
@@ -135,7 +134,6 @@ export default {
135 134
       let params = {
136 135
         id:h1
137 136
       };
138
-      //请求分页接口
139 137
       updateinfo(params).then((response) => {
140 138
         if (response.data.state == 1) {
141 139
           this.$message.success("修改成功");
@@ -146,7 +144,6 @@ export default {
146 144
       let params = {
147 145
         id:h2
148 146
       };
149
-      //请求分页接口
150 147
       updateoutinfo(params).then((response) => {
151 148
         if (response.data.state == 1) {
152 149
           this.$message.success("修改成功");
@@ -157,7 +154,6 @@ export default {
157 154
       let params = {
158 155
         id:h3
159 156
       };
160
-      //请求分页接口
161 157
       updatedruginfo(params).then((response) => {
162 158
         if (response.data.state == 1) {
163 159
           this.$message.success("修改成功");
@@ -168,7 +164,6 @@ export default {
168 164
       let params = {
169 165
         id:h4
170 166
       };
171
-      //请求分页接口
172 167
       updatedrugout(params).then((response) => {
173 168
         if (response.data.state == 1) {
174 169
           this.$message.success("修改成功");