|
|
@@ -290,7 +290,7 @@ import { ghsList } from "@/api/purchase";
|
|
|
import { changeDelStatus } from "@/api/ghs";
|
|
|
import {currentShop} from "@/api/shop";
|
|
|
import { openPfFn } from "@/api/apply";
|
|
|
-import { clearLogin } from "@/api/admin";
|
|
|
+import { clearLogin,hasNotice } from "@/api/admin";
|
|
|
export default {
|
|
|
name: "workbench",
|
|
|
components: { NotLogin,emptyComponent },
|
|
|
@@ -572,6 +572,15 @@ export default {
|
|
|
this.supplierList = res.data.list
|
|
|
this.ad = res.data.ad ? res.data.ad : []
|
|
|
this.showAd = res.data.showAd ? res.data.showAd : 0
|
|
|
+
|
|
|
+ let needNotice = res.data.needNotice ? res.data.needNotice : 0
|
|
|
+ if(needNotice == 1){
|
|
|
+ this.$util.confirmModal({content:'你已有多个供货商,下单时注意区别,不要下错了哦',okText:'知道了'},() => {
|
|
|
+ hasNotice().then(res=>{
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
goGd(){
|