Browse Source

添加主生产计划加减图标

pull/167/head
xuxiaoming 3 years ago
parent
commit
e86ed9541f
4 changed files with 18 additions and 2 deletions
  1. BIN
      src/assets/icon/add_icon.png
  2. BIN
      src/assets/icon/subtract_icon.png
  3. +1
    -1
      src/server/request.js
  4. +17
    -1
      src/views/productionPlanning/customerForecastDemandReview/demandPlanning/articleDemand/index.vue

BIN
src/assets/icon/add_icon.png View File

Before After
Width: 14  |  Height: 14  |  Size: 230 B

BIN
src/assets/icon/subtract_icon.png View File

Before After
Width: 14  |  Height: 14  |  Size: 195 B

+ 1
- 1
src/server/request.js View File

@ -2,7 +2,7 @@ import axios from "axios";
import { ElMessage } from "element-plus";
let switchValue = true;
// const baseURL = process.env.VUE_APP_BASE_URL || "http://101.201.121.115:9003/";
const baseURL = process.env.VUE_APP_BASE_URL || "http://192.168.0.98:9003/";
const baseURL = process.env.VUE_APP_BASE_URL || "http://192.168.0.89:9003/";
const service = axios.create({
baseURL,
timeout: 1000 * 60 * 2, // request timeout


+ 17
- 1
src/views/productionPlanning/customerForecastDemandReview/demandPlanning/articleDemand/index.vue View File

@ -127,6 +127,8 @@
v-model="scope.row[item]"
:disabled="item.charAt(item.length - 1) == '*'"
size="mini"></el-input>
<span v-else-if="scope.row[item] == '预测需求' || scope.row[item] == '订单需求' || scope.row[item] == '独立需求'">{{ scope.row[item] }} <div class="add_icon"></div> </span>
<span v-else-if="scope.row[item] == '在制量' || scope.row[item] == '期初库存' ">{{ scope.row[item] }} <div class="subtract_icon"></div> </span>
<span v-else>{{ scope.row[item] }}</span>
</template>
</el-table-column>
@ -640,7 +642,7 @@
.icon-upload {
width: 18px;
height: 18px;
background: url("../../../../../assets/icon/mps_button_icon.png");
background: url("~@/assets/icon/mps_button_icon.png");
float: left;
margin-left: 5px;
}
@ -688,6 +690,20 @@
margin-top: 10px;
width: 100%;
border: 0;
.add_icon{
margin-top:3px;
float:right;
width: 14px;
height: 14px;
background: url("~@/assets/icon/add_icon.png");
}
.subtract_icon{
margin-top:3px;
float:right;
width: 14px;
height: 14px;
background: url("~@/assets/icon/subtract_icon.png");
}
}
}
}

Loading…
Cancel
Save