Browse Source

有效期

master
han\hanst 1 month ago
parent
commit
e087ea8520
  1. 13
      src/views/modules/production-inbound/inboundRegister.vue

13
src/views/modules/production-inbound/inboundRegister.vue

@ -90,6 +90,15 @@
<el-col :span="12"><el-form-item label="高度(mm)"> <el-col :span="12"><el-form-item label="高度(mm)">
<el-input v-model="inboundItem.height" type="number" placeholder="请输入高度" /> <el-input v-model="inboundItem.height" type="number" placeholder="请输入高度" />
</el-form-item></el-col> </el-form-item></el-col>
<el-col :span="12"><el-form-item label="有效期">
<el-date-picker
v-model="inboundItem.ifsExpiryDate"
type="date"
placeholder="选择有效期"
value-format="yyyy-MM-dd"
style="width: 100%"
/>
</el-form-item></el-col>
<!-- 勾选框 --> <!-- 勾选框 -->
<el-col :span="12" style="margin-top: 2px"> <el-col :span="12" style="margin-top: 2px">
<el-form-item> <el-form-item>
@ -356,7 +365,8 @@ export default {
wdr: '*', wdr: '*',
ifsAutoReport: true, // Auto Report of Operation ifsAutoReport: true, // Auto Report of Operation
ifsSimplifiedMaterial: true, // Simplified Material Check ifsSimplifiedMaterial: true, // Simplified Material Check
height: this.parseHeightFromPartNo(row.partNo) //
height: this.parseHeightFromPartNo(row.partNo), //
ifsExpiryDate: '' // IFS
}; };
this.processFlag = 2; this.processFlag = 2;
} catch (error) { } catch (error) {
@ -521,6 +531,7 @@ export default {
lotSize: item.lotSize, lotSize: item.lotSize,
qtyComplete: item.qtyComplete, qtyComplete: item.qtyComplete,
height: item.height || null, // (mm) height: item.height || null, // (mm)
ifsExpiryDate: item.ifsExpiryDate || null, //
// IFS // IFS
ifsAutoReport: item.ifsAutoReport ? 'Yes' : 'No', ifsAutoReport: item.ifsAutoReport ? 'Yes' : 'No',
ifsSimplifiedMaterial: item.ifsSimplifiedMaterial ? 'Yes' : 'No', ifsSimplifiedMaterial: item.ifsSimplifiedMaterial ? 'Yes' : 'No',

Loading…
Cancel
Save