北鸣对接T+畅捷通,看板前端
loulijun2021
2023-11-27 4434d61f88b65f87d45b29975a76eaf966f0f0de
1.优化
已修改2个文件
50 ■■■■ 文件已修改
src/views/kb/procure.vue 48 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/kb/procure.vue
@@ -53,15 +53,15 @@
                    <div class="ellipsis">{{ row.wo }}</div>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="wkshp_name"
                  label="生产车间"
                  width="105"
                >
                  <template slot-scope="{row}">
                    <div class="ellipsis">{{ row.wkshp_name }}</div>
                  </template>
                </el-table-column>
                <!--                <el-table-column-->
                <!--                  prop="wkshp_name"-->
                <!--                  label="生产车间"-->
                <!--                  width="105"-->
                <!--                >-->
                <!--                  <template slot-scope="{row}">-->
                <!--                    <div class="ellipsis">{{ row.wkshp_name }}</div>-->
                <!--                  </template>-->
                <!--                </el-table-column>-->
                <el-table-column
                  prop="saleOrderCode"
                  label="销售订单号"
@@ -84,7 +84,7 @@
                <el-table-column
                  prop="materiel_name"
                  label="产品名称"
                  width="180"
                  width="285"
                >
                  <template slot-scope="{row}">
                    <div class="ellipsis">{{ row.materiel_name }}</div>
@@ -93,7 +93,7 @@
                <el-table-column
                  prop="specification"
                  label="规格型号"
                  width="136"
                  width="216"
                >
                  <template slot-scope="{row}">
                    <div v-if="row.specification" class="ellipsis">{{ row.specification }}</div>
@@ -103,7 +103,7 @@
                <el-table-column
                  prop="stck_name"
                  label="预入仓库"
                  width="100"
                  width="120"
                >
                  <template slot-scope="{row}">
                    <div v-if="row.stck_name" class="ellipsis">{{ row.stck_name }}</div>
@@ -113,12 +113,12 @@
                <el-table-column
                  prop="quantity"
                  label="数量"
                  width="63"
                  width="83"
                />
                <el-table-column
                  prop="totalStockInQuantity"
                  label="已入库数量"
                  width="100"
                  width="120"
                >
                  <template slot-scope="{row}">
                    <div v-if="row.totalStockInQuantity">{{ row.totalStockInQuantity }}</div>
@@ -140,16 +140,16 @@
                <!--                      <div v-else />-->
                <!--                    </template>-->
                <!--                  </el-table-column>-->
                <el-table-column
                  prop="preFinishDate"
                  label="预计入库"
                  width="140"
                >
                  <template slot-scope="{row}">
                    <div v-if="row.preFinishDate">{{ row.preFinishDate.substring(0, 10) }}</div>
                    <div v-else />
                  </template>
                </el-table-column>
                <!--                <el-table-column-->
                <!--                  prop="preFinishDate"-->
                <!--                  label="预计入库"-->
                <!--                  width="140"-->
                <!--                >-->
                <!--                  <template slot-scope="{row}">-->
                <!--                    <div v-if="row.preFinishDate">{{ row.preFinishDate.substring(0, 10) }}</div>-->
                <!--                    <div v-else />-->
                <!--                  </template>-->
                <!--                </el-table-column>-->
              </el-table>
            </div>
          </div>
vue.config.js
@@ -40,7 +40,7 @@
    proxy: {
      [process.env.VUE_APP_BASE_API]: {
        target: 'http://121.196.36.24:8025', // 请求的第三⽅接⼝地址       本地开发服务器
        // target: 'http://192.168.94.59:8001', // 请求的第三⽅接⼝地址       客户服务器
        // target: 'http://192.168.110.230:8001', // 请求的第三⽅接⼝地址       客户服务器
        changeOrigin: true, // 请求跨域时,需 配置此项
        pathRewrite: { // 路径重写,替换target中的请求地址
          ['^' + process.env.VUE_APP_BASE_API]: '/api/'