|
@@ -396,9 +396,10 @@
|
|
|
}
|
|
|
}" @change="(e)=>{
|
|
|
scope.row.materialName = e.name
|
|
|
- scope.row.stockQty = e.stockQty
|
|
|
+ scope.row.stockQty = scope.row.uniqueCode=='YES'?1:null
|
|
|
scope.row.uniqueCode = e.uniqueCode
|
|
|
scope.row.itemId = e.itemId
|
|
|
+
|
|
|
}" value-key="name" :disabled="isEdit2 != scope.$index || formType == 2 || activeKey == 'REFUND_GOODS_DETAIL'" placeholder="请选择" style="width: 100%;">
|
|
|
<el-option
|
|
|
v-for="(item,ind) in scope.row.materialList"
|
|
@@ -427,7 +428,7 @@
|
|
|
<el-table-column prop="" align="center" label="数量">
|
|
|
<template slot-scope="scope">
|
|
|
<el-form-item :prop="'list.' + scope.$index + '.stockQty'" :rules="[{ required: true, message: `请输入数量`, trigger: 'blur' }]">
|
|
|
- <el-input type="number" v-model="scope.row.stockQty" :disabled="isEdit2 != scope.$index || formType == 2 || activeKey == 'REFUND_GOODS_DETAIL'" placeholder="请输入"></el-input>
|
|
|
+ <el-input type="number" v-model="scope.row.stockQty" :disabled="isEdit2 != scope.$index || formType == 2 || activeKey == 'REFUND_GOODS_DETAIL' || scope.row.uniqueCode=='YES'" placeholder="请输入"></el-input>
|
|
|
</el-form-item>
|
|
|
</template>
|
|
|
</el-table-column>
|