|
|
|
@ -577,41 +577,44 @@ export default { |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
},{ |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 102003, |
|
|
|
serialNumber: '102003Table3PartSpec', |
|
|
|
serialNumber: '102003Table3CustomerPartNo', |
|
|
|
tableId: '102003Table3', |
|
|
|
tableName: '项目物料表', |
|
|
|
columnProp: 'partSpec', |
|
|
|
columnProp: 'customerPartNo', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '产品规格', |
|
|
|
columnLabel: '客户料号', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
},{ |
|
|
|
columnWidth: 150 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 102003, |
|
|
|
serialNumber: '102003Table3PartTypeDesc', |
|
|
|
serialNumber: '102003Table3FinalPartNo', |
|
|
|
tableId: '102003Table3', |
|
|
|
tableName: '项目物料表', |
|
|
|
columnProp: 'partTypeDesc', |
|
|
|
columnProp: 'finalPartNo', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '产品类型', |
|
|
|
columnLabel: '正式料号', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
}, { |
|
|
|
columnWidth: 150 |
|
|
|
}, |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 102001, |
|
|
|
serialNumber: '102001Table3Type', |
|
|
|
@ -664,24 +667,7 @@ export default { |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
},{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: 102003, |
|
|
|
serialNumber: '102003Table3CodeDesc', |
|
|
|
tableId: '102003Table3', |
|
|
|
tableName: '项目物料表', |
|
|
|
columnProp: 'codeDesc', |
|
|
|
headerAlign: 'center', |
|
|
|
align: 'center', |
|
|
|
columnLabel: '模板名称', |
|
|
|
columnHidden: false, |
|
|
|
columnImage: false, |
|
|
|
columnSortable: false, |
|
|
|
sortLv: 0, |
|
|
|
status: true, |
|
|
|
fixed: '', |
|
|
|
columnWidth: 120 |
|
|
|
} |
|
|
|
}, |
|
|
|
], |
|
|
|
//报价明细新增对象 |
|
|
|
quotationDetail: { |
|
|
|
@ -1192,11 +1178,11 @@ export default { |
|
|
|
</el-pagination> |
|
|
|
|
|
|
|
<el-dialog title="新增报价明细" v-drag @open="openInsertQuotationDetail" @close="closeInsertQuotationDetail" |
|
|
|
:visible.sync="quotationLeadIntoDetailFlag" width="40%" :close-on-click-modal="false"> |
|
|
|
:visible.sync="quotationLeadIntoDetailFlag" width="500px" :close-on-click-modal="false"> |
|
|
|
<el-form :model="quotationDetail" ref="insertQuotationDetailForm" :rules="quotationDetailRules" |
|
|
|
label-position="top"> |
|
|
|
<el-row :gutter="10"> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-col :span="10"> |
|
|
|
<el-form-item label="产品编码" prop="productNo"> |
|
|
|
<span slot="label" style="" @click="clickProjectHandle"><a>产品编码</a></span> |
|
|
|
<el-input v-model="quotationDetail.productNo" @blur="blurProjectHandle" clearable/> |
|
|
|
@ -1209,29 +1195,28 @@ export default { |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row :gutter="10"> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-col :span="10"> |
|
|
|
<el-form-item label="报价数量" prop="quotationDetailQuantity"> |
|
|
|
<el-input-number style="width: 100%;margin-top: -5px;" :min="1" v-model="quotationDetail.quotationDetailQuantity" :controls="false"></el-input-number> |
|
|
|
<el-input-number :min="1" v-model="quotationDetail.quotationDetailQuantity" :controls="false"></el-input-number> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="22"> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label=""> |
|
|
|
<el-checkbox v-model="quotationDetail.flag">保存进入报价界面</el-checkbox> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="22"> |
|
|
|
<el-form-item label="备注" style="display: block;min-height: 80px" prop="remark"> |
|
|
|
<el-input type="textarea" resize="none" v-model="quotationDetail.remark" :autosize="{minRows: 3, maxRows: 3}" |
|
|
|
style="min-height: 80px"/> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item label="备注" class="auto" style="display: block;min-height: 80px" prop="remark"> |
|
|
|
<el-input type="textarea" resize="none" v-model="quotationDetail.remark" :autosize="{minRows: 3, maxRows: 3}"/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
<div slot="footer" class="dialog-footer" style="margin-top: 20px"> |
|
|
|
<div slot="footer" class="dialog-footer" style="height: 30px;line-height: 30px"> |
|
|
|
<el-button type="primary" :loading="insertQuotationDetailLoading" @click="insertQuotationDetailBtn">保 存</el-button> |
|
|
|
<el-button @click="quotationLeadIntoDetailFlag = false">关 闭</el-button> |
|
|
|
</div> |
|
|
|
@ -1306,7 +1291,7 @@ export default { |
|
|
|
<el-input v-model="projectPartData.partDesc" clearable/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label=" "> |
|
|
|
<el-button @click="getProjectPartList" type="primary"> 查 询 </el-button> |
|
|
|
<el-button @click="getProjectPartList" type="primary">查 询</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-table height="300px" stripe border width="30%" @row-dblclick="dblClickProjectPartTable" |
|
|
|
|