|
@@ -84,6 +84,7 @@
|
|
|
priceListsPrice: {},
|
|
|
manMadeList: [],
|
|
|
valueObj: {},
|
|
|
+ cameraType: '',
|
|
|
});
|
|
|
const optionsList = ref([]);
|
|
|
const loading = ref(false);
|
|
@@ -224,6 +225,8 @@
|
|
|
addPriceItem(priceLists);
|
|
|
resetFields();
|
|
|
fileFlow.type = data.type;
|
|
|
+ fileFlow.cameraType = data.cameraType;
|
|
|
+
|
|
|
setFieldsValue({
|
|
|
...data,
|
|
|
warrantyExpirationDateText: `${data.warrantyDate || '无'}( ${t(
|
|
@@ -533,7 +536,7 @@
|
|
|
const params = await validate();
|
|
|
let newPrice = parseFloat(fileFlow.priceCount);
|
|
|
console.log('newPrice', fileFlow.manMadeList, fileFlow.priceLists, params);
|
|
|
- if (!(newPrice > 0)) {
|
|
|
+ if (fileFlow.cameraType != 4 && !(newPrice > 0)) {
|
|
|
return createMessage.error('合计金额不能小于0');
|
|
|
}
|
|
|
try {
|