Просмотр исходного кода

根据料品带出字段不可修改

jingbb 8 месяцев назад
Родитель
Сommit
f02d4566c3

+ 0 - 18
src/views/production/materialprocurement/modules/materialProcurementAdd.vue

@@ -169,26 +169,11 @@
                     <a-input placeholder="请输入" v-model="record.model"></a-input>
                 </a-form-model-item>
             </template>
-            <template slot="color" slot-scope="text, record, index">
-                <a-form-model-item prop="color" class='sonItem'>
-                    <a-input placeholder="请输入" v-model="record.color"></a-input>
-                </a-form-model-item>
-            </template>
             <template slot="fixedNum" slot-scope="text, record, index">
                 <a-form-model-item prop="fixedNum" class='sonItem'>
                     <a-input placeholder="请输入" v-model="record.fixedNum"></a-input>
                 </a-form-model-item>
             </template>
-            <template slot="fixedLength" slot-scope="text, record, index">
-                <a-form-model-item prop="fixedLength" class='sonItem'>
-                    <a-input placeholder="请输入" v-model="record.fixedLength"></a-input>
-                </a-form-model-item>
-            </template>
-            <template slot="widthHeight" slot-scope="text, record, index">
-                <a-form-model-item prop="widthHeight" class='sonItem'>
-                    <a-input placeholder="请输入" v-model="record.widthHeight"></a-input>
-                </a-form-model-item>
-            </template>
             <template slot="pieces" slot-scope="text, record, index">
                 <a-form-model-item prop="pieces" class='sonItem'>
                     <a-input placeholder="请输入" v-model="record.pieces"></a-input>
@@ -451,7 +436,6 @@
                     align:"center",
                     dataIndex: 'color',
                     ellipsis: true,
