Explorar el Código

Merge branch 'fine_music_score' into jenkins

lex hace 1 año
padre
commit
ab471c76af
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. 3 4
      src/views/pms/purchaseList/index.vue

+ 3 - 4
src/views/pms/purchaseList/index.vue

@@ -90,7 +90,7 @@
         </el-table-column>
         <el-table-column label="sku编号" align="center">
           <template slot-scope="scope">
-            <p>{{ scope.row.productSkuId }}</p>
+            <p>{{ scope.row.skuCode }}</p>
           </template>
         </el-table-column>
         <el-table-column label="内部库存" align="center">
@@ -169,9 +169,9 @@
           <el-select size="small" v-model="editSkuInfo.productSkuId" style="width:100%" placeholder="请选择Sku">
             <el-option
               v-for="item in stockList"
-              :key="item.skuCode"
+              :key="item.id"
               :label="item.spText"
-              :value="item.skuCode">
+              :value="item.id">
             </el-option>
           </el-select>
         </el-form-item>
@@ -279,7 +279,6 @@ export default {
         if (!this.dialogVisible && this.$refs.productAttrCatForm) {
           this.$refs.productAttrCatForm.clearValidate()
         }
-        this.dialogVisible = false;
       },
     handleSearchList() {
       this.listQuery.pageNum = 1;