Qukatie 2 днів тому
батько
коміт
867241f725

+ 3 - 3
src/views/storehouse/inStockManage/inStockPlan/detailsPage.vue

@@ -828,9 +828,9 @@ export default {
             row.subTotalMoney = _.multiply(Number(row.price ? row.price : 0), Number(row.goodsNum ? row.goodsNum : 0)).toFixed(2)
         },
         addRow() {
-            if (!this.form.id) {
-                return this.$message.error('请保存数据')
-            }
+            // if (!this.form.id) {
+            //     return this.$message.error('请保存数据')
+            // }
             this.form.centerShipCostList.push({
                 $cellEdit: true
             })

+ 14 - 14
src/views/storehouse/outStockManage/outStockPlan/detailsPage.vue

@@ -98,11 +98,11 @@
                                     style="width: 100%" @change="moneyChange(row)"></el-input-number>
                                 <span v-else>{{ row.goodsNum }}</span>
                             </template>
-                            <template slot="price" slot-scope="{ row }">
+                            <!-- <template slot="price" slot-scope="{ row }">
                                 <el-input v-if="row.$cellEdit" size="small" v-model="row.price" style="width: 100%"
                                     @change="moneyChange(row)"></el-input>
                                 <span v-else>{{ row.price }}</span>
-                            </template>
+                            </template> -->
                             <template slot="remarks" slot-scope="{ row }">
                                 <el-input v-if="!mingxibaocun" size="small" v-model="row.remarks"
                                     style="width: 100%"></el-input>
@@ -733,12 +733,12 @@ export default {
                             trigger: "blur"
                         }]
                     },
-                    {
-                        label: '价格',
-                        prop: 'price',
-                        overHidden: true,
-                        width: 100
-                    },
+                    // {
+                    //     label: '价格',
+                    //     prop: 'price',
+                    //     overHidden: true,
+                    //     width: 100
+                    // },
                     {
                         label: '库存',
                         prop: 'inventory',
@@ -938,17 +938,17 @@ export default {
             row.subTotalMoney = _.multiply(Number(row.price ? row.price : 0), Number(row.goodsNum ? row.goodsNum : 0)).toFixed(2)
         },
         addRowD() {
-            if (!this.form.id) {
-                return this.$message.error('请保存数据')
-            }
+            // if (!this.form.id) {
+            //     return this.$message.error('请保存数据')
+            // }
             this.form.centerShipCostList.push({
                 $cellEdit: true
             })
         },
         addRowC() {
-            if (!this.form.id) {
-                return this.$message.error('请保存数据')
-            }
+            // if (!this.form.id) {
+            //     return this.$message.error('请保存数据')
+            // }
             this.form.centerShipPaymentCostList.push({
                 $cellEdit: true
             })