|
|
|
|
@ -164,21 +164,21 @@ |
|
|
|
|
<!-- 1878677914447265793 其他物料 --> |
|
|
|
|
<el-table-column prop="inventoryId" label="库存ID" align="center" width="120"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-input v-if="scope.row.productId == '1878677914447265793'" @change="clickInventoryId" |
|
|
|
|
<el-input v-if="scope.row.productName == '其他'" @change="clickInventoryId" |
|
|
|
|
placeholder="请输入库存ID" v-model="scope.row.inventoryId" size="mini"></el-input> |
|
|
|
|
<span v-else>{{ scope.row.inventoryId }}</span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="rule" align="center" label="规格" width="120"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-input v-if="scope.row.productId == '1878677914447265793'" v-model="scope.row.rule" |
|
|
|
|
<el-input v-if="scope.row.productName == '其他'" v-model="scope.row.rule" |
|
|
|
|
placeholder="请输入规格" style="width:98%;" size="mini"></el-input> |
|
|
|
|
<span v-else>{{ scope.row.rule }}</span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="xh" align="center" label="型号" width="120"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-input v-if="scope.row.productId == '1878677914447265793'" v-model="scope.row.model" |
|
|
|
|
<el-input v-if="scope.row.productName == '其他'" v-model="scope.row.model" |
|
|
|
|
placeholder="请输入型号" style="width:98%;" size="mini"></el-input> |
|
|
|
|
<span v-else>{{ scope.row.model }}</span> |
|
|
|
|
</template> |
|
|
|
|
@ -191,14 +191,14 @@ |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="unit" align="center" label="单位" width="120"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-input v-if="scope.row.productId == '1878677914447265793'" v-model="scope.row.unit" |
|
|
|
|
<el-input v-if="scope.row.productName == '其他'" v-model="scope.row.unit" |
|
|
|
|
placeholder="请输入单位" style="width:98%;" size="mini"></el-input> |
|
|
|
|
<span v-else>{{ scope.row.unit }}</span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="price" align="center" label="价格" width="200"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<el-input v-if="scope.row.productId == '1878677914447265793'" v-model="scope.row.price" |
|
|
|
|
<el-input v-if="scope.row.productName == '其他'" v-model="scope.row.price" |
|
|
|
|
placeholder="请输入价格" style="width:98%;" size="mini"> |
|
|
|
|
<template slot="append">元</template> |
|
|
|
|
</el-input> |
|
|
|
|
|