|
@@ -139,6 +139,7 @@ import { mapGetters } from "vuex";
|
|
|
import emptyComponent from "@/components/empty";
|
|
import emptyComponent from "@/components/empty";
|
|
|
import { ghsList } from "@/api/purchase";
|
|
import { ghsList } from "@/api/purchase";
|
|
|
import { changeDelStatus } from "@/api/ghs";
|
|
import { changeDelStatus } from "@/api/ghs";
|
|
|
|
|
+import { hasNotice } from "@/api/admin";
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
emptyComponent
|
|
emptyComponent
|
|
@@ -259,6 +260,15 @@ export default {
|
|
|
this.supplierList = res.data.list
|
|
this.supplierList = res.data.list
|
|
|
this.ad = res.data.ad ? res.data.ad : []
|
|
this.ad = res.data.ad ? res.data.ad : []
|
|
|
this.showAd = res.data.showAd ? res.data.showAd : 0
|
|
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=>{
|
|
|
|
|
+ })
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
settleAccounts (item) {
|
|
settleAccounts (item) {
|