lilei 1 年之前
父節點
當前提交
19144aa694
共有 1 個文件被更改,包括 18 次插入18 次删除
  1. 18 18
      src/views/numsGoodsShelves/shelfSet/basicInfoModal.vue

+ 18 - 18
src/views/numsGoodsShelves/shelfSet/basicInfoModal.vue

@@ -31,7 +31,7 @@
           </template>
           <custList ref="custList" :dealerFlag="0" :isEnabled="true" @change="custChange"></custList>
         </a-form-model-item>
-        <a-form-model-item prop="showPrice">
+        <!-- <a-form-model-item prop="showPrice">
           <template slot="label">
             <a-tooltip placement="top">
               <template slot="title">
@@ -50,7 +50,7 @@
               非铺货产品——不显示价格
             </a-select-option>
           </a-select>
-        </a-form-model-item>
+        </a-form-model-item> -->
       </a-form-model>
       <div class="btn-cont">
         <a-button type="primary" id="shelfSet-basicInfo-modal-save" @click="handleSave">保存</a-button>
@@ -128,21 +128,21 @@ export default {
                 _this.spinning = false
               }, 100)
               // 更新价格显示
-              updateShelfPriceShow({
-                shelfSn: form.shelfSn,
-                paramValue: form.showPrice
-              }).then(ret => {
-                if (ret.status == 200) {
-                  _this.$message.success(ret.message)
-                  setTimeout(() => {
-                    _this.isShow = false
-                    _this.$emit('ok', res.data)
-                    _this.spinning = false
-                  }, 100)
-                } else {
-                  _this.spinning = false
-                }
-              })
+              // updateShelfPriceShow({
+              //   shelfSn: form.shelfSn,
+              //   paramValue: form.showPrice
+              // }).then(ret => {
+              //   if (ret.status == 200) {
+              //     _this.$message.success(ret.message)
+              //     setTimeout(() => {
+              //       _this.isShow = false
+              //       _this.$emit('ok', res.data)
+              //       _this.spinning = false
+              //     }, 100)
+              //   } else {
+              //     _this.spinning = false
+              //   }
+              // })
             } else {
               _this.spinning = false
             }
@@ -169,7 +169,7 @@ export default {
         const _this = this
         this.$nextTick(() => {
           _this.form.shelfName = _this.nowData.shelfName
-          _this.form.showPrice = _this.nowData.showPrice
+          // _this.form.showPrice = _this.nowData.showPrice
           const custome = _this.nowData.customerEntity
           if (custome) {
             _this.form.customerSn = custome.customerSn || ''