其他物料选择

master
zhangdi 10 months ago
parent 108d8a92c5
commit dc62a946cb
  1. 10
      src/views/components/workOrderDetail.vue

@ -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>

Loading…
Cancel
Save