|
|
@@ -466,7 +466,6 @@ export default defineComponent({
|
|
|
// // formState.ContractAttachment = props.selectedRow.attachment
|
|
|
// formState.ContractAttachment = new Uint8Array()
|
|
|
if (visible.value) {
|
|
|
- contractChange(formState.ContractType);
|
|
|
queryCustomList();
|
|
|
getDeliveryGoods();
|
|
|
goodsList.value = getGoodsList();
|
|
|
@@ -476,6 +475,7 @@ export default defineComponent({
|
|
|
});
|
|
|
queryTradeManager();
|
|
|
mergeTwoObj(formState, props.selectedRow);
|
|
|
+ isSell.value = formState.ContractType === 1 ? false : true;
|
|
|
const { deliverygoodsid, qty, price, wrstandardid, spotgoodsbrandid } = props.selectedRow;
|
|
|
if (deliverygoodsid) {
|
|
|
deliveryGoodsChange(deliverygoodsid);
|