huangbin преди 4 години
родител
ревизия
43b646682b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/views/information/spot-contract/components/modify/index.vue

+ 1 - 1
src/views/information/spot-contract/components/modify/index.vue

@@ -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);