三期补齐有数据不能修改

dev
郑明梁 2 years ago
parent 4f5ebf9c08
commit 903f85d242

@ -18,7 +18,7 @@
<el-input v-model="editData.produceDate" auto-complete="off"
oninput="if(value.length>6)value=value.slice(0,6)"
type="number"
:disabled="editType!=1"></el-input>
:disabled="editType!=1 || editData.produceDate!=null"></el-input>
</el-form-item>
</el-col>
<el-col :span="11">
@ -26,19 +26,19 @@
<el-input v-model="editData.expireDate" auto-complete="off"
oninput="if(value.length>6)value=value.slice(0,6)"
type="number"
:disabled="editType!=1"></el-input>
:disabled="editType!=1 || editData.expireDate!=null"></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="11">
<el-form-item prop="batchNo" label="批次号">
<el-input v-model="editData.batchNo" auto-complete="off" :disabled="editType!=1"></el-input>
<el-input v-model="editData.batchNo" auto-complete="off" :disabled="editType!=1 || editData.batchNo!=null"></el-input>
</el-form-item>
</el-col>
<el-col :span="11">
<el-form-item prop="serialNo" label="序列号">
<el-input v-model="editData.serialNo" auto-complete="off" :disabled="editType!=1"></el-input>
<el-input v-model="editData.serialNo" auto-complete="off" :disabled="editType!=1 || editData.serialNo!=null"></el-input>
</el-form-item>
</el-col>
</el-row>

Loading…
Cancel
Save