|
|
|
@ -173,7 +173,8 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="总成本(元)" > |
|
|
|
<el-input v-field="accessField('10601001')" v-model="currentRow.allCost" readonly></el-input> |
|
|
|
<el-input v-if="accessField('10601001')" v-model="currentRow.allCost" readonly></el-input> |
|
|
|
<el-input v-if="!accessField('10601001')" v-model="valueNull" style="width: 130px" disabled></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -208,7 +209,8 @@ |
|
|
|
<el-input v-model="dataForm.applySumQty" style="width: 130px" disabled></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'总成本'"> |
|
|
|
<el-input v-field="accessField('10601001')" v-model="dataForm.totalCost" style="width: 130px" disabled></el-input> |
|
|
|
<el-input v-if="accessField('10601001')" v-model="dataForm.totalCost" style="width: 130px" disabled></el-input> |
|
|
|
<el-input v-if="!accessField('10601001')" v-model="valueNull" style="width: 130px" disabled></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'申请人'" required="required"> |
|
|
|
<el-input v-model="dataForm.applyBy" style="width: 130px" disabled></el-input> |
|
|
|
@ -278,8 +280,9 @@ |
|
|
|
style="width: 100px; height: 80px"/></span> |
|
|
|
</div> |
|
|
|
<div v-else-if=" (item.columnProp === 'standardCost')"> |
|
|
|
<el-input v-model="scope.row.standardCost" type="number" @change="changeSum(scope.row)" placeholder="请输入成本" |
|
|
|
<el-input v-if="accessField('10601001')" v-model="scope.row.standardCost" type="number" @change="changeSum(scope.row)" placeholder="请输入成本" |
|
|
|
style="width:98%"></el-input> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<el-input v-model="scope.row.applyQty" type="number" @change="changeSum(scope.row)" placeholder="请输入数量" onkeyup="value=value.replace(/^(0+)|[^\d]+/g,'')" |
|
|
|
@ -354,7 +357,8 @@ |
|
|
|
<el-input v-model="dataForm.applySumQty" style="width: 130px" disabled></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'总成本'"> |
|
|
|
<el-input v-field="accessField('10601001')" v-model="dataForm.totalCost" style="width: 130px" disabled></el-input> |
|
|
|
<el-input v-if="accessField('10601001')" v-model="dataForm.totalCost" style="width: 130px" disabled></el-input> |
|
|
|
<el-input v-if="!accessField('10601001')" v-model="valueNull" style="width: 130px" disabled></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="'申请人'" required="required"> |
|
|
|
<el-input v-model="dataForm.applyBy" style="width: 130px" disabled></el-input> |
|
|
|
@ -424,7 +428,7 @@ |
|
|
|
style="width: 100px; height: 80px"/></span> |
|
|
|
</div> |
|
|
|
<div v-else-if=" (item.columnProp === 'standardCost')"> |
|
|
|
<el-input v-model="scope.row.standardCost" type="number" @change="changeSum(scope.row)" placeholder="请输入成本" |
|
|
|
<el-input v-if="accessField('10601001')" v-model="scope.row.standardCost" type="number" @change="changeSum(scope.row)" placeholder="请输入成本" |
|
|
|
style="width:98%"></el-input> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
@ -467,7 +471,8 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="总成本(元)" > |
|
|
|
<el-input v-field="accessField('10601001')" v-model="modelData.allCost" type="number" :disabled="$store.state.user.name!==dataForm.purchaser"></el-input> |
|
|
|
<el-input v-if="accessField('10601001')" v-model="modelData.allCost" type="number" :disabled="$store.state.user.name!==dataForm.purchaser"></el-input> |
|
|
|
<el-input v-if="!accessField('10601001')" v-model="valueNull" style="width: 130px" disabled></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -521,7 +526,8 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="总成本(元)" > |
|
|
|
<el-input v-field="accessField('10601001')" v-model="modelData.allCost" type="number" ></el-input> |
|
|
|
<el-input v-if="accessField('10601001')" v-model="modelData.allCost" type="number" ></el-input> |
|
|
|
<el-input v-if="!accessField('10601001')" v-model="valueNull" style="width: 130px" disabled></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -666,6 +672,7 @@ |
|
|
|
userName: this.$store.state.user.name, |
|
|
|
nodeId: '' |
|
|
|
}, |
|
|
|
valueNull:'******', |
|
|
|
modelData:{ |
|
|
|
site:'', |
|
|
|
applyNo:'', |
|
|
|
|