Ver código fonte

选品中心对接

xiejiebiao 2 anos atrás
pai
commit
737d4c4075

+ 1 - 1
src/views/Marketing/goods/commodityManageMent/add/index.vue

@@ -202,7 +202,7 @@ export default {
         goodsType: "",
         status: 1,
         certificateTypeId: "",
-        centerShow: 1,
+        showStatus: 1,
       },
       rules: {
         year: [

+ 5 - 5
src/views/Marketing/goods/commodityManageMent/add/pricePeriod.vue

@@ -26,17 +26,17 @@
             <el-radio :label="0">无效</el-radio>
           </el-radio-group>
         </el-form-item>
-        <el-form-item label="在选中心显示">
+        <el-form-item label="在选中心显示">
           <el-radio-group
-            v-model="listData.centerShow"
-            @change="listData.centerShowNum = ''"
+            v-model="listData.showStatus"
+            @change="listData.showSort = ''"
           >
             <el-radio :label="1">是</el-radio>
             <el-input
-              v-if="listData.centerShow"
+              v-if="listData.showStatus"
               style="width: 60px; margin-right: 30px"
               onkeyup="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''"
-              v-model="listData.centerShowNum"
+              v-model.number="listData.showSort"
               placeholder="排序"
             ></el-input>
             <el-radio :label="0">否</el-radio>

+ 4 - 4
src/views/Marketing/goods/commodityManageMent/edit/pricePeriod.vue

@@ -32,17 +32,17 @@
             <el-radio :label="0">无效</el-radio>
           </el-radio-group>
         </el-form-item>
-        <el-form-item label="在选中心显示">
+        <el-form-item label="在选中心显示">
           <el-radio-group
-            v-model="listData.centerShow"
+            v-model="listData.showStatus"
             @change="listData.centerShowNum = ''"
           >
             <el-radio :label="1">是</el-radio>
             <el-input
-              v-if="listData.centerShow"
+              v-if="listData.showStatus"
               style="width: 60px; margin-right: 30px"
               onkeyup="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''"
-              v-model="listData.centerShowNum"
+              v-model.number="listData.showSort"
               placeholder="排序"
             ></el-input>
             <el-radio :label="0">否</el-radio>