Browse Source

1

dev-warehouse
zhangsiyu 1 year ago
parent
commit
e0670775da
  1. 19
      src/views/distribution/inventory/distributionStockArticle.vue
  2. 2
      vite.config.js

19
src/views/distribution/inventory/distributionStockArticle.vue

@ -1,6 +1,12 @@
<template> <template>
<basic-container> <basic-container>
<div class="avue-crud"> <div class="avue-crud">
<div class="maxbox">
<el-button class="itemtype" type="primary">商配</el-button>
<el-button class="itemtype" type="primary">市配</el-button>
<el-button class="itemtype" type="primary">自提</el-button>
<el-button class="itemtype" type="primary">全部</el-button>
</div>
<el-row :hidden="!search" style="padding:6px 18px"> <el-row :hidden="!search" style="padding:6px 18px">
<!-- 查询模块 --> <!-- 查询模块 -->
<el-form :inline="true" :model="query"> <el-form :inline="true" :model="query">
@ -507,7 +513,18 @@ export default {
} }
}; };
</script> </script>
<style scoped> <style lang="scss" scoped>
.maxbox{
display: flex;
justify-content: space-between;
.itemtype{
max-width: 490px;
width: 20%;
min-width: 150px;
height: 70px;
}
}
.el-button--text { .el-button--text {
margin-right: 15px; margin-right: 15px;
} }

2
vite.config.js

@ -12,7 +12,7 @@ export default ({ mode, command }) => {
port: 2888, port: 2888,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://192.168.2.110:9999', target: 'http://192.168.2.11:8889',
//target: 'http://test3.javablade.com', //target: 'http://test3.javablade.com',
changeOrigin: true, changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''), rewrite: path => path.replace(/^\/api/, ''),

Loading…
Cancel
Save