mainqaq 3 gadus atpakaļ
vecāks
revīzija
8791ddb2e3

+ 1 - 1
src/xt_pages/stock/warehouseManage/query.vue Parādīt failu

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

+ 1 - 6
src/xt_pages/stock/warehouseManage/waresetting.vue Parādīt failu

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