|
@@ -301,6 +301,7 @@ const openModal = () => {
|
|
|
if (res && res.length > 0) {
|
|
|
shipmentList.value = res.map((item) => {
|
|
|
return {
|
|
|
+ packShipmentId: item.id,
|
|
|
label: item.contractCode,
|
|
|
value: item.contractId,
|
|
|
packDetailIds: item.packDetailIds,
|
|
@@ -320,6 +321,7 @@ const changeContract = (val) => {
|
|
|
if (val) {
|
|
|
let data = shipmentList.value.filter((item) => item.value === val);
|
|
|
if (data && data.length > 0) {
|
|
|
+ formData.data.packShipmentId = data[0].packShipmentId;
|
|
|
proxy.post("/packShipment/productDetailList", { packDetailIds: data[0].packDetailIds }).then((res) => {
|
|
|
if (res && res.length > 0) {
|
|
|
formData.data.documentsProductList = res.map((item) => {
|