|
|
|
@ -87,6 +87,7 @@ export default { |
|
|
|
remark:undefined, |
|
|
|
unitCost:0, |
|
|
|
totalCost:0, |
|
|
|
status:"N", |
|
|
|
}, |
|
|
|
selectionTestSoBomList:[], |
|
|
|
testSoBomColumnList:[{ |
|
|
|
@ -398,6 +399,7 @@ export default { |
|
|
|
this.testSoBom.partDesc = row.partDesc; |
|
|
|
this.testSoBom.umId = row.umId; |
|
|
|
this.testSoBom.unitCost = row.standardCost; |
|
|
|
this.testSoBom.status = row.status; |
|
|
|
this.partDialogFlag = false; |
|
|
|
}, |
|
|
|
testSoBomClickRow(row,column){ |
|
|
|
@ -689,7 +691,7 @@ export default { |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="单价" prop="unitCost"> |
|
|
|
<el-input-number @input="computeTotalCost" style="width: 100%;margin-top: -5px;" :min="0" v-model="testSoBom.unitCost" :controls="false"></el-input-number> |
|
|
|
<el-input-number @input="computeTotalCost" :disabled="testSoBom.status === 'N'" style="width: 100%;margin-top: -5px;" :min="0" v-model="testSoBom.unitCost" :controls="false"></el-input-number> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<!-- <el-col :span="8">--> |
|
|
|
|