银行判分点数据修改

master
e 3 years ago
parent c5a605d7d4
commit b02929a0c6
  1. 8
      src/views/Transaction.vue

@ -147,7 +147,7 @@
> >
<el-option <el-option
v-for="(item, index) in scope.row.lcItems" v-for="(item, index) in scope.row.lcItems"
:key="index" :key="item.itemId"
:label="item.options" :label="item.options"
:value="item.itemId" :value="item.itemId"
></el-option> ></el-option>
@ -173,7 +173,7 @@
> >
<el-option <el-option
v-for="(item, index) in scope.row.lcItems" v-for="(item, index) in scope.row.lcItems"
:key="index" :key="item.subjectId"
:label="item.options" :label="item.options"
:value="item.subjectId" :value="item.subjectId"
></el-option> ></el-option>
@ -490,7 +490,7 @@ export default {
//(1 2 3 4 5) //(1 2 3 4 5)
if (item.type == 1 || item.type == 2) { if (item.type == 1 || item.type == 2) {
obj.subjectId = Number(item.emptyOne); obj.subjectId = Number(item.emptyOne);
obj.value1 = item.emptyTwo; obj.value1 = +item.emptyTwo;
} else if (item.type == 3) { } else if (item.type == 3) {
obj.subjectId = Number(item.emptyOne); obj.subjectId = Number(item.emptyOne);
obj.value1 = item.emptyTwo; obj.value1 = item.emptyTwo;
@ -540,7 +540,7 @@ export default {
console.log(obj) console.log(obj)
if (item.type == 1 || item.type == 2) { if (item.type == 1 || item.type == 2) {
obj.subjectId = Number(item.emptyOne); obj.subjectId = Number(item.emptyOne);
obj.value1 = item.emptyTwo; obj.value1 = +item.emptyTwo;
} else if (item.type == 3) { } else if (item.type == 3) {
obj.subjectId = Number(item.emptyOne); obj.subjectId = Number(item.emptyOne);
obj.value1 = item.emptyTwo; obj.value1 = item.emptyTwo;

Loading…
Cancel
Save