瀏覽代碼

BUG修复

seimin 3 年之前
父節點
當前提交
a00f81595c
共有 2 個文件被更改,包括 718 次插入862 次删除
  1. 706 861
      pages/scanning_code/scanning_code.vue
  2. 12 1
      pages/scanning_djEnd/scanning_djEnd.vue

文件差異過大導致無法顯示
+ 706 - 861
pages/scanning_code/scanning_code.vue


+ 12 - 1
pages/scanning_djEnd/scanning_djEnd.vue

@@ -171,7 +171,6 @@
171 171
     methods: {
172 172
       // 确定
173 173
       ok() {
174
-        this.models.disjunctor = false;
175 174
         if (this.modelFlag === "complete") {
176 175
           //完成扫描
177 176
           let postType = "";
@@ -184,7 +183,13 @@
184 183
             type: this.queryObj.type1,
185 184
             ids: this.wcId,
186 185
           };
186
+          uni.showLoading({
187
+            title: '加载中',
188
+            mask: true,
189
+          });
187 190
           post("/workerOrder/" + postType, data).then((res) => {
191
+            uni.hideLoading();
192
+            this.models.disjunctor = false;
188 193
             if (res.status == 200) {
189 194
               uni.reLaunch({
190 195
                 url: "../receiptpage/receiptpage",
@@ -199,7 +204,13 @@
199 204
         } else if (this.modelFlag === "complete1") {
200 205
           //1对1标本完成工单
201 206
           let ids = this.wcId;
207
+          uni.showLoading({
208
+            title: '加载中',
209
+            mask: true,
210
+          });
202 211
           post("/workerOrder/finishSpeOrder", ids).then((res) => {
212
+            uni.hideLoading();
213
+            this.models.disjunctor = false;
203 214
             if (res.status == 200) {
204 215
               uni.reLaunch({
205 216
                 url: "../receiptpage/receiptpage",