|
|
@ -160,6 +160,11 @@ |
|
|
<el-input v-model="editBoxForm.rolls" :min="0" :precision="2" style="width: 100%"></el-input> |
|
|
<el-input v-model="editBoxForm.rolls" :min="0" :precision="2" style="width: 100%"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
|
|
|
<el-col v-if="currentRow.boxSizeFlag==='Y'" :span="24"> |
|
|
|
|
|
<el-form-item label="备注" prop="remark"> |
|
|
|
|
|
<el-input v-model="editBoxForm.remark" :min="0" :precision="2" style="width: 100%"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
</el-form> |
|
|
</el-form> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
<div slot="footer" class="dialog-footer"> |
|
|
@ -300,6 +305,13 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
|
|
|
<el-table-column v-if="currentRow.boxSizeFlag==='Y'" label="备注" prop="remark" width="100" align="center"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<el-input v-model="scope.row.remark" size="mini" :class="{'modified-input': isBoxFieldModified(scope.row, 'remark')}" |
|
|
|
|
|
@change="onBatchBoxFieldChange(scope.row, 'remark')"></el-input> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
|
|
|
|
|
|
<!-- 明细信息列(不合并) --> |
|
|
<!-- 明细信息列(不合并) --> |
|
|
<el-table-column label="PO" prop="poNo" min-width="120" align="left"> |
|
|
<el-table-column label="PO" prop="poNo" min-width="120" align="left"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
@ -446,6 +458,7 @@ export default { |
|
|
grossWeight: 0, |
|
|
grossWeight: 0, |
|
|
netWeight: 0, |
|
|
netWeight: 0, |
|
|
rolls: 0, |
|
|
rolls: 0, |
|
|
|
|
|
remark: '', |
|
|
boxWeight: 0 // 物料的箱重量(BOXWEIGHT) |
|
|
boxWeight: 0 // 物料的箱重量(BOXWEIGHT) |
|
|
}, |
|
|
}, |
|
|
editBoxSubmitting: false, |
|
|
editBoxSubmitting: false, |
|
|
@ -880,6 +893,7 @@ export default { |
|
|
this.editBoxForm.grossWeight = boxRow.grossWeight; |
|
|
this.editBoxForm.grossWeight = boxRow.grossWeight; |
|
|
this.editBoxForm.netWeight = boxRow.netWeight; |
|
|
this.editBoxForm.netWeight = boxRow.netWeight; |
|
|
this.editBoxForm.rolls = boxRow.rolls; |
|
|
this.editBoxForm.rolls = boxRow.rolls; |
|
|
|
|
|
this.editBoxForm.remark = boxRow.remark; |
|
|
this.editBoxForm.boxWeight = boxRow.boxWeight || 0; // 保存物料的箱重量 |
|
|
this.editBoxForm.boxWeight = boxRow.boxWeight || 0; // 保存物料的箱重量 |
|
|
this.editBoxDialogVisible = true; |
|
|
this.editBoxDialogVisible = true; |
|
|
}, |
|
|
}, |
|
|
@ -1043,6 +1057,7 @@ export default { |
|
|
grossWeight: this.editBoxForm.grossWeight, |
|
|
grossWeight: this.editBoxForm.grossWeight, |
|
|
netWeight: this.editBoxForm.netWeight, |
|
|
netWeight: this.editBoxForm.netWeight, |
|
|
rolls: this.editBoxForm.rolls, |
|
|
rolls: this.editBoxForm.rolls, |
|
|
|
|
|
remark: this.editBoxForm.remark, |
|
|
updateBy: this.$store.state.user.name |
|
|
updateBy: this.$store.state.user.name |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
@ -1285,6 +1300,7 @@ export default { |
|
|
grossWeight: box.grossWeight, |
|
|
grossWeight: box.grossWeight, |
|
|
netWeight: box.netWeight, |
|
|
netWeight: box.netWeight, |
|
|
rolls: box.rolls, // Box的总Rolls |
|
|
rolls: box.rolls, // Box的总Rolls |
|
|
|
|
|
remark: box.remark, |
|
|
// 明细信息 |
|
|
// 明细信息 |
|
|
_detailKey: `${detail.seqNo}_${detail.itemNo}_${detail.notifyDetailItemNo}`, |
|
|
_detailKey: `${detail.seqNo}_${detail.itemNo}_${detail.notifyDetailItemNo}`, |
|
|
_hasDetail: true, |
|
|
_hasDetail: true, |
|
|
@ -1325,6 +1341,7 @@ export default { |
|
|
grossWeight: box.grossWeight, |
|
|
grossWeight: box.grossWeight, |
|
|
netWeight: box.netWeight, |
|
|
netWeight: box.netWeight, |
|
|
rolls: box.rolls, // Box的总Rolls |
|
|
rolls: box.rolls, // Box的总Rolls |
|
|
|
|
|
remark: box.remark, |
|
|
_hasDetail: false, |
|
|
_hasDetail: false, |
|
|
poNo: '', |
|
|
poNo: '', |
|
|
pn: '', |
|
|
pn: '', |
|
|
@ -1689,7 +1706,8 @@ export default { |
|
|
box_qty: row.box_qty, |
|
|
box_qty: row.box_qty, |
|
|
grossWeight: row.grossWeight, |
|
|
grossWeight: row.grossWeight, |
|
|
netWeight: row.netWeight, |
|
|
netWeight: row.netWeight, |
|
|
rolls: row.rolls // Box的总Rolls |
|
|
|
|
|
|
|
|
rolls: row.rolls, // Box的总Rolls |
|
|
|
|
|
remark : row.remark |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|