diff --git a/config/app.js b/config/app.js index 313fd1e..dea5d28 100644 --- a/config/app.js +++ b/config/app.js @@ -3,9 +3,9 @@ let WSS_URL import store from "@/store/user.js" // 环境 // let env = "dev" -let env = "prod" +// let env = "prod" // let env = "release"; -// let env = "local"; +let env = "local"; switch (env) { case 'dev': @@ -17,7 +17,7 @@ switch (env) { WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' break; case 'local': - BASE_URL = 'http://192.168.1.7:8545'; + BASE_URL = 'http://192.168.1.22:8545'; WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' break; default: diff --git a/pageQuota/purchase_product_offer/index.vue b/pageQuota/purchase_product_offer/index.vue index d669db7..d9023f0 100644 --- a/pageQuota/purchase_product_offer/index.vue +++ b/pageQuota/purchase_product_offer/index.vue @@ -37,7 +37,7 @@ 确认已采购 {{item.buyer_confirm_name}} + disabled>{{item.buyer_confirm_name}}/{{item.update_time}} @@ -60,11 +60,16 @@ - + + + - + @@ -90,7 +95,8 @@ }) } const show = ref(false) - const pickerShow=ref(false) + const pickerText = ref('') + const pickerShow = ref(false) const formData = ref({ "id": '', "store_name": '', @@ -98,7 +104,7 @@ 'nums': '', 'price': '', 'total_price': '', - 'outbound_price':'' + 'outbound_price': '' }) // tabsindex const tabIndex = ref(1) @@ -149,14 +155,15 @@ getGoodsList() } const columns = ref([]); - const pickerConfirm=(e)=>{ - pickerShow.value=false - let outbound_price=(formData.value.price*e.value[0].value) - formData.value.outbound_price=(parseInt(formData.value.price)+outbound_price).toFixed(2) + const pickerConfirm = (e) => { + pickerShow.value = false + let outbound_price = (formData.value.price * e.value[0].value) + pickerText.value=e.value[0].name + formData.value.outbound_price = (parseInt(formData.value.price) + outbound_price).toFixed(2) } - const OutboundFloatingLv=()=>{ - purchaseProductOfferOutboundFloatingLv().then(res=>{ - columns.value=res.data + const OutboundFloatingLv = () => { + purchaseProductOfferOutboundFloatingLv().then(res => { + columns.value = res.data }) } getGoodsList()