|
@@ -59,7 +59,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :xs="24" :sm="8" :lg="8">
|
|
<el-col :xs="24" :sm="8" :lg="8">
|
|
<el-form-item label="附件" prop="fileUrl">
|
|
<el-form-item label="附件" prop="fileUrl">
|
|
- <fileUpload :fileList="fileList" />
|
|
|
|
|
|
+ <fileUpload :fileList="fileList" multiple/>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -678,6 +678,16 @@ export default {
|
|
if (!this.screenForm.warehouse) {
|
|
if (!this.screenForm.warehouse) {
|
|
return this.$errorMsg('请选择仓库')
|
|
return this.$errorMsg('请选择仓库')
|
|
}
|
|
}
|
|
|
|
+ const salesOrderPictures = []
|
|
|
|
+ if (this.fileList.length) {
|
|
|
|
+ this.fileList.forEach(k => {
|
|
|
|
+ salesOrderPictures.push({
|
|
|
|
+ fileName: k.name,
|
|
|
|
+ fileUrl: k.url,
|
|
|
|
+ salesId: this.goodsList[0].id
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
|
|
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 = {
|
|
@@ -690,7 +700,8 @@ export default {
|
|
correspondId: this.screenForm.warehouse,
|
|
correspondId: this.screenForm.warehouse,
|
|
correspondName,
|
|
correspondName,
|
|
orders: this.goodsList,
|
|
orders: this.goodsList,
|
|
- examineStatus: status
|
|
|
|
|
|
+ examineStatus: status,
|
|
|
|
+ salesOrderPictures
|
|
}
|
|
}
|
|
if (this.listItem) {
|
|
if (this.listItem) {
|
|
editApply(params).then(res => {
|
|
editApply(params).then(res => {
|