# Conflicts:
#	SC-web/src/views/scm/basicInformation/poundlist/index.vue
product
bawei 2 years ago
commit 6273645f61

@ -0,0 +1,209 @@
package jnpf.poundlist.entity;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
*
*
* @ V3.2.0
* @ LINKAGE-BOOT
* @ LINKAGE-BOOT
* @ 2023-02-21
*/
@Data
@TableName("jg_poundlist")
public class PoundlistEntity {
@TableId("ID")
private String id;
@TableField("CREATOR_USER_ID")
private String creatorUserId;
@TableField("CREATOR_USER_NAME")
private String creatorUserName;
@TableField("CREATOR_TIME")
private Date creatorTime;
@TableField("LAST_MODIFY_USER_ID")
private String lastModifyUserId;
@TableField("LAST_MODIFY_USER_NAME")
private String lastModifyUserName;
@TableField("LAST_MODIFY_TIME")
private Date lastModifyTime;
@TableField("DELETE_USER_ID")
private String deleteUserId;
@TableField("DELETE_USER_NAME")
private String deleteUserName;
@TableField("DELETE_TIME")
private Date deleteTime;
@TableField("DELETE_MARK")
private String deleteMark;
@TableField("ORGNIZE_ID")
private String orgnizeId;
@TableField("DEPARTMENT_ID")
private String departmentId;
@TableField("CUSTOMER_ID")
private String customerId;
@TableField("SALES_ID")
private String salesId;
@TableField("SUPPLIER_ID")
private String supplierId;
@TableField("SUPPLIER_NAME")
private String supplierName;
@TableField("PURCHASE_ID")
private String purchaseId;
@TableField("MATERIAL_ID")
private String materialId;
@TableField("ADVANCE")
private String advance;
@TableField("UNIT")
private String unit;
@TableField("GROSS_WEIGHT")
private BigDecimal grossWeight;
@TableField("TARE_WEIGHT")
private BigDecimal tareWeight;
@TableField("BUCKLE_WEIGHT")
private BigDecimal buckleWeight;
@TableField("NET_WEIGHT")
private BigDecimal netWeight;
@TableField("SETTLEMENT")
private BigDecimal settlement;
@TableField("PURCHASE_PRICE")
private BigDecimal purchasePrice;
@TableField("SALES_PRICE")
private BigDecimal salesPrice;
@TableField("INPUT_DATE")
private Date inputDate;
@TableField("OUTPUT_DATE")
private Date outputDate;
@TableField("PAY_DATE")
private Date payDate;
@TableField("PAYMENT_DATE")
private Date paymentDate;
@TableField("POUND_DATE")
private Date poundDate;
@TableField("BUSINESS_ID")
private String businessId;
@TableField("POUND_PICTURES")
private String poundPictures;
@TableField("VEHICLE_PICTURES")
private String vehiclePictures;
@TableField("POUND_TYPE")
private String poundType;
@TableField("POUND_STATUS")
private String poundStatus;
@TableField("SALES_STATUS")
private String salesStatus;
@TableField("PURCHASE_STATUS")
private String purchaseStatus;
@TableField("REMARK")
private String remark;
@TableField("TRANSPORT_TYPE")
private String transportType;
@TableField("TRANSPORT_PRICE")
private BigDecimal transportPrice;
@TableField("ORIGIN_PLACE")
private String originPlace;
@TableField("NATURAL_ID")
private String naturalId;
@TableField("POUNDLIST_NO")
private String poundlistNo;
@TableField("VEHICLE_ID")
private String vehicleId;
@TableField("IS_EXAMINE")
private String isExamine;
@TableField("IS_INVOICING")
private String isInvoicing;
@TableField("IS_PAY")
private String isPay;
@TableField("IS_COLLECTION")
private String isCollection;
@TableField("IS_EXPENSE")
private String isExpense;
@TableField(exist = false)
private String materialName;
@TableField(exist = false)
private String customerName;
@TableField(exist = false)
private String salesName;
@TableField(exist = false)
private String vehicleName;
@TableField(exist = false)
private String businessName;
@TableField(exist = false)
private String naturalName;
@TableField(exist = false)
private String purchaseName;
}

