| | |
| | | <el-input v-model="dataForm.entityName" placeholder=""></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!-- <el-col :span="6"> |
| | | <el-form-item label="事业部" prop="salesDepartment"> |
| | | <el-input |
| | | v-model="dataForm.salesDepartment" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | <el-col :span="6"> |
| | | <el-form-item label="省份" prop="province"> |
| | | <el-input v-model="dataForm.province" placeholder=""></el-input> |
| | |
| | | </el-divider> |
| | | <div> |
| | | <avue-crud ref="crud" |
| | | class="l-mes" |
| | | show-hide="false" |
| | | :option="option" |
| | | :data="tableData"> |
| | |
| | | </template> |
| | | </avue-crud> |
| | | </div> |
| | | <!-- <div class="l-mes normal-form"> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="2"> |
| | | <span>零件号</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.partNo" |
| | | placeholder="" |
| | | readonly |
| | | > |
| | | <el-button |
| | | slot="append" |
| | | icon="el-icon-search" |
| | | @click="openPartDialog()" |
| | | ></el-button> |
| | | </el-input> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <span>单位</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-select |
| | | v-model="dataForm.customerOrder.unit" |
| | | placeholder="" |
| | | style="width: 100%" |
| | | > |
| | | <el-option |
| | | v-for="item in units" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <span>数量</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.buyQtyDue" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="2"> |
| | | <span>电压等级</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.voltAgeClass" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <span>产品名称</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.productName" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <span>制造属性</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-select |
| | | v-model="dataForm.customerOrder.manufactureAttr" |
| | | placeholder="" |
| | | style="width: 100%" |
| | | disabled |
| | | > |
| | | <el-option |
| | | v-for="item in manufactureAttrs" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="2"> |
| | | <span>外护颜色</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.outerColor" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <span>零件规格</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.customerPartSpec" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <span>包装要求</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.packageRequire" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="2"> |
| | | <span>质量要求</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.qualityRequire" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <span>生产需求说明</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.otherProductRequire" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <span>系统</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.divisionSystem" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="2"> |
| | | <span>收货地址</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.shippingAddress" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <span>业务员</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-select v-model="dataForm.customerOrder.salesmanName" style="width:100%"> |
| | | <el-option v-for="(item,index) in staffOptions" :key="index" :value="item.staff_no" :label="item.staffName"/> |
| | | </el-select> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <span>盘长要求</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.lengthRequirement" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="2"> |
| | | <span>备注</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.remark" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | <el-col :span="2"> |
| | | <span>产品类型</span> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-input |
| | | v-model="dataForm.customerOrder.productType" |
| | | placeholder="" |
| | | ></el-input> |
| | | </el-col> |
| | | </el-row> |
| | | </div> --> |
| | | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="visible = false">取消</el-button> |
| | |
| | | color: #c0c4cc; |
| | | margin: -1px 0; |
| | | } |
| | | .l-mes .el-input-group__append, |
| | | .l-mes .el-input-group__prepend { |
| | | padding: 0; |
| | | border-top: none; |
| | | border-right: none; |
| | | border-left: none; |
| | | border-radius: 0; |
| | | background-color: transparent; |
| | | } |
| | | |
| | | .l-mes .el-input-group__append .el-button, |
| | | .l-mes .el-input-group__prepend .el-button { |
| | | padding: 0; |
| | | width: 25px; |
| | | border: none !important; |
| | | line-height: 28px; |
| | | color: #c0c4cc; |
| | | margin: -1px 0; |
| | | } |
| | | |
| | | .l-mes .el-input-group__append .el-button i, |
| | | .l-mes .el-input-group__prepend .el-button i { |
| | | vertical-align: middle; |
| | | } |
| | | </style> |
| | | <script> |
| | | import { addObj } from '@/api/plan/customer' |