소스 검색

首页 弹出框修改

caojunjie 2 년 전
부모
커밋
9df6979f3c

+ 1 - 1
src/views/businessManagement/salesOrder/detailsPageEdit.vue

@@ -378,7 +378,7 @@
               <template slot="orderQuantity" slot-scope="{row}">
                 <el-input-number v-model="row.orderQuantity" size="small" :controls="false" :precision="0"
                   @input="amountChange(row)" style="width: 100%" />
-              </template> 
+              </template>
               <template slot-scope="scope" slot="menu">
                 <el-button type="text" icon="el-icon-edit" size="small"
                   @click.stop="importStagList(scope.row, scope.index)" v-if="activeName == 'searchList'"

+ 27 - 2
src/views/tirePartsMall/basicData/commodityInformation/detailsPage.vue

@@ -48,6 +48,15 @@
                         <el-switch v-model="form.explosionProof" :disabled="disabled" active-text="是" inactive-text="否"
                             active-value="1" inactive-value="0" />
                     </template>
+
+                    <template slot="originalFactory" slot-scope="{disabled}">
+                        <el-switch v-model="form.originalFactory" :disabled="disabled" active-text="是" inactive-text="否"
+                                   active-value="1" inactive-value="0" />
+                    </template>
+                    <template slot="selfRecovery" slot-scope="{disabled}">
+                        <el-switch v-model="form.selfRecovery" :disabled="disabled" active-text="是" inactive-text="否"
+                                   active-value="1" inactive-value="0" />
+                    </template>
                 </avue-form>
             </trade-card>
             <containerTitle title="附件信息"></containerTitle>
@@ -416,12 +425,28 @@ export default {
                     {
                         label: "原厂",
                         prop: "originalFactory",
-                        span: 8
+                        span: 8,
+                        type: 'select',
+                        dicData: [{
+                            label: '否',
+                            value: 0
+                        }, {
+                            label: '是',
+                            value: 1
+                        }],
                     },
                     {
                         label: "自修补",
                         prop: "selfRecovery",
-                        span: 8
+                        span: 8,
+                        type: 'select',
+                        dicData: [{
+                            label: '否',
+                            value: 0
+                        }, {
+                            label: '是',
+                            value: 1
+                        }],
                     },
                     {
                         label: "备注",