入库单子表凭证加字段

jg-waiwang-pro
CJYXTX\27961 7 months ago
parent 8ab9d4678b
commit 1376691348

@ -457,6 +457,7 @@ public class WarehousingInspectionController {
for (VoucherEntity voucherEntity:voucherEntityList){
voucherEntity.setLastModifyUserId(warehousingInspectionForm.getLastModifyUserId());
voucherEntity.setLastModifyTime(new Date());
voucherEntity.setVoucherStatus("4");
voucherService.saveOrUpdate(voucherEntity);
}
//修改凭证子表

@ -16,6 +16,11 @@ import java.util.Date;
public class WarehousingStoragePoundlistEntity {
@TableId(value ="ID" )
private String id;
@TableField("BUSINESS_TYPE")
private String businessType;
@TableField(value = "DOCUMENT_TYPE" , updateStrategy = FieldStrategy.IGNORED)
private String documentType;
@TableField("WAREHOUSING_STORAGE_ID")
private String warehousingStorageId;
@TableField(value = "VOUCHER_ID" , updateStrategy = FieldStrategy.IGNORED)

@ -21,4 +21,12 @@ public class WarehousingStoragePoundlistModel {
/** 关联凭证id **/
@JSONField(name = "voucherId")
private String voucherId;
/** 凭证类型 **/
@JsonProperty("voucherType")
private Object voucherType;
/** 单据类型 **/
@JsonProperty("documentType")
private Object documentType;
}

@ -869,7 +869,7 @@ export default {
const e = this.dataForm.warehousingInspectionConclusionList[i];
if (!e.netWeight) {
this.$message({
message: '净重(自动计算)不能为空,请输入质检后的毛,皮,扣',
message: '净重(自动计算)不能为空,请再一次输入质检后的毛,皮,扣进行自动计算',
type: 'error',
duration: 2500
});

Loading…
Cancel
Save