Browse Source

no message

linwenxin 1 year ago
parent
commit
eae04dba70
1 changed files with 8 additions and 8 deletions
  1. 8 8
      src/views/secondHandMall/commodityManagement/form.vue

+ 8 - 8
src/views/secondHandMall/commodityManagement/form.vue

@@ -4,9 +4,9 @@
       <zj-form-container ref="formRef" :form-data="formData" :form-rules="formRules">
         <zj-form-module title="商品详情" :form-data="formData" :form-items="formItems" label-width="80px">
         </zj-form-module>
-        <zj-form-module title="出售信息" class="my-module" :form-data="formData.order" :form-items="formItems2"
+        <zj-form-module v-if="formData.id && ~['SALE'].indexOf(cpdata.status)" title="出售信息" class="my-module" :form-data="formData.order" :form-items="formItems2"
           label-width="0px"/>
-          <zj-form-module title="查看留言" class="my-module" :form-data="formData.order" :form-items="formItems3"
+        <zj-form-module title="查看留言" class="my-module" :form-data="formData.order" :form-items="formItems3"
           label-width="0px"/>
       </zj-form-container>
     </zj-page-fill>
@@ -138,9 +138,9 @@ export default {
           formItemAttributes: { label: '功率(W)', prop: 'power' }
         },
         {
-          name: 'el-input',
+          name: 'el-date-picker',
           md: 6,
-          attributes: { disabled: this.disabled },
+          attributes: { disabled: this.disabled, type:"date", style:{width:'100%'}, "value-format":"yyyy-MM-dd" },
           formItemAttributes: { label: '制造日期', prop: 'makeDate' }
         },
         {
@@ -215,11 +215,11 @@ export default {
                   <div class='info_title'>卖家信息</div>
                   <div class='info_bottom'>
                     <div class='info_bottom_lt'>
-                      <el-image
+                      {this?.formData?.esOrderInfo?.sellUrl ? <el-image
                         style='width: 40px; height: 40px'
                         src={this?.formData?.esOrderInfo?.sellUrl}
                       >
-                      </el-image>
+                      </el-image>:null}
                     </div>
                     <div class='info_bottom_rt'>
                       <div>微信昵称:{this?.formData?.esOrderInfo?.sellName}</div>
@@ -234,11 +234,11 @@ export default {
                   <div class='info_title'>买家信息</div>
                     <div class='info_bottom'>
                       <div class='info_bottom_lt'>
-                        <el-image
+                        {this?.formData?.esOrderInfo?.wechatUserUrl?<el-image
                           style='width: 40px; height: 40px'
                           src={this?.formData?.esOrderInfo?.wechatUserUrl}
                         >
-                        </el-image>
+                        </el-image>:null}
                       </div>
                       <div class='info_bottom_rt'>
                         <div>微信昵称:{this?.formData?.esOrderInfo?.wechatUserName}</div>