|
|
@ -48,7 +48,7 @@ |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="vinNo"> |
|
|
|
<span slot="label">车架号:</span> |
|
|
|
<el-input v-model="temp.vinNo" maxlength="17" placeholder="车架号位数与金蝶系统一致" class="addinputw" clearable/> |
|
|
|
<el-input v-model="temp.vinNo" maxlength="17" placeholder="车架号位数与金蝶系统一致,且不能为空" class="addinputw" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
@ -268,8 +268,8 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { SaveList, Update, actualList, selVehModelByUseOrgSidAll, details } from '@/api/cheliang/basevehicle' |
|
|
|
import { typeValues, selectOrgLists, getPathSidByUserSid, fetchByUseOrgSid, fetchBySid } from '@/api/cheliang/dictcommons' |
|
|
|
import { SaveList, Update, selVehModelByUseOrgSidAll, details } from '@/api/cheliang/basevehicle' |
|
|
|
import { typeValues, selectOrgLists, getPathSidByUserSid, fetchByUseOrgSid, fetchBySid, selectNameByOrg } from '@/api/cheliang/dictcommons' |
|
|
|
import Pagination from '@/components/pagination' |
|
|
|
|
|
|
|
export default { |
|
|
@ -416,7 +416,7 @@ export default { |
|
|
|
this.temp.modelConfigSid = row.configSid |
|
|
|
this.temp.price = row.price |
|
|
|
this.temp.insideCode = row.insideCode |
|
|
|
actualList({ modelSid: this.temp.modelSid }).then((respsone) => { |
|
|
|
selectNameByOrg({ carBrandSid: row.carBrand }).then((respsone) => { |
|
|
|
if (respsone.success) { |
|
|
|
this.actualPay_list = respsone.data |
|
|
|
} |
|
|
@ -434,7 +434,7 @@ export default { |
|
|
|
this.temp.vehicleStateValue = '库存' |
|
|
|
this.temp.settlementStatus = '0' |
|
|
|
this.temp.settlementStatusValue = '未买断' |
|
|
|
this.temp.freight = 0 |
|
|
|
// this.temp.freight = 0 |
|
|
|
this.temp.isProblemVeh = '0' |
|
|
|
this.temp.purchaseSystemName = window.sessionStorage.getItem('departmentName') |
|
|
|
this.temp.purchaseSystemSid = window.sessionStorage.getItem('departmentSid') |
|
|
@ -599,7 +599,7 @@ export default { |
|
|
|
if (valid) { |
|
|
|
this.FormLoading = true |
|
|
|
// 只需添加和修改 |
|
|
|
if (this.temp.vinNo.length !== 8 && this.temp.vinNo !== 17) { |
|
|
|
if (this.temp.vinNo.length !== 8 && this.temp.vinNo.length !== 17) { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请核对车架号的长度8位或17位' }) |
|
|
|
return |
|
|
|
} |
|
|
|