|
|
|
@ -20,8 +20,8 @@ |
|
|
|
|
</picker> |
|
|
|
|
</uni-forms-item> |
|
|
|
|
<uni-forms-item label="加工日期" name="processingTime"> |
|
|
|
|
<uni-datetime-picker :clear-icon="false" v-model="formData.processingTime" |
|
|
|
|
:value="formData.processingTime" type="date" @maskClick="maskClick" /> |
|
|
|
|
<uni-datetime-picker :clear-icon="false" type="date" returnType="timestamp" |
|
|
|
|
v-model="formData.processingTime" @change="changeLog($event)" /> |
|
|
|
|
</uni-forms-item> |
|
|
|
|
<uni-forms-item label="加工项目" name="processingProjection" required> |
|
|
|
|
<input v-model="formData.processingProjection" placeholder="请输入加工项目" /> |
|
|
|
@ -248,10 +248,18 @@ |
|
|
|
|
onLoad(options) { |
|
|
|
|
if (options.params) { |
|
|
|
|
this.formData = JSON.parse(decodeURIComponent(options.params)); |
|
|
|
|
console.log("回",this.formData) |
|
|
|
|
this.CurrenWorkShop = this.formData.CurrenWorkShop |
|
|
|
|
this.CurrenQualityInspection = this.formData.CurrenQualityInspection |
|
|
|
|
this.CurrenQualityResult = this.formData.CurrenAuthenticationType |
|
|
|
|
this.CurrenAuthenticationType = this.formData.CurrenAuthenticationType |
|
|
|
|
if (this.formData.authenticationPic) { |
|
|
|
|
this.imgList[0] = this.formData.authenticationPic |
|
|
|
|
} |
|
|
|
|
if (this.formData.qualityImage) { |
|
|
|
|
this.imgList1[0] = this.formData.qualityImage |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
this.formData = { |
|
|
|
|
id: undefined, |
|
|
|
@ -314,8 +322,9 @@ |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 获取加工时间 |
|
|
|
|
maskClick(e) { |
|
|
|
|
changeLog(e) { |
|
|
|
|
this.formData.processingTime = e |
|
|
|
|
console.log("变",this.formData.processingTime) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
// 获取销售类型 |
|
|
|
|