4.24测试问题修改

jg-waiwang-pro
vayne 6 months ago
parent be51f68fe0
commit fb3d17d46f

@ -58,14 +58,12 @@
WHEN '2' THEN WHEN '2' THEN
'待审核' '待审核'
WHEN '3' THEN WHEN '3' THEN
'待锁定'
WHEN '4' THEN
'待出库' '待出库'
WHEN '5' THEN WHEN '4' THEN
'部分出库' '部分出库'
WHEN '6' THEN WHEN '5' THEN
'已完成' '已完成'
WHEN '7' THEN WHEN '6' THEN
'已关闭' '已关闭'
END END
WHEN document_type = '2' THEN WHEN document_type = '2' THEN
@ -76,12 +74,14 @@
WHEN '2' THEN WHEN '2' THEN
'待审核' '待审核'
WHEN '3' THEN WHEN '3' THEN
'待出库' '待锁定'
WHEN '4' THEN WHEN '4' THEN
'部分出库' '出库'
WHEN '5' THEN WHEN '5' THEN
'已完成' '部分出库'
WHEN '6' THEN WHEN '6' THEN
'已完成'
WHEN '7' THEN
'已关闭' '已关闭'
END END
END AS documentStatus1, END AS documentStatus1,

@ -160,7 +160,7 @@ public class BusinessLineConfigServiceImpl extends ServiceImpl<BusinessLineConfi
allRuleIDlist = allRuleList; allRuleIDlist = allRuleList;
} }
} }
boolean pcPermission = false; boolean pcPermission = true;
boolean appPermission = false; boolean appPermission = false;
if(isPc && pcPermission){ if(isPc && pcPermission){
if (!userProvider.get().getIsAdministrator()){ if (!userProvider.get().getIsAdministrator()){

@ -188,7 +188,7 @@ public class BusinessLineServiceImpl extends ServiceImpl<BusinessLineMapper, Bus
allRuleIDlist = allRuleList; allRuleIDlist = allRuleList;
} }
} }
boolean pcPermission = false; boolean pcPermission = true;
boolean appPermission = false; boolean appPermission = false;
if(isPc && pcPermission){ if(isPc && pcPermission){
if (!userProvider.get().getIsAdministrator()){ if (!userProvider.get().getIsAdministrator()){

@ -260,7 +260,7 @@ public class BusinessOrderServiceImpl extends ServiceImpl<BusinessOrderMapper, B
String value = businessOrderPagination.getBusinessType() instanceof List ? String value = businessOrderPagination.getBusinessType() instanceof List ?
JsonUtil.getObjectToString(businessOrderPagination.getBusinessType()) : JsonUtil.getObjectToString(businessOrderPagination.getBusinessType()) :
String.valueOf(businessOrderPagination.getBusinessType()); String.valueOf(businessOrderPagination.getBusinessType());
businessOrderQueryWrapper.like("a.business_type",value); businessOrderQueryWrapper.eq("a.business_type",value);
} }
@ -270,7 +270,7 @@ public class BusinessOrderServiceImpl extends ServiceImpl<BusinessOrderMapper, B
String value = businessOrderPagination.getDeliveryType() instanceof List ? String value = businessOrderPagination.getDeliveryType() instanceof List ?
JsonUtil.getObjectToString(businessOrderPagination.getDeliveryType()) : JsonUtil.getObjectToString(businessOrderPagination.getDeliveryType()) :
String.valueOf(businessOrderPagination.getDeliveryType()); String.valueOf(businessOrderPagination.getDeliveryType());
businessOrderQueryWrapper.like("a.delivery_type",value); businessOrderQueryWrapper.eq("a.delivery_type",value);
} }
@ -603,7 +603,7 @@ public class BusinessOrderServiceImpl extends ServiceImpl<BusinessOrderMapper, B
String value = businessOrderPagination.getBusinessType() instanceof List ? String value = businessOrderPagination.getBusinessType() instanceof List ?
JsonUtil.getObjectToString(businessOrderPagination.getBusinessType()) : JsonUtil.getObjectToString(businessOrderPagination.getBusinessType()) :
String.valueOf(businessOrderPagination.getBusinessType()); String.valueOf(businessOrderPagination.getBusinessType());
businessOrderQueryWrapper.like("a.business_type",value); businessOrderQueryWrapper.eq("a.business_type",value);
} }
@ -613,7 +613,7 @@ public class BusinessOrderServiceImpl extends ServiceImpl<BusinessOrderMapper, B
String value = businessOrderPagination.getDeliveryType() instanceof List ? String value = businessOrderPagination.getDeliveryType() instanceof List ?
JsonUtil.getObjectToString(businessOrderPagination.getDeliveryType()) : JsonUtil.getObjectToString(businessOrderPagination.getDeliveryType()) :
String.valueOf(businessOrderPagination.getDeliveryType()); String.valueOf(businessOrderPagination.getDeliveryType());
businessOrderQueryWrapper.like("a.delivery_type",value); businessOrderQueryWrapper.eq("a.delivery_type",value);
} }

