@@ -395,13 +395,13 @@ export default {
},
}),
created() {},
-
computed: {},
methods: {
handleClick(tab, event) {
console.log(tab, event);
demandBtn() {
+ this.demandForm.product_args = this.product_args;
this.$emit('demandSubmit', { data: this.demandForm, id: this.demandForm.id });
demandBtns() {
@@ -428,6 +428,7 @@ export default {
// 获取表格选中时的数据
selectRow(val) {
+ console.log(val);
this.selectlistRow = val;
addRow() {
@@ -75,8 +75,7 @@ export default {
}
// 草稿
- async demandSubmit(demandForm) {
- let data = this.demandForm;
+ async demandSubmit({ data }) {
data.userid = this.user.uid;
let res;
let msg;
@@ -38,11 +38,7 @@ export default {
...mapMarketproduct({ productFetch: 'fetch', productCreate: 'create', productUpdate: 'update' }),
async sumbit(demandForm) {
this.demandForm.status = '0';
let data = this.demandForm;
- console.log(data);