| | |
| | | <text class="info-value">{{ form.executionDate }}</text> |
| | | </view> |
| | | <view class="info-item"> |
| | | <text class="info-label">交货日期</text> |
| | | <text class="info-value">{{ form.deliveryDate || '-' }}</text> |
| | | </view> |
| | | <view class="info-item"> |
| | | <text class="info-label">付款方式</text> |
| | | <text class="info-value">{{ form.paymentMethod }}</text> |
| | | </view> |
| | |
| | | <view class="info-item"> |
| | | <text class="info-label">单位</text> |
| | | <text class="info-value">{{ product.unit }}</text> |
| | | </view> |
| | | <view class="info-item"> |
| | | <text class="info-label">是否生产</text> |
| | | <text class="info-value">{{ formatIsProduction(product.isProduction) }}</text> |
| | | </view> |
| | | <view class="info-item"> |
| | | <text class="info-label">税率(%)</text> |
| | |
| | | customerName: "", |
| | | projectName: "", |
| | | executionDate: "", |
| | | deliveryDate: "", |
| | | paymentMethod: "", |
| | | entryPerson: "", |
| | | entryPersonName: "", |
| | |
| | | }); |
| | | }; |
| | | |
| | | const formatIsProduction = value => { |
| | | if (value === true || value === 1 || value === "1") return "是"; |
| | | if (value === false || value === 0 || value === "0") return "否"; |
| | | return "-"; |
| | | }; |
| | | |
| | | onMounted(() => { |
| | | // 获取编辑数据并填充表单 |
| | | const editDataStr = uni.getStorageSync("editData"); |