@ -154,7 +154,7 @@ public class VoucherController {
List<Map<String, Object>> realList=new ArrayList<>(); List<Map<String, Object>> realList=new ArrayList<>();
for (VoucherEntity entity : list) { for (VoucherEntity entity : list) {
List<String> placeDispatchArr = JSON.parseArray(entity.getPlaceDispatch(), String.class); List<String> placeDispatchArr = JSON.parseArray(entity.getPlaceDispatch(), String.class);
List<String> destinationArr = JSON.parseArray(entity.getPlaceDispatch(), String.class); List<String> destinationArr = JSON.parseArray(entity.getDestination(), String.class);
List<ProvinceEntity> placeDispatchList = provinceService.getProList(placeDispatchArr); List<ProvinceEntity> placeDispatchList = provinceService.getProList(placeDispatchArr);
List<ProvinceEntity> destinationList = provinceService.getProList(destinationArr); List<ProvinceEntity> destinationList = provinceService.getProList(destinationArr);
List<String> placeDispatchs = placeDispatchList.stream().map(ProvinceEntity::getFullName).collect(Collectors.toList()); List<String> placeDispatchs = placeDispatchList.stream().map(ProvinceEntity::getFullName).collect(Collectors.toList());

@ -500,11 +500,10 @@
@change="changeData('vouchervehicle-vehicleId', scope.$index)" @change="changeData('vouchervehicle-vehicleId', scope.$index)"
:rowIndex="scope.$index" :formData="dataForm" :rowIndex="scope.$index" :formData="dataForm"
:templateJson="interfaceRes.vouchervehiclevehicleId" placeholder="请选择" :templateJson="interfaceRes.vouchervehiclevehicleId" placeholder="请选择"
:disabled="judgeWrite('vouchervehicleList') || judgeWrite('vouchervehicleList-vehicleId')" :disabled="true" propsValue="id" popupWidth="800px" popupTitle="选择数据"
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog" popupType="dialog" relationField='vehicle_number'
relationField='vehicle_number' :field="'vehicleId' + scope.$index" :field="'vehicleId' + scope.$index" interfaceId="529920852288864453"
interfaceId="529920852288864453" :pageSize="20" :pageSize="20" :columnOptions="vouchervehiclevehicleIdcolumnOptions" clearable
:columnOptions="vouchervehiclevehicleIdcolumnOptions" clearable
:style='{ "width": "100%" }'> :style='{ "width": "100%" }'>
</JnpfPopupSelect> </JnpfPopupSelect>
</template> </template>

@ -1436,7 +1436,7 @@ export default {
currencyProps: { "label": "fullName", "value": "id" }, currencyProps: { "label": "fullName", "value": "id" },
saleModeOptions: [{ "fullName": "以销定采", "id": "1" }, { "fullName": "以采定销", "id": "2" }], saleModeOptions: [{ "fullName": "以销定采", "id": "1" }, { "fullName": "以采定销", "id": "2" }],
saleModeProps: { "label": "fullName", "value": "id" }, saleModeProps: { "label": "fullName", "value": "id" },
correlatedOrderIdcolumnOptions: [{ "label": "订单编号", "value": "code" }, { "label": "单据类型", "value": "order_type" }, { "label": "是否紧急订单", "value": "urgent_order" },], correlatedOrderIdcolumnOptions: [{ "label": "订单编号", "value": "code" }, { "label": "单据类型", "value": "orderType1" }, { "label": "状态", "value": "saleStatus" },],
fixPriceModeOptions: [{ "fullName": "锁价模式", "id": "1" }, { "fullName": "后结算模式", "id": "2" }], fixPriceModeOptions: [{ "fullName": "锁价模式", "id": "1" }, { "fullName": "后结算模式", "id": "2" }],
fixPriceModeProps: { "label": "fullName", "value": "id" }, fixPriceModeProps: { "label": "fullName", "value": "id" },
secondSubjectBasicIdcolumnOptions: [{ "label": "供应商名称", "value": "name" }, { "label": "国家", "value": "country" }, { "label": "地址", "value": "address" }, { "label": "电话", "value": "phone" }], secondSubjectBasicIdcolumnOptions: [{ "label": "供应商名称", "value": "name" }, { "label": "国家", "value": "country" }, { "label": "地址", "value": "address" }, { "label": "电话", "value": "phone" }],

@ -469,7 +469,9 @@
<template slot-scope="scope"> <template slot-scope="scope">
<JnpfInput v-model="scope.row.driverName" <JnpfInput v-model="scope.row.driverName"
@change="changeData('vouchervehicle-driverName', scope.$index)" @change="changeData('vouchervehicle-driverName', scope.$index)"
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'> placeholder="请输入"
:disabled="judgeWrite('vouchervehicleList') || judgeWrite('vouchervehicleList-driverName')"
clearable :style='{ "width": "100%" }'>
</JnpfInput> </JnpfInput>
</template> </template>
</el-table-column> </el-table-column>
@ -482,7 +484,9 @@
<template slot-scope="scope"> <template slot-scope="scope">
<JnpfInput v-model="scope.row.telephone" <JnpfInput v-model="scope.row.telephone"
@change="changeData('vouchervehicle-telephone', scope.$index)" @change="changeData('vouchervehicle-telephone', scope.$index)"
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'> placeholder="请输入"
:disabled="judgeWrite('vouchervehicleList') || judgeWrite('vouchervehicleList-telephone')"
clearable :style='{ "width": "100%" }'>
</JnpfInput> </JnpfInput>
</template> </template>
</el-table-column> </el-table-column>
@ -495,7 +499,8 @@
<template slot-scope="scope"> <template slot-scope="scope">
<JnpfInput v-model="scope.row.carrier" <JnpfInput v-model="scope.row.carrier"
@change="changeData('vouchervehicle-carrier', scope.$index)" placeholder="请输入" @change="changeData('vouchervehicle-carrier', scope.$index)" placeholder="请输入"
:disabled="true" clearable :style='{ "width": "100%" }'> :disabled="judgeWrite('vouchervehicleList') || judgeWrite('vouchervehicleList-carrier')"
clearable :style='{ "width": "100%" }'>
</JnpfInput> </JnpfInput>
</template> </template>
</el-table-column> </el-table-column>

@ -1349,7 +1349,7 @@ export default {
currencyProps: { "label": "fullName", "value": "id" }, currencyProps: { "label": "fullName", "value": "id" },
saleModeOptions: [{ "fullName": "以销定采", "id": "1" }, { "fullName": "以采定销", "id": "2" }], saleModeOptions: [{ "fullName": "以销定采", "id": "1" }, { "fullName": "以采定销", "id": "2" }],
saleModeProps: { "label": "fullName", "value": "id" }, saleModeProps: { "label": "fullName", "value": "id" },
correlatedOrderIdcolumnOptions: [{ "label": "订单编号", "value": "code" }, { "label": "单据类型", "value": "order_type" }, { "label": "是否紧急订单", "value": "urgent_order" },], correlatedOrderIdcolumnOptions: [{ "label": "订单编号", "value": "code" }, { "label": "单据类型", "value": "orderType1" }, { "label": "状态", "value": "purchaseStatus" },],
fixPriceModeOptions: [{ "fullName": "锁价模式", "id": "1" }, { "fullName": "后结算模式", "id": "2" }], fixPriceModeOptions: [{ "fullName": "锁价模式", "id": "1" }, { "fullName": "后结算模式", "id": "2" }],
fixPriceModeProps: { "label": "fullName", "value": "id" }, fixPriceModeProps: { "label": "fullName", "value": "id" },
secondSubjectBasicIdcolumnOptions: [{ "label": "客户名称", "value": "name" }, { "label": "国家", "value": "country" }, { "label": "地址", "value": "address" }, { "label": "电话", "value": "phone" }], secondSubjectBasicIdcolumnOptions: [{ "label": "客户名称", "value": "name" }, { "label": "国家", "value": "country" }, { "label": "地址", "value": "address" }, { "label": "电话", "value": "phone" }],
@ -1791,6 +1791,7 @@ export default {
this.dataForm.businessOrderProductRelationalList = data[0].businessOrderProductRelationalList this.dataForm.businessOrderProductRelationalList = data[0].businessOrderProductRelationalList
} }
if (data.flag == '发货凭证生成销售订单') { if (data.flag == '发货凭证生成销售订单') {
debugger
this.productCreate = true this.productCreate = true
this.dataForm.orderType = '3' this.dataForm.orderType = '3'
this.dataForm.enterpriseId = data[0].supplierId this.dataForm.enterpriseId = data[0].supplierId

@ -924,6 +924,7 @@ export default {
item.warehousingUnitId = item.salesMainUnitId; item.warehousingUnitId = item.salesMainUnitId;
} }
); );
debugger
this.dataForm.warehousingProductList = this.dataForm.warehousingProductList =
saleOrder.businessOrderProductRelationalList; saleOrder.businessOrderProductRelationalList;
}); });

Loading…
Cancel
Save