mo 2 years ago
parent
commit
5b2d5d444c

+ 1 - 0
src/views/oms/order/index.vue

@@ -136,6 +136,7 @@
           <template slot-scope="scope">
             <p v-if="scope.row.userType == 'STUDENT'">学生</p>
             <p v-else-if="scope.row.userType == 'TEACHER'">老师</p>
+            <p v-else-if="scope.row.userType == 'JMEDU'">管乐团</p>
             <p v-else>--</p>
           </template>
         </el-table-column>

+ 4 - 2
src/views/pms/product/components/ProductAttrDetail.vue

@@ -126,14 +126,16 @@
           <el-table-column label="SKU编号" align="center">
             <template slot-scope="scope">
               <el-input
+
                 v-model="scope.row.skuCode"
-                :disabled="!isEdit"
+                :disabled="(scope.row.platformLock ||!isEdit )"
               ></el-input>
             </template>
           </el-table-column>
           <el-table-column label="操作" width="80" align="center">
             <template slot-scope="scope">
               <el-button
+              v-if="!scope.row.platformLock"
                 :disabled="!isEdit"
                 type="text"
                 @click="handleRemoveProductSku(scope.$index, scope.row)"
@@ -348,7 +350,7 @@ export default {
   },
   created() {},
   mounted() {
-    console.log(this.value.skuStockList);
+    console.log(this.value.skuStockList,'skuStockList');
     this.handleEditCreated();
     this.getProductAttrCateList();
   },