Browse Source

11月14日 库存扣减更新

XMLWAN 3 years ago
parent
commit
e718373b4e

+ 38 - 19
src/xt_pages/data/printTemplate/prescriptionPrint.vue View File

10
     </p>
10
     </p>
11
     <el-row :gutter="20" type="flex" justify="center">
11
     <el-row :gutter="20" type="flex" justify="center">
12
         <el-col :span="6" style="text-align: center">
12
         <el-col :span="6" style="text-align: center">
13
-        <div
14
-            @click="imgClick('https://images.shengws.com/2020/12/3/admin_avatar_1606984919688.png')"
15
-        >
16
-            <el-tooltip
17
-            class="item"
18
-            effect="dark"
19
-            :hide-after="2000"
20
-            content="点击查看大图"
21
-            placement="top-start"
22
-            >
23
-            <el-image
24
-                style="width: 200px; height: 200px"
25
-                :src="require('@/assets/home/88.png')"
26
-            ></el-image>
13
+        <div v-if="org_id == 10243">
14
+          <div @click="imgClick('https://kuyi.shengws.com/dali.jpeg')">
15
+              <el-tooltip
16
+              class="item"
17
+              effect="dark"
18
+              :hide-after="2000"
19
+              content="点击查看大图"
20
+              placement="top-start"
21
+              >
22
+              <el-image
23
+                  style="width: 200px; height: 200px"
24
+                  :src="require('@/assets/home/88.png')"
25
+              ></el-image>
27
 
26
 
28
-            </el-tooltip>
27
+              </el-tooltip>
28
+          </div>
29
         </div>
29
         </div>
30
-        <el-radio v-model="radio" label="1" @change="change"
31
-            >模版一</el-radio
32
-        >
30
+        <div v-else>
31
+          <div @click="imgClick('https://images.shengws.com/2020/12/3/admin_avatar_1606984919688.png')">
32
+              <el-tooltip
33
+              class="item"
34
+              effect="dark"
35
+              :hide-after="2000"
36
+              content="点击查看大图"
37
+              placement="top-start"
38
+              >
39
+              <el-image
40
+                  style="width: 200px; height: 200px"
41
+                  :src="require('@/assets/home/88.png')"
42
+              ></el-image>
43
+
44
+              </el-tooltip>
45
+          </div>
46
+        </div>
47
+       
48
+        <el-radio v-model="radio" label="1" @change="change">模版一</el-radio>
33
         </el-col>
49
         </el-col>
34
     </el-row>
50
     </el-row>
35
  
51
  
80
       delay: 500,
96
       delay: 500,
81
       radio: 0,
97
       radio: 0,
82
       tempRadio: 0,
98
       tempRadio: 0,
83
-      loading: false
99
+      loading: false,
100
+      org_id:0,
84
     };
101
     };
85
   },
102
   },
86
   methods: {
103
   methods: {
138
     }
155
     }
139
   },
156
   },
140
   created() {
157
   created() {
158
+    this.org_id = this.$store.getters.xt_user.org.id
159
+    console.log("orgid23322332232323",this.org_id)
141
     this.getlist()
160
     this.getlist()
142
   }
161
   }
143
 };
162
 };

+ 1 - 0
src/xt_pages/supply/goodreturn.vue View File

326
        this.$router.push({path:"/good/return/edit?id="+id})
326
        this.$router.push({path:"/good/return/edit?id="+id})
327
      },
327
      },
328
      toClickOne(val,index){
328
      toClickOne(val,index){
329
+       console.log("val323232323232",val)
329
        if(val.is_check == 1){
330
        if(val.is_check == 1){
330
          this.$message.error("已审核单据,不能删除!")
331
          this.$message.error("已审核单据,不能删除!")
331
          return false
332
          return false