|
@@ -12,13 +12,14 @@
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-form-item label="发货申请单" prop="orderNum">
|
|
<el-form-item label="发货申请单" prop="orderNum">
|
|
- <el-input v-model="mainForm.orderNum" placeholder="系统自动生成" readonly></el-input>
|
|
|
|
|
|
+ <el-input v-model="mainForm.orderNum" placeholder="系统自动生成" disabled></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="8" style="height: 51px;">
|
|
<el-col :xs="24" :sm="12" :lg="8" style="height: 51px;">
|
|
<el-form-item label="单据日期" prop="orderDate">
|
|
<el-form-item label="单据日期" prop="orderDate">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
v-model="mainForm.orderDate"
|
|
v-model="mainForm.orderDate"
|
|
|
|
+ disabled
|
|
type="date"
|
|
type="date"
|
|
value-format="yyyy-MM-dd"
|
|
value-format="yyyy-MM-dd"
|
|
style="width: 100%;"
|
|
style="width: 100%;"
|
|
@@ -30,12 +31,12 @@
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-form-item label="经销商编号" prop="jxsNum">
|
|
<el-form-item label="经销商编号" prop="jxsNum">
|
|
- <el-input v-model="mainForm.jxsNum" readonly></el-input>
|
|
|
|
|
|
+ <el-input v-model="mainForm.jxsNum" disabled></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="16">
|
|
<el-col :xs="24" :sm="12" :lg="16">
|
|
<el-form-item label="经销商名称" prop="jxsName">
|
|
<el-form-item label="经销商名称" prop="jxsName">
|
|
- <el-input v-model="mainForm.jxsName" readonly></el-input>
|
|
|
|
|
|
+ <el-input v-model="mainForm.jxsName" disabled></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -69,17 +70,17 @@
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-form-item label="联系人" prop="contactMan">
|
|
<el-form-item label="联系人" prop="contactMan">
|
|
- <el-input v-model="mainForm.contactMan" placeholder="请输入联系人" readonly></el-input>
|
|
|
|
|
|
+ <el-input v-model="mainForm.contactMan" placeholder="请输入联系人" disabled></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-form-item label="固定电话" prop="tel">
|
|
<el-form-item label="固定电话" prop="tel">
|
|
- <el-input v-model="mainForm.tel" placeholder="请输入固定电话" readonly></el-input>
|
|
|
|
|
|
+ <el-input v-model="mainForm.tel" placeholder="请输入固定电话" disabled></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-form-item label="移动电话" prop="phone">
|
|
<el-form-item label="移动电话" prop="phone">
|
|
- <el-input v-model="mainForm.phone" placeholder="请输入移动电话" readonly></el-input>
|
|
|
|
|
|
+ <el-input v-model="mainForm.phone" placeholder="请输入移动电话" disabled></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="24" :lg="24">
|
|
<el-col :xs="24" :sm="24" :lg="24">
|
|
@@ -103,14 +104,14 @@
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-col :xs="24" :sm="12" :lg="8">
|
|
<el-form-item label="制单人" prop="createMan">
|
|
<el-form-item label="制单人" prop="createMan">
|
|
- <el-input v-model="mainForm.createMan" readonly></el-input>
|
|
|
|
|
|
+ <el-input v-model="mainForm.createMan" disabled></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="12" :lg="8" style="height: 51px;">
|
|
<el-col :xs="24" :sm="12" :lg="8" style="height: 51px;">
|
|
<el-form-item label="制单日期" prop="createDate">
|
|
<el-form-item label="制单日期" prop="createDate">
|
|
<el-date-picker
|
|
<el-date-picker
|
|
v-model="mainForm.createDate"
|
|
v-model="mainForm.createDate"
|
|
- readonly
|
|
|
|
|
|
+ disabled
|
|
type="datetime"
|
|
type="datetime"
|
|
value-format="yyyy-MM-dd hh:mm:ss"
|
|
value-format="yyyy-MM-dd hh:mm:ss"
|
|
style="width: 100%;"
|
|
style="width: 100%;"
|
|
@@ -324,7 +325,7 @@ export default {
|
|
createDate: '',
|
|
createDate: '',
|
|
},
|
|
},
|
|
mainFormRules: {
|
|
mainFormRules: {
|
|
- orderDate: [{ required: true, message: '请选择单据日期', trigger: 'change' }],
|
|
|
|
|
|
+ // orderDate: [{ required: true, message: '请选择单据日期', trigger: 'change' }],
|
|
},
|
|
},
|
|
dealerList: [],
|
|
dealerList: [],
|
|
fileList: [],
|
|
fileList: [],
|
|
@@ -672,7 +673,7 @@ export default {
|
|
|
|
|
|
let correspondName = this.warehouseList[findElem(this.warehouseList, 'id', this.screenForm.warehouse)].name;
|
|
let correspondName = this.warehouseList[findElem(this.warehouseList, 'id', this.screenForm.warehouse)].name;
|
|
let params = {
|
|
let params = {
|
|
- orderTime: this.mainForm.orderDate + ' 00:00:00',
|
|
|
|
|
|
+ // orderTime: this.mainForm.orderDate + ' 00:00:00',
|
|
remark: this.mainForm.remark,
|
|
remark: this.mainForm.remark,
|
|
enginOrderNo: this.mainForm.loginNum,
|
|
enginOrderNo: this.mainForm.loginNum,
|
|
refProjectName: this.mainForm.enginName,
|
|
refProjectName: this.mainForm.enginName,
|