北鸣对接T+畅捷通,看板前端
loulijun2021
2024-03-26 eb2622b27b78f372d8e89ad7afde56c79532ac98
1.仓库看板字段修改
已修改2个文件
72 ■■■■ 文件已修改
src/views/kb/warehouse.vue 68 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/kb/warehouse.vue
@@ -113,7 +113,7 @@
                  width="160"
                >
                  <template slot-scope="{row}">
                    <div v-if="row.totalStockInQuantity">{{ row.totalStockInQuantity }}</div>
                    <div v-if="row.countInQuantity">{{ row.countInQuantity }}</div>
                    <div v-else>0</div>
                  </template>
                </el-table-column>
@@ -157,22 +157,26 @@
                </el-table-column>
                <el-table-column
                  prop="customecode"
                  label="客户编码"
                  width="200"
                />
                <el-table-column
                  prop="customename"
                  label="客户名称"
                  width="330"
                >
                  <template slot-scope="{row}">
                    <div class="ellipsis">{{ row.customename }}</div>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="materiel_name"
                  label="产品名称"
                  width="258"
                >
                  <template slot-scope="{row}">
                    <div v-if="row.materiel_name" class="ellipsis">{{ row.materiel_name }}</div>
                  </template>
                </el-table-column>
                <el-table-column
                  prop="specification"
                  label="规格型号"
                  width="200"
                >
                  <template slot-scope="{row}">
                    <div v-if="row.specification" class="ellipsis">{{ row.specification }}</div>
                    <div v-else>/</div>
                  </template>
                </el-table-column>
                <el-table-column
@@ -195,27 +199,27 @@
                  </template>
                </el-table-column>
                <el-table-column
                  prop="deliveryDate"
                  label="预计交付日期"
                  width="200"
                >
                  <template slot-scope="{row}">
                    <div v-if="row.deliveryDate">{{ row.deliveryDate.substring(0,10) }}</div>
                    <div v-else>/</div>
                  </template>
                </el-table-column>
                <!--                <el-table-column-->
                <!--                  prop="deliveryDate"-->
                <!--                  label="预计交付日期"-->
                <!--                  width="200"-->
                <!--                >-->
                <!--                  <template slot-scope="{row}">-->
                <!--                    <div v-if="row.deliveryDate">{{ row.deliveryDate.substring(0,10) }}</div>-->
                <!--                    <div v-else>/</div>-->
                <!--                  </template>-->
                <!--                </el-table-column>-->
                <el-table-column
                  prop="warning"
                  label="延期天数"
                  width="130"
                >
                  <template slot-scope="{row}">
                    <div v-if="row.warning">{{ row.warning }}</div>
                    <div v-else>/</div>
                  </template>
                </el-table-column>
                <!--                <el-table-column-->
                <!--                  prop="warning"-->
                <!--                  label="延期天数"-->
                <!--                  width="130"-->
                <!--                >-->
                <!--                  <template slot-scope="{row}">-->
                <!--                    <div v-if="row.warning">{{ row.warning }}</div>-->
                <!--                    <div v-else>/</div>-->
                <!--                  </template>-->
                <!--                </el-table-column>-->
              </el-table>
            </div>
          </div>
@@ -235,7 +239,7 @@
          <div style="height: 470px;margin-top: 30px;">
            <div class="smallTitle">
              <svg-icon icon-class="ph" class="svg_class" />
              近一周销售待发货产品排行Top5
              近一周销售已发货产品排行Top5
            </div>
            <div class="lineContent horn" style="height: 410px">
              <div id="bar04" style="width: 100%;height:100%;" />
vue.config.js
@@ -39,8 +39,8 @@
    },
    proxy: {
      [process.env.VUE_APP_BASE_API]: {
        // target: 'http://121.196.36.24:8029', // 请求的第三⽅接⼝地址       本地开发服务器
        target: 'http://192.168.0.111:8001', // 请求的第三⽅接⼝地址       客户服务器
        target: 'http://121.196.36.24:8029', // 请求的第三⽅接⼝地址       本地开发服务器
        // target: 'http://192.168.0.111:8001', // 请求的第三⽅接⼝地址       客户服务器
        changeOrigin: true, // 请求跨域时,需 配置此项
        pathRewrite: { // 路径重写,替换target中的请求地址
          ['^' + process.env.VUE_APP_BASE_API]: '/api/'