@ -107,7 +107,7 @@ public class ReceiptoutController {
receiptoutCrForm.setCreatorUserName(userInfo.getUserId()); receiptoutCrForm.setCreatorUserName(userInfo.getUserId());
ReceiptoutEntity entity = JsonUtil.getJsonToBean(receiptoutCrForm, ReceiptoutEntity.class); ReceiptoutEntity entity = JsonUtil.getJsonToBean(receiptoutCrForm, ReceiptoutEntity.class);
QueryWrapper<SaleorderitemEntity> queryWrapper = new QueryWrapper<>(); QueryWrapper<SaleorderitemEntity> queryWrapper = new QueryWrapper<>();
queryWrapper.lambda().eq(SaleorderitemEntity::getId,entity.getSalesId()); queryWrapper.lambda().eq(SaleorderitemEntity::getId,entity.getSourceNo());
SaleorderitemEntity saleorderitemEntity = saleorderitemService.getOne(queryWrapper); SaleorderitemEntity saleorderitemEntity = saleorderitemService.getOne(queryWrapper);
saleorderitemEntity.setStatus("1");//修改销售订单状态 saleorderitemEntity.setStatus("1");//修改销售订单状态
saleorderitemService.updateById(saleorderitemEntity); saleorderitemService.updateById(saleorderitemEntity);
@ -147,8 +147,8 @@ public class ReceiptoutController {
List<ReceiptoutEntity> list= receiptoutService.getList(receiptoutPagination); List<ReceiptoutEntity> list= receiptoutService.getList(receiptoutPagination);
//处理id字段转名称若无需转或者为空可删除 //处理id字段转名称若无需转或者为空可删除
for(ReceiptoutEntity entity:list){ for(ReceiptoutEntity entity:list){
Map<String,Object> salesIdMap = new HashMap<>(); Map<String,Object> sourceNoMap = new HashMap<>();
entity.setSalesId(generaterSwapUtil.getPopupSelectValue("400235058386036741","id","document_no",entity.getSalesId(),salesIdMap)); entity.setSourceNo(generaterSwapUtil.getPopupSelectValue("400235058386036741","id","document_no",entity.getSourceNo(),sourceNoMap));
Map<String,Object> customerIdMap = new HashMap<>(); Map<String,Object> customerIdMap = new HashMap<>();
entity.setCustomerId(generaterSwapUtil.getPopupSelectValue("395936123471343749","id","supplier_nm",entity.getCustomerId(),customerIdMap)); entity.setCustomerId(generaterSwapUtil.getPopupSelectValue("395936123471343749","id","supplier_nm",entity.getCustomerId(),customerIdMap));
entity.setCreatorUserName(generaterSwapUtil.userSelectValue(entity.getCreatorUserName())); entity.setCreatorUserName(generaterSwapUtil.userSelectValue(entity.getCreatorUserName()));
@ -228,8 +228,8 @@ public class ReceiptoutController {
List<ReceiptoutEntity> list= receiptoutService.getTypeList(receiptoutPagination,receiptoutPaginationExportModel.getDataType()); List<ReceiptoutEntity> list= receiptoutService.getTypeList(receiptoutPagination,receiptoutPaginationExportModel.getDataType());
//处理id字段转名称若无需转或者为空可删除 //处理id字段转名称若无需转或者为空可删除
for(ReceiptoutEntity entity:list){ for(ReceiptoutEntity entity:list){
Map<String,Object> salesIdMap = new HashMap<>(); Map<String,Object> sourceNoMap = new HashMap<>();
entity.setSalesId(generaterSwapUtil.getPopupSelectValue("400235058386036741","id","document_no",entity.getSalesId(),salesIdMap)); entity.setSourceNo(generaterSwapUtil.getPopupSelectValue("400235058386036741","id","document_no",entity.getSourceNo(),sourceNoMap));
Map<String,Object> customerIdMap = new HashMap<>(); Map<String,Object> customerIdMap = new HashMap<>();
entity.setCustomerId(generaterSwapUtil.getPopupSelectValue("395936123471343749","id","supplier_nm",entity.getCustomerId(),customerIdMap)); entity.setCustomerId(generaterSwapUtil.getPopupSelectValue("395936123471343749","id","supplier_nm",entity.getCustomerId(),customerIdMap));
entity.setCreatorUserName(generaterSwapUtil.userSelectValue(entity.getCreatorUserName())); entity.setCreatorUserName(generaterSwapUtil.userSelectValue(entity.getCreatorUserName()));
@ -259,8 +259,8 @@ public class ReceiptoutController {
case "type" : case "type" :
entitys.add(new ExcelExportEntity("业务类型" ,"type")); entitys.add(new ExcelExportEntity("业务类型" ,"type"));
break; break;
case "salesId" : case "source" :
entitys.add(new ExcelExportEntity("来源单号" ,"salesId")); entitys.add(new ExcelExportEntity("来源单号" ,"source"));
break; break;
case "amount" : case "amount" :
entitys.add(new ExcelExportEntity("出库金额" ,"amount")); entitys.add(new ExcelExportEntity("出库金额" ,"amount"));
@ -405,8 +405,8 @@ public class ReceiptoutController {
//附表数据转换 //附表数据转换
//添加到详情表单对象中 //添加到详情表单对象中
Map<String,Object> salesIdMap = new HashMap<>(); Map<String,Object> sourceNoMap = new HashMap<>();
vo.setSalesId(generaterSwapUtil.getPopupSelectValue("400235058386036741","id","document_no",vo.getSalesId(),salesIdMap)); vo.setSourceNo(generaterSwapUtil.getPopupSelectValue("400235058386036741","id","document_no",vo.getSourceNo(),sourceNoMap));
Map<String,Object> customerIdMap = new HashMap<>(); Map<String,Object> customerIdMap = new HashMap<>();
vo.setCustomerId(generaterSwapUtil.getPopupSelectValue("395936123471343749","id","supplier_nm",entity.getCustomerId(),customerIdMap)); vo.setCustomerId(generaterSwapUtil.getPopupSelectValue("395936123471343749","id","supplier_nm",entity.getCustomerId(),customerIdMap));
vo.setCreatorUserName(generaterSwapUtil.userSelectValue(vo.getCreatorUserName())); vo.setCreatorUserName(generaterSwapUtil.userSelectValue(vo.getCreatorUserName()));

@ -30,8 +30,8 @@ public class ReceiptoutCrForm {
private String type; private String type;
/** 来源单号 **/ /** 来源单号 **/
@JsonProperty("salesId") @JsonProperty("sourceNo")
private String salesId; private String sourceNo;
/** 出库金额 **/ /** 出库金额 **/
@JsonProperty("amount") @JsonProperty("amount")

@ -34,8 +34,8 @@ public class ReceiptoutInfoVO{
private String type; private String type;
/** 来源单号 **/ /** 来源单号 **/
@JsonProperty("salesId") @JsonProperty("sourceNo")
private String salesId; private String sourceNo;
/** 出库金额 **/ /** 出库金额 **/
@JsonProperty("amount") @JsonProperty("amount")

@ -36,8 +36,8 @@ public class ReceiptoutListVO{
/** 来源单号 **/ /** 来源单号 **/
@JsonProperty("salesId") @JsonProperty("sourceNo")
private String salesId; private String sourceNo;
/** 出库金额 **/ /** 出库金额 **/

@ -36,8 +36,8 @@ public class ReceiptoutUpForm{
/** 来源单号 **/ /** 来源单号 **/
@JsonProperty("salesId") @JsonProperty("sourceNo")
private String salesId; private String sourceNo;
/** 出库金额 **/ /** 出库金额 **/

@ -73,19 +73,19 @@
target="_blank">{{sysConfig.sysName}}</a></p> target="_blank">{{sysConfig.sysName}}</a></p>
<p>版本{{sysConfig.sysVersion}}</p> <p>版本{{sysConfig.sysVersion}}</p>
<p>作者LINKAGE</p> <p>作者LINKAGE</p>
<p>LINKAGE-BOOT出品</p> <p>长江云息出品</p>
</div>
</div>
<p class="about-dialog-main-tip">解放90%重复性的代码编写工作让你更加专注于业务和体验</p>
</el-dialog>
<el-dialog title="官方声明" :close-on-click-modal="false" :visible.sync="visible2" v-drag-dialog
class="JNPF-dialog JNPF-dialog_center about-dialog" lock-scroll width="400px">
<div class="about-dialog-main">
<div>
LINKAGE-BOOT是对外开放性体验产品平台内所有数据为我司虚构的测试数据是随机生成非敏感数据所以严禁任何人在JNPF平台上修改数据内容扭曲数据目的传播或售卖测试数据特此警告
</div> </div>
</div> </div>
<!-- <p class="about-dialog-main-tip">解放80%重复性的代码编写工作让你更加专注于业务和体验</p>-->
</el-dialog> </el-dialog>
<!-- <el-dialog title="官方声明" :close-on-click-modal="false" :visible.sync="visible2" v-drag-dialog-->
<!-- class="JNPF-dialog JNPF-dialog_center about-dialog" lock-scroll width="400px">-->
<!-- <div class="about-dialog-main">-->
<!-- <div>-->
<!-- LINKAGE-BOOT是对外开放性体验产品平台内所有数据为我司虚构的测试数据是随机生成非敏感数据所以严禁任何人在JNPF平台上修改数据内容扭曲数据目的传播或售卖测试数据特此警告-->
<!-- </div>-->
<!-- </div>-->
<!-- </el-dialog>-->
<MessageList ref="MessageList" @read='read' /> <MessageList ref="MessageList" @read='read' />
<Settings ref="Settings" /> <Settings ref="Settings" />
<UserList ref="UserList" @changeTwinkle='changeTwinkle' /> <UserList ref="UserList" @changeTwinkle='changeTwinkle' />

@ -20,8 +20,8 @@
</el-col> </el-col>
<el-col :span="8" > <el-col :span="8" >
<el-form-item label="来源单号" <el-form-item label="来源单号"
prop="salesId" > prop="sourceNo" >
<p>{{dataForm.salesId}}</p> <p>{{dataForm.sourceNo}}</p>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" > <el-col :span="8" >
@ -168,6 +168,7 @@
documentNo : '', documentNo : '',
type : "0", type : "0",
salesId : "XS002", salesId : "XS002",
sourceNo: "",
amount : '', amount : '',
currency : "0", currency : "0",
num : '', num : '',

@ -27,9 +27,9 @@
</el-col> </el-col>
<el-col :span="8" > <el-col :span="8" >
<el-form-item label="来源单号" <el-form-item label="来源单号"
prop="salesId" > prop="sourceNo" >
<popupSelect v-model="dataForm.salesId" <popupSelect v-model="dataForm.sourceNo"
placeholder="请选择" clearable field="salesId" interfaceId="392956668264114117" :columnOptions="salesIdcolumnOptions" propsValue="id" relationField="document_no" popupType="dialog" placeholder="请选择" clearable field="sourceNo" interfaceId="392956668264114117" :columnOptions="salesIdcolumnOptions" propsValue="id" relationField="document_no" popupType="dialog"
popupTitle="选择数据" popupWidth="800px" popupTitle="选择数据" popupWidth="800px"
hasPage :pageSize="20" > hasPage :pageSize="20" >
@ -245,6 +245,7 @@
documentNo : '', documentNo : '',
type : "0", type : "0",
salesId : "XS002", salesId : "XS002",
sourceNo: "",
amount : '', amount : '',
currency : "0", currency : "0",
num : '', num : '',
@ -268,7 +269,7 @@
trigger: 'change' trigger: 'change'
}, },
], ],
salesId: [ sourceNo: [
{ {
required: true, required: true,
message: '请至少选择一个', message: '请至少选择一个',

@ -155,7 +155,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="issueDate" label="出库日期" width="0" align="left" <el-table-column prop="issueDate" label="出库日期" width="0" align="left"
sortable="custom" /> sortable="custom" />
<el-table-column prop="salesId" label="来源单号" width="0" align="left" <el-table-column prop="sourceNo" label="来源单号" width="0" align="left"
/> />
<el-table-column label="业务类型" width="0" prop="type" algin="left" <el-table-column label="业务类型" width="0" prop="type" algin="left"
> >
@ -239,7 +239,7 @@ width="150" >
{prop: 'num', label: '出库数量'}, {prop: 'num', label: '出库数量'},
{prop: 'currency', label: '币别'}, {prop: 'currency', label: '币别'},
{prop: 'issueDate', label: '出库日期'}, {prop: 'issueDate', label: '出库日期'},
{prop: 'salesId', label: '来源单号'}, {prop: 'sourceNo', label: '来源单号'},
{prop: 'type', label: '业务类型'}, {prop: 'type', label: '业务类型'},
{prop: 'remark', label: '备注'}, {prop: 'remark', label: '备注'},
{prop: 'status', label: '单据状态'}, {prop: 'status', label: '单据状态'},

Loading…
Cancel
Save