| | |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!-- <el-col :span="6">--> |
| | | <!-- <el-form-item label="OTC行号" prop="otcLineNo">--> |
| | | <!-- <el-input--> |
| | | <!-- v-model="dataForm.otcLineNo"--> |
| | | <!-- placeholder=""--> |
| | | <!-- disabled--> |
| | | <!-- ></el-input>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- </el-col>--> |
| | | <!-- <el-col :span="6">--> |
| | | <!-- <el-form-item label="GSM行号" prop="coLineNo">--> |
| | | <!-- <el-input--> |
| | | <!-- v-model="dataForm.coLineNo"--> |
| | | <!-- placeholder=""--> |
| | | <!-- disabled--> |
| | | <!-- ></el-input>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- </el-col>--> |
| | | <el-col :span="6"> |
| | | <el-form-item label="客户编号" prop="customerNo"> |
| | | <el-input |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <!-- <el-col :span="6"> |
| | | <el-form-item label="客户的零件号" prop="customerPartNo"> |
| | | <el-input |
| | | v-model="dataForm.customerPartNo" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | <!-- <el-col :span="6">--> |
| | | <!-- <el-form-item label="IFS行号" prop="ifsLineNo">--> |
| | | <!-- <el-input--> |
| | | <!-- v-model="dataForm.ifsLineNo"--> |
| | | <!-- placeholder=""--> |
| | | <!-- disabled--> |
| | | <!-- ></el-input>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- </el-col>--> |
| | | <el-col :span="6"> |
| | | <el-form-item label="客户订单状态" prop="coState"> |
| | | <el-select |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!-- <el-col :span="6"> |
| | | <el-form-item label="行号" prop="coLineNo"> |
| | | <el-input |
| | | v-model="dataForm.coLineNo" |
| | | placeholder="" |
| | | <el-col :span="6"> |
| | | <el-form-item label="期望交货时间" prop="wantedDeliveryDate"> |
| | | <el-date-picker |
| | | v-model="dataForm.wantedDeliveryDate" |
| | | style="width: 100%" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | :disabled="!ediSource" |
| | | ></el-input> |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | <!-- <el-col :span="6"> |
| | | <el-form-item label="客户的零件规格" prop="customerPartName"> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="计划交货时间" prop="plannedDeliveryDate"> |
| | | <el-date-picker |
| | | v-model="dataForm.plannedDeliveryDate" |
| | | style="width: 100%" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="包装要求" prop="packageRequire"> |
| | | <el-input |
| | | v-model="dataForm.customerPartName" |
| | | v-model="dataForm.packageRequire" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | </el-col> |
| | | </el-row> |
| | | <!-- <el-row>--> |
| | | |
| | | <!-- <el-col :span="6">--> |
| | | <!-- <el-form-item label="IFS交货号" prop="ifsDeliveryNo">--> |
| | | <!-- <el-input--> |
| | | <!-- v-model="dataForm.ifsDeliveryNo"--> |
| | | <!-- placeholder=""--> |
| | | <!-- disabled--> |
| | | <!-- ></el-input>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- </el-col>--> |
| | | <!-- </el-row>--> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <!-- <el-col :span="6"> |
| | | <el-form-item label="零件号" prop="partNo"> |
| | | <el-input v-model="dataForm.partNo" placeholder="" readonly> |
| | | <el-button |
| | |
| | | @click="openPartDialog()" |
| | | ></el-button> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | <el-col :span="6"> |
| | | <el-form-item label="盘长要求" prop="lengthRequirement"> |
| | | <el-input |
| | | v-model="dataForm.lengthRequirement" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!-- <el-col :span="6">--> |
| | | <!-- <el-form-item label="IFS行项号" prop="ifsLineItemNo">--> |
| | | <!-- <el-input--> |
| | | <!-- v-model="dataForm.ifsLineItemNo"--> |
| | | <!-- placeholder=""--> |
| | | <!-- disabled--> |
| | | <!-- ></el-input>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- </el-col>--> |
| | | <el-col :span="6"> |
| | | <el-form-item label="销售件号" prop="salesPartNo"> |
| | | <el-input |
| | |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="业务员" prop="salesmanName"> |
| | | <el-input |
| | | v-model="dataForm.salesmanName" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="期望交货时间" prop="wantedDeliveryDate"> |
| | | <el-date-picker |
| | | v-model="dataForm.wantedDeliveryDate" |
| | | style="width: 100%" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | :disabled="!ediSource" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="计划交货时间" prop="plannedDeliveryDate"> |
| | | <el-date-picker |
| | | v-model="dataForm.plannedDeliveryDate" |
| | | style="width: 100%" |
| | | type="datetime" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | > |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!-- <el-col :span="6"> |
| | | <el-form-item label="客户零件规格" prop="customerPartSpec"> |
| | | <el-input |
| | | v-model="dataForm.customerPartSpec" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | <!-- <el-col :span="6">--> |
| | | <!-- <el-form-item label="事业部" prop="division">--> |
| | | <!-- <el-input--> |
| | | <!-- v-model="dataForm.division"--> |
| | | <!-- placeholder=""--> |
| | | <!-- disabled--> |
| | | <!-- ></el-input>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- </el-col>--> |
| | | </el-row> |
| | | <el-row> |
| | | <!-- <el-col :span="6"> |
| | | <el-form-item label="印字方式" prop="printType"> |
| | | <el-input |
| | | v-model="dataForm.printType" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="印字要求" prop="printingRequirements"> |
| | | <el-input |
| | | v-model="dataForm.printingRequirements" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="印字内容" prop="printContent"> |
| | | <el-input |
| | | v-model="dataForm.printContent" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | <el-col :span="6"> |
| | | <el-form-item label="包装要求" prop="packageRequire"> |
| | | <el-input |
| | | v-model="dataForm.packageRequire" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | | <el-form-item label="业务员" prop="salesmanName"> |
| | | <el-input |
| | | v-model="dataForm.salesmanName" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <el-form-item label="盘长要求" prop="lengthRequirement"> |
| | | <el-input |
| | | v-model="dataForm.lengthRequirement" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!-- <el-col :span="6"> |
| | | <el-form-item label="最终客户" prop="remark"> |
| | | <el-input |
| | | v-model="dataForm.finalCustomerName" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | <!-- <el-col :span="6"> |
| | | <el-form-item label="产品分组" prop="remark"> |
| | | <el-input |
| | | v-model="dataForm.productGroup" |
| | | placeholder="" |
| | | disabled |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="6"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-card header="订单参数" shadow="never"> |
| | | <!-- <el-card header="订单参数" shadow="never"> |
| | | <el-row> |
| | | <el-form-item |
| | | style="float:left;width: 50%" |
| | |
| | | ></el-input |
| | | ></el-form-item> |
| | | </el-row> |
| | | </el-card> |
| | | </el-card> --> |
| | | </el-tab-pane> |
| | | <el-tab-pane label="OTC附件" type="card"> |
| | | <el-table :data="fileList" style="width: 100%" height="500"> |
| | |
| | | coLineNo: '', |
| | | partNo: '', |
| | | customerPartName: '', |
| | | buyQtyDue: '', |
| | | otcQuantity: '', |
| | | wantedDeliveryDate: '', |
| | | plannedDeliveryDate: '', |
| | | customerPoNo: '', |
| | |
| | | if (!this.dataForm.id) { |
| | | return true |
| | | } |
| | | if (this.dataForm.id && this.dataForm.sourceId !== 'GSM') { |
| | | if (this.dataForm.id && (this.dataForm.sourceId != null && this.dataForm.sourceId !== 'GSM')) { |
| | | return true |
| | | } |
| | | return false |
| | |
| | | this.dataForm = response.data.data |
| | | // } |
| | | // this.fileList = response.data.data.customerOrderAttachmentList |
| | | this.getFileList() |
| | | const sourceId = response.data.data.sourceId |
| | | if(sourceId != null){ |
| | | this.getFileList() |
| | | } |
| | | this.orderParamList = response.data.data.orderParamList |
| | | this.title = |
| | | this.dataForm.customerName + this.dataForm.customerOrderNo |