huangbin 4 years ago
parent
commit
43b646682b
1 changed files with 1 additions and 1 deletions
  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);