|
@@ -650,7 +650,7 @@
|
|
|
icon="el-icon-delete"
|
|
|
size="mini"
|
|
|
:disabled="itemMultiple"
|
|
|
- @click="handleDelete"
|
|
|
+ @click="handleItemDelete"
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</el-col>
|
|
@@ -694,7 +694,7 @@
|
|
|
<el-table-column label="机壳颜色" align="center" prop="color" />
|
|
|
<el-table-column label="数量" align="center" prop="number" />
|
|
|
<el-table-column label="零售价" align="center" prop="priceRetail" />
|
|
|
- <el-table-column label="采购价" align="center" prop="pricePurchase" />
|
|
|
+ <!--<el-table-column label="采购价" align="center" prop="pricePurchase" />-->
|
|
|
</el-table>
|
|
|
</div>
|
|
|
|
|
@@ -963,6 +963,7 @@
|
|
|
name: "Info",
|
|
|
data() {
|
|
|
return {
|
|
|
+ jishuqi:0,
|
|
|
fadianjiOptions:[{
|
|
|
value: 0,
|
|
|
label: '仿斯坦福'
|
|
@@ -1266,7 +1267,7 @@
|
|
|
this.multiple = !selection.length;
|
|
|
},
|
|
|
handleItemSelectionChange(selection) {
|
|
|
- this.itemids = selection.map((item) => item.id);
|
|
|
+ this.itemids = selection.map((item) => item.itemId);
|
|
|
this.itemMultiple = !selection.length;
|
|
|
},
|
|
|
/** 新增按钮操作 */
|
|
@@ -1348,26 +1349,18 @@
|
|
|
}
|
|
|
|
|
|
item.unitModel= info.unitModel;
|
|
|
+ item.itemId = this.jishuqi++;
|
|
|
list.push(item);
|
|
|
|
|
|
|
|
|
+ },
|
|
|
+ handleItemDelete(row){
|
|
|
+
|
|
|
},
|
|
|
/** 删除按钮操作 */
|
|
|
- handleDelete(row) {
|
|
|
- const ids = row.id || this.ids;
|
|
|
- this.$confirm("是否确认删除这" + this.ids.length + "数据项?", "警告", {
|
|
|
- confirmButtonText: "确定",
|
|
|
- cancelButtonText: "取消",
|
|
|
- type: "warning",
|
|
|
- })
|
|
|
- .then(function () {
|
|
|
- return delInfo(ids);
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- this.getList();
|
|
|
- this.msgSuccess("删除成功");
|
|
|
- });
|
|
|
+ handleDelete() {
|
|
|
},
|
|
|
+
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
const queryParams = this.queryParams;
|