|
@@ -1642,6 +1642,9 @@ const handleSubmit = async () => {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ }else{
|
|
|
+ ElMessage("请添加出货计划");
|
|
|
+ return false;
|
|
|
}
|
|
|
return true;
|
|
|
} else {
|
|
@@ -1749,9 +1752,9 @@ onMounted(() => {
|
|
|
if (route.query && route.query.processType) {
|
|
|
let businessId = route.query.businessId;
|
|
|
proxy.post("/sample/detail", { id: businessId }).then((res) => {
|
|
|
- if (res && res.dataJson) {
|
|
|
- res = { ...res, ...JSON.parse(res.dataJson) };
|
|
|
- }
|
|
|
+ // if (res && res.dataJson) {
|
|
|
+ // res = { ...res, ...JSON.parse(res.dataJson) };
|
|
|
+ // }
|
|
|
res.sampleShipmentList = res.sampleShipmentLists;
|
|
|
res.countryId = res.buyCountryId;
|
|
|
res.provinceId = res.buyProvinceId;
|
|
@@ -1844,9 +1847,9 @@ watch(
|
|
|
if (val && val.processType) {
|
|
|
let businessId = val.businessId;
|
|
|
proxy.post("/sample/detail", { id: businessId }).then((res) => {
|
|
|
- if (res && res.dataJson) {
|
|
|
- res = { ...res, ...JSON.parse(res.dataJson) };
|
|
|
- }
|
|
|
+ // if (res && res.dataJson) {
|
|
|
+ // res = { ...res, ...JSON.parse(res.dataJson) };
|
|
|
+ // }
|
|
|
res.sampleShipmentList = res.sampleShipmentLists;
|
|
|
res.countryId = res.buyCountryId;
|
|
|
res.provinceId = res.buyProvinceId;
|