product
杨世强 2 years ago
parent 39c5d12329
commit d91ced5fca

@ -15,7 +15,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="物料名称" prop="materialId"> <el-form-item label="物料名称" prop="materialId">
<popupSelect v-model="dataForm.materialId" placeholder="请选择物料编码" clearable field="materialId" <popupSelect v-model="dataForm.materialId" placeholder="请选择物料名称" clearable field="materialId"
interfaceId="381037852907038533" :columnOptions="materialIdcolumnOptions" propsValue="id" interfaceId="381037852907038533" :columnOptions="materialIdcolumnOptions" propsValue="id"
relationField="item_name" popupType="dialog" popupTitle="选择数据" popupWidth="800px" hasPage relationField="item_name" popupType="dialog" popupTitle="选择数据" popupWidth="800px" hasPage
:pageSize="20"> :pageSize="20">
@ -45,7 +45,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="供应商" prop="supplierId"> <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="382494924156735557" :columnOptions="supplierIdcolumnOptions" propsValue="id" interfaceId="382494924156735557" :columnOptions="supplierIdcolumnOptions" propsValue="id"
relationField="supplier_name" popupType="dialog" popupTitle="选择数据" popupWidth="800px" hasPage relationField="supplier_name" popupType="dialog" popupTitle="选择数据" popupWidth="800px" hasPage
:pageSize="20" > :pageSize="20" >

@ -42,13 +42,13 @@
<JNPF-table v-loading="listLoading" :data="list" @sort-change='sortChange' has-c :hasNO="false" <JNPF-table v-loading="listLoading" :data="list" @sort-change='sortChange' has-c :hasNO="false"
@selection-change="handleSelectionChange" border> @selection-change="handleSelectionChange" border>
<el-table-column type="index" width="50" label="序号" fixed="left" align="center" /> <el-table-column type="index" width="50" label="序号" fixed="left" align="center" />
<el-table-column prop="licenseNo" label="车号" fixed="left" sortable width="120" align="center" /> <el-table-column prop="vehicleId" label="车号" fixed="left" sortable width="120" align="center" />
<el-table-column prop="customerName" label="客户名称" sortable width="150" align="center" /> <el-table-column prop="customerId" label="客户名称" sortable width="150" align="center" />
<el-table-column prop="salesName" label="销售合同" sortable width="150" align="center" /> <el-table-column prop="salesId" label="销售合同" sortable width="150" align="center" />
<el-table-column prop="supplierName" label="供应商名称" sortable width="150" align="center" /> <el-table-column prop="supplierId" label="供应商名称" sortable width="150" align="center" />
<el-table-column prop="purchaseName" label="采购合同" sortable width="150" align="center" /> <el-table-column prop="purchaseId" label="采购合同" sortable width="150" align="center" />
<el-table-column prop="materialCode" label="物料编码" sortable width="150" align="center" /> <!-- <el-table-column prop="materialCode" label="物料编码" sortable width="150" align="center" />-->
<el-table-column prop="materialName" label="物料名称" sortable width="150" align="center" /> <el-table-column prop="materialId" label="物料名称" sortable width="150" align="center" />
<el-table-column prop="advance" label="是否垫资" sortable width="100" align="center" > <el-table-column prop="advance" label="是否垫资" sortable width="100" align="center" >
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.advance | dynamicText(advanceOptions) }} {{ scope.row.advance | dynamicText(advanceOptions) }}
@ -176,31 +176,31 @@
formVisible3: false, formVisible3: false,
exportBoxVisible: false, exportBoxVisible: false,
columnList: [{ columnList: [{
prop: 'licenseNo', prop: 'vehicleId',
label: '车号' label: '车号'
}, },
{ {
prop: 'customerName', prop: 'customerId',
label: '客户名称' label: '客户名称'
}, },
{ {
prop: 'salesName', prop: 'salesId',
label: '销售合同' label: '销售合同'
}, },
{ {
prop: 'supplierName', prop: 'supplierId',
label: '供应商名称' label: '供应商名称'
}, },
{ {
prop: 'purchaseName', prop: 'purchaseId',
label: '采购合同' label: '采购合同'
}, },
{ {
prop: 'materialCode', prop: 'materialId',
label: '物料编码' label: '物料名称'
}, },
{ {
prop: 'materialName', prop: 'materialId',
label: '物料名称' label: '物料名称'
}, },
{ {

@ -240,6 +240,7 @@
naturalId: "", naturalId: "",
remark: '', remark: '',
creatorTime: "", creatorTime: "",
isExamine: "",
}, },
rules: { rules: {
materialId: [{ materialId: [{
@ -570,6 +571,7 @@
var grossWeight = this.dataForm.grossWeight;// var grossWeight = this.dataForm.grossWeight;//
var buckleWeight = this.dataForm.buckleWeight;// var buckleWeight = this.dataForm.buckleWeight;//
var netWeight = this.dataForm.netWeight;// var netWeight = this.dataForm.netWeight;//
this.dataForm.isExamine = '1';
this.dataForm.unit = this.dataForm.unit ? this.dataForm.unit : 0; this.dataForm.unit = this.dataForm.unit ? this.dataForm.unit : 0;
this.dataForm.transportType = this.dataForm.transportType ? this.dataForm.transportType : 0; this.dataForm.transportType = this.dataForm.transportType ? this.dataForm.transportType : 0;
this.dataForm.advance = this.dataForm.advance ? this.dataForm.advance : 0; this.dataForm.advance = this.dataForm.advance ? this.dataForm.advance : 0;

Loading…
Cancel
Save