问题修改

product
杨世强 2 years ago
parent 36f2817e23
commit d6583ec2a8

@ -44,7 +44,7 @@ spring:
# 生产环境
# host: 222.71.165.188
# 测试环境
host: 150.158.169.212
host: 222.71.165.187
port: 6379
password: qweasd,.123
timeout: 8000 #超时时间(单位:秒)

@ -194,6 +194,12 @@ public class PoundlistEntity {
@TableField("IS_EXPENSE")
private String isExpense;
@TableField("IS_PAYMENT")
private String isPayment;
@TableField("IS_TRANSFER")
private String isTransfer;
@TableField(exist = false)
private String materialName;

@ -20,6 +20,10 @@ import jnpf.poundlist.service.PoundlistService;
import jnpf.purchaseorder.entity.Purchaseorder_item0Entity;
import jnpf.purchaseorder.service.Purchaseorder_item0Service;
import jnpf.purchaseorder.service.PurchaseorderitemService;
import jnpf.vehicle.entity.VehicleEntity;
import jnpf.vehicle.service.VehicleService;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.transaction.annotation.Transactional;
import jnpf.base.entity.ProvinceEntity;
import jnpf.purchaseback.model.purchaseback.*;
@ -90,6 +94,8 @@ public class PurchasebackController {
private Purchaseorder_item0Service purchaseorder_item0Service;
@Autowired
private PoundlistService poundlistService;
@Autowired
private VehicleService vehicleService;
/**
*
@ -330,6 +336,12 @@ public class PurchasebackController {
public ActionResult<PurchasebackInfoVO> info(@PathVariable("id") String id){
PurchasebackEntity entity= purchasebackService.getInfo(id);
PurchasebackInfoVO vo=JsonUtil.getJsonToBean(entity, PurchasebackInfoVO.class);
if (StringUtils.isNotEmpty(vo.getPurchaseOrderId())){
PurchaseorderEntity purchaseorderEntity = purchaseorderService.getById(vo.getPurchaseOrderId());
if (ObjectUtils.isNotEmpty(purchaseorderEntity) && StringUtils.isNotEmpty(purchaseorderEntity.getDocumentNo())){
vo.setPurchaseOrderName(purchaseorderEntity.getDocumentNo());
}
}
if(vo.getCreatorTime()!=null){
vo.setCreatorTime(vo.getCreatorTime());
}
@ -339,9 +351,19 @@ public class PurchasebackController {
List<Purchaseback_item0Entity> Purchaseback_item0List = purchasebackService.GetPurchaseback_item0List(id);
for(Purchaseback_item0Entity purchaseback_item0Entity : Purchaseback_item0List){
Purchaseorder_item0Entity purchaseorder_item0Entity = purchaseorder_item0Service.getById(purchaseback_item0Entity.getPurchaseorderItem0Id());
if (ObjectUtils.isNotEmpty(purchaseorder_item0Entity)) {
PoundlistEntity poundlistEntity = poundlistService.getById(purchaseorder_item0Entity.getPoundlistId());
if (ObjectUtils.isNotEmpty(poundlistEntity)) {
purchaseback_item0Entity.setMaterialId(poundlistEntity.getMaterialId());
purchaseback_item0Entity.setVehicleId(poundlistEntity.getVehicleId());
if (StringUtils.isNotEmpty(poundlistEntity.getVehicleId())){
VehicleEntity vehicleEntity = vehicleService.getById(poundlistEntity.getVehicleId());
if (ObjectUtils.isNotEmpty(vehicleEntity) && StringUtils.isNotEmpty(vehicleEntity.getTicketno())){
purchaseback_item0Entity.setVehicleName(vehicleEntity.getTicketno());
}
}
}
}
}
vo.setPurchaseback_item0List(JsonUtil.getJsonToList(Purchaseback_item0List,Purchaseback_item0Model.class ));
//副表

@ -112,4 +112,7 @@ public class Purchaseback_item0Entity {
@TableField(exist = false)
private PoundlistEntity poundlistEntity;
@TableField(exist = false)
private String vehicleName;
}

@ -71,4 +71,8 @@ public class PurchasebackInfoVO{
/** 列表子表数据 **/
@JsonProperty("jg_purchaseorder")
private PurchaseorderModel jg_purchaseorder;
/** 采购订单 **/
@JsonProperty("purchaseOrderName")
private String purchaseOrderName;
}

@ -71,4 +71,7 @@ public class Purchaseback_item0Model {
@JsonProperty("materialId")
private String materialId;
@JsonProperty("vehicleName")
private String vehicleName;
}

@ -49,6 +49,8 @@ import jnpf.supplier.service.SupplierService;
import jnpf.util.*;
import jnpf.util.enums.FileTypeEnum;
import jnpf.util.file.UploadUtil;
import jnpf.vehicle.entity.VehicleEntity;
import jnpf.vehicle.service.VehicleService;
import jnpf.warehouse.entity.WareHouseEntity;
import jnpf.warehouse.service.WareHouseService;
import lombok.Cleanup;
@ -137,6 +139,8 @@ public class PurchaseorderController {
private Purchaseback_item0Service purchaseback_item0Service;
@Autowired
private Receiptin_item0Service receiptin_item0Service;
@Autowired
private VehicleService vehicleService;
/**
*
@ -622,6 +626,12 @@ public class PurchaseorderController {
//子表
List<Purchaseorder_item0Entity> Purchaseorder_item0List = purchaseorderitemService.GetPurchaseorder_item0List(id);
for (Purchaseorder_item0Entity purchaseorder_item0Entity : Purchaseorder_item0List) {
if (StringUtils.isNotEmpty(purchaseorder_item0Entity.getVehicleId())){
VehicleEntity vehicleEntity = vehicleService.getById(purchaseorder_item0Entity.getVehicleId());
if (ObjectUtils.isNotEmpty(vehicleEntity) && StringUtils.isNotEmpty(vehicleEntity.getTicketno())){
purchaseorder_item0Entity.setVehicleName(vehicleEntity.getTicketno());
}
}
if (StringUtils.isNotEmpty(purchaseorder_item0Entity.getMaterialId())) {
MaterialEntity materialEntity = materialService.getById(purchaseorder_item0Entity.getMaterialId());
if (materialEntity != null) {

@ -144,4 +144,6 @@ public class Purchaseorder_item0Entity {
private String warehouseName;
@TableField(exist = false)
private String reservoirareaName;
@TableField(exist = false)
private String vehicleName;
}

@ -27,6 +27,7 @@ public class PurchaseorderPagination extends Pagination {
private Date startDate;
private Date endDate;
/**
*
*/

@ -15,6 +15,8 @@ import jnpf.base.UserInfo;
import jnpf.base.vo.DownloadVO;
import jnpf.config.ConfigValueUtil;
import jnpf.exception.DataException;
import jnpf.materialvo.entity.MaterialEntity;
import jnpf.materialvo.service.MaterialService;
import jnpf.poundlist.entity.PoundlistEntity;
import jnpf.poundlist.service.PoundlistService;
import jnpf.purchaseback.entity.PurchaseorderEntity;
@ -24,8 +26,13 @@ import jnpf.purchaseorder.entity.PurchaseorderitemEntity;
import jnpf.purchaseorder.service.PurchaseorderitemService;
import jnpf.reservoirarea.entity.ReservoirareaEntity;
import jnpf.reservoirarea.service.ReservoirareaService;
import jnpf.supplier.entity.SupplierEntity;
import jnpf.supplier.service.SupplierService;
import jnpf.vehicle.entity.VehicleEntity;
import jnpf.vehicle.service.VehicleService;
import jnpf.warehouse.entity.WareHouseEntity;
import jnpf.warehouse.service.WareHouseService;
import org.apache.commons.lang3.ObjectUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.transaction.annotation.Transactional;
import jnpf.base.entity.ProvinceEntity;
@ -104,6 +111,12 @@ public class ReceiptinController {
private ReservoirareaService reservoirareaService;
@Autowired
private WareHouseService wareHouseService;
@Autowired
private SupplierService supplierService;
@Autowired
private VehicleService vehicleService;
@Autowired
private MaterialService materialService;
/**
*
@ -334,6 +347,18 @@ public class ReceiptinController {
public ActionResult<ReceiptinInfoVO> info(@PathVariable("id") String id){
ReceiptinEntity entity= receiptinService.getInfo(id);
ReceiptinInfoVO vo=JsonUtil.getJsonToBean(entity, ReceiptinInfoVO.class);
if (vo.getSouceno() != null){
PurchaseorderEntity purchaseorderEntity = purchaseorderService.getById(vo.getSouceno());
if (ObjectUtils.isNotEmpty(purchaseorderEntity) && StringUtils.isNotEmpty(purchaseorderEntity.getDocumentNo())){
vo.setSoucenoName(purchaseorderEntity.getDocumentNo());
}
}
if (vo.getSupplierId() != null){
SupplierEntity supplierEntity = supplierService.getById(vo.getSupplierId());
if (ObjectUtils.isNotEmpty(supplierEntity) && StringUtils.isNotEmpty(supplierEntity.getSupplierName())){
vo.setSuppliername(supplierEntity.getSupplierName());
}
}
if(vo.getCreatorTime()!=null){
vo.setCreatorTime(vo.getCreatorTime());
}
@ -342,6 +367,18 @@ public class ReceiptinController {
//子表
List<Receiptin_item0Entity> Receiptin_item0List = receiptinService.GetReceiptin_item0List(id);
for(Receiptin_item0Entity receiptin_item0Entity : Receiptin_item0List) {
if (StringUtils.isNotEmpty(receiptin_item0Entity.getVehicleId())){
VehicleEntity vehicleEntity = vehicleService.getById(receiptin_item0Entity.getVehicleId());
if (vehicleEntity != null){
receiptin_item0Entity.setVehicleName(vehicleEntity.getTicketno());
}
}
if (StringUtils.isNotEmpty(receiptin_item0Entity.getMaterialId())){
MaterialEntity materialEntity = materialService.getById(receiptin_item0Entity.getMaterialId());
if (materialEntity != null){
receiptin_item0Entity.setMaterialname(materialEntity.getItemName());
}
}
if (StringUtils.isNotEmpty(receiptin_item0Entity.getReservoirareaId())) {
ReservoirareaEntity reservoirareaEntity = reservoirareaService.getById(receiptin_item0Entity.getReservoirareaId());
if (reservoirareaEntity != null) {

@ -79,4 +79,8 @@ public class ReceiptinInfoVO{
/** 子表数据 **/
@JsonProperty("receiptin_item0List")
private List<Receiptin_item0Model> receiptin_item0List;
@JsonProperty("soucenoName")
private String soucenoName;
}

@ -244,7 +244,7 @@ public class SaleorderitemServiceImpl extends ServiceImpl<SaleorderitemMapper, S
declaredField.setAccessible(true);
String value = declaredField.getAnnotation(TableField.class).value();
saleorderitemPagination.setSidx(value);
saleorderitemQueryWrapper="asc".equals(saleorderitemPagination.getSort().toLowerCase())?saleorderitemQueryWrapper.orderByAsc(value):saleorderitemQueryWrapper.orderByDesc(value);
// saleorderitemQueryWrapper="asc".equals(saleorderitemPagination.getSort().toLowerCase())?saleorderitemQueryWrapper.orderByAsc(value):saleorderitemQueryWrapper.orderByDesc(value);
} catch (NoSuchFieldException e) {
e.printStackTrace();
}

@ -4,9 +4,9 @@
<select id="queryByKeyword" resultType="jnpf.receiptin.entity.ReceiptinEntity">
SELECT a.*,b.document_no purchaseorderSouceno,d.supplier_name supplier
from jg_receiptin a
LEFT JOIN jg_purchaseorder b on a.souceno = b.id
LEFT JOIN jg_supplier d on a.supplier_id = d.id
${ew.customSqlSegment} and a.delete_mark = 0 and b.delete_mark = 0 and d.delete_mark = 0
LEFT JOIN jg_purchaseorder b on a.souceno = b.id and b.delete_mark = 0
LEFT JOIN jg_supplier d on a.supplier_id = d.id and d.delete_mark = 0
${ew.customSqlSegment} and a.delete_mark = 0
<if test="receiptinPagination.startDate != null and receiptinPagination.endDate != null">
AND a.creator_time &gt; #{receiptinPagination.startDate} AND a.creator_time &lt;= #{receiptinPagination.endDate}
</if>

@ -65,29 +65,29 @@
</div>
</div>
<JNPF-table v-loading="listLoading" :data="list" @sort-change='sortChange' has-c @selection-change="handleSelectionChange" custom-column border>
<el-table-column prop="businessDate" label="业务日期" width="150" align="center"
<el-table-column prop="businessDate" label="业务日期" sortable width="150" align="center"
/>
<el-table-column prop="documentNo" label="单据编号" width="200" align="center"
<el-table-column prop="documentNo" label="单据编号" sortable width="200" align="center"
/>
<el-table-column prop="customerNm" label="客户" width="200" align="center"
<el-table-column prop="customerNm" label="客户" sortable width="200" align="center"
/>
<el-table-column prop="amount" label="金额" width="150" align="center"
<el-table-column prop="amount" label="金额" sortable width="150" align="center"
/>
<el-table-column prop="quantity" label="数量" width="150" align="center"
<el-table-column prop="quantity" label="数量" sortable width="150" align="center"
/>
<el-table-column label="币别 " width="150" prop="currency" algin="center"
<el-table-column label="币别 " width="150" prop="currency" algin="center" sortable
>
<template slot-scope="scope">
{{ scope.row.currency | dynamicText(currencyOptions) }}
</template>
</el-table-column>
<el-table-column prop="invoiceAmount" label="发票金额" width="150" align="center"
<el-table-column prop="invoiceAmount" label="发票金额" sortable width="150" align="center"
/>
<el-table-column prop="invoiceQuantity" label="发票数量" width="150" align="center"
<el-table-column prop="invoiceQuantity" label="发票数量" sortable width="150" align="center"
/>
<el-table-column prop="sourceOrderNo" label="来源单号" width="200" align="center"
<el-table-column prop="sourceOrderNo" label="来源单号" sortable width="200" align="center"
/>
<el-table-column prop="contractNm" label="合同名称" width="200" align="center"
<el-table-column prop="contractNm" label="合同名称" sortable width="200" align="center"
/>
<!-- <el-table-column label="单据状态 " width="150" prop="status" algin="center"-->
<!--&gt;-->
@ -102,7 +102,7 @@
<el-tag type="warning" v-else-if="scope.row.status==2">已审批</el-tag>
</template>
</el-table-column>
<el-table-column prop="remark" label="备注" width="150" align="center"
<el-table-column prop="remark" label="备注" sortable width="150" align="center"
/>
<el-table-column label="操作" fixed="right" width="150" >
<template slot-scope="scope">

@ -13,22 +13,28 @@
</el-col>
<el-col :span="8">
<el-form-item label="合同" prop="contractCode">
<popupSelect v-model="dataForm.contractCode" placeholder="请选择" clearable field="contractCode"
<!-- <popupSelect v-model="dataForm.contractCode" placeholder="请选择" clearable field="contractCode"
interfaceId="390143765857220229" :columnOptions="contractCodecolumnOptions" propsValue="id"
relationField="contract_name" popupType="dialog" popupTitle="选择数据" popupWidth="800px" hasPage
:pageSize="20" @change="changeContract" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="dataForm.purchaseName" placeholder="请输入" clearable :style='{"width":"100%"}' disabled>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="供应商" prop="supplierId">
<popupSelect v-model="dataForm.supplierId" placeholder="请选择" clearable field="supplierId"
<!-- <popupSelect v-model="dataForm.supplierId" placeholder="请选择" clearable field="supplierId"
interfaceId="397751667988199621" :columnOptions="supplierIdcolumnOptions" propsValue="id"
relationField="supplier_name" popupType="dialog" popupTitle="选择数据" popupWidth="800px" hasPage
:pageSize="20" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="dataForm.supplierName" placeholder="请输入" clearable :style='{"width":"100%"}' disabled>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
@ -152,20 +158,24 @@
<el-table-column type="index" width="50" label="序号" align="center" />
<el-table-column prop="vehicleId" label="车辆" align="center" width="130" >
<template slot-scope="scope">
<popupSelect v-model="scope.row.vehicleId" placeholder="请选择" clearable
<!-- <popupSelect v-model="scope.row.vehicleId" placeholder="请选择" clearable
:field="'vehicleId'+scope.$index" interfaceId="389754644018016581"
:columnOptions="purchaseorderitem0vehicleIdcolumnOptions" propsValue="vehicle_id"
relationField="ticketno" popupType="dialog" popupWidth="800px" hasPage :pageSize="20" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.vehicleName" placeholder="请输入" clearable :style='{"width":"100%"}' :disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="materialId" label="物料" align="center" width="180" >
<template slot-scope="scope">
<popupSelect v-model="scope.row.materialId" placeholder="请选择" clearable
<!-- <popupSelect v-model="scope.row.materialId" placeholder="请选择" clearable
:field="'materialId'+scope.$index" interfaceId="397736371898382533"
:columnOptions="purchaseorderitem0materialIdcolumnOptions" propsValue="id"
relationField="item_name" popupType="dialog" popupWidth="800px" hasPage :pageSize="20" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.materialName" placeholder="请输入" clearable :style='{"width":"100%"}' :disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="pountType" label="磅单类型" align="center" width="130" >
@ -915,6 +925,7 @@
init(itemArr) {
this.dataForm.id = '';
this.visible = true
this.dataForm.purchaseName = itemArr[0].purchaseName
this.dataForm.contractCode = itemArr[0].purchaseId
this.dataForm.supplierId = itemArr[0].supplierId
this.dataForm.supplierName = itemArr[0].supplierName

@ -15,12 +15,15 @@
</el-col>
<el-col :span="8">
<el-form-item label="采购订单" prop="purchaseOrderId">
<popupSelect v-model="dataForm.purchaseOrderId" placeholder="请选择" clearable
<!-- <popupSelect v-model="dataForm.purchaseOrderId" placeholder="请选择" clearable
field="purchaseOrderId" interfaceId="383149471917185157"
:columnOptions="purchaseOrderIdcolumnOptions" :excludeFields="excludeFields" propsValue="id"
relationField="document_no" popupType="dialog" popupTitle="选择数据" popupWidth="800px" @change="popupSelectChange">
</popupSelect>
</popupSelect>-->
<el-input v-model="dataForm.purchaseOrderName" clearable :style='{"width":"100%"}' :disabled="true">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
@ -66,21 +69,27 @@
<el-table-column type="index" width="50" label="序号" align="center" />
<el-table-column prop="vehicleId" label="车辆" align="center" width="130">
<template slot-scope="scope">
<popupSelect v-model="scope.row.vehicleId" placeholder="请选择" clearable
<!-- <popupSelect v-model="scope.row.vehicleId" placeholder="请选择" clearable
:field="'vehicleId'+scope.$index" interfaceId="389754644018016581"
:columnOptions="purchaseorderitem0vehicleIdcolumnOptions" propsValue="vehicle_id"
relationField="ticketno" popupType="dialog" popupWidth="800px" hasPage :pageSize="20">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.vehicleName" placeholder="请输入" clearable
:style='{"width":"100%"}' :disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="materialId" label="物料" align="center" width="180">
<template slot-scope="scope">
<popupSelect v-model="scope.row.materialId" placeholder="请选择" clearable
<!-- <popupSelect v-model="scope.row.materialId" placeholder="请选择" clearable
:field="'materialId'+scope.$index" interfaceId="397736371898382533"
:columnOptions="purchaseorderitem0materialIdcolumnOptions" propsValue="id"
relationField="item_name" popupType="dialog" popupWidth="800px" hasPage :pageSize="20"
:disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.materialName" placeholder="请输入" clearable
:style='{"width":"100%"}' :disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="settlement" label="结算重量 ">

@ -15,12 +15,15 @@
</el-col>
<el-col :span="8">
<el-form-item label="采购订单" prop="purchaseOrderId">
<popupSelect v-model="dataForm.purchaseOrderId" placeholder="请选择" clearable
<!-- <popupSelect v-model="dataForm.purchaseOrderId" placeholder="请选择" clearable
field="purchaseOrderId" interfaceId="383149471917185157"
:columnOptions="purchaseOrderIdcolumnOptions" :excludeFields="excludeFields" propsValue="id"
relationField="document_no" popupType="dialog" popupTitle="选择数据" popupWidth="800px" @change="popupSelectChange" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="dataForm.purchaseOrderName" clearable :style='{"width":"100%"}' :disabled="true">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
@ -66,21 +69,27 @@
<el-table-column type="index" width="50" label="序号" align="center" />
<el-table-column prop="vehicleId" label="车辆" align="center" width="130">
<template slot-scope="scope">
<popupSelect v-model="scope.row.vehicleId" placeholder="请选择" clearable
<!-- <popupSelect v-model="scope.row.vehicleId" placeholder="请选择" clearable
:field="'vehicleId'+scope.$index" interfaceId="389754644018016581"
:columnOptions="purchaseorderitem0vehicleIdcolumnOptions" propsValue="vehicle_id"
relationField="ticketno" popupType="dialog" popupWidth="800px" hasPage :pageSize="20" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.vehicleName" placeholder="请输入" clearable
:style='{"width":"100%"}' :disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="materialId" label="物料" align="center" width="180">
<template slot-scope="scope">
<popupSelect v-model="scope.row.materialId" placeholder="请选择" clearable
<!-- <popupSelect v-model="scope.row.materialId" placeholder="请选择" clearable
:field="'materialId'+scope.$index" interfaceId="397736371898382533"
:columnOptions="purchaseorderitem0materialIdcolumnOptions" propsValue="id"
relationField="item_name" popupType="dialog" popupWidth="800px" hasPage :pageSize="20"
:disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.materialName" placeholder="请输入" clearable
:style='{"width":"100%"}' :disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="settlement" label="结算重量 ">

@ -13,22 +13,28 @@
</el-col>
<el-col :span="8">
<el-form-item label="合同" prop="contractCode">
<popupSelect v-model="dataForm.contractCode" placeholder="请选择" clearable field="contractCode"
<!-- <popupSelect v-model="dataForm.contractCode" placeholder="请选择" clearable field="contractCode"
interfaceId="390143765857220229" :columnOptions="contractCodecolumnOptions" propsValue="id"
relationField="contract_name" popupType="dialog" popupTitle="选择数据" popupWidth="800px" hasPage
:pageSize="20" @change="changeContract" :disabled="true">
:pageSize="20" @change="changeContract">
</popupSelect>
</popupSelect>-->
<el-input v-model="dataForm.contractName" placeholder="请输入" clearable :style='{"width":"100%"}' :disabled="true">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="供应商" prop="supplierId">
<popupSelect v-model="dataForm.supplierId" placeholder="请选择" clearable field="supplierId"
<!-- <popupSelect v-model="dataForm.supplierId" placeholder="请选择" clearable field="supplierId"
interfaceId="397751667988199621" :columnOptions="supplierIdcolumnOptions" propsValue="id"
relationField="supplier_name" popupType="dialog" popupTitle="选择数据" popupWidth="800px" hasPage
:pageSize="20" :disabled="true">
:pageSize="20">
</popupSelect>
</popupSelect>-->
<el-input v-model="dataForm.supplierName" placeholder="请输入" clearable :style='{"width":"100%"}' :disabled="true">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
@ -156,21 +162,27 @@
<el-table-column type="index" width="50" label="序号" align="center" />
<el-table-column prop="vehicleId" label="车辆" align="center" width="130">
<template slot-scope="scope">
<popupSelect v-model="scope.row.vehicleId" placeholder="请选择" clearable
<!-- <popupSelect v-model="scope.row.vehicleId" placeholder="请选择" clearable
:field="'vehicleId'+scope.$index" interfaceId="389754644018016581"
:columnOptions="purchaseorderitem0vehicleIdcolumnOptions" propsValue="vehicle_id"
relationField="ticketno" popupType="dialog" popupWidth="800px" hasPage :pageSize="20">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.vehicleName" placeholder="请输入" clearable :style='{"width":"100%"}'
:disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="materialId" label="物料" align="center" width="180">
<template slot-scope="scope">
<popupSelect v-model="scope.row.materialId" placeholder="请选择" clearable
<!-- <popupSelect v-model="scope.row.materialId" placeholder="请选择" clearable
:field="'materialId'+scope.$index" interfaceId="397736371898382533"
:columnOptions="purchaseorderitem0materialIdcolumnOptions" propsValue="id"
relationField="item_name" popupType="dialog" popupWidth="800px" hasPage :pageSize="20"
:disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.materialName" placeholder="请输入" clearable :style='{"width":"100%"}'
:disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="pountType" label="磅单类型" align="center" width="130">

@ -13,22 +13,28 @@
</el-col>
<el-col :span="8">
<el-form-item label="合同" prop="contractCode">
<popupSelect v-model="dataForm.contractCode" placeholder="请选择" clearable field="contractCode"
<!-- <popupSelect v-model="dataForm.contractCode" placeholder="请选择" clearable field="contractCode"
interfaceId="390143765857220229" :columnOptions="contractCodecolumnOptions" propsValue="id"
relationField="contract_name" popupType="dialog" popupTitle="选择数据" popupWidth="800px" hasPage
:pageSize="20" @change="changeContract" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="dataForm.contractName" placeholder="请输入" clearable :style='{"width":"100%"}' :disabled="true">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="供应商" prop="supplierId">
<popupSelect v-model="dataForm.supplierId" placeholder="请选择" clearable field="supplierId"
<!-- <popupSelect v-model="dataForm.supplierId" placeholder="请选择" clearable field="supplierId"
interfaceId="397751667988199621" :columnOptions="supplierIdcolumnOptions" propsValue="id"
relationField="supplier_name" popupType="dialog" popupTitle="选择数据" popupWidth="800px" hasPage
:pageSize="20" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="dataForm.supplierName" placeholder="请输入" clearable :style='{"width":"100%"}' :disabled="true">
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
@ -155,21 +161,27 @@
<el-table-column type="index" width="50" label="序号" align="center" />
<el-table-column prop="vehicleId" label="车辆" align="center" width="130">
<template slot-scope="scope">
<popupSelect v-model="scope.row.vehicleId" placeholder="请选择" clearable
<!-- <popupSelect v-model="scope.row.vehicleId" placeholder="请选择" clearable
:field="'vehicleId'+scope.$index" interfaceId="389754644018016581"
:columnOptions="purchaseorderitem0vehicleIdcolumnOptions" propsValue="vehicle_id"
relationField="ticketno" popupType="dialog" popupWidth="800px" hasPage :pageSize="20" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.vehicleName" placeholder="请输入" clearable :style='{"width":"100%"}'
:disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="materialId" label="物料" align="center" width="180">
<template slot-scope="scope">
<popupSelect v-model="scope.row.materialId" placeholder="请选择" clearable
<!-- <popupSelect v-model="scope.row.materialId" placeholder="请选择" clearable
:field="'materialId'+scope.$index" interfaceId="397736371898382533"
:columnOptions="purchaseorderitem0materialIdcolumnOptions" propsValue="id"
relationField="item_name" popupType="dialog" popupWidth="800px" hasPage :pageSize="20"
:disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.materialName" placeholder="请输入" clearable :style='{"width":"100%"}'
:disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="pountType" label="磅单类型" align="center" width="130">

@ -31,12 +31,15 @@
</el-form-item> -->
<el-form-item label="来源单号" prop="souceno">
<popupSelect v-model="dataForm.souceno" placeholder="请选择" clearable field="souceno"
<!-- <popupSelect v-model="dataForm.souceno" placeholder="请选择" clearable field="souceno"
interfaceId="392931756640102277" :columnOptions="soucenocolumnOptions" propsValue="id"
relationField="document_no" popupType="dialog" popupTitle="选择数据" popupWidth="800px" hasPage
:pageSize="20">
</popupSelect>
</popupSelect>-->
<el-input v-model="dataForm.soucenoName" placeholder="请输入来源单号" clearable :style='{"width":"100%"}' disabled>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
@ -68,13 +71,16 @@
</el-input>
</el-form-item> -->
<el-form-item label="供应商id" prop="supplierId">
<popupSelect v-model="dataForm.supplierId" placeholder="请选择" clearable field="supplierId"
<el-form-item label="供应商" prop="supplierId">
<!-- <popupSelect v-model="dataForm.supplierId" placeholder="请选择" clearable field="supplierId"
interfaceId="397751667988199621" :columnOptions="supplierIdcolumnOptions" propsValue="id"
relationField="supplier_name" popupType="dialog" popupTitle="选择数据" popupWidth="800px" hasPage
:pageSize="20">
</popupSelect>
</popupSelect>-->
<el-input v-model="dataForm.suppliername" placeholder="请输入供应商" clearable :style='{"width":"100%"}' disabled>
</el-input>
</el-form-item>
</el-col>
<el-col :span="16">
@ -127,21 +133,27 @@
<el-table-column prop="vehicleId" width="150" label="车辆">
<template slot-scope="scope">
<popupSelect v-model="scope.row.vehicleId" placeholder="请选择" clearable
<!-- <popupSelect v-model="scope.row.vehicleId" placeholder="请选择" clearable
:field="'vehicleId'+scope.$index" interfaceId="392933121244325765"
:columnOptions="jg_receiptin_item0vehicleIdcolumnOptions" propsValue="vehicle_id"
relationField="ticketno" :bissId="dataForm.souceno" popupType="dialog" popupWidth="800px" @change="popupSelect2"
hasPage :pageSize="20" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.vehicleName" placeholder="请输入" clearable
:disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="materialId" width="200" label="物料">
<template slot-scope="scope">
<popupSelect v-model="scope.row.materialId" placeholder="请选择" clearable
<!-- <popupSelect v-model="scope.row.materialId" placeholder="请选择" clearable
:field="'materialId'+scope.$index" interfaceId="398448695651178885"
:columnOptions="jg_receiptin_item0materialIdcolumnOptions" propsValue="id"
relationField="item_name" popupType="dialog" popupWidth="800px" hasPage :pageSize="20" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.materialname" placeholder="请输入" clearable
:disabled="true">
</el-input>
</template>
</el-table-column>
<!-- <el-table-column prop="materialname" width="140" label="物料名称" align="center">

@ -33,12 +33,15 @@
</el-form-item> -->
<el-form-item label="来源单号" prop="souceno">
<popupSelect v-model="dataForm.souceno" placeholder="请选择" clearable field="souceno"
<!-- <popupSelect v-model="dataForm.souceno" placeholder="请选择" clearable field="souceno"
interfaceId="392931756640102277" :columnOptions="soucenocolumnOptions" propsValue="id"
relationField="document_no" popupType="dialog" popupTitle="选择数据" popupWidth="800px"
hasPage :pageSize="20" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="dataForm.soucenoName" placeholder="请输入来源单号" clearable :style='{"width":"100%"}' disabled>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
@ -71,12 +74,15 @@
</el-input>
</el-form-item> -->
<el-form-item label="供应商" prop="supplierId">
<popupSelect v-model="dataForm.supplierId" placeholder="请选择" clearable field="supplierId"
<!-- <popupSelect v-model="dataForm.supplierId" placeholder="请选择" clearable field="supplierId"
interfaceId="397751667988199621" :columnOptions="supplierIdcolumnOptions"
propsValue="id" relationField="supplier_name" popupType="dialog" popupTitle="选择数据"
popupWidth="800px" hasPage :pageSize="20" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="dataForm.suppliername" placeholder="请输入供应商" clearable :style='{"width":"100%"}' disabled>
</el-input>
</el-form-item>
</el-col>
<el-col :span="16">
@ -130,25 +136,31 @@
<el-table-column prop="vehicleId" width="150" label="车辆">
<template slot-scope="scope">
<popupSelect v-model="scope.row.vehicleId" placeholder="请选择"
<!-- <popupSelect v-model="scope.row.vehicleId" placeholder="请选择"
clearable :field="'vehicleId'+scope.$index"
interfaceId="392933121244325765"
:columnOptions="jg_receiptin_item0vehicleIdcolumnOptions"
propsValue="vehicle_id" relationField="ticketno"
:bissId="dataForm.souceno" popupType="dialog" popupWidth="800px"
@change="popupSelect2" hasPage :pageSize="20" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.vehicleName" placeholder="请输入" clearable
:disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="materialId" width="200" label="物料">
<template slot-scope="scope">
<popupSelect v-model="scope.row.materialId" placeholder="请选择"
<!-- <popupSelect v-model="scope.row.materialId" placeholder="请选择"
clearable :field="'materialId'+scope.$index"
interfaceId="398448695651178885"
:columnOptions="jg_receiptin_item0materialIdcolumnOptions"
propsValue="id" relationField="item_name" popupType="dialog"
popupWidth="800px" hasPage :pageSize="20" :disabled="true">
</popupSelect>
</popupSelect>-->
<el-input v-model="scope.row.materialname" placeholder="请输入" clearable
:disabled="true">
</el-input>
</template>
</el-table-column>
<el-table-column prop="reservoirareaName" required width="200" label="库区">

@ -81,39 +81,39 @@
</div>
<JNPF-table v-loading="listLoading" :data="list" @sort-change='sortChange' has-c
@selection-change="handleSelectionChange" custom-column border>
<el-table-column prop="documentNo" label="单据编号" width="150" align="center"
<el-table-column prop="documentNo" label="单据编号" sortable width="150" align="center"
/>
<!-- <el-table-column prop="erpNo" label="ERP订单号" width="0" align="center"-->
<!--/>-->
<el-table-column prop="contractName" label="合同名称" width="200" align="center"
<el-table-column prop="contractName" label="合同名称" sortable width="200" align="center"
/>
<el-table-column prop="customerName" label="客户名称" width="170" align="center"
<el-table-column prop="customerName" label="客户名称" sortable width="170" align="center"
/>
<el-table-column prop="bidSection" label="所属标段" width="130" align="center"
<el-table-column prop="bidSection" label="所属标段" sortable width="130" align="center"
/>
<el-table-column prop="num" label="重量" width="0" align="center"
<el-table-column prop="num" label="重量" sortable width="0" align="center"
/>
<el-table-column prop="price" label="金额" width="130" align="center"
<el-table-column prop="price" label="金额" sortable width="130" align="center"
/>
<el-table-column label="币别" width="0" prop="currency" algin="center"
<el-table-column label="币别" width="0" prop="currency" algin="center" sortable
>
<template slot-scope="scope">
{{ scope.row.currency | dynamicText(currencyOptions) }}
</template>
</el-table-column>
<el-table-column prop="assessmentPirce" label="考核金额" width="130" align="center"
<el-table-column prop="assessmentPirce" label="考核金额" sortable width="130" align="center"
/>
<el-table-column prop="invoiceNum" label="发票数量" width="0" align="center"
<el-table-column prop="invoiceNum" label="发票数量" sortable width="0" align="center"
/>
<el-table-column prop="invoiceAmount" label="发票金额" width="130" align="center"
<el-table-column prop="invoiceAmount" label="发票金额" sortable width="130" align="center"
/>
<el-table-column prop="advanceAmount" label="垫资金额" width="130" align="center"
<el-table-column prop="advanceAmount" label="垫资金额" sortable width="130" align="center"
/>
<el-table-column prop="amountCollected" label="已回款金额" width="130" align="center"
<el-table-column prop="amountCollected" label="已回款金额" sortable width="130" align="center"
/>
<el-table-column prop="creatorTime" label="制单时间" width="140" align="center"
<el-table-column prop="creatorTime" label="制单时间" sortable width="140" align="center"
/>
<!-- <el-table-column label="单据状态 " width="0" prop="status" algin="center"-->
@ -130,7 +130,7 @@
<el-tag type="danger" v-else-if="scope.row.status==3">归档</el-tag>
</template>
</el-table-column>
<el-table-column prop="creatorUserName" label="制单人" width="130" align="center"
<el-table-column prop="creatorUserName" label="制单人" sortable width="130" align="center"
/>
<el-table-column label="操作" fixed="right" algin="center"
width="150">

Loading…
Cancel
Save