Forráskód Böngészése

仓库管理列表去掉‘质检’,客户代号可输入;

yijing 1 éve
szülő
commit
d6e1542f40

+ 4 - 1
src/views/warehouseManagement/stockManagement/add.vue

@@ -324,6 +324,9 @@
             </template>
             </template>
           </el-table-column>
           </el-table-column>
           <el-table-column label="客户代号" prop="clientCode">
           <el-table-column label="客户代号" prop="clientCode">
+            <template slot-scope="{ row, $index }">
+              <el-input v-model="row.clientCode"></el-input>
+            </template>
           </el-table-column>
           </el-table-column>
           <el-table-column label="刻码" prop="engrave" width="140">
           <el-table-column label="刻码" prop="engrave" width="140">
             <template slot-scope="{ row, $index }">
             <template slot-scope="{ row, $index }">
@@ -877,7 +880,7 @@ export default {
           console.log(total, '6')
           console.log(total, '6')
           this.$set(this.productList[index], 'weight', total);
           this.$set(this.productList[index], 'weight', total);
         } else {
         } else {
-          console.log(row,'row')
+          console.log(row, 'row')
           if (row.measureType == '2') {
           if (row.measureType == '2') {
             if (row.packingUnit == 'KG') {
             if (row.packingUnit == 'KG') {
               const weight = total * Number(row.singleWeight);
               const weight = total * Number(row.singleWeight);

+ 2 - 2
src/views/warehouseManagement/stockManagement/index.vue

@@ -120,10 +120,10 @@
           >
           >
             详情
             详情
           </el-link> -->
           </el-link> -->
-          <el-link v-if="row.verifyStatus == 2 && clientEnvironmentId == 3" type="primary" :underline="false"
+          <!-- <el-link v-if="row.verifyStatus == 2 && clientEnvironmentId == 3" type="primary" :underline="false"
             icon="el-icon-view" @click="quality(row)">
             icon="el-icon-view" @click="quality(row)">
             质检
             质检
-          </el-link>
+          </el-link> -->
           <el-link v-if="row.verifyStatus == 2" type="primary" :underline="false" icon="el-icon-sort-up"
           <el-link v-if="row.verifyStatus == 2" type="primary" :underline="false" icon="el-icon-sort-up"
             @click="details(row)">
             @click="details(row)">
             上架
             上架