li.shaoyi пре 3 година
родитељ
комит
784ddd8eef

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

@@ -369,6 +369,7 @@ export default defineComponent({
           const EndDate = fn(pDate[1]);
           Object.assign(param, { StartDate, EndDate });
         }
+        param.SellUserID = param.BuyUserID;
         // 合同附件
         param.ContractAttachment = getFirstImg();
         sendReq(param, loading, OperateType)

+ 9 - 8
src/views/information/spot-contract/components/common-detail/index.vue

@@ -69,7 +69,7 @@ export default defineComponent({
           { label: '销售方', value: formatValue(data.sellusername) },
           { label: '合同附件', value: formatValue(getImgName(data.attachment)) },
           { label: '状态', value: getContractStatusName(data.contracctstatus), className: 'green' },
-          { label: "交易主体", value: formatValue(data.subjectname) }
+          //{ label: "交易主体", value: formatValue(data.subjectname) }
         ];
         getBaseInfo(base);
         // 现货信息
@@ -116,13 +116,14 @@ export default defineComponent({
 
 <style lang="less">
 .custom-detail {
-    .ant-form.inlineForm {
-        margin-top: 20px;
-    }
-    .upload {
-        .look {
-            margin-left: 0;
-        }
+  .ant-form.inlineForm {
+    margin-top: 20px;
+  }
+
+  .upload {
+    .look {
+      margin-left: 0;
     }
+  }
 }
 </style>