Browse Source

2024.9.23 一、物料成本信息维护(第二版)

二、加工中心功能改造
三、标准工序(第三版)
四、商品组 - 标准工序(第三版)
五、商品组 - Process Time Matrix(第二版修正)
java8
yuejiayang 1 year ago
parent
commit
6aa850495e
  1. 24
      src/views/modules/part/partProductGroupInformation.vue

24
src/views/modules/part/partProductGroupInformation.vue

@ -287,15 +287,6 @@
:min-width="item.columnWidth"
:label="item.columnLabel">
<template slot-scope="scope">
<div v-if="item.columnProp === 'valueType'">
<span v-if="scope.row.valueType === 'text'">
文本
</span>
<span v-else-if="scope.row.valueType === 'num'">
数字
</span>
</div>
<div v-else>
<div v-if="item.columnProp !== 'textValue' && item.columnProp !== 'numValue'">
<span v-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>
@ -303,7 +294,6 @@
<div v-else>
{{ scope.row.textValue ? scope.row.textValue : scope.row.numValue }}
</div>
</div>
</template>
</el-table-column>
</el-table>
@ -377,26 +367,17 @@
:label="item.columnLabel"
>
<template slot-scope="scope">
<div v-if="item.columnProp === 'valueType'">
<span v-if="scope.row.valueType === 'text'">
文本
</span>
<span v-else-if="scope.row.valueType === 'num'">
数字
</span>
</div>
<div v-else>
<div v-if="item.columnProp !== 'textValue' && item.columnProp !== 'numValue'">
<span v-if="!item.columnHidden">{{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>
</div>
<div v-else>
<div v-if="scope.row.valueChooseFlag !== 'Y'">
<el-input-number v-model="scope.row.numValue" style="padding: 0;width: 100%" v-if="scope.row.valueType === 'num'" :controls="false"></el-input-number>
<el-input-number v-model="scope.row.numValue" style="padding: 0;width: 100%" v-if="scope.row.valueTypeDb === 'N'" :controls="false"></el-input-number>
<el-input v-model="scope.row.textValue" v-else></el-input>
</div>
<div v-else>
<el-select style="width: 100%;" v-if="scope.row.valueType === 'text'" v-model="scope.row.textValue">
<el-select style="width: 100%;" v-if="scope.row.valueTypeDb === 'T'" v-model="scope.row.textValue">
<el-option :value="i.availableValue" :label="i.availableValue" v-for="(i,key) in scope.row.availableValueList" :key="key"></el-option>
</el-select>
<el-select style="width: 100%;" v-else v-model="scope.row.numValue">
@ -404,7 +385,6 @@
</el-select>
</div>
</div>
</div>
</template>
</el-table-column>
</el-table>

Loading…
Cancel
Save