|
@@ -23,7 +23,7 @@
|
|
|
<el-option v-for="item in sampleList"
|
|
|
:key="item.product_id"
|
|
|
:label="item.product_name"
|
|
|
- :value="item.product_id">
|
|
|
+ :value="item.product_name">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
<!-- </el-col> -->
|
|
@@ -282,7 +282,7 @@
|
|
|
this.cyd_data.file_name = res.data.fileName
|
|
|
},
|
|
|
async onSubmit() {
|
|
|
- // console.log(this.form.sample_name)
|
|
|
+ console.log(this.cyd_data.sample_name)
|
|
|
var that = this
|
|
|
console.log(that.cyd_data)
|
|
|
that.cyd_data.task_id = that.task_id
|
|
@@ -298,6 +298,7 @@
|
|
|
this.$message({
|
|
|
type: 'success',
|
|
|
message: '提交抽样单成功!'
|
|
|
+
|
|
|
});
|
|
|
}
|
|
|
},
|