-                    scopedSlots: { customRender: 'color' } 
                 },
                 {
                     title: '支数',
@@ -465,14 +449,12 @@
                     align:"center",
                     dataIndex: 'fixedLength',
                     ellipsis: true,
-                    scopedSlots: { customRender: 'fixedLength' } 
                 },
                 {
                     title: '宽/高',
                     align:"center",
                     dataIndex: 'widthHeight',
                     ellipsis: true,
-                    scopedSlots: { customRender: 'widthHeight' } 
                 },
                 {
                     title: '片数',

+ 0 - 22
src/views/production/productionTotalOrder/modules/SurplusMaterials.vue

@@ -54,30 +54,12 @@
                         <a-input placeholder="请输入" v-model="record.model" v-else></a-input>
                      </a-form-model-item>
                 </template>
-                <template slot="color" slot-scope="text, record, index">
-                    <a-form-model-item prop="color" class='sonItem'>
-                        <span v-if="title=='订单操作'">{{ record.color }}</span>
-                        <a-input placeholder="请输入" v-model="record.color" v-else></a-input>
-                     </a-form-model-item>
-                </template>
                 <template slot="fixedNum" slot-scope="text, record, index">
                     <a-form-model-item prop="fixedNum" class='sonItem'>
                         <span v-if="title=='订单操作'">{{ record.fixedNum }}</span>
                         <a-input placeholder="请输入" v-model="record.fixedNum" v-else></a-input>
                      </a-form-model-item>
                 </template>
-                <template slot="fixedLength" slot-scope="text, record, index">
-                    <a-form-model-item prop="fixedLength" class='sonItem'>
-                        <span v-if="title=='订单操作'">{{ record.fixedLength }}</span>
-                        <a-input placeholder="请输入" v-model="record.fixedLength" v-esle></a-input>
-                     </a-form-model-item>
-                </template>
-                <template slot="widthHeight" slot-scope="text, record, index">
-                    <a-form-model-item prop="widthHeight" class='sonItem'>
-                        <span v-if="title=='订单操作'">{{ record.widthHeight }}</span>
-                        <a-input placeholder="请输入" v-model="record.widthHeight" v-else></a-input>
-                     </a-form-model-item>
-                </template>
                 <template slot="pieces" slot-scope="text, record, index">
                     <a-form-model-item prop="pieces" class='sonItem'>
                         <span v-if="title=='订单操作'">{{ record.pieces }}</span>
@@ -320,8 +302,6 @@
                     align:"center",
                     dataIndex: 'color',
                     ellipsis: true,
-                    scopedSlots: { customRender: 'color' } 
-
                 },
                 {   
                     title: '支数',
@@ -335,14 +315,12 @@
                     align:"center",
                     dataIndex: 'fixedLength',
                     ellipsis: true,
-                    scopedSlots: { customRender: 'fixedLength' } 
                 },
                 {
                     title: '宽/高',
                     align:"center",
                     dataIndex: 'widthHeight',
                     ellipsis: true,
-                    scopedSlots: { customRender: 'widthHeight' } 
                 },
                 {   
                     title: '片数',

+ 1 - 22
src/views/production/productionTotalOrder/modules/material.vue

@@ -66,30 +66,12 @@
                         <a-input placeholder="请输入" v-model="record.model" v-else></a-input>
                      </a-form-model-item>
                 </template>
-                <template slot="color" slot-scope="text, record, index">
-                    <a-form-model-item prop="color" class='sonItem'>
-                        <span v-if="title=='订单操作'">{{ record.color }}</span>
-                        <a-input placeholder="请输入" v-model="record.color" v-else></a-input>
-                     </a-form-model-item>
-                </template>
                 <template slot="fixedNum" slot-scope="text, record, index">
                     <a-form-model-item prop="fixedNum" class='sonItem'>
                         <span v-if="title=='订单操作'">{{ record.fixedNum }}</span>
                         <a-input placeholder="请输入" v-model="record.fixedNum" v-else></a-input>
                      </a-form-model-item>
                 </template>
-                <template slot="fixedLength" slot-scope="text, record, index">
-                    <a-form-model-item prop="fixedLength" class='sonItem'>
-                        <span v-if="title=='订单操作'">{{ record.fixedLength }}</span>
-                        <a-input placeholder="请输入" v-model="record.fixedLength" v-else></a-input>
-                     </a-form-model-item>
-                </template>
-                <template slot="widthHeight" slot-scope="text, record, index">
-                    <a-form-model-item prop="widthHeight" class='sonItem'>
-                        <span v-if="title=='订单操作'">{{ record.widthHeight }}</span>
-                        <a-input placeholder="请输入" v-model="record.widthHeight"  v-else></a-input>
-                     </a-form-model-item>
-                </template>
                 <template slot="pieces" slot-scope="text, record, index">
                     <a-form-model-item prop="pieces" class='sonItem'>
                         <span v-if="title=='订单操作'">{{ record.pieces }}</span>
@@ -340,7 +322,6 @@
                     align:"center",
                     dataIndex: 'color',
                     ellipsis: true,
-                    scopedSlots: { customRender: 'color' } 
 
                 },
                 {
@@ -356,14 +337,12 @@
                     align:"center",
                     dataIndex: 'fixedLength',
                     ellipsis: true,
-                    scopedSlots: { customRender: 'fixedLength' } 
                 },
                 {
                     title: '宽/高',
                     align:"center",
                     dataIndex: 'widthHeight',
-                    ellipsis: true,
-                    scopedSlots: { customRender: 'widthHeight' } 
+                    ellipsis: true,      
                 },
                 {   
                     title: '片数',

+ 0 - 22
src/views/production/productionTotalOrder/modules/productDetails.vue

@@ -112,30 +112,12 @@
                         <a-input placeholder="请输入" v-model="record.model" v-else></a-input>
                      </a-form-model-item>
                 </template>
-                <template slot="color" slot-scope="text, record, index">
-                    <a-form-model-item prop="color" class='sonItem'>
-                        <span v-if="title=='订单操作'">{{ record.color }}</span>
-                        <a-input placeholder="请输入" v-model="record.color" v-else></a-input>
-                     </a-form-model-item>
-                </template>
                 <template slot="fixedNum" slot-scope="text, record, index">
                     <a-form-model-item prop="fixedNum" class='sonItem'>
                         <span v-if="title=='订单操作'">{{ record.fixedNum }}</span>
                         <a-input placeholder="请输入" v-model="record.fixedNum" v-else></a-input>
                      </a-form-model-item>
                 </template>
-                <template slot="fixedLength" slot-scope="text, record, index">
-                    <a-form-model-item prop="fixedLength" class='sonItem'>
-                        <span v-if="title=='订单操作'">{{ record.fixedLength }}</span>
-                        <a-input placeholder="请输入" v-model="record.fixedLength" v-else></a-input>
-                     </a-form-model-item>
-                </template>
-                <template slot="widthHeight" slot-scope="text, record, index">
-                    <a-form-model-item prop="widthHeight" class='sonItem'>
-                        <span v-if="title=='订单操作'">{{ record.widthHeight }}</span>
-                        <a-input placeholder="请输入" v-model="record.widthHeight" v-else></a-input>
-                     </a-form-model-item>
-                </template>
                 <template slot="pieces" slot-scope="text, record, index">
                     <a-form-model-item prop="pieces" class='sonItem'>
                         <span v-if="title=='订单操作'">{{ record.pieces }}</span>
@@ -429,8 +411,6 @@
                     align:"center",
                     dataIndex: 'color',
                     ellipsis: true,
-                    scopedSlots: { customRender: 'color' } 
-
                 },
                 {   
                     title: '支数',
@@ -444,14 +424,12 @@
                     align:"center",
                     dataIndex: 'fixedLength',
                     ellipsis: true,
-                    scopedSlots: { customRender: 'fixedLength' } 
                 },
                 {
                     title: '宽/高',
                     align:"center",
                     dataIndex: 'widthHeight',
                     ellipsis: true,
-                    scopedSlots: { customRender: 'widthHeight' } 
                 },
                 {
                     title: '片数',