出入库凭证修改为文本类型

jg-waiwang-pro
XI_TENG\xixi_ 4 months ago
parent 3beacf45b4
commit 1374e9ca05

@ -836,7 +836,7 @@ public class VoucherServiceImpl extends ServiceImpl<VoucherMapper, VoucherEntity
organize = organize.replace("]",""); organize = organize.replace("]","");
QueryWrapper<VoucherEntity> queryWrapper = new QueryWrapper<>(); QueryWrapper<VoucherEntity> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("b.product_id",voucherPagination.getProductId()); queryWrapper.eq("b.product_id",voucherPagination.getProductId());
// queryWrapper.eq("a.voucher_status","4"); //质检之后为4的凭证 // queryWrapper.eq("a.voucher_status","4"); //质检之后为4的凭证,暂时不使用
queryWrapper.notIn(ObjectUtils.isNotEmpty(voucherPagination.getExcludeIdList()),"a.id",voucherPagination.getExcludeIdList()); queryWrapper.notIn(ObjectUtils.isNotEmpty(voucherPagination.getExcludeIdList()),"a.id",voucherPagination.getExcludeIdList());
queryWrapper.in(ObjectUtils.isNotEmpty(voucherPagination.getProductIdList()),"b.product_id",voucherPagination.getProductIdList()); queryWrapper.in(ObjectUtils.isNotEmpty(voucherPagination.getProductIdList()),"b.product_id",voucherPagination.getProductIdList());
queryWrapper.isNull("a.f_delete_mark"); queryWrapper.isNull("a.f_delete_mark");

@ -181,12 +181,12 @@
</template> </template>
</el-table-column> --> </el-table-column> -->
<el-table-column label="关联凭证" prop="poundCode" align="center" width="250"> <el-table-column label="关联凭证" prop="voucherCode" align="center" width="250">
<template slot="header"> <template slot="header">
<span class="required-sign"></span>关联凭证 <span class="required-sign"></span>关联凭证
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<JnpfInput v-model="scope.row.poundCode" placeholder="请输入" disabled clearable <JnpfInput v-model="scope.row.voucherCode" placeholder="请输入" disabled clearable
:style='{ "width": "100%" }'> :style='{ "width": "100%" }'>
</JnpfInput> </JnpfInput>
</template> </template>
@ -809,8 +809,8 @@ export default {
vehicleId: e.vehicleId, vehicleId: e.vehicleId,
productId: e.productId, productId: e.productId,
voucherId: e.id, voucherId: e.id,
poundCode: e.voucherCode, voucherCode: e.voucherCode,
// poundCode: e.poundCode, poundCode: e.poundCode,
poundlistTime: e.poundlistTime, poundlistTime: e.poundlistTime,
vehicleNumber: e.vehicleNumber, vehicleNumber: e.vehicleNumber,
unit: e.unit, unit: e.unit,

@ -180,12 +180,12 @@
</template> </template>
</el-table-column> --> </el-table-column> -->
<el-table-column label="关联凭证" prop="poundCode" align="center" width="250"> <el-table-column label="关联凭证" prop="voucherCode" align="center" width="250">
<template slot="header"> <template slot="header">
<span class="required-sign"></span>关联凭证 <span class="required-sign"></span>关联凭证
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<JnpfInput v-model="scope.row.poundCode" placeholder="请输入" disabled clearable <JnpfInput v-model="scope.row.voucherCode" placeholder="请输入" disabled clearable
:style='{ "width": "100%" }'> :style='{ "width": "100%" }'>
</JnpfInput> </JnpfInput>
</template> </template>
@ -251,8 +251,8 @@
<template slot-scope="scope"> <template slot-scope="scope">
<JnpfDatePicker v-model="scope.row.poundlistTime" <JnpfDatePicker v-model="scope.row.poundlistTime"
@change="changeData('warehousingoutboundpoundlist-poundlistTime', scope.$index)" @change="changeData('warehousingoutboundpoundlist-poundlistTime', scope.$index)"
:startTime="dateTime(false, 1, 1, '', '')" :endTime="dateTime(false, 1, 1, '', '')" :startTime="dateTime(false, 1, 1, '', '')"
placeholder="请选择" :endTime="dateTime(false, 1, 1, '', '')" placeholder="请选择"
:disabled="judgeWrite('warehousingstoragepoundlistList') || judgeWrite('warehousingstoragepoundlistList-poundlistTime')" :disabled="judgeWrite('warehousingstoragepoundlistList') || judgeWrite('warehousingstoragepoundlistList-poundlistTime')"
clearable :style='{ "width": "100%" }' type="date" format="yyyy-MM-dd"> clearable :style='{ "width": "100%" }' type="date" format="yyyy-MM-dd">
</JnpfDatePicker> </JnpfDatePicker>
@ -837,10 +837,10 @@ export default {
const e = list[i]; const e = list[i];
let item = { let item = {
voucherId: e.id, voucherId: e.id,
poundCode: e.voucherCode, voucherCode: e.voucherCode,
documentTypes: e.documentType1, documentTypes: e.documentType1,
voucherTypes: e.voucherType1, voucherTypes: e.voucherType1,
// poundCode: e.poundCode, poundCode: e.poundCode,
poundlistTime: e.poundlistTime, poundlistTime: e.poundlistTime,
vehicleName: e.vehicleNumber, vehicleName: e.vehicleNumber,
unit: e.unit, unit: e.unit,

Loading…
Cancel
Save