采购订单新增字段

product
Vayne 2 years ago
parent e1c6e7fafb
commit d55ac428c1

@ -207,6 +207,8 @@ public class PaymentdocController {
//修改采购订单为已付款申请 //修改采购订单为已付款申请
PurchaseorderEntity purchaseorderEntity = purchaseorderService.getById(entitys.getPurchaseorderId()); PurchaseorderEntity purchaseorderEntity = purchaseorderService.getById(entitys.getPurchaseorderId());
purchaseorderEntity.setIsPayment("1"); purchaseorderEntity.setIsPayment("1");
int sum = purchaseorderEntity.getPaymentTime() + 1;
purchaseorderEntity.setPaymentTime(sum);
purchaseorderService.updateById(purchaseorderEntity); purchaseorderService.updateById(purchaseorderEntity);
} }
List<PaymentdocItem1Entity> PaymentdocItem1List = JsonUtil.getJsonToList(paymentdocCrForm.getPaymentdocitem1List(),PaymentdocItem1Entity.class); List<PaymentdocItem1Entity> PaymentdocItem1List = JsonUtil.getJsonToList(paymentdocCrForm.getPaymentdocitem1List(),PaymentdocItem1Entity.class);

@ -148,4 +148,7 @@ public class PurchaseorderEntity {
@TableField("is_payment") @TableField("is_payment")
private String isPayment; private String isPayment;
@TableField("PAYMENT_TIME")
private Integer paymentTime;
} }

@ -155,6 +155,9 @@ public class PurchaseorderitemEntity {
@TableField("IS_PAYMENT") @TableField("IS_PAYMENT")
private String isPayment; private String isPayment;
@TableField("PAYMENT_TIME")
private Integer paymentTime;
@TableField(exist = false) @TableField(exist = false)
private List<PoundlistEntity> poundlistEntityList; private List<PoundlistEntity> poundlistEntityList;
@TableField(exist = false) @TableField(exist = false)

@ -126,6 +126,9 @@ public class PurchaseorderInfoVO{
@JsonProperty("isPayment") @JsonProperty("isPayment")
private String isPayment; private String isPayment;
@JsonProperty("paymentTime")
private String paymentTime;
/** 子表数据 **/ /** 子表数据 **/
@JsonProperty("purchaseorder_item0List") @JsonProperty("purchaseorder_item0List")
private List<Purchaseorder_item0Model> purchaseorder_item0List; private List<Purchaseorder_item0Model> purchaseorder_item0List;

@ -136,6 +136,9 @@ public class PurchaseorderListVO{
@JsonProperty("isPayment") @JsonProperty("isPayment")
private String isPayment; private String isPayment;
@JsonProperty("paymentTime")
private String paymentTime;
@JsonProperty("poundlistEntityList") @JsonProperty("poundlistEntityList")
private List<PoundlistEntity> poundlistEntityList; private List<PoundlistEntity> poundlistEntityList;
} }

@ -2,6 +2,7 @@
package jnpf.purchaseorder.model.purchaseorder; package jnpf.purchaseorder.model.purchaseorder;
import com.baomidou.mybatisplus.annotation.TableField;
import jnpf.payment.model.payment.PaymentListVO; import jnpf.payment.model.payment.PaymentListVO;
import jnpf.purchaseback.entity.PurchasebackEntity; import jnpf.purchaseback.entity.PurchasebackEntity;
import jnpf.purchaseorder.model.purchaseorder.Purchaseorder_item0Model; import jnpf.purchaseorder.model.purchaseorder.Purchaseorder_item0Model;
@ -119,6 +120,9 @@ public class PurchaseorderUpForm{
@JsonProperty("status") @JsonProperty("status")
private String status; private String status;
@JsonProperty("paymentTime")
private String paymentTime;
/** 子表数据 **/ /** 子表数据 **/
@JsonProperty("purchaseorder_item0List") @JsonProperty("purchaseorder_item0List")
private List<Purchaseorder_item0Model> purchaseorder_item0List; private List<Purchaseorder_item0Model> purchaseorder_item0List;

@ -284,7 +284,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
label="是否付款申请" label="付款申请"
sortable sortable
width="130" width="130"
prop="isPayment" prop="isPayment"
@ -333,6 +333,13 @@
width="150" width="150"
align="center" align="center"
/> />
<el-table-column
prop="paymentTime"
label="申请次数"
sortable
width="150"
align="center"
/>
<el-table-column <el-table-column
prop="creatorTime" prop="creatorTime"
label="制单时间" label="制单时间"

Loading…
Cancel